How to Unlock and Root HTC One M8 AT&T Variant

 

If you want to unlock and root your AT&T HTC One (M8) than follow this thread.

This process can be used to unlock and root any HTC device but only HTC M8 was tested only.

How to unlock AT&T HTC One (M8)

At first create a folder named “Android” on your desktop or anywhere you want. It would be better if you create the folder in the desktop or root of any drive. I opened it in my “D” drive. You have to navigate to this folder later via a command prompt or terminal. However if you fail to navigate via the prompt , Windows 7 & 8 allows you to right click on the folder and opens at command prompt way.

Prerequisites:

  1. Now download these necessary drivers before doing anything. Download the drivers from here : CLICK HERE . You can just download the drivers and exclude the HTC SYNC.
  2. Now you need to download the ADB/Fastboot files for Windows. Click here to download ADB/Fastboot for windows

Steps:

  1. Know whether you are using 32-bit or 64-bit and follow the instructions of individual software
  2. Now extract the files of adb-windows.zip and copy it to “Android” folder
  3. Now open the command prompt or just right click on the “Android” folder and open through command prompt
  4. Go to settings of your HTC one (M8) ,then power,then uncheck the Fast Boot option. After the completion switch off your device.
  5. Now press the “volume down” and “power ” button simultaneously to boot the HTC one (M8) into “HBOOT” mode
  6. Use the Volume buttons and navigate to the “fastboot” option and select it by using the “Power button”
  7. Now connect your HTC One (M8) to your PC
  8. Now write “fastboot devices” in the command prompt without the Quotation marks. Now you should see thisC:\Users\XXX\Desktop\Android>fastboot devices 011aa0a1a01aaaa1 fastboot
  9. Now go to the HTC developer website to get an Identifier Token before th bootloader can be unlocked. URL of HTC developer site is www.htcdev.com You need to have an account to get identifier Token.
  10. Or registrar an account and at the top of screen you will see “development Center” . Click on it
  11. Now under the “Unlock Bootloader” option in the center of the page you will see “Get started” . Click on it.
  12. See supported devices? Click there and select your device and find the HTC One (M8) . Then select the “begin Unlock Bootloader.
  13. Yah yah !!! Accept all the warnings and keep clicking the Next button. In the 8th step enter this following command in command prompt:”fastboot oem get_identifier_token” (without the quotation marks).
  14. Now the message seen in the command prompt need to be copied and store it in a notepadKeep the Random series of Alphanumerics from the copied message. If you see any <<<, (bootloader) or info or any text remove it. Don’t edit the identifier token start or the end lineExample:<<<< Identifier Token Start >>>>
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A
    <<<<< Identifier Token End >>>>>
  15. Now paste the edited output in the “My identifier Token” box on the HTC dev website. Then press “submit” and then you will receive the unlock code binary file via the email.After receiving the “Unlock_code.bin” file from HTC , transfer this file to the “Android” folder which you created at the very first step.
  16. Go to command prompt and write”fastboot flash unlocktoken Unlock_code.bin” (without the quotation marks obviously)
  17. After entering this command a message will appear on the display of your HTC One M(8). It will ask whether you really want to unlock the bootloder or nor. By using the volume controller select yes and press power button to select it.
  18. Now, your phone’s bootloader will be unlocked and it will start to restart automatically . If it takes time, give some time to it and don’t panick. After the reboot al previous settings will be lost with the unlocking the bootloader. You need to be prepared for this as you need to redo them all. If you are thinking to unlock your bootloader, than I highly suggest you to do it on a fresh ROM install, as you will have to deal with it once only. Fastboot will be enabled in the power settings. If you want to root your device you need to go to settings , then power and uncheck the fastboot option before proceeding to rooting.

How to Root HTC One (m8)

  1. Atfirst download this file
    TWRP Recovery for the AT&T (M8)
  2. Download super SU Here
  3. After downloading rename the TWRP Recovery file to “twrp.img” or “m8recovery.img”
  4. Then, copy the TWRP image file to that previously created “Android ” folder
  5. Now, open a command prompt and browse the “Android” folder wher you have placed the ADB/Fastboot and the TWRP recovery files
  6. Now, make sure that the HTC One (M8) is switched off. Now boot the phone into the fastboot by pressing the volume down and power button at the same time. After the booting select the “fastboot” by using the power button
  7. Now connect your HTC ONE (M8) to your PC and enter “fastboot devices” in the command prompt to verify that the HTC in connected to PC. If it is properly connected then you will see this type of message
    C:\Users\XXX\Desktop\Android>fastbootdevices
    010AA1A0A10AAAA1 fastboot
  8. After verifying, type “fastboot flash recovery m8recovery.img” (use the name which you used in the TWRP recovery file) in the command prompt. Now,wait for the flasboot to flash the TWRP Recovery on your HTC One (M8)
  9. Now after the TWRP recovery is successfully flashed, restart the device manually by writing command “fastboot reboot”
  10. After rebooting transfer the Super SU zip file to the root directory of the HTC One (M8) via your PC
  11. Now, turn off your HTC One (M8) and reboot the bootloader mode by holding the Volume down with power button at the same time
  12. Now, go to “Recovery” option and select it by using the power button and update SUperSU-v1.9.4.zip file that you have downloaded
  13. After the SuperSU zip file is flashed, select the Reboot system to reboot the device
  14. As the device starts you have already rooted your HTC One (M8)

 

Now you can install custom ROMs, or kernels or mods that you like. How to Unlock and Root HTC One M8? This is how you unlock and Root HTC handsets. This is tested with HTC One M8 only.

 

XDA THREAD

Afsar
 

I am a self dependent writer who likes to write about Gadget & Gears. I put my thoughts into writing in internet.

Click Here to Leave a Comment Below 0 comments

Leave a Reply: