[One (M7) Q&A, Help & Troubleshooting] LibertyMarine:
Hello XDA-Community!

Because of the high amount of people having this particular problem, I decided to make this guide. Here it goes:

< < < ! ! ! WARNING ! ! ! > > >

THIS THREAD DOESN'T TEACH YOU HOW TO USE YOUR RICE COOKER, USE IT ON YOUR OWN RISK​

This guide is for you if you are in the following situation:​

​

S-ON or S-OFF

UNLOCKEDor (RE)LOCKED Bootloader

NO ROM installed or a nasty BOOTLOOPor you just need METAPHYSICAL SUPPORT

You can get to fastboot!

Maybe you don't even know that you are able to enter fastboot, check FAQ in the 2nd post for that

​

​

​

No matching and working ROM.zip? No Problem​

​

Now there are several ways to do that. If you are S ON or S OFF download one of these ROM's and read the rest of the guide while the ROM is downloading in the background.

HTC Sense ROM KitKat:

http://www.androidrevolution.nl/downloader/download.php?file=One_4.19.401.8_odexed.zip

(Thanks to [MENTION=1631739]mike1986.[/MENTION])

HTC Sense ROM JellyBean 4.3:

http://www.htc1guru.com/dld/guru_reset_m7_3-62-401-1-zip/

(Thanks to guru reset)

Google Play Edition KitKat(S OFF needed):

http://xdaforums.com/showthread.php?t=2341395 (Go there and hit the thanke button if you use this)

https://mega.co.nz/#!3BtCBD6T!ViZfS1MwhR4ttcPEkB3XrDVv9Asardy4e01UJO-5ZB0

(Thanks to [MENTION=3183886]bigxie[/MENTION])

Omni ROM:

http://xdaforums.com/showthread.php?t=2488216 (Go there to and punch the thanks button if you use this)

http://dl.omnirom.org/m7ul/ (Official nightlies (download the ZIP file!!))

Or just download the homebrew ... I personally prefere this one(It's in the thread linked above)

CyanogenMod:

http://download.cyanogenmod.org/?device=m7ul

​

No drivers working? No Problem​

​

This here works for Windows Vista/7/8 and Mac as far as I know !

Try using a different USB Port

Uninstall all the drivers related to android devices!

Download the HTCSync manager here (HTC Sync Manager)

Install the HTCSync Manager with ALL compomnents

Restart the computer

Uninstall the HTCSync Manager BUT do NOT uninstall the drivers!

Reboot your computer

Now the phone should be recognized properly.

Otherwise try using a different USB cable and a USB port directly on the motherboard of the PC

For those of you (windows users) that just want to install the drivers without the HTCSync procedure, you can download the drivers directly from this post here:

[Drivers] HTC Drivers for Windows - Several Versions

(Thanks [MENTION=2605798]nkk71[/MENTION] for this hind and thanks [MENTION=4258433]mdmower[/MENTION] for providing HTC Drivers!)

If you have this particular issue here(Thanks [MENTION=2605798]nkk71[/MENTION] check out his guide [GUIDE] nkk71's SuperGUIDE to returning 100% back to stock and punch the thanksbutton as often as you can!)

Then follow this procedure:

THIS SECTION IS FULLY COPY&PASTED FROM [MENTION=2605798]nkk71[/MENTION] FROM THIS POST [GUIDE] nkk71's SuperGUIDE to returning 100% back to stock

If this works (and even if it doesn't) please go to his thread and punch the thanks button to death !

I did some small changes to it, so if there's a fault, it might just be LibertyMarine who made a mistake

​

When you issue the command "fastboot boot CWM.img" (now only in CWM/TWRP restore method) there's a high chance drivers won't correctly install

Follow the steps below to fix it:

Open "Device Manager" -> select the unknown "One" -> right-click -> "Update Driver Software ..." -> "Browse my computer" -> "Let me pick" -> "Android USB Devices" -> select "My HTC ..." -> install that

for those who like a visual guide:

As you can see, the drivers didn't install properly:

To solve this issue, open the Device Manager with Administrator permissions

Look, there's the culprit -.-

Right click One and select Update Driver Software

Next, select Browse my computer for driver software

Select Let me pick from a list of device drivers on my computer in the following menu

Choose Android USB Devices

Select My HTC ... (if you have more than one version, choose the latest)

There's a warning, select Yes and ignore it

Let's hope for a successful installation

Now it looks better ;)

We can now confirm that you have a stable ADB connection from your PC to your phones recovery

C:\ADB3>[B]adb devices[/B]
List of devices attached
HTxxxxxxxxxx recovery

This works in 99% of all cases. Otherwise these guides may help you further:

[FIX] Working Fastboot Drivers for Windows 8.1 x64

[FIX] Fastboot problems on Windows 8 x64 with USB 3.0? Solution inside

[GUIDE] Set up ADB and Fastboot on a Mac easily (With Screenshots!)

Easily Set Up FASTBOOT and ADB on a MAC for Android Smartphones Youtube Turorial

Other guides will come soon!

​

RELOCKED or even LOCKED and even S ON? No Problem!​

For some unknow reason, you are relocked or even locked... yeah... and your bootloader is locked... you have no operating system installed and you think you are hard bricked.

To solve this problem, you just have to Unlock the bootloader again using HTCdev. I though this is pretty logic but there are still people that think they can't unlock it again. No that's wrong. So basically -> Just head over to: HTC Dev

And for those that want some pictures:

1) Chose All other supported models:

2) Chose the option: Begin Unlock Bootloader:

