Root without unlocking bootloader - Sprint HTC One (M7)

I have an HTC One for sprint with S-Off. Is there any way to gain root by using the S-Off? I would really like to continue to receiving stock updates from sprint. From my understanding, you cannot because the S-Off only gives the recovery permission to edit the radio.

I received the last OTA with unlocked bootloader. I just had to flash the stock recovery to install it then flash back to TRWP.

if you use revone -u and then just fastboot boot the recovery, you can install root and still get OTAs

Related

[Q] How to install recovery on a S-OFF phone with locked bootloader?

Hi,
Trying to install TWRP on my phone after gotten it back from service.
The bootloader is locked, the phone IS S-OFF, hboot 1.44.
When I'm trying to flash the recovery.img, i get Remote Denied when running the fastboot command.. I guess this is because the bootloader is locked?
Is there a way to unlock the bootloader WITHOUT using the htcdev method? The solutions i have found requires root, and i don't have that.. but to get root i need the recovery to flash superuser in right?
raysv said:
Hi,
Trying to install TWRP on my phone after gotten it back from service.
The bootloader is locked, the phone IS S-OFF, hboot 1.44.
When I'm trying to flash the recovery.img, i get Remote Denied when running the fastboot command.. I guess this is because the bootloader is locked?
Is there a way to unlock the bootloader WITHOUT using the htcdev method? The solutions i have found requires root, and i don't have that.. but to get root i need the recovery to flash superuser in right?
Click to expand...
Click to collapse
use revone with hboot 1.44: http://forum.xda-developers.com/showthread.php?t=2314582
I think it's "revone -l" (lowercase L)
EDIT: but with s-off you should be able to flash it, can you copy/paste your command prompt
The other way is to create a ZIP to flash in rebootRUU mode to flash a customer recovery. Can't remember off the top of my head how to do it, though
fastboot flash recovery recovery.img
Then I'm getting "FAILED (remote: not allowed)
I can't use revone since i don't have superuser and therfor can't "su"
Yeah creating a zip file would be a way to go, but don't know how.. But if anyone have a guide for that it would be appriciated
You can't flash in ruu mode without s-off.
So if revone doesn't work you, you don't have any other choice.
Also revone won't work if your hboot is newer than June
As i said, i do have S-OFF so flashing in ruu mode should work
I would suggest to try... download the 1.44 Hboot RUU package (we need the android file from it) and twrp or clockworkmod
Unzip 1.44hboot zip, remove the hboot file, and move twrp/cwm and rename to recovery.img. Edit the android-info.txt to match your specifics (see MID changing thread to get an idea) and zip it back up. Flash in fastboot!
No guarentee of this process working is implied.
raysv said:
As i said, i do have S-OFF so flashing in ruu mode should work
Click to expand...
Click to collapse
revone has temproot exploit, so should work.

[Q] [Hhoot] Fastboot Halts Hboot After Failed S-Off

Summery:
Hboot 1.55 - S-Off attempted with Runrunner. Stock RUU; unlocked boot loader. Failed due to lack of unsecured kernel and root. Fastboot commands crash Hboot. Can't install recovery, can't relock bootloader.
Details:
After researching for a few days how to properly S-Off, trying to be absolutely certain to execute it properly, my S-Off attempt failed leaving me with an Hboot that crashes when using Fastboot.
What I did, and why:
I had been installing and using TN's GE 4.4 roms. When it updated to 4.4.2 S-Off was required in order to update.
Began to research Rumrunners S-Off solution. Learned a Sense based ROM would be required. Attempted to flash Viper but for some reason touch was unresponsive.
I read all the instructions and prerequisites for rumrunner and learned/assumed that you only need to be unlocked.
From rumrunner.us:
"5. Your device must be HTCDEV unlocked or rooted unless using rumrunner with a device blocked by htcdev (e.g. m7wlv)"
So, I relocked the bootloader, flashed HTC's RUU exe, then re-unlocked bootloader. Assumed that would be sufficient.
Got Fastboot and ADB working properly and ran runrunner. About 5-10 mins in to the process it returned an error that said process had failed due to lack of root and lack of an unsecured kernel.
After that, I attempted to reinstall TWRP. Fastboot starts to send the img and halts Hboot. Any and all fastboot commands sent to Hboot crashes it. OS still boots and works, but I'm stuck as far as flashing anything custom. And I'm stuck unlocked, "fastboot oem lock" crashes Hboot to.
I'm I permanently stuck?
Sent from my HTCONE using xda app-developers app

