Sent from my HTC One_M8 using Xparent Blue Tapatalk 2
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.
-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
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.
-beaups for schooling me on echo comand protocol
-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
*i dont have m8. let me know if it works and ill add you to the credits.
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(windows 7 and older)
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Scott>cd c:\miniadb_m7 c:\miniadb_m7>adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * List of devices attached FAxxxxxxxxxx device c:\miniadb_m7>adb reboot bootloader c:\miniadb_m7>fastboot devices FAxxxxxxxxxx fastboot c:\miniadb_m7>fastboot reboot rebooting... finished. total time: 0.037s c:\miniadb_m7>
Hi @scotty1223 I got permission denied error in step 2 while locking.
shell@htc_m8:/ $ echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
d of=/dev/block/mmcblk0p2 bs=1 seek=33796 <
/dev/block/mmcblk0p2: cannot open for write: Permission denied
Please can you help?
FIrst off sorry for my stupidity lol I converted my AT&T M8 to a Google Play Edition. S-Offed with Sunshine. Not caring for Lollipop right now, so I went back to Sense by flashing the 1.54 firmware and splash image. Which wiped the Google Play RUU due the system partitions changing. So I couldn't boot up. I flashed the latest TWRP recovery, but once in recovery it said I had 0MB, therefore I couldn't flash any ROMs. Or sideload. I read somewhere that the only way I could get the partitions to actually change was by running an RUU. So I figured by doing this I could just redo the bootloader unlock process and root, flash custom ROMs, etc. I never had any issues with my M7 by doing this, so I figured it would apply here. Obviously I was wrong. I locked the bootloader then ran the RUU. Worked fine, but when I went to unlock the bootloader it said FAILED (remote: unlock token check failed) I only wanted to go back to Sense because I wanted to try ARHD again. Anyway, I downloaded the Sunshine apk after I had locked the bootloader and ran the RUU and ran it to try getting temp root. All it does is tell me my device is already S-Off and reboots my phone. I'm aware you can flash a recovery when the bootloader is locked so I can root it the proper way. But I'm not sure how to flash a recovery other than through fastboot. I keep getting FAILED (remote: not allowed). So I'm stuck. The phone's still usable, the CID is CWS__001 (only way the RUU would run) but still S-Off. Again, sorry for my stupidity, any help would be appreciated. Most definitely will not be locking my bootloader again.
|Thread Tools||Search this Thread|