3) Press OK, then this screen appears, you have to accept both and continue:

4) Now.. Boot your phone into the bootloader holding power and vol down button at the same time while booting after having shutdown your phone

5) Since you must have fastboot installed because you followed the above descripted procedure... issue this command:

6) You'll get such an ouput(credit to htc because of privacy issues):

7) Enter the string on the bottom of the page(you need an account):

http://www.htcdev.com/bootloader/unlock-instructions/page-2

8) Follow the instructions given by mail from HTC...

And now for the case if you are S OFF and Locked or Relocked:

You can either use this toolkit: http://www.htc1guru.com/guides/guru-bootloader-reset/

Or follow this thread: [how to] lock/unlock your bootloader without htcdev(s-off required)

Both needs a recovery.. and how to flash a recovery with locked bootloader and s off, just look a few lines below ;)
​

No Recovery? No Problem​

​

Oh sh*t here we can have several kind of problems :eek: Still no problem ;) But let's first download the recovery.

http://techerrata.com/file/twrp2/m7/openrecovery-twrp-2.6.3.3-m7.img

(MD5 hash: 72067AEFB69541D40E8420D7AA46408D)

Case 1 - Normal error with unlocked and s off or s on:

Boot your phone into the fastboot mode

Eat a piece of cheese

Enter this command

fastboot erase cache

Followed by this command

fastboot flash recovery "C:\path_to_recovery\recovery_name.img"

And enter the recovery and follow the next piece of guide

Case 2 - For some stupid reason you are s off (that's a MUST) and Relocked:

Sorry, you need this recovery:

https://www.mediafire.com/?ni177radvko5xu7 (If it doesn't work, PM me)

(MD5 hash: F2893CDC17C788B2E49AECEA8C02DCB4)

Boot your awesome HTC One into fastboot

Change CID to superCID using this command (make sure you used 8 times a '1')

fastboot oem writecid 11111111

Enter this command

fastboot oem rebootRUU

Wait until your Pc recognized your phone again and enter this command

fastboot flash zip "C:\path_to_zip\firmware.zip"

(This may delete all your data)

Happy rebooting with this command

fastboot reboot-bootloader

Enter the recovery and let's unlock the bootloader...

You can unlock your bootloader using these commands(thanks [MENTION=3437245]scotty1223[/MENTION] for your thread!):

[how to] lock/unlock your bootloader without htcdev(s-off required)

If this doesn't work in recovery because you get superSU or permission errors, use this tool here instead:

http://www.htc1guru.com/guides/guru-bootloader-reset/

You can simply push the ZIP file to your HTC One using one of these commands:

adb push "C:\path_to_zip\zip_name.zip" /sdcard/bootloader_reset.zip

If this one results in supersu and permission errors, try these paths(Thanks [MENTION=1102297]Sneakyghost[/MENTION] for this advice!)

adb push "C:\path_to_zip\zip_name.zip" /storage/emulated/0/bootloader_reset.zip

adb push "C:\path_to_zip\zip_name.zip" /data/media/0/bootloader_reset.zip

Case 3 - You totally ****ed up your recovery and data partition:

Right now, I am pretty busy and I don't have time to develop this, check this guide there and post your question there, but pls don't spam [MENTION=1631739]mike1986.[/MENTION]

How to: fix a corrupted DATA partition on the HTC One

​

Bootloop, No OS, Totally f*cked up OS? No Problem​

​

THIS WILL DELETA ALL YOUR APPS AND APP DATA BUT NOT SDCARD!​

First of all, make a factory reset in TWRP... then follow the next steps.

Now the key step here copying the rom.zip to your sdcard. You do this this way

Since you are in the recovery you should be able, no.. actually will be able to use adb commands

To copy the rom zip us this command:

adb push "C:\path_to_rom\rom_name.zip" /sdcard/rom.zip

If this one results in supersu and permission errors, try these paths(Thanks [MENTION=1102297]Sneakyghost[/MENTION] for this advice!)

adb push "C:\path_to_rom\rom_name.zip" /storage/emulated/0/rom.zip

adb push "C:\path_to_rom\rom_name.zip" /data/media/0/rom.zip

Now, in the recovery, choose install and select the rom you should've just copied and install/flash it.

After that make a factory reset, the standart when chosing wipe in TWRP.

Happy rebooting! :D

​

You want to have stock software again? No Problem​

This section here doesn't tell you how to go 100% stock. Here you find instructions for how to run a RUU or a FUU. If you want to go back to to a factory fresh device use this guide here instead:

[GUIDE] nkk71's SuperGUIDE to returning 100% back to stock

by [MENTION=2605798]nkk71[/MENTION]​

RUU - ROM Update Utility:​

A RUU will reset your phone back to stock software and you'll be able to get OTAs. But a RUU won't set you LOCKED and S ON!

PAY ATTENTION IF YOU ARE ON WINDOWS 8.1 AND READ FAQ FIRST IN SECOND POST!

First, find a matching RUU. There are several sources for RUUs, here are the most popular ones:

AndroidRUU | The #1 source for Android RUU files

Collection of HTC One RUU Zip File Downloads. Reset device to Stock (By HTC1Guru, if anyone know what his XDA account name is, tell it, I wanna mention him)

Now, here the step by step GUIDE goes:

THIS WILL DELETA ALL USERDATA​

Make a backup using TWRP or CWM

Copy the backup to your PC and copy your whole SDCard content to the PC too

Boot your phone to the bootloader and enter fastboot

Reboot to the RUU mode using this command:

fastboot oem rebootRUU

Check the connection:

fastboot devices

The output should look like this:

C:\Users\Obama\> fastboot devices
List of devices attached
<serial number> fastboot

Then flush your RUU.zip using this command(Windows users, pay attention to ruu.zip.zip):

fastboot flash zip "C:\<path>\<ruu_name.zip">

This should be the output, check that the red marked text is 100% exactly like this and ensure that you don't get any error during hboot flash, a failed hboot flash will UNEVITABLY lead into a hardbricked device if you reboot. For that check the FAQ section in my second post !

C:\User\Cheese\>fastboot flash zip "C:\<path>\<ruu_name.zip>"
sending 'zip' (100322311 KB)...
OKAY [ 30.124s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) start image[hboot] flushing...
(bootloader) [COLOR="red"][RUU]WP,hboot,0[/COLOR]
(bootloader) [COLOR="red"][RUU]WP,hboot,99[/COLOR]
(bootloader) [COLOR="red"][RUU]WP,hboot,100[/COLOR]
(bootloader) [COLOR="Red"]...... Successful[/COLOR]
[COLOR="Red"]FAILED [/COLOR](remote: 90 hboot pre-update! [COLOR="Blue"]please flush image again immediately[/COLOR])
finished. total time: 35.231s

Reflash zip file again after the phone has automatically rebooted itself back to the RUU mode:

fastboot flash zip "C:\<path>\<ruu_name.zip">

Here, we won't flash any too cricital software parts, so check that the output looks approximately like this, it's ok that several partitions are bypassed.. just make sure it isn't the system or other partitions you'd like to reset back to stock. Ok, output looks like this:

C:\User\Cheese\>fastboot flash zip "C:\<path>\<ruu_name.zip>"
sending 'zip' (100322311 KB)...
OKAY [ 31.293s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[adsp] unzipping & flushing...
(bootloader) [RUU]UZ,adsp,0
(bootloader) [RUU]UZ,adsp,11

[...lot's of flashing...]

(bootloader) [RUU]UZ,sbl1-1,0
(bootloader) [RUU]UZ,sbl1-1,100
(bootloader) signature checking...
(bootloader) verified fail
(bootloader) ..... [COLOR="Blue"]Bypassed[/COLOR]

[...that's ok...]

(bootloader) [RUU]WP,radio,79
(bootloader) [RUU]WP,radio,100
(bootloader) ...... Successful
OKAY [ 230.443s]
finished. total time: 230.444s

Then reboot your phone to the bootloader:

fastboot reboot-bootloader

Check, that hboot is 1.44 and reboot your phone normally and enjoy stock software !

​

FUU - Firmware Update Utility:​

Was once WIP - Work in Progress !

But now, this section is shut down too.

​

I hope this guide helped you. Ask everything(except said differently) in the comments!​

Disclaimer:

I AM NOT RESPONSIBLE FOR ANY LOSS OF DATA BECAUSE YOU FOLLOWED THIS GUIDE

I AM NOT RESPONSIBLE FOR ANY HARD BRICKED DEVICES, TOASERS, RICE COOKERS!

I AM NOT RESPONSIBLE FOR ANY KIND OF NUCLEAR WAR DECLARED BY YOUR DOG/CAT​

​