[Q] Help needed...S-Off, but no longer rooted

This is not an emergency...I am in no hurry, but I would appreciate some helpful advice.
I have a Sprint HTC One...I have S-Off which I gained by using revone. (I unnecessarily locked the bootloader after gaining S-Off.) In the months since I did this, I replaced twrp with the stock recovery to take at least two updates. (Stupid, I know!)
I am now unrooted and cannot boot into recovery.
What is the best way to regain root without htcdev?
I have tried this guide...http://forum.xda-developers.com/showthread.php?t=2475902...but I cannot get su permission in adb shell.
Bootloader screen:
***LOCKED***
M7_WLS PVT SHIP S-OFF RH
CID-SPCS_001
HBOOT-1.55.0000
RADIO-1.00.1108
OS-3.05.651.6
Thank you for your help!
You must unlock your boot loader, then flash the recovery you want. To unlock, since you are s-off, you can do that without the htcdev approach. Just read through the q&a faq thread. The instructions are all in there.
BTW since you are S-OFF there is no need to re-lock your bootloader to take the OTA/update your firmware
Unlock Bootloader
http://www.htcdev.com/bootloader/
Install Custom Recovery (I use the - Fastboot Method)
http://www.teamw.in/project/twrp2/171
Download SU files (UPDATE-SuperSU-v1.65.zip)
http://download.chainfire.eu/351
Copy UPDATE-SuperSU-v1.65.zip to the phone using USB cable, then boot into custom recovery (reboot phone while holding the down volume button). Flash UPDATE-SuperSU-v1.65.zip
Help still needed...information updated in first post.
couldn't he fastboot flash recovery and flash stock rooted like this? http://forum.xda-developers.com/showthread.php?t=2612576 I presume you can access bootloader? its been a bit since I have seen stock, im curious?
edit.. don't remember now what the bootloader screen is like before unlocked? duh?
I thought this might work also, but flashing the recovery through fastboot always reboots to the red arrow.
I think I am going to have to go ahead and do the htcdev method...doesn't seem to be any reason not to now.
Thanks for all your help!
txgoathead said:
I thought this might work also, but flashing the recovery through fastboot always reboots to the red arrow.
I think I am going to have to go ahead and do the htcdev method...doesn't seem to be any reason not to now.
Thanks for all your help!
Click to expand...
Click to collapse
Hmm, so the actually flash of the recovery is successful, it just doesn't stick on your phone?

[Q] HTC One Bricked, no recovery, no rom

Guys, I'm in a bit of a dilemma. I was trying to flash an RUU to downgrade but unfortunately it gave me an error code, so now I'm stuck at the fastboot which is RELOCKED and S-ON, with no Recovery or Rom. What are my options? I'm unable to install any recovery as I'm S-on. My HBOOT is 1.44.
Unlock bootloader (yes you can with S-On)
Install custom recovery (yes you can with S-On)
Adb push or adb sideload or use OTG cable to install a 4.2.x based rom.. Do NOT install 4.3 or higher sense.
Good luck!
Could you please give me details of how I can unlock the bootloader? As per my knowleddge, Revone & Moonshine wont work. How else can I unlock the re-locked bootloader?
http://bit.ly/1jBYwXW

[Q] Is it possible to update OTA while rooted?

I'm on android 4.4.2 (stock htc one firmware s-off) unlocked bootloader and rooted. I got on OTA update but when I click install, it reboots and goes into twrp. I'm guessing I cant install the OTA update without relocking bootloader and unrooting?
Or can I just unroot it (without relocking the bootloader) and try again?
uzman1243 said:
I'm on android 4.4.2 (stock htc one firmware s-off) unlocked bootloader and rooted. I got on OTA update but when I click install, it reboots and goes into twrp. I'm guessing I cant install the OTA update without relocking bootloader and unrooting?
Or can I just unroot it (without relocking the bootloader) and try again?
Click to expand...
Click to collapse
you need stock recovery
uzman1243 said:
I'm on android 4.4.2 (stock htc one firmware s-off) unlocked bootloader and rooted. I got on OTA update but when I click install, it reboots and goes into twrp. I'm guessing I cant install the OTA update without relocking bootloader and unrooting?
Or can I just unroot it (without relocking the bootloader) and try again?
Click to expand...
Click to collapse
You need the stock recovery and stock ROM to run the OTA. You can use this tool to Guru Bootloader Reset Tool to LOCK before the update since you are S-OFF. Then after you update the phone you can UNLOCK it again.
majmoz said:
You need the stock recovery and stock ROM to run the OTA. You can use this tool to Guru Bootloader Reset Tool to LOCK before the update since you are S-OFF. Then after you update the phone you can UNLOCK it again.
Click to expand...
Click to collapse
Oh no, I made a mistake, Im on S-on. Can you tell me what I can do now?
uzman1243 said:
Oh no, I made a mistake, Im on S-on. Can you tell me what I can do now?
Click to expand...
Click to collapse
You can get the stock recovery from the OTA. If you were to unzip it on your computer, then find the firmware.zip file and open it. Extract the recovery.img out of it. This is your stock recovery. Place it in the same folder as your ADB & Fastboot files.
In bootloader/FASTBOOT USB, flash stock recovery:
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
I don't know for sure if you have to relock your bootloader, I would try it first and see. I know that RUU.exe need it LOCK.
majmoz said:
You can get the stock recovery from the OTA. If you were to unzip it on your computer, then find the firmware.zip file and open it. Extract the recovery.img out of it. This is your stock recovery. Place it in the same folder as your ADB & Fastboot files.
In bootloader/FASTBOOT USB, flash stock recovery:
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
I don't know for sure if you have to relock your bootloader, I would try it first and see. I know that RUU.exe need it LOCK.
Click to expand...
Click to collapse
I tiried that, and once i enter fastboot flash recovery recovery.img, the last line in the CMD says verification failed
uzman1243 said:
I tiried that, and once i enter fastboot flash recovery recovery.img, the last line in the CMD says verification failed
Click to expand...
Click to collapse
I think the best thing to do is to get S-OFF. This would turn security off and allow you to bypass some of the verification. http://firewater-soff.com/ is the most popular for hboot 1.5X. Once you get S-OFF, then try to flash the stock recovery after you lock your bootloader.
majmoz said:
I think the best thing to do is to get S-OFF. This would turn security off and allow you to bypass some of the verification. http://firewater-soff.com/ is the most popular for hboot 1.5X. Once you get S-OFF, then try to flash the stock recovery after you lock your bootloader.
Click to expand...
Click to collapse
I just flashed the RUU and its back to stock.
You know, I was on 4.2.2 and I got the sense 6 OTA update today. I couldn't install it because bootloader was unlocked. I went through the whole process and returned my phone back to stock.
Currently, I am back on 4.2.2 (with bootloader relocked) but this time it says no updates available. How does that work? Because I checked and my MID /CID hasnt changed
uzman1243 said:
I just flashed the RUU and its back to stock.
You know, I was on 4.2.2 and I got the sense 6 OTA update today. I couldn't install it because bootloader was unlocked. I went through the whole process and returned my phone back to stock.
Currently, I am back on 4.2.2 (with bootloader relocked) but this time it says no updates available. How does that work? Because I checked and my MID /CID hasnt changed
Click to expand...
Click to collapse
What RUU did you flash? Or what OTA do you need?
majmoz said:
What RUU did you flash? Or what OTA do you need?
Click to expand...
Click to collapse
The sense 5.5 Europe ruu. The ota I got to say was sense 6 but I don't get it anymore. But the update is not available anymore. Weird
uzman1243 said:
The sense 5.5 Europe ruu. The ota I got to say was sense 6 but I don't get it anymore. But the update is not available anymore. Weird
Click to expand...
Click to collapse
Go to @TeHashX thread [Full Stock Backup] | 5.11.401.10 | Twrp_Backup | Ota | M7_U & M7_UL. He has a link to the OTA which you can download. I would copy it to your /sdcard/download/ file then boot into stock recovery and install it.

Categories

Resources