I have an A5chl model 816 flashed with a nightly CM12
build. Its also rooted.
What I'd like to do is unroot, restore the stock recovery,
relock the bootloader and keep CM12 for the up to date security
patches.
I tried relocking the bootloader once and was locked into
only being able to boot into the bootloader (Was thankful to
find out relocking a previously unlocked loader doesn't
initiate any wipes!).
Is there any way to do this? Security-wise it seems the
best possible setup outside of someone owning a
Nexus device which has the latest fixes stock.
I read of a hack for HTC M8 devices which allow
relocking and unlocking the bootloader and reseting
the tampered flags, etc via adb shell commands.
I still have S-On, but something like this for the 816 would
be very welcome.
With all the Android security loopholes, going back to Stock seems
somehow less secure to me, even with a locked
bootloader.
Anyone?
reSpock said:
I have an A5chl model 816 flashed with a nightly CM12
build. Its also rooted.
What I'd like to do is unroot, restore the stock recovery,
relock the bootloader and keep CM12 for the up to date security
patches.
I tried relocking the bootloader once and was locked into
only being able to boot into the bootloader (Was thankful to
find out relocking a previously unlocked loader doesn't
initiate any wipes!).
Is there any way to do this? Security-wise it seems the
best possible setup outside of someone owning a
Nexus device which has the latest fixes stock.
I read of a hack for HTC M8 devices which allow
relocking and unlocking the bootloader and reseting
the tampered flags, etc via adb shell commands.
I still have S-On, but something like this for the 816 would
be very welcome.
With all the Android security loopholes, going back to Stock seems
somehow less secure to me, even with a locked
bootloader.
Anyone?
Click to expand...
Click to collapse
If you're gonna still use cm12, then there is no point flashing stock recovery, as it is useless without stock software. Also, in order to lock and unlock like you say, you must pay 25$ to get the s-off. Although, I think your fine without relocking the bootlader. Good luck!
Sent from my 710C using Tapatalk
the_Victorian said:
If you're gonna still use cm12, then there is no point flashing stock recovery, as it is useless without stock software. Also, in order to lock and unlock like you say, you must pay 25$ to get the s-off. Although, I think your fine without relocking the bootlader. Good luck!
Sent from my 710C using Tapatalk
Click to expand...
Click to collapse
So there's no other way to get S-Off except using Sunshine or trying to
adapt the M8 adb hack to the 816?
I'm not interested in using recovery for backup and
restoration purposes really. It's about being more
secure. Everywhere I've read says CWM is pretty
insecure and having an unlocked bootloader even
more so.
Why do you think it's fine having an unlocked bootloader?
BTW, if I were to flash stock recovery and relock the bootloader
would it be possible for me to preserve root or somehow reroot
via one of the rooting softwares without unlocking again?
I have this same phone and the only root method I've found to work is flashing a custom recovery and then flashing the superSU zip that you would have previously installed in the root of your SD card from that custom recoveries file Explorer. As for custom recovery over stock and one being more secure than the next, you went way past secure the minute you set up your developer account with HTC, like I did, to unlock your bootloader in the first place and gain root access . Yes it's more secure to keep your bootloader locked and relocking it after reflashing your stock recovery seems to be what your want to do and you can do it. I wouldn't on mine but it sounds like your not comfortable with yours so go for it. I sincerely hope you don't end up regretting it later. Good luck!
Sent from my 710C using XDA Free mobile app
---------- Post added at 08:23 PM ---------- Previous post was at 08:13 PM ----------
Also the Sunshine app worked great for me and the money's not bad for what they do for the phone and the access it gives you.
Sent from my 710C using XDA Free mobile app
Related
While there are plenty of guides describing how to root and flash recovery + a custom rom none of them seem to state how to without htcdev since we're now locked out of it. I would prefer root but mostly just want a rom other than stock. Did some searching and couldn't find anything I could be sure was current. Any help would mean a lot, thank you.
vpxf said:
While there are plenty of guides describing how to root and flash recovery + a custom rom none of them seem to state how to without htcdev since we're now locked out of it. I would prefer root but mostly just want a rom other than stock. Did some searching and couldn't find anything I could be sure was current. Any help would mean a lot, thank you.
Click to expand...
Click to collapse
You can't install another ROM until you do have root access. Search in the various Verizon HTC One Subforums for "rumrunner".
jpradley said:
You can't install another ROM until you do have root access. Search in the various Verizon HTC One Subforums for "rumrunner".
Click to expand...
Click to collapse
Oh, I saw that but I thought that was for something else. So that is the safest method for root these days? Weird needing root to flash a ROM when usually you just need a recovery..
vpxf said:
Oh, I saw that but I thought that was for something else. So that is the safest method for root these days? Weird needing root to flash a ROM when usually you just need a recovery..
Click to expand...
Click to collapse
Rumrunner if you are on the pre-4.3 software. Otherwise you will have to wait for rumrunner to be updated. Rumrunner does both s-off and root in one shot.
Sent from my Nexus 7 using Tapatalk 4
It's not about root. To flash custom roms you need an unlocked boot loader. Since HTCDev is not an option for the Verizon HTC One, you need to use Rumrunner. Rumrunner gives you S-off and unlocks your bootloader. Once your bootloader is unlocked, you can flash a custom recovery and you are set to start flashing custom roms, rooted or not rooted.
Sent from my Nexus 7 using xda app-developers app
xenakis said:
It's not about root. To flash custom roms you need an unlocked boot loader. Since HTCDev is not an option for the Verizon HTC One, you need to use Rumrunner. Rumrunner gives you S-off and unlocks your bootloader. Once your bootloader is unlocked, you can flash a custom recovery and you are set to start flashing custom roms, rooted or not rooted.
Click to expand...
Click to collapse
Not quite. Rumrunner just does the S-OFF & Root portion. I remember quite distinctly thinking Rumrunner would do everything, but after Rumrunner I still couldn't fastboot flash a custom recovery.
I had to change my CID to the SuperCID, then grab an unlock token from HTCDev so I could unlock the bootloader before I could use fastboot to push in a custom recovery. Pretty tedious, but not difficult and now I'm fully unlocked everywhere.
The important thing to remember is that we sort of operate backwards from most HTC devices. Most people just get to do an HTCDev unlock and then an S-OFF exploit afterwards is optional. S-OFF lifts the restriction on super-important places like the radio on bootloader. A bootloader unlock will let you mess with /system, recovery, and sometimes the kernel.
I used rumrunner and did not have to use HTCDev unlock token or change CID in order to unlock bootloader to fastboot flash custom recovery. Rumrunner unlocks the bootloader for you, so no need for HTCDev. Did your rumrunner process complete successfully without any hitches?
Sent from my HTC6500LVW using xda app-developers app
I have used Rumrunner on 5 different VZW HTC One phones. Once complete, you just need to flash the recovery of your choice. Nothing else is needed.
Rumrunner is an amazing tool but can be kind of finicky to finally get S-off. Just make sure you follow the directions EXACTLY and if you have Windows 8.1, good luck. I suggest using a Windows 7 machine or Ubuntu using Live USB if you don't have a native Ubuntu machine. VMware is NOT supported for Rumrunner.
Well, no matter I'm on JellyBean 4.3 and it would seem, as mentioned, that I'm out of luck for now. The information may come in handy later, or may change even.
Just becoming quite annoyed with Google Now always popping up because I slid my finger wrong Also, can't help but wonder how much longer my battery would potentially work with full root access to remove some of the background data bloat.
I have an AT&T M8 with 4.4.3
Its unlocked and rooted, firewater was unsuccessful with this error....****** device patched by HTC, you are out of luck *********.
Is there any way to return to stock without S-Off?? If so could someone please point me in the right direction?
I'm a newbie with htc and very aggravated with this phone.
skullymullins said:
I have an AT&T M8 with 4.4.3
Its unlocked and rooted, firewater was unsuccessful with this error....****** device patched by HTC, you are out of luck *********.
Is there any way to return to stock without S-Off?? If so could someone please point me in the right direction?
I'm a newbie with htc and very aggravated with this phone.
Click to expand...
Click to collapse
Can you provide me with the link that says you need to be S-OFF to get your phone back to stock, where you clearly didn't have to be S-OFF in order to take it away from stock in the first place?
I'm asking this because you are one of many that I've seen recently that comes on here asking the same question, can I go back to stock while I'm still S-ON ? "Should I be S-OFF in order to restore a nandroid backup?" etc...I would really like to know where you guys get this information from?
The only thing that you'll need S-OFF for(when going back to stock) is to fix the tampered flag in the bootloader and to have it show "locked" instead of "relocked" when or if you locked the bootloader.
That being said, going back to stock from where? Did you flash custom ROMs? Or are you only rooted and unlocked?
My phone is stock, but unlocked with root, my main goal is to reload the original recovery, relock and unroot.
I was watching a video on how to use RUU and according to the instructions you had to be S-Off.
Anyone
Sent from my HTC One_M8 using XDA Free mobile app
skullymullins said:
My phone is stock, but unlocked with root, my main goal is to reload the original recovery, relock and unroot.
I was watching a video on how to use RUU and according to the instructions you had to be S-Off.
Click to expand...
Click to collapse
You need S-Off only when you want to remove TAMPERED and RELOCKED flags.
Other than that, you don't need S-OFF
You have AT&T device, AT&T forum is where you'll find more info.
Try this one : http://forum.xda-developers.com/att...-2-23-502-3-bootable-ruu-pc-required-t2860486
Important note :
S-On - you need to relock bootloader first before running it. So read and read the instructions
and there are many more guides on AT&T forum
skullymullins said:
Anyone
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
You could use the AT&T RUU that is available on the AT&T forum.
At&t 2.23.502.3 - 4.4.3 Bootable RUU - No PC required - Mac friendly
Like the OP there said, if you are S-ON you should lock the bootloader first before using the RUU. I think that should take care of most of the other issues you have, like unrooting etc. Make a backup of any personal stuff you have on phone.
Or
Download unsupersu, flash it in custom recovery to unroot device. If you use SuperSU you can also go into settings for SuperSU and use Full Unroot. Reboot phone, can then uninstall SuperSU. Should be unrooted.
Flash back stock recovery for your device.
Relock bootloader - fastboot oem lock
Will this also restore the factory recovery instead of twrp that is on the phone now?
skullymullins said:
Will this also restore the factory recovery instead of twrp that is on the phone now?
Click to expand...
Click to collapse
That's also in that very same thread we linked you to!
Post number 7
Post number 15
But I take it you didn't read at least the first 2 pages...
It'll take you back to stock completely, like the OP said in Post 15.
Just remember to relock your bootloader seeing as you're S-ON.
Thanks for your patience and help,
it worked flawlessly.
I have s-off. I relocked my boot loader to flash T-Mobile's latest 4.4.4 ota manually.
My unlock code bin will not work.
It's says "remote: unlock token check failed".
Now I'm stuck with locked boot loader and no root.
But I'm still s-off.
Any ideas?
you need a new unlocktoken. do the htcdev.com/bootloader unlock procedure again and when it's done, leave it open. it doesn't matter if your device is un-/locked in terms of OTA updates. especially not, when s-off.
seadersn said:
you need a new unlocktoken. do the htcdev.com/bootloader unlock procedure again and when it's done, leave it open. it doesn't matter if your device is un-/locked in terms of OTA updates. especially not, when s-off.
Click to expand...
Click to collapse
Well ****. This is why you don't do things late at night. Thanks for bump starting my brain.
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app
I want to S-OFF my HTC m8 European version 4.16.401.10 lollipop 5.0.1
It's locked and not rooted
What I want S-OFF and relocked the boot loader as locked and flash TWRP
and custom Rom so I can back to get OTA update from HTC any time I want
I can use kit Kat way to S-OFF or there is anew for lollipop
Thank you
Sent from my HTC One_M8 using xda Forum
KARIM9377 said:
I want to S-OFF my HTC m8 European version 4.16.401.10 lollipop 5.0.1
It's locked and not rooted
What I want S-OFF and relocked the boot loader as locked and flash TWRP
and custom Rom so I can back to get OTA update from HTC any time I want
I can use kit Kat way to S-OFF or there is anew for lollipop
Thank you
Sent from my HTC One_M8 using xda Forum
Click to expand...
Click to collapse
The only way to S-OFF is to use SunShine @ http://theroot.ninja which will cost $25 respectively.
KARIM9377 said:
What I want S-OFF and relocked the boot loader as locked and flash TWRP
and custom Rom so I can back to get OTA update from HTC any time I want
Click to expand...
Click to collapse
Its not clear to me why you want s-off.
You only need stock ROM (no system files altered by root) and stock recovery to OTA. Relocking bootloader is not necessary. Its only necessary to relock bootloader to RUU (when s-on).
Sunshine doesn't work with Lollipop (yet) but keep checking their website for updates
EddyOS said:
Sunshine doesn't work with Lollipop (yet) but keep checking their website for updates
Click to expand...
Click to collapse
Yes I don't want to use sunshine, If there is away like firewater with kitKat use fast boot terminal/command* it was like this one
http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
Sent from my HTC One_M8 using xda Forum
Firewater doesn't work AT ALL, Sunshine is the ONLY way to S-OFF a phone but it's not compatible with Lollipop
KARIM9377 said:
Yes I don't want to use sunshine, If there is away like firewater with kitKat use fast boot terminal/command* it was like this one
http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
Click to expand...
Click to collapse
firewater was an online service. So it no longer works now that the developer stopped supporting it 3 months ago.
But I'm still not convinced you even need s-off. You haven't provided a valid reason that required s-off.
If you do need soff, you need to use sunshine. There is no other option to s-off.
redpoint73 said:
firewater was an online service. So it no longer works now that the developer stopped supporting it 3 months ago.
But I'm still not convinced you even need s-off. You haven't provided a valid reason that required s-off.
If you do need soff, you need to use sunshine. There is no other option to s-off.
Click to expand...
Click to collapse
The S-OFF it's more save to get back to locked on boot loader and with that you can get OTA UPDATE from HTC what I hope is to try flash viperM8 Rom and try it and then try sky Rom and see if I don't like them can back to stack with S-OFF
maybe I am wrong I don't know if
Sent from my HTC One_M8 using xda Forum
KARIM9377 said:
The S-OFF it's more save to get back to locked on boot loader and with that you can get OTA UPDATE from HTC what I hope is to try flash viperM8 Rom and try it and then try sky Rom and see if I don't like them can back to stack with S-OFF
maybe I am wrong I don't know if
Click to expand...
Click to collapse
As I already stated above, you do not need to lock the bootloader to OTA update, and you do not need s-off to OTA update. OTA update works fine with bootloader unlocked or otherwise.
You also do not need s-off to go back to stock. Just made a nandroid (or get one from the nandroid collection here) to restore stock ROM, and restore stock recovery (also in the collection).
With s-off you can make the bootloader say LOCKED instead of RELOCKED. But warranty service is typically the only time that is desired.
Yes, s-off will give you more recovery options. Such as being able to run RUU for any CID, or "downgrade" by RUU. And it lets you do things like flash radios or modified hboots. But of the things you mentioned, its not needed.
redpoint73 said:
As I already stated above, you do not need to lock the bootloader to OTA update, and you do not need s-off to OTA update. OTA update works fine with bootloader unlocked or otherwise.
You also do not need s-off to go back to stock. Just made a nandroid (or get one from the nandroid collection here) to restore stock ROM, and restore stock recovery (also in the collection).
With s-off you can make the bootloader say LOCKED instead of RELOCKED. But warranty service is typically the only time that is desired.
Yes, s-off will give you more recovery options. Such as being able to run RUU for any CID, or "downgrade" by RUU. And it lets you do things like flash radios or modified hboots. But of the things you mentioned, its not needed.
Click to expand...
Click to collapse
Thank you for your advice I will root and flash TWRP recovery and backup the stack Rom and then flash custom Rom
Thank you for your help
Sent from my HTC One_M8 using xda Forum
Hi @redpoint73 can i ask you a question ?
I bought a second hand M8 and it already had S-OFF via sunshine.When i entered bootloader it says : Software status : Modified , (bootloader) UNLOCKED and S-OFF.
I asked the seller for the "unlock_code.bin" and he said that didn't have any.He said he simply ran sunshine to S-OFF.Didn't modified further.No custom recovery no root (although sunshine temp roots) no custom ROM.
So my question is this : performing S-OFF via sunshine will auto unlock your bootloader and say Software status : Modified ?
nighthawk696969 said:
Hi @redpoint73 can i ask you a question ?
Click to expand...
Click to collapse
Of course, that's what this forum section if for!
nighthawk696969 said:
I bought a second hand M8 and it already had S-OFF via sunshine.When i entered bootloader it says : Software status : Modified , (bootloader) UNLOCKED and S-OFF.
I asked the seller for the "unlock_code.bin" and he said that didn't have any.He said he simply ran sunshine to S-OFF.Didn't modified further.No custom recovery no root (although sunshine temp roots) no custom ROM.
So my question is this : performing S-OFF via sunshine will auto unlock your bootloader and say Software status : Modified ?
Click to expand...
Click to collapse
I actually did s-off back when firewater was still working, before sunshine even existed. So I can't speak from personal experience, just what I've read on these forums. I believe that the sunshine app gives you the options to temp root, s-off, and unlock the bootloader (by means that bypasses HTCDev.com). So that is probably what the previous owner did.
With s-off there isn't ever a need to relock the bootloader, and therefore no need to unlock it again with the bin code. RUUs will run with bootloader unlocked when s-off. And you can change the hboot flag to LOCKED for warranty purposes with s-off.
If for some reason you want to relock and then unlock the bootloader again, you can just go through the HTCDev.com process to get a new bin code. But its not advised. As I don't see why you would ever want to relock (for the reasons just given). And once you go through HTCDev.com, HTC will have a record of you doing so (which they do not at this time).
Thanks you have been more than helpfull!
Another question and last one :
Can i dual boot with multirom a sense 6 rom and the GPe rom?
I have the latest firmware installed so from what i read GPe roms can run without any issues.
Thanks again!
nighthawk696969 said:
Thanks you have been more than helpfull!
Another question and last one :
Can i dual boot with multirom a sense 6 rom and the GPe rom?
I have the latest firmware installed so from what i read GPe roms can run without any issues.
!
Click to expand...
Click to collapse
No idea, I've never used MultiROM, and not that familiar with it. Hopefully, someone who knows will chime in. Or you can post to the MultiROM thread to possibly get a quicker answer.
Rooted my HTC m9 (unlocked the boot loader , flashed a custom twrp recovery, installed supersu through it) and I am still getting ota update. But when I try to install the update ( going from 5.1.1 to marshmallow ) the phone restarts and get into the recovery.
I tried to restore the nandroid I have made since I rooted the phone, and tried to update again, but still didn't work !
Actually the phone is working great but all the solution I tried to get back to stock , and take the ota update didn't work ( even with an RUU , which I may not have found the right one).
Below is a pic of the download mode
Any help will be apreciated
imgur. com/avkCxqW
tinypic. com/r/fe3muf/9
Nb: remove the space between "dot" and "com"
You either need to be at "official" status OR buy s-off.
Sent from my HTC One M9 using Tapatalk
shivadow said:
You either need to be at "official" status OR buy s-off.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Please what do you mean by "official" status ,and how ?
And also if I buy s-off (using sunshine app) what next ?
Why on earth are you rooting if you don't know anything about it?.
Official means "as it was from factory" the device knows that it isn't as factory.
S-off means you can flash any rom and brick your device even quicker.
Sent from my HTC One M9 using Tapatalk
Well I forgot to say that I am a beginner.
Anyway, how can I get back to official status, I mean if It's still possible.
And what if I flash a custom rom, will I be able to get ota updates ( even unofficial)
superyacine1994 said:
Well I forgot to say that I am a beginner.
Anyway, how can I get back to official status, I mean if It's still possible.
And what if I flash a custom rom, will I be able to get ota updates ( even unofficial)
Click to expand...
Click to collapse
You have to be 100% stock to take an ota. This is a security feature to prevent bricks, which can and have resulted from people trying to take otas when rooted.
There are multiple threads on how to do this. Start here: http://forum.xda-developers.com/one-m9/general/stock-nand-backup-ota-update-collection-t3132698
superyacine1994 said:
Well I forgot to say that I am a beginner.
Anyway, how can I get back to official status, I mean if It's still possible.
And what if I flash a custom rom, will I be able to get ota updates ( even unofficial)
Click to expand...
Click to collapse
Official status is a pita, just go s-off. Its worth the $25 to have a working phone at the end.
Sent from my HTC One M9 using Tapatalk
shivadow said:
Official status is a pita, just go s-off. Its worth the $25 to have a working phone at the end.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Indeed! I will !
I guess as soon as I go s-off I will be able to flash any ruu therefore be 100% stock right?
iElvis said:
You have to be 100% stock to take an ota. This is a security feature to prevent bricks, which can and have resulted from people trying to take otas when rooted.
There are multiple threads on how to do this. Start here: http://forum.xda-developers.com/one-m9/general/stock-nand-backup-ota-update-collection-t3132698
Click to expand...
Click to collapse
Another thing,
After I have unlocked the boot loader, I did a twrp-backup .
So I don't need to download another one ,right ?
So long as you have the 4gb backup of system then you're golden. You can't do another until its stock stock stock because the partition is now modded!!.
S-off will help against bricks. You must still have the official status to flash a signed official stock rom but s-off isn't counted/seen. These are ruu.EXE
Otherwise yes, any rom except signed official while rooted with s-off. You can install unsigned "offical" stock roms and flash them straight away. No messing about resetting official. These are ruu.ZIP.
Sent from my HTC One M9 using Tapatalk
shivadow said:
S-off will help against bricks.
Click to expand...
Click to collapse
This needs some nuance. Being s-off will prevent you from getting into situations where you can't boot because of some security protocol, but can't fix the problem because you can't boot, for example if you relock in bootloader with a custom recovery but don't have "Allow OEM unlock" ticked in the OS.
But being s-off also opens up many other avenues for brickage that don't exist when s-on. A hard brick can be as simple as flashing a custom splash image for the wrong phone.
shivadow said:
So long as you have the 4gb backup of system then you're golden. You can't do another until its stock stock stock because the partition is now modded!!.
S-off will help against bricks. You must still have the official status to flash a signed official stock rom but s-off isn't counted/seen. These are ruu.EXE
Otherwise yes, any rom except signed official while rooted with s-off. You can install unsigned "offical" stock roms and flash them straight away. No messing about resetting official. These are ruu.ZIP.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Got you now !
I just restored my twrp backup ( BTW it's 9.8gb not 4gb) it contains a backup of all the partitions.
Now, instead of going s-off and use ruu to get back to stock, is there another way for so ?