Go Back   Android Forums > Android Phones > HTC One > (International) One - All Things Root

Like Tree1Likes
  • 1 Post By clsA

test: Reply
 
LinkBack Thread Tools
Old October 24th, 2013, 08:45 PM   #1 (permalink)
AF Addict
Thread Author (OP)
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,016
 
Device(s):
Carrier: Not Provided

Thanks: 7,893
Thanked 7,228 Times in 4,485 Posts
Default [how to] lock/unlock your bootloader without htcdev(s-off required)

this thread will let you unlock your bootloader without htcdev,or let you change your hboot watermark from relocked or locked back to stock.

originally,we used a zip file flashable in recovery. i have found it to work on gsm devices with 1.44 hboot and CW recovery. it did not work with twrp. if the following is too scary,feel free to test the zip files. that thread,info,and downloads can be found here. since not all recoverys are working,these values can be changed with simple adb commands.

advantages
-no hassle with htcdev,tokens,or unlock codes
-no submitting your phones personal info to htc
-the ability to get back to 100% stock without any visual traces or records of having been s off or unlocking your bootloader.

you do NOT need to downgrade your hboot. this simple adb command works without any scary hboot downgrades.

*you must be s off.
*you must have superuser installed(see this thread if you need help installing superuser. use the keep bootloader locked directions)

read this:
this will not work if your s on. its not a way to magically unlock

the usual disclaimers:
use this info at your own risk. if it melts your phone into a little pile of aluminum goo,its not my fault.

credits
-beaups for giving me the echo comand,so yall didnt need to dump,edit with a hex editor,and copy back
-strace for originally discovering the location of the lock status flag(check out this thread for more info)
-kdj67f for fearlessly testing on vzw m7_wlv and putting up some screenshots in post 2. thanks!
-matthew0776 for fearlessly testing for sprint m7_wls

IF you are an advanced user with adb/fastboot set up and some basic knowlede of the cmd window,you can skip to #2
1)set up adb






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/mmcblk0p3 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/mmcblk0p3 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





Advertisements
__________________
The Delivery Guy
If someone has helped you,please click the THANKS button on that post.
Please post questions so others can benefit from the answers.
donate to my device fund
scotty85 is offline  
Reply With Quote
sponsored links
Old October 24th, 2013, 08:46 PM   #2 (permalink)
AF Addict
Thread Author (OP)
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,016
 
Device(s):
Carrier: Not Provided

Thanks: 7,893
Thanked 7,228 Times in 4,485 Posts
Default

99% is good enough for me haha! Phone just hut 50% charged, give me a minute. Will post back with pictures.

Sent from my HTC6500LVW using XDA Premium 4 mobile app

---------- Post added at 08:56 PM ---------- Previous post was at 08:41 PM ----------

Confirmed, code working. Flags set/reset. Phone even reboots and works will upload pics/screenshots.

Thanks!

Starting out unlocked:

Locking:

Locked:

Unlocking:

Re-unlocked:
scotty85 is offline  
Reply With Quote
The Following User Says Thank You to scotty85 For This Useful Post:
clsA (November 3rd, 2013)
Old October 24th, 2013, 08:46 PM   #3 (permalink)
AF Addict
Thread Author (OP)
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,016
 
Device(s):
Carrier: Not Provided

Thanks: 7,893
Thanked 7,228 Times in 4,485 Posts
Default

one more
scotty85 is offline  
Reply With Quote
Old November 3rd, 2013, 11:05 AM   #4 (permalink)
Senior Member
 
Join Date: Apr 2013
Location: FLA. USA
Posts: 621
 
Device(s): iPhone 4S,HTC One
Carrier: AT&T

Thanks: 65
Thanked 532 Times in 382 Posts
Default

this worked out great for getting the free 40gig google drive from installing the 3.62.401.1 Stock Rom
scotty85 likes this.
clsA is offline  
Reply With Quote
The Following User Says Thank You to clsA For This Useful Post:
scotty85 (November 4th, 2013)
Reply


Go Back   Android Forums > Android Phones > HTC One > (International) One - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:06 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.