Relock bootloader

Search This thread

desitdt

Member
May 24, 2008
29
1
Can someone point me to where i can find directions to relock the bootloader back to normal after running the firewater script?
 

Rushing

Senior Member
Jan 13, 2012
2,297
2,893
Los Angeles
Can someone point me to where i can find directions to relock the bootloader back to normal after running the firewater script?

hopefully you went with the first response =]

This thread on AndroidForums has instructions for locking/unlocking the bootloader. S-OFF required, of course.

Dodge has the right idea, try new things and live life and try this at your own risk if successful you will make the OP =] and be famous lol

"2)reset your "lock status flag"

to LOCK your bootloader,enter the following:

adb devices

adb shell

su (if needed to get a # prompt)

echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)

exit
(exit a second time if you need to to get back to a normal > prompt)

adb reboot bootloader

verify you are now locked
__________________________________________________ ___________________________________________

to UNLOCK your bootloader,enter the following:

adb devices

adb shell

su (if needed to get a # prompt)

echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)

exit
(exit a second time if you need to to get back to a normal > prompt)

adb reboot bootloader

verify you are now unlocked



*i have tested this on my gsm htc one. if someone wants to test on vzw,ill add you to the credits
smile.gif
" by scotty85 not me =]
 
Last edited:
Apr 12, 2014
42
7
I can confirm that the UNLOCK works on a Verizon HTC One M8 device. I just did this to mine after having used "fastboot oem lock", which changes the state to "RELOCKED", not "LOCKED", and I wanted things back the way the were before having run the fastboot command.
 

Jowivk2804

Member
Jan 5, 2012
17
0
Hi! Following this guide got me stuck. Using the fastboot oem command on my European HTC M8 got me stuck in a bootloader loop: The bootloader shows "Tampered", "Relocked", "Security Warning" and I cannot get back to the recovery. When I enter the recovery command, I come back to the same bootloader screen with the "Security Warning".
What can I do now? In this mode, I cannot even use ADB, unly fastboot. ist there any fastboot command to get me out of this?
 

shad.man92

Senior Member
Oct 8, 2016
91
6
Gorakhpur, India
Please refer to this:

https://xdaforums.com/showthread.php?t=2708571

It will help you to lock your bootloader with a flag LOCKED, not Tampered or Relocked.

***reset your "lock status flag"***

to LOCK your bootloader,enter the following:

adb devices

adb shell

su (if needed to get a # prompt)

echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)

exit
(exit a second time if you need to to get back to a normal > prompt)

adb reboot bootloader

verify you are now locked
 
Last edited:

shad.man92

Senior Member
Oct 8, 2016
91
6
Gorakhpur, India
hopefully you went with the first response =]



Dodge has the right idea, try new things and live life and try this at your own risk if successful you will make the OP =] and be famous lol

"2)reset your "lock status flag"

to LOCK your bootloader,enter the following:

adb devices

adb shell

su (if needed to get a # prompt)

echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)

exit
(exit a second time if you need to to get back to a normal > prompt)

adb reboot bootloader

verify you are now locked
__________________________________________________ ___________________________________________

to UNLOCK your bootloader,enter the following:

adb devices

adb shell

su (if needed to get a # prompt)

echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)

exit
(exit a second time if you need to to get back to a normal > prompt)

adb reboot bootloader

verify you are now unlocked



*i have tested this on my gsm htc one. if someone wants to test on vzw,ill add you to the credits" by scotty85 not me =]

It works like a charm on my HTC M8 Verizon. I did it and was successful. :)
 
  • Like
Reactions: Rushing

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Would really like this as well. Getting my replacement today and I need to send my old one in.

    This thread on AndroidForums has instructions for locking/unlocking the bootloader. S-OFF required, of course.
    1
    There's an Engineering HBOOT? (I thought that was the only way to "fake" the locked...)
    I believe the op of this thread just modified the hboot with a hex editor. Worked perfect for me none the less.
    http://xdaforums.com/showthread.php?t=2709976
    1
    hopefully you went with the first response =]



    Dodge has the right idea, try new things and live life and try this at your own risk if successful you will make the OP =] and be famous lol

    "2)reset your "lock status flag"

    to LOCK your bootloader,enter the following:

    adb devices

    adb shell

    su (if needed to get a # prompt)

    echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
    (i would very strongly recomend you copy/paste this)

    exit
    (exit a second time if you need to to get back to a normal > prompt)

    adb reboot bootloader

    verify you are now locked
    __________________________________________________ ___________________________________________

    to UNLOCK your bootloader,enter the following:

    adb devices

    adb shell

    su (if needed to get a # prompt)

    echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
    (i would very strongly recomend you copy/paste this)

    exit
    (exit a second time if you need to to get back to a normal > prompt)

    adb reboot bootloader

    verify you are now unlocked



    *i have tested this on my gsm htc one. if someone wants to test on vzw,ill add you to the credits" by scotty85 not me =]

    It works like a charm on my HTC M8 Verizon. I did it and was successful. :)