Showing posts with label HTC One. Show all posts
Showing posts with label HTC One. Show all posts

How to Root HTC One, Unlock Bootloader, Backup and Install a Custom Recovery (Using TWRP)



HTC one is indeed one of the monsters mobile phone right now. It has everything we need and no one has ever doubted it. So on this tutorial i will show you how to root, unlock bootloader and install a custom recovery using TWRP on the phone. For those who did not know about the advantage of rooting device can go to this post.

To Root Your Phone, You Will Need the Following

  • HTC One drivers, which are included with HTC Sync Manager.
  • Android Forums Mini SDK, which can be found in the second post on this thread.
  • The latest TWRP recovery .img, which can be downloaded here. You may also want to rename it twrp.img for ease of installation later.


Step 1: Prepare Your Files
Extract the Mini SDK .zip file to a folder anywhere on your computer, then copy the twrp.img file to this folder. I'll be using C:\sdk-tools. Now, copy the SuperSU .zip file to your phone, either with AirDroid or via USB.



Step 2: Unlock Your Bootloader with HTC Dev
Next, head on over to HTC Dev and unlock your HTC One's bootloader using their instructions or our previous softModder tutorial. Our guide is for the EVO 4G LTE, but the process is the same.



Step 3: Install TWRP
Power off your device, then press and hold Power and Volume Down until you're in the bootloader menu. Highlight FASTBOOT and press Power. You should see Fastboot USB highlighted in red.



Open a command prompt on your computer and navigate to your SDK directory. Type "fastboot flash recovery twrp.img" and hit Enter.



Step 4: Backup Your Stock ROM
On your phone, highlight BOOTLOADER and press Power.
This time, select RECOVERY and press Power to boot into TWRP.



Tap Backup and swipe to confirm. You can restore this backup if anything goes wrong by selecting Restore in TWRP's main menu.



Step 5: Install SuperSU
In TWRP's main menu, tap Reboot. It will tell you that you're not rooted and ask you to install SuperSU, so swipe to confirm. When you reboot your phone, you should see a notification that you need to install the SuperSU app. Open the notification and select TWRP, since the app from Google Play only works with S-OFF.

That's it! For most people, the next step is installing a custom ROM or apps that require root.

Download CyanogenMod 10.1 nightly builds for the HTC One




There is some good news for all those HTC One owners who are keen to try out CyanogenMod 10.1, official nightly builds are now available for the GSM version and the Sprint variant.

Codenamed M7 – after the internal development name of the device, the nightly builds aren't yet considered stable but are working sufficiently well for enthusiasts to use. The biggest bug at the moment seems to be that the audio on outgoing calls can be “hit or miss”. The current workaround is to enable the ‘touch sounds' and start a call using the dial pad, that way you will have audio on the outgoing call. This doesn't affect incoming calls which are behaving normally.

The steps to get CM10.1 on your HTC are pretty much the same as for other devices. The bootloader needs to be unlocked and ClockwordMod-Recovery installed. The the CM10.1 build needs to be copied over along with the Google apps. A quick boot into recovery mode will allow the CM10.1 firmware to be flashed onto the device (along with the Google apps) and after a reboot CyanogenMod 10.1 should be running rather than the factory version of Android supplied by HTC.

CyanogenMod is a free, custom firmware based on Android 4.2 Jelly Bean and is designed to increase performance and reliability over the stock version of Android. But be warned, you flash at your own risk and by replacing HTC's firmware you void your warranty. If you hate HTC Sense 5 and don't get on with BlinkFeed then CM10.1 might be the way to go, but it is worth noting the other features which don't currently work including the IR blaster and Wi-Fi Calling for T-Mobile.

There are wiki pages for the M7 (GSM) and the M7 (Sprint) variants  with some preliminary information and the nightly builds can be downloaded from the two different M7 download sections (GSM or Sprint) of the CyanogenMod site.