HTC recently rolled out Android 4.2.2 Jelly Bean software update for the HTC One which runs Android v4.1.2 out of box. Along with Android 4.2.2 upgrade, the official software brings an array of features to the Sense 5 UI. The update also adds several notable enhancements and bug fixes.
Followed by this , senior XDA member, torxx, has shared a root method for the HTC One allowing users to root their devices running on Android 4.2.2. The developer has also released a method to unlock the bootloader of the HTC One. Besides, he has shared ClockworkMod and TWRP recovery files for the HTC One. Users can flash any of the recovery according to their choice. Head over to the development thread to learn more about the root method.
Click here for our step-by-step guide to update HTC One to Android 4.2.2 Jelly Bean official firmware.
Those who wish to root their HTC One and install CWM/TWRP recovery on their devices, may follow our step-by-step guide.
IBTimes UK reminds its readers that it will not be held liable for any damage to the device. User are also advised to verify that their devices meet following requirements.
1) Install USB Drivers for HTC One to transfer files between the Android device and computer.
2) Enable USB Debugging Mode on the phone to connect it with the computer and use Android SDK with it. [Press Menu>> Settings>> Applications. From there navigate and click on Development option and check the USB Debugging Mode.]
3) As the tutorial is likely to wipe all data of the phone, create a backup. If the device is having any custom recoveries such as ClockworkMod/TWRP already installed then backup data using the recovery.
4) The HTC One should have above 80% of battery charge.
6) The tutorials works only on HTC One M7. Applying these on any incorrect variant might brick the device.
7) Rooting the device will void manufacturer's warranty. However, users can reclaim the warranty back by unrooting the device later.
Steps to unlock HTC One
Step-1: Go to HTCDEV and create an account
Step-2: Download the adb/fastboot files to the computer
File name: adb_fastboot_drivers.zip
Step-3: Make a new folder on the C:/ drive of the computer called fastboot. Now extract the downloaded fastboot zip into the new folder
Step-4: Head over to http://www.htcdev.com/bootloader/ and select All Other Supported Models and then Begin Unlock Bootloader
Step-5: Click Yes on both boxes and proceed further
Step-6: Switch off the HTC One by holding Power button for 10 seconds
Step-7: Now hold Volume Down and Power buttons together to turn on the phone. Select Fastboot with the Volume Up/Down and press the Power button to select it
Step-8: Connect the phone to the computer using USB cable
Step-9: Open a Command Prompt on the computer
Window XP: Click Start >> Run>> type CMD in the box and press OK
Window 7: Click Start>>type CMD in the search box and then press Enter
Step-10: Change directory to the folder where the fastboot files were copied (cd c:/fastboot)
Step-11: Type the following command in the command prompt
fastboot oem get_identifier_token
Step-12: Select and copy the text (as per step 9 on the HTCDev website)
Step-13: Paste the identifier token into the box at the bottom and submit
Step-14: Users will soon receive a mail from HTCDev with a link to the second part of the instructions and the Unlock_code.bin attached
Step-15: Download the Unlock_code.bin from the email and save it in the same folder where the fastbbot files are saved
Step-16: Type this following command into the command prompt window
fastboot flash unlocktoken Unlock_code.bin
Step-17: The display will change on the phone, now press Volume Up to accept and Power to confirm
Provided all the steps are followed strictly, the bootloader of the HTC One should be unlocked.
Steps to install ClockworkMod/TWRP recovery on HTC One
Step-1: Download Android SDK
Step-2: Download recovery files according to choice
Step-3: Those who are using fastboot folder (wherein the fastbboot files are being saved), can move the Recovery file to the same folder. Those who are using the Android SDK directory then copy the Recovery file to platform-tools folder
Step-4: Open the Command Prompt [Press Shift + Right click to open Command Prompt]. Then type CMD and press Enter
Step-5: Now navigate to the folder where the Recovery file is saved. Also, open a Command Prompt [Shift + Right click] at the correct directory
Step-6: Now type the following command
fastboot flash recovery recovery.img
The CWM/TWRP recovery should be installed on the HTC One. Now follow the guide below to root the device.
Steps to root HTC One on Android 4.2.2 Jelly Bean
Step-2: Connect the HTC One to the computer using USB cable. Then copy the downloaded root zip file to the SD card of the phone [Internal or external]
Step-3: Disconnect the phone from the computer and switch it off. Now press and hold Volume Down and Power buttons together to boot the device into Bootloader mode
Step-4: Highlight Recovery using Volume Up/Down button the press the Power button to select it
Step-5: In the recovery mode, select install zip from sdcard then select choose zip from sdcard. Now locate the root zip file which is saved in the SD card of phone. Select it by pressing the Power button and confirm installation by selecting Yes on the next screen. The installation should begin now and would take a few minutes to complete
Step-6: Once the installation process is completed, return to the main recovery menu and reboot the phone by selecting reboot system now
As the HTC One boots up, it should be unlocked, rooted with CWM recovery/TWRP recovery installed on the device.
[Source: Android Jinn]