Friday, September 12, 2014
Browse »
home»
guide
»
how
»
htc
»
linux
»
mac
»
one
»
root
»
to
»
windows
»
Guide How to Root HTC One Windows Mac Linux
For those of you who want to root your HTC One, here’s a step-by-step tutorial for all Windows, Mac, and Linux computers, that will allow you to unlock the bootloader, install TWRP recovery, and root your HTC One without losing your apps/settings by using ADB backup.
This root method will work on all of the following HTC One smartphones:
HTC One M7 – AT&T/T-Mobile/International/Unlocked/Developer
HTC One M7WLS – Sprint
Also will work on Android 4.2.2 and Android 4.3.
Watch our Step-by-Step Windows Video Tutorial:
(You can also download this video here in full 1080P MP4 format for viewing on your phone/tablet/computer!)
Watch our Step-by-Step Mac Video Tutorial:
(You can also download this video here in full 1080P MP4 format for viewing on your phone/tablet/computer!)
Watch our Step-by-Step Linux Video Tutorial:
(You can also download this video here in full 1080P MP4 format for viewing on your phone/tablet/computer!)
Before we begin, MAKE A BACKUP of EVERYTHING on your HTC One internal storage by copying the everything to your hard drive! (For Mac, please install Android File Transfer, which will allow you to connect your HTC One as a disk drive.)
Step 1. First, go to Settings->Developer options and make sure USB debugging is checked ON.
Step 2. Connect a micro-USB cable from your HTC One to your computer.
Step 3. Download HTCOneRoot.zip and unzip to HTCOneRoot directory. This zip file contains everything you need to root your HTC One!
Download HTCOneRoot.zip (For Windows, Mac, and Linux)
If you have Mac or Linux, no driver is needed. For Windows users, if you don’t have HTC drivers installed, run the HTCDriver_4.1.0.001.exe file to install drivers.
If drivers are installed correctly, you should see “My HTC” or something similar like “ADB Interface” in Device Manager for Windows.
Step 4. Open a command prompt/terminal on your computer and type:
For Windows:
For Mac:
For Linux:
Step 5. Go to your phone and choose “Backup up my data”. This will back up all of your app and app data.
Step 6. Once app backup is done, go to Settings->Power and make sure Fast boot is checked OFF.
Step 7. Turn off your HTC One. Then hold down Volume Down and Power buttons together for about 3-5 seconds until you see bootloader menu.
Hit the Power button to enter Fastboot mode.
Connect micro-USB cable from your HTC One to your computer.
Step 8. Type the following in your command prompt/terminal:
For Windows:
For Mac:
For Linux:
Step 9. Copy the identifier token you get exactly as shown below (or see video tutorial).
Step 10. Go to HTCDev.com and log-in. If you don’t have an account, register then log-in.
Click on “Unlock Bootloader” then “Get Started”.
Step 11. Choose “All Other Supported Models” then click on “Begin Unlock Bootloader”.
Step 12. Choose “Yes”.
Step 13. Make sure check boxes are checked ON and click on “Proceed to Unlock Instructions”.
Step 14. Scroll all the way to the bottom and click on “Proceed to Step 5″.
Step 15. Scroll all the way to the bottom and click on “Proceed to Step 8″.
Step 16. Scroll all the way to the bottom and paste your token you copied over earlier. Make sure there’s no white spaces or INFO (if using MAC/Linux).
Step 17. Hit “Submit” and if you copied and pasted the token correctly, you should get a success message.
Step 18. Check your e-mail and you should have received Unlock_code.bin file from HTC.com.
Step 19. Download and copy the Unlock_code.bin file to the HTCOneRoot folder.
Step 20. Next type in command prompt/terminal:
For Windows, type:
For Mac, type:
For Linux, type:
Step 21. Go to your phone and choose “Yes” using Volume Up button then hit the Power button. Your HTC One will reboot in about 5 seconds.
Step 22. Once rebooted, your HTC One should be completely wiped and you should get Welcome message just like the day you got your phone. Sign in through the setup process then copy the CWM-SuperSU-v1.30.zip file in HTCOneRoot folder to anywhere on your HTC One’s internal storage.
*Note – For Android 4.3 or 4.4, please use the file “UPDATE-SuperSU-v1.65.zip” instead of v1.30.
Step 23. Power off your phone then re-boot into bootloader menu to fastboot mode like you did in Step 7.
Step 24. Type the following to install recovery:
For HTC One M7 (AT&T/T-Mobile/International/Unlocked/Developer)
For HTC One M7WLS (Sprint):
Then Type:
For Mac, replace “fastboot” with “./fastboot-mac”.
For Linux, replace “fastboot” with “sudo ./fastboot-linux”.
Step 25. Choose “Bootloader” and hit the Power button.
Step 26. Choose “Recovery” and hit the Power button.
Step 27. Once in TWRP recovery, choose “Install”.
Step 28. Choose the file CWM-SuperSU-v1.30.zip.
*Note – For Android 4.3 or 4.4, please use the file “UPDATE-SuperSU-v1.65.zip” instead.
Step 29. Swipe to flash this file. This will root your HTC One by installing SuperSU superuser app and SU binaries.
Step 30. Choose “Reboot System” to reboot.
Step 31. Once rebooted, you will find “SuperSU” app in your app drawer. Congratulations! You’ve successfully rooted your HTC One! You can verify full root by installing a rooted app like Titanium Backup app.
Step 32. Next, let’s restore your data. Go ahead and copy all of your data (you backed up earlier) back into your HTC One’s internal storage.
Then, go to Settings->Developer options and make sure “USB debugging” is checked ON. (You will have to do this again since your phone reseted itself when you unlocked the bootloader) Connect micro-USB cable from your phone to your computer.
Step 33. Next type the following to restore your app and app data:
For Windows:
For Mac:
For Linux:
Step 34. Go to your phone and hit “Restore my data”.
Step 35. Your HTC One should now be fully rooted along with your apps!
Step 36. HTC One stock firmwares are HARD TO FIND. So, my suggestion is to make a backup ROM at this point. That will allow you to easily unroot and restore stock firmware if something goes wrong or you want to take your phone back for warranty.
You can do this easily by re-booting into TWRP recovery and selecting “Backup”.
FAQ:
Q: Does this root method erase my data and personal files?
A: No, if you follow everything in this tutorial, you will be able to root your HTC One, keep your data and personal files. So make sure you follow every step!
Q: I cannot flash the TWRP recovery using fastboot!
A: Please see revised Step 24 on this page, the TWRP file has been updated to the latest version!
Credits:
Thanks to ChainFire for awesome SuperSU and TWRP Team for awesome TWRP recoveries.
Guide How to Root HTC One Windows Mac Linux
This root method will work on all of the following HTC One smartphones:
HTC One M7 – AT&T/T-Mobile/International/Unlocked/Developer
HTC One M7WLS – Sprint
Also will work on Android 4.2.2 and Android 4.3.
Watch our Step-by-Step Windows Video Tutorial:
(You can also download this video here in full 1080P MP4 format for viewing on your phone/tablet/computer!)
Watch our Step-by-Step Mac Video Tutorial:
(You can also download this video here in full 1080P MP4 format for viewing on your phone/tablet/computer!)
Watch our Step-by-Step Linux Video Tutorial:
(You can also download this video here in full 1080P MP4 format for viewing on your phone/tablet/computer!)
Before we begin, MAKE A BACKUP of EVERYTHING on your HTC One internal storage by copying the everything to your hard drive! (For Mac, please install Android File Transfer, which will allow you to connect your HTC One as a disk drive.)
Step 1. First, go to Settings->Developer options and make sure USB debugging is checked ON.
Step 2. Connect a micro-USB cable from your HTC One to your computer.
Step 3. Download HTCOneRoot.zip and unzip to HTCOneRoot directory. This zip file contains everything you need to root your HTC One!
Download HTCOneRoot.zip (For Windows, Mac, and Linux)
If you have Mac or Linux, no driver is needed. For Windows users, if you don’t have HTC drivers installed, run the HTCDriver_4.1.0.001.exe file to install drivers.
If drivers are installed correctly, you should see “My HTC” or something similar like “ADB Interface” in Device Manager for Windows.
Step 4. Open a command prompt/terminal on your computer and type:
For Windows:
cd Downloads
cd HTCOneRoot
adb backup -apk -all -f backup.ab
For Mac:
cd Downloads
cd HTCOneRoot
chmod 755 *
./adb-mac backup -apk -all -f backup.ab
For Linux:
cd Downloads
chmod 755 *
cd HTCOneRoot
./adb-linux backup -apk -all -f backup.ab
Step 5. Go to your phone and choose “Backup up my data”. This will back up all of your app and app data.
Step 6. Once app backup is done, go to Settings->Power and make sure Fast boot is checked OFF.
Step 7. Turn off your HTC One. Then hold down Volume Down and Power buttons together for about 3-5 seconds until you see bootloader menu.
Hit the Power button to enter Fastboot mode.
Connect micro-USB cable from your HTC One to your computer.
Step 8. Type the following in your command prompt/terminal:
For Windows:
fastboot oem get_identifier_token
For Mac:
./fastboot-mac oem get_identifier_token
For Linux:
sudo ./fastboot-linux oem get_identifier_token
Step 9. Copy the identifier token you get exactly as shown below (or see video tutorial).
Step 10. Go to HTCDev.com and log-in. If you don’t have an account, register then log-in.
Click on “Unlock Bootloader” then “Get Started”.
Step 11. Choose “All Other Supported Models” then click on “Begin Unlock Bootloader”.
Step 12. Choose “Yes”.
Step 13. Make sure check boxes are checked ON and click on “Proceed to Unlock Instructions”.
Step 14. Scroll all the way to the bottom and click on “Proceed to Step 5″.
Step 15. Scroll all the way to the bottom and click on “Proceed to Step 8″.
Step 16. Scroll all the way to the bottom and paste your token you copied over earlier. Make sure there’s no white spaces or INFO (if using MAC/Linux).
Step 17. Hit “Submit” and if you copied and pasted the token correctly, you should get a success message.
Step 18. Check your e-mail and you should have received Unlock_code.bin file from HTC.com.
Step 19. Download and copy the Unlock_code.bin file to the HTCOneRoot folder.
Step 20. Next type in command prompt/terminal:
For Windows, type:
fastboot flash unlocktoken Unlock_code.bin
For Mac, type:
./fastboot-mac flash unlocktoken Unlock_code.bin
For Linux, type:
sudo ./fastboot-linux flash unlocktoken Unlock_code.bin
Step 21. Go to your phone and choose “Yes” using Volume Up button then hit the Power button. Your HTC One will reboot in about 5 seconds.
Step 22. Once rebooted, your HTC One should be completely wiped and you should get Welcome message just like the day you got your phone. Sign in through the setup process then copy the CWM-SuperSU-v1.30.zip file in HTCOneRoot folder to anywhere on your HTC One’s internal storage.
*Note – For Android 4.3 or 4.4, please use the file “UPDATE-SuperSU-v1.65.zip” instead of v1.30.
Step 23. Power off your phone then re-boot into bootloader menu to fastboot mode like you did in Step 7.
Step 24. Type the following to install recovery:
For HTC One M7 (AT&T/T-Mobile/International/Unlocked/Developer)
fastboot flash recovery openrecovery-twrp-2.6.3.0-m7.img
For HTC One M7WLS (Sprint):
fastboot flash recovery openrecovery-twrp-2.6.3.0-m7wls.img
Then Type:
fastboot erase cache
For Mac, replace “fastboot” with “./fastboot-mac”.
For Linux, replace “fastboot” with “sudo ./fastboot-linux”.
Step 25. Choose “Bootloader” and hit the Power button.
Step 26. Choose “Recovery” and hit the Power button.
Step 27. Once in TWRP recovery, choose “Install”.
Step 28. Choose the file CWM-SuperSU-v1.30.zip.
*Note – For Android 4.3 or 4.4, please use the file “UPDATE-SuperSU-v1.65.zip” instead.
Step 29. Swipe to flash this file. This will root your HTC One by installing SuperSU superuser app and SU binaries.
Step 30. Choose “Reboot System” to reboot.
Step 31. Once rebooted, you will find “SuperSU” app in your app drawer. Congratulations! You’ve successfully rooted your HTC One! You can verify full root by installing a rooted app like Titanium Backup app.
Step 32. Next, let’s restore your data. Go ahead and copy all of your data (you backed up earlier) back into your HTC One’s internal storage.
Then, go to Settings->Developer options and make sure “USB debugging” is checked ON. (You will have to do this again since your phone reseted itself when you unlocked the bootloader) Connect micro-USB cable from your phone to your computer.
Step 33. Next type the following to restore your app and app data:
For Windows:
adb restore backup.ab
For Mac:
./adb-mac restore backup.ab
For Linux:
./adb-linux restore backup.ab
Step 34. Go to your phone and hit “Restore my data”.
Step 35. Your HTC One should now be fully rooted along with your apps!
Step 36. HTC One stock firmwares are HARD TO FIND. So, my suggestion is to make a backup ROM at this point. That will allow you to easily unroot and restore stock firmware if something goes wrong or you want to take your phone back for warranty.
You can do this easily by re-booting into TWRP recovery and selecting “Backup”.
FAQ:
Q: Does this root method erase my data and personal files?
A: No, if you follow everything in this tutorial, you will be able to root your HTC One, keep your data and personal files. So make sure you follow every step!
Q: I cannot flash the TWRP recovery using fastboot!
A: Please see revised Step 24 on this page, the TWRP file has been updated to the latest version!
Credits:
Thanks to ChainFire for awesome SuperSU and TWRP Team for awesome TWRP recoveries.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment