If you have successfully unlocked your HTC One M7 Bootloader, you will see the following text at the top of your Bootloader:
And, if you installed a custom recovery, it will change to the following:
*** TAMPERED ***
*** UNLOCKED ***
You can get rid of your TAMPERED
text and/or change your LOCKED
status. This guide applies to all HTC One M7 Hboot versions.
1. Your HTC One must be S-OFF.
2. Your device must be rooted.
There are different ways of achieving the same results, but this is the easiest method using a tool called revone: http://forum.xda-developers.com/show....php?t=2314582
. Note that revone is primarily intended to be used to S-OFF but it also has some very useful additional features, which are exactly what we're going to use here. You will find all the commands in the original revone thread but if you're having difficulties, then this guide for "noobs" should be helpful.
You need adb and fastboot. Download both in a single package: http://goo.gl/T6InE
- credits to mike1986. Extract the folder "mini-sdk" and place it at C:/
Download revone: http://revolutionary.io/revone
. Place it in your adb and fastboot folder, for example, C:/mini-sdk/
Connect your HTC One to your PC via USB cable. Boot up your HTC One and leave it on its homescreen. Test if the USB connection is working by clicking on the Start button > Run > type "CMD". This will open the Command Prompt window. From there, type:
You should get the serial number of your phone. This is what i get:
C:\Documents and Settings\Administrator>cd c:\
List of devices attached
Now, you need to copy revone to your phone. In the same Command Prompt window, type:
adb push revone /data/local/tmp/
Here is my log to confirm that revone has been successfully copied:
C:\mini-sdk>adb push revone /data/local/tmp/
2893 KB/s (648208 bytes in 0.218s)
Now, open an adb shell by simply typing:
You should see the following:
If you see the $ symbol instead of the # symbol, type su
(your HTC One needs to be rooted otherwise this won't work).
Use the Command Prompt to move to the folder where you placed revone on your phone and and set new permissions:
chmod 755 revone
Here is what it looks like on my Command Prompt window:
root@android:/ # cd /data/local/tmp
root@android:/data/local/tmp # chmod 755 revone
chmod 755 revone
Now, you can finally remove the TAMPERED
text and switch between LOCKED
. Following from above, if you want to get rid of the TAMPERED
If you want to set the Bootloader as LOCKED, type:
If you want to set the Bootloader as RELOCKED, type:
If you want to set the Bootloader as UNLOCKED, type:
After you've made the changes according to what you want, you can now reboot the device and check to see if the changes have been applied. Type:
adb reboot bootloader
You should now be in the Bootloader and you can confirm the changes.
If this was useful, just click on the THANKS button!