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

fbcyborg

Senior Member
Mar 28, 2008
688
69
58
ROME
Hello!

I've read this method requires S-OFF to be applied.
Well, I wasn't able to find a method to put my phone S-OFF unless using the htcdev. I've seen there's no such method here. Everyone needs the root access.
But to get the root access I have to unlock and install a recovery to install SuperSU. I'm stuck. What to do then?
Shall I have to use htcdev at least one time then?
 

scotty1223

Inactive Recognized Contributor
Jan 3, 2011
2,813
3,054
203
Hello!

I've read this method requires S-OFF to be applied.
Well, I wasn't able to find a method to put my phone S-OFF unless using the htcdev. I've seen there's no such method here. Everyone needs the root access.
But to get the root access I have to unlock and install a recovery to install SuperSU. I'm stuck. What to do then?
Shall I have to use htcdev at least one time then?
that is correct. you need to use htcdev at least once :)
 
  • Like
Reactions: fbcyborg

dadaR6

Member
Jul 28, 2007
46
3
0
I am S-OFF with my bootloader (1.57) is locked and I have updated to the latest Sprint version with a RUU (5.05.651.2). So I lost my root. I am trying to flash a custom recovery (openrecovery-twrp-2.8.3.0-m7wls.img) so that I can root my phone again. However most of the tutorials that I have seen, requires either su or HTCDev to unlock the bootloader.

I thought that being S-OFF would allow me to do any of those, but it seems not.

Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [  1.490s]
booting...
FAILED (remote: not allowed)
finished. total time: 1.500s
So, how can root this phone with going with HTCDev to unlock?
 
Last edited:

scotty1223

Inactive Recognized Contributor
Jan 3, 2011
2,813
3,054
203
I am S-OFF with my bootloader (1.57) is locked and I have updated to the latest Sprint version with a RUU (5.05.651.2). So I lost my root. I am trying to flash a custom recovery (openrecovery-twrp-2.8.3.0-m7wls.img) so that I can root my phone again. However most of the tutorials that I have seen, requires either su or HTCDev to unlock the bootloader.

I thought that being S-OFF would allow me to do any of those, but it seems not.

Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [  1.490s]
booting...
FAILED (remote: not allowed)
finished. total time: 1.500s
So, how can root this phone with going with HTCDev to unlock?
Install a recovery as a zip file with Fastboot/ruu mode. Zip up the image with an android info text document. This has been discussed many times.

Sent from my Nexus 9 using Tapatalk
 

dadaR6

Member
Jul 28, 2007
46
3
0
Install a recovery as a zip file with Fastboot/ruu mode. Zip up the image with an android info text document. This has been discussed many times.
I actually would prefer to keep my stock recovery, that is why I was using the boot option. I only need root. Your pointer is great, but a bit too broad for me.

Is it what you were refering to?
Code:
adb sideload SuperSU.zip
 
Last edited:

dadaR6

Member
Jul 28, 2007
46
3
0
Install a recovery as a zip file with Fastboot/ruu mode. Zip up the image with an android info text document. This has been discussed many times.
I figured out what you meant about the RUU method. I just created a RUU to flash the recovery. I put the android-info.txt and recovery.img inside TWRP.zip, then did this:

Code:
E:\HTC One\HTC One 5.05.651.2\Minimal ADB and Fastboot>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [  0.050s]
finished. total time: 0.050s

E:\HTC One\HTC One 5.05.651.2\Minimal ADB and Fastboot>fastboot.exe flash zip TWRP.zip
target reported max download size of 1514139648 bytes
sending 'zip' (11594 KB)...
OKAY [  1.620s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[recovery] unzipping & flushing...
(bootloader) [RUU]UZ,recovery,0
(bootloader) [RUU]UZ,recovery,8
(bootloader) [RUU]UZ,recovery,17
(bootloader) [RUU]UZ,recovery,25
(bootloader) [RUU]UZ,recovery,30
(bootloader) [RUU]UZ,recovery,38
(bootloader) [RUU]UZ,recovery,47
(bootloader) [RUU]UZ,recovery,68
(bootloader) [RUU]UZ,recovery,73
(bootloader) [RUU]UZ,recovery,81
(bootloader) [RUU]UZ,recovery,89
(bootloader) [RUU]UZ,recovery,98
(bootloader) [RUU]UZ,recovery,100
(bootloader) [RUU]WP,recovery,0
(bootloader) [RUU]WP,recovery,100
(bootloader) ...... Successful
OKAY [  4.210s]
finished. total time: 5.840s

E:\HTC One\HTC One 5.05.651.2\Minimal ADB and Fastboot>fastboot reboot
rebooting...

finished. total time: 0.040s
So everything should be good, but when I reboot, I still have the stock recovery!
Am I missing something here?

---------- Post added at 06:04 PM ---------- Previous post was at 05:13 PM ----------

So everything should be good, but when I reboot, I still have the stock recovery!
Am I missing something here?
Got it to work somehow. I do now have the custom recovery and also flashed SuperSU. Thanks!
 

scotty1223

Inactive Recognized Contributor
Jan 3, 2011
2,813
3,054
203
I figured out what you meant about the RUU method. I just created a RUU to flash the recovery. I put the android-info.txt and recovery.img inside TWRP.zip, then did this:

Code:
E:\HTC One\HTC One 5.05.651.2\Minimal ADB and Fastboot>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [  0.050s]
finished. total time: 0.050s

E:\HTC One\HTC One 5.05.651.2\Minimal ADB and Fastboot>fastboot.exe flash zip TWRP.zip
target reported max download size of 1514139648 bytes
sending 'zip' (11594 KB)...
OKAY [  1.620s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[recovery] unzipping & flushing...
(bootloader) [RUU]UZ,recovery,0
(bootloader) [RUU]UZ,recovery,8
(bootloader) [RUU]UZ,recovery,17
(bootloader) [RUU]UZ,recovery,25
(bootloader) [RUU]UZ,recovery,30
(bootloader) [RUU]UZ,recovery,38
(bootloader) [RUU]UZ,recovery,47
(bootloader) [RUU]UZ,recovery,68
(bootloader) [RUU]UZ,recovery,73
(bootloader) [RUU]UZ,recovery,81
(bootloader) [RUU]UZ,recovery,89
(bootloader) [RUU]UZ,recovery,98
(bootloader) [RUU]UZ,recovery,100
(bootloader) [RUU]WP,recovery,0
(bootloader) [RUU]WP,recovery,100
(bootloader) ...... Successful
OKAY [  4.210s]
finished. total time: 5.840s

E:\HTC One\HTC One 5.05.651.2\Minimal ADB and Fastboot>fastboot reboot
rebooting...

finished. total time: 0.040s
So everything should be good, but when I reboot, I still have the stock recovery!
Am I missing something here?

---------- Post added at 06:04 PM ---------- Previous post was at 05:13 PM ----------



Got it to work somehow. I do now have the custom recovery and also flashed SuperSU. Thanks!
Glad you got it figured out. :)

Sent from my Nexus 9 using Tapatalk
 

scotty1223

Inactive Recognized Contributor
Jan 3, 2011
2,813
3,054
203
@scotty1223 will this method work on older HTC devices specifically the Sprint HTC Evo 4G LTE?
If so what info would you need from me?

TIA,
Sloth
The basic premise does work,tho partition layouts are not the same across the board. I have an lte evo,let me refresh my memory on it

Sent from my HUAWEI ALE-L04 using Tapatalk
 
  • Like
Reactions: Sloth