[Tutorial] Root, Unlock, Recovery and flashing a Custom ROM

remf4i

Senior Member
Mar 27, 2011
1,402
1,545
0
Parkersburg
Just got a at&t HTC one and it has 4.3 out of the box, sorry if its been posted but I didn't find it, is there a root and bootloader unlock for 4.3 ??

Sent from my HTC One using XDA Premium 4 mobile app
 
Feb 24, 2013
18
3
0
Randolph
I am having trouble with the fastboot oem get id token command. It is stuck at "waiting for device". I followed the steps if the tutorial exactly and have tried the following: different USB cables, different USB ports (3.0 and 2.0), uninstalling, rebooting, and reinstalling all drivers for the HTC One. Other background info: I'm using Windows 8 64 bit. I've looked at some other threads where people had similar problems, but none of the solutions I've tried have worked. Any suggestions as to what the problem may be?

Thanks, Corbin.
 

rx8volution

Member
Jan 4, 2007
19
0
0
Quick (urgent) question...

Guys, I have an AT&T HTC One that has a factory defect discovered a little too late. AT&T is willing to swap my phone BUT obviously it'll come new and I need my configs, files, downloads, apps, etc off of the existing one onto the new one. Honestly I don't care about rooting right now because I'm crunched for time.

SO ... I need to back up 'everything' off this current HTC One (non-root), and save it off and put it onto a brand new one I'll have in my hands in a little bit...

1) Is it possible to back up the entire phone (apps, config, storage, etc)
2) Is it possible to restore onto a new device without going through the trouble of rooting, etc first?

I have to do this at the AT&T Service Center, which will minimize how much time I have to spend with two devices in my hand.

Make sense? Thanks, help is appreciated.
 

intramorph

Senior Member
May 13, 2013
165
10
0
New York
Guys, I have an AT&T HTC One that has a factory defect discovered a little too late. AT&T is willing to swap my phone BUT obviously it'll come new and I need my configs, files, downloads, apps, etc off of the existing one onto the new one. Honestly I don't care about rooting right now because I'm crunched for time.

SO ... I need to back up 'everything' off this current HTC One (non-root), and save it off and put it onto a brand new one I'll have in my hands in a little bit...

1) Is it possible to back up the entire phone (apps, config, storage, etc)
2) Is it possible to restore onto a new device without going through the trouble of rooting, etc first?

I have to do this at the AT&T Service Center, which will minimize how much time I have to spend with two devices in my hand.

Make sense? Thanks, help is appreciated.
yes it's possible... what I would do is open device to see files and tranfer everything important... pics music etc... and then it's just drag and drop afeter that. Make sense?
 

ebr123

New member
Oct 27, 2013
1
0
0
Rooted my phone !

I rooted my phone then i did the most stupid mistake ever. I went to the disc drive and deleted w.e had connection to root,then i did the factory reset.so now its only boots in recovery mode,what to do plz help
 

erych

Senior Member
Nov 23, 2010
57
3
0
you shouldnt assume. i have ubuntu 13.10 and have been struggling to unlock the bootloader when i try to get the token identifier it just sits there waiting for the phone forever.... help?? thanks


This is long, but it's nice for noobs because it's detailed. It's honestly kind of fun, I promise. I'm assuming you have WINDOWS. This is based off of the guide by torxx!. It's modified because some of the info is outdated (you don't have to flash the boot.mg separately, for example). If you are NOT a noob you can just look at the "overview" for each step.

UNLOCKING YOUR DEVICE WILL WIPE YOUR DEVICE. THIS IS A SECURITY FEATURE. BACKUP FIRST.

Part 1- gaining unlock token

Overview: go to htcdev.com and unlock bootloader

Be sure you've turned off fast boot option in power menu; usb debugging should be on (settings -> developer options).

Go to http://www.htc.com/www/software/htc-sync-manager/[1] and install HTC SYNC. Alternatively, if you know what you're doing, you can install these drivers:
x86 http://www.mediafire.com/?qabo1tue2v1ky75 x64 http://www.mediafire.com/?8dl8s3l9mr6ggr9

Go on http://www.htcdev.com[4] and create yourself an account on HTCDEV.

Download these adb/fastboot files: http://d-h.st/RvD

Make a new folder anywhere. We'll use C:/fastboot as an example.

Extract the zip downloaded to the new folder

Go Here http://www.htcdev.com/bootloader/[6] and select "All Other Supported Models" and "then begin unlock bootloader" (check the boxes, click proceed, all that good stuff). YOU CAN IGNORE THE DIRECTIONS THAT THEY TELL YOU (and follow this guide instead).

Power off your phone. Power your phone on by holding power and volume down.

Highlight 'Fastboot' the volume buttons then press power to "select".

Plug your phone into your PC and open a Command Prompt. (windows XP - Click Start > Run > type CMD in box then press OK; Windows 7 - Click Start > type CMD in search box then press Enter) Change directory to your folder where we put fastboot files by typing cd c:\fastboot for example.*

*Alternatively, you can just hold down shift and right click in the folder and select "open command window here". Neat huh?

Type this into your command prompt window: fastboot oem get_identifier_token

Select & copy the text as per step 9 on the HTCDev website

Paste your identifier token into the box at the bottom and submit

You Will Very Shortly Receive an email from HTCDev with a link to the second part of the instructions and your "Unlock_code.bin" attached

Download the "Unlock_code.bin" from the email and save it to the same folder that we extracted fastboot files

Type this into your command prompt window: fastboot flash unlocktoken Unlock_code.bin

The Display Will change on your phone, press Vol+ to accept and power to confirm.

Part 2

Overview: flash your recovery. Boot into recovery. Turn phone off if it boots into OS. Boot into back into recovery. You're done!


Download a recovery:

TWRP (the one I use): http://forum.xda-developers.com/showthread.php?t=2173870

CWM 2: http://forum.xda-developers.com/showthread.php?t=2172979

CWM: http://forum.xda-developers.com/showthread.php?t=2173863

Place the Recovery file to the folder where the fastboot.exe is.

Same thing as above- boot (volume down + power) into the bootloader and highlight 'Fastboot' the volume buttons then press power to "select".

Do the same thing as with the command prompt above. This time, however, you'll be typing:

fastboot flash recovery "name_of_the_recovery.img"

For example:

fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img

then type:

fastboot erase cache

From the menu, boot into recovery (use volume to move up and down, power to select). The phone might boot to the OS instead of recovery, don't worry!

Turn off phone then turn on (while holding volume down) to boot back into the bootloader.

TAMPERED shows up, boot into recovery and now your recovery should be working!

Part 3- obtaining root

Overview: flash a super tool


Download a super user tool for root:

SuperSU (I use this one): http://forum.xda-developers.com/showthread.php?t=1538053

SuperUser: http://download.clockworkmod.com/superuser/superuser.zip

Alternatively, download this: http://forum.xda-developers.com/showthread.php?t=2252959. This is a stock rooted rom for ATT. If you download and flash this instead of the super user tool, you're done. (This rom includes super user) Or you can download a custom rom such as this one: http://forum.xda-developers.com/showthread.php?t=2183023

Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip super user tool to a location you remember ON the phone.

Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:

- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now

You're not out of the woods yet! The stock kernel is system write protected, so you still can't modify it (changes won't "stick"). You'll have to flash a custom rom or a kernel if you want stock instead.

I recommend these kernels: http://forum.xda-developers.com/showthread.php?t=2255900 or http://forum.xda-developers.com/showthread.php?t=2233665&highlight=menu

Download it.

Installing custom rom/kernel ("flashing a rom")

Overview: Download Rom, boot into recovery and wipe and then flash.

According to Shenye, even though your device is s-on, you can still flash boot now. So just do this:

Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip kernel/cutom rom to a location you remember ON the phone.

Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:

- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
 

SuperCJ70

Member
Nov 12, 2013
6
2
3
Klamath Falls
First time

So I havent done this before and plan to get it going tonight when I get home from work. About how long should I expect this to take? I have my accounts set up but none of the files downloaded. I am shooting for a "start to finish" in an hour if I don't get any errors. Is this realistic?
 
Last edited:

oryan12

New member
Nov 16, 2013
2
0
0
[help]htc one goes black screen

Hi,

I need help with my HTC ONE. It goes black screen. I tried pressing the power button and down volume simultaneously but nothing happened. I know I'm receive text and missed calls because of the led notification. Also when I connect it to the PC, the files are empty. Do you guys have any suggestions how to fix this issue?
 

Jaytronics95

Member
Jun 30, 2010
33
2
0
No SuperSU binaries

I am having problems getting SuperSu to work. I followed this tutorial to the letter:
Unlocked boot loader with HTC Dev, no problems
Installed TWRP 2.6.3.3 for At&t HTC ONE via fastboot, no problems
Rebooted into recovery and installed SuperSu v1.75 no problems
Flashed new kernel m7-faux123-Sense43-008m no problems
Rebooted system and installed SuperSu v1.75 from Play store, no problems
Tap SuperSu app, error message says binaries are not installed.
Reinstalled SuperSu v1.75 from TWRP same problem
Removed SuperSu v1.75 with App Manager and reinstalled no joy
Installed TWRP 2.6.3.0 for AT&T via fast boot
Rebooted into recovery and installed SuperSu v1.69
Flashed kernel m7-faux123-Sense43-008m
Rebooted system and installed SuperSu v1.69, same problem.

I have rooted several other phones, HTC EVO 4G, HTC EVO 3D, HTC ONE (Sprint), Samsung GS3 (Sprint) all with no problems.

Please, what am I missing? :(
 

reeiiggn

New member
Aug 30, 2012
3
0
0
hi guys,

i've been reading this forums for a while and have modded a couple phones and need some help with my One so rather than making a whole new post i'm gonna try my luck here. first i'll explain quick: converted my phone to a GPe and loved it. Speakers seem to be shot, so i want to send it out for repair while it's still in warranty. i have had a hell of a time getting it back to stock (since i rooted etc. months ago and haven't done any root work or anything since!) ... i have managed to get my CID back to normal, still have S-OFF, don't have root access, and my bootloader shows "re-locked'...when i try to unlock it with everyones kind instructions instead of it showing me HTC's 'warning' screen to proceed it stays at the fastboot menu. i believe the only thing i have left to do to be able to pass warranty is get my bootloader to show 'locked' rather than 'relocked' and put s-on back. any ideas why my bootloader is being awkward? sorry if it's confusing...i really appreciate any help and if this should be moved elsewhere let me know. thanks
 

GunsN

Senior Member
Apr 18, 2013
72
2
0
Gori
I have made the phone unlock this instruction, new rom installed, super user installed but the phone didn't unlock, any ideas?