FORUMS
Remove All Ads from XDA

[how to] lock/unlock your bootloader without htcdev(s-off required)

2,804 posts
Thanks Meter: 3,049
 
By scotty1223, Recognized Contributor on 7th April 2014, 02:39 AM
Post Reply Email Thread
28th April 2016, 04:26 PM |#371  
mastershen23's Avatar
Member
Flag London
Thanks Meter: 8
 
More
Quote:
Originally Posted by Captain_Throwback

You can flash TWRP using the SD card method, and then you can access root shell from TWRP to run the unlock command.

Sorry to bother mate, but where could I find some info about that method? Searching flash twrp from sd card yields too much info, none of which has been to the point.

Thanks for your help.
 
 
29th April 2016, 03:23 PM |#372  
redpoint73's Avatar
Recognized Contributor
Thanks Meter: 5,362
 
More
Quote:
Originally Posted by mastershen23

Is there any way to gain root without a custom recovery? Does using the supersu app and clicking "normal" when prompted work as it's s-off?

You can try kingroot; which has mixed results from folks, but seems to work if you run it enough times.

SueprSU app won't do anything without the binaries installed, for which you need to flash the SuperSU zip form custom recovery.
29th April 2016, 03:49 PM |#373  
Captain_Throwback's Avatar
Retired Moderator / Recognized Developer / Recognized Contributor
Flag Bensalem, PA
Thanks Meter: 18,568
 
10
Donate to Me
More
Quote:
Originally Posted by mastershen23

Sorry to bother mate, but where could I find some info about that method? Searching flash twrp from sd card yields too much info, none of which has been to the point.

Thanks for your help.

Place the attached zip on the root of your external SD card (i.e. in no folder) and then reboot to HBOOT and install when prompted. You'll be forced to reboot once the flash is complete, so make sure you either move or rename the file so that it no longer gets picked up by HBOOT when you reboot. Then you should be able to reboot into TWRP and run the unlock command.
Attached Files
File Type: zip 0P6BIMG.zip - [Click for QR Code] (12.59 MB, 46 views)
19th May 2016, 08:00 PM |#374  
aer0zer0's Avatar
Senior Member
Flag Cortland NY
Thanks Meter: 334
 
More
delete
22nd May 2016, 12:59 AM |#375  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Captain_Throwback

Place the attached zip on the root of your external SD card (i.e. in no folder) and then reboot to HBOOT and install when prompted. You'll be forced to reboot once the flash is complete, so make sure you either move or rename the file so that it no longer gets picked up by HBOOT when you reboot. Then you should be able to reboot into TWRP and run the unlock command.



Does this STOL work?


Sent from my HTC One_M8 using XDA Free mobile app
18th June 2016, 10:02 AM |#376  
null0seven's Avatar
Senior Member
Flag Iasi
Thanks Meter: 571
 
More
For this to work you need to have saved in youre PC the "Unlock_code.bin". I save it from my first unlock.
Assuming that you have ADB folder in "C" (with adb, fastboot, etc in it). It's a kids play!
1.Copy Unlock_code.bin in "C"/adb.
2.Open Command promt. Shift+right click of the mouse in the same time.
3.Paste the next text: fastboot flash unlocktoken Unlock_code.bin.
4.The phone shows YES/NO option. Press VOLUME+ and move to YES. Press POWER button.
Done! You're unlocked.

To Re-Lock bootloader.
Open Command promt. Paste the next text:
fastboot oem lock.
This it's useful if youre S-ON and need to upgrade firmware.
19th June 2016, 02:25 AM |#377  
Member
Thanks Meter: 16
 
More
Doesn't flashing via 'fastboot flash unlocktoken' wipe the user data & device completely?


I have an already S-OFF T-Mobile M8, but on accident in the process taking an OTA, relocked the bootloader (still have S-OFF), and root with it.
I was not using systemless root at the time; is there any way to unlock the bootloader -without- losing my data?
19th June 2016, 09:36 AM |#378  
null0seven's Avatar
Senior Member
Flag Iasi
Thanks Meter: 571
 
More
thodibhen
yes, it will erase internal memory.
Backup first.
19th June 2016, 03:01 PM |#379  
ckpv5's Avatar
Recognized Contributor
Flag Kuala Lumpur
Thanks Meter: 16,171
 
Donate to Me
More
Quote:
Originally Posted by thodibhen

Doesn't flashing via 'fastboot flash unlocktoken' wipe the user data & device completely?

Yes .. if you use the unlock_code.bin

Quote:
Originally Posted by thodibhen

is there any way to unlock the bootloader -without- losing my data?

Yes .. follow the guide on post #1
20th June 2016, 11:09 PM |#380  
Member
Thanks Meter: 16
 
More
Quote:
Originally Posted by ckpv5

Yes .. if you use the unlock_code.bin



Yes .. follow the guide on post #1

Instructions in post #1, I need a # prompt. There is no SuperSU installed, unless I'm missing something big here.
Only thing different from stock phone is that it's S-OFF.
I could try flashing twrp via Flashify?
20th June 2016, 11:15 PM |#381  
ckpv5's Avatar
Recognized Contributor
Flag Kuala Lumpur
Thanks Meter: 16,171
 
Donate to Me
More
Quote:
Originally Posted by thodibhen

Instructions in post #1, I need a # prompt. There is no SuperSU installed, unless I'm missing something big here.
Only thing different from stock phone is that it's S-OFF.
I could try flashing twrp via Flashify?

Read post #373 ... it is just 4 posts above your earlier post.
Run the command after boot into TWRP recovery.

adb shell
then unlock command
The Following 2 Users Say Thank You to ckpv5 For This Useful Post: [ View ] Gift ckpv5 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes