[One (M7) General] electronical:
If you have successfully unlocked your HTC One M7 Bootloader, you will see the following text at the top of your Bootloader screen:

*** UNLOCKED ***

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, RELOCKED or UNLOCKED status. This guide applies to all HTC One M7 Hboot versions.

Minimum requirements:

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 (and safest) method using a tool called revone: http://xdaforums.com/showthread.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.

Stepwise procedure:

1. 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:/

2. Download revone: http://revolutionary.io/revone. Place it in your adb and fastboot folder, for example, C:/mini-sdk/

3. 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:

cd c:\
cd mini-sdk
adb devices

You should see the serial number of your phone to confirm successful adb connection. This is what i get:

C:\Documents and Settings\Administrator>cd c:\
C:\>cd mini-sdk
C:\mini-sdk>adb devices
List of devices attached
FA36******** device

4. 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)

5. Now, open an adb shell by simply typing:

adb shell

You should see the following:

C:\mini-sdk>adb shell
root@android:/ #

If you see the $ symbol instead of the # symbol, type su (your HTC One needs to be rooted otherwise this won't work).

6. Use the Command Prompt to move to the folder where you placed revone on your phone and and set new permissions:

cd /data/local/tmp
chmod 755 revone

Here is what it looks like on my Command Prompt window:

root@android:/ # cd /data/local/tmp
cd /data/local/tmp
root@android:/data/local/tmp # chmod 755 revone
chmod 755 revone

7. Now, you can finally remove the TAMPERED text and switch between LOCKED, RELOCKED or UNLOCKED. Following from above, if you want to get rid of the TAMPERED text, type:

./revone -t

If you want to set the Bootloader as LOCKED, type:

./revone -l

If you want to set the Bootloader as RELOCKED, type:

./revone -r

If you want to set the Bootloader as UNLOCKED, type:

./revone -u

After you've made the changes according to what you want, you can now reboot the device and check if the changes have been applied. Type:

exit
exit
adb reboot bootloader

You should now be in the Bootloader menu and you can confirm the changes.

If this was useful, just click on the THANKS button! :cool: