Setting up an M9 after replacement of an M8. - Verizon HTC One (M9)

I want to make sure I understand what I need to do.
My plan was to S-OFF with Sunshine, then allow it it to update itself
to Marshmallow.
Is there any issues with allowing normal OTAs
after S-OFF unlock with Sunshine?
[should I look for an MM RUU instead?]
I mean will updates work on an unlocked,
but otherwise stock phone?
Can anyone point me to the thread for setting
lock / unlock / relock bootloader status, (and how to reset
tampered flag), via echo && dd settings on an S-OFF'd
device?
Thanks

Understanding options
I'm still updating the OS it's gone from lollipop 1 (5.0.1) to MM and now is doing the security patches.
I've used Sunshine to S-OFF and unlock, but not rooted and still otherwise stock.
Will having S-OFF / unlock allow me to do: fastboot boot twrp-3.0.2-0-hima-HTC-M9.img
So I can backup the OEM recovery and system partitions, before installing
SuperSU and Busybox which I think go in /system/xbin/?
Thanks

fuzzynco said:
I'm still updating the OS it's gone from lollipop 1 (5.0.1) to MM and now is doing the security patches.
I've used Sunshine to S-OFF and unlock, but not rooted and still otherwise stock.
Will having S-OFF / unlock allow me to do: fastboot boot twrp-3.0.2-0-hima-HTC-M9.img
So I can backup the OEM recovery and system partitions, before installing
SuperSU and Busybox which I think go in /system/xbin/?
Thanks
Click to expand...
Click to collapse
If you have unlocked the bootloader and are s-off you should be ready to flash a custom recovery. Then backup, then root as planned. Hope that helps

Related

[Q] Unroot S-On HTC One M8

I planned on converting my One M8 to a GPE edition but I couldn't gain S-Off, so now I have a phone with root access and TWPR installed. In preparation for HTCs upcoming Lollipop OTA, I would Like to bring my device back to full stock so I can install the OTA. I can't seem to find a way to do this without having S-Off. Could someone help me please?
Thanks, Nathan
nathbullen said:
I planned on converting my One M8 to a GPE edition but I couldn't gain S-Off, so now I have a phone with root access and TWPR installed. In preparation for HTCs upcoming Lollipop OTA, I would Like to bring my device back to full stock so I can install the OTA. I can't seem to find a way to do this without having S-Off. Could someone help me please?
Thanks, Nathan
Click to expand...
Click to collapse
You can always flash to stock recovery
https://www.youtube.com/watch?v=PPPT5J8xG6w
Good luck!
L1nuz said:
You can always flash to stock recovery
Click to expand...
Click to collapse
Will that remove my root user permissions too?
And do I need to relock the boot loader to install OTA's?
Thanks!
nathbullen said:
Will that remove my root user permissions too?
And do I need to relock the boot loader to install OTA's?
Thanks!
Click to expand...
Click to collapse
sakitech didn't mention anything about losing root or relock bootloader requirements to receive OTA updates after following his video.
L1nuz said:
sakitech didn't mention anything about losing root or relock bootloader requirements to receive OTA updates after following his video.
Click to expand...
Click to collapse
No, he didn't, but it was part of my original question!
nathbullen said:
No, he didn't, but it was part of my original question!
Click to expand...
Click to collapse
Oh, sorry for not being clear xD
No, I don't think you will lose root and you don't have to relock bootloader afaik.
Even so.. you can always redo the process of rooting and unlock the bootloader after OTA update.. no biggie
but if you run stock rom and recovery.. it shouldnt affect root or if ure unlocked with OTA updates
I just reverted back to stock last night with s-on. you will have to relock your bootloader (I used a tool kit, but had to boot into the bootloader myself to get the toolkit relock it) and flash a stock RUU (exe or zip). I suggest using an exe to flash if available. I have a sprint HK edition so I used an RUU exe for that model, and all worked perfectly. I was able to install the OTA update they just released with no problem after I was back to stock.
sakitech's method should work too if you want to try and keep root and the bootloader unlocked

HTC one m8 s-OFF

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.

New update GPE but fail to update

New update GPE but fail to update due to E: error..
I think you have to relock the bootloader to get the update but I could be wrong...
Also make sure you're not on superuser CID (11111111)
Can't conclude at all where the error is based on. The provided info is absolutely not enough !
You need stock rom (read never rooted) and stock recovery. Boot loader being unlocked or relocked has for an ota no effect, neither does supercid.
kullum79 said:
I think you have to relock the bootloader to get the update but I could be wrong...
Also make sure you're not on superuser CID (11111111)
Click to expand...
Click to collapse
Wrong on both counts. Neither unlocked bootloader, nor SuperCID will prevent OTA.
As i said
redpoint73 said:
Wrong on both counts. Neither unlocked bootloader, nor SuperCID will prevent OTA.
Click to expand...
Click to collapse
I'm in a similar position.
My M8 was a Rogers once upon a time.
I went through the process of converting it to GPE. It is S-Off, & rooted with the systemless root.
I have TWRP 2.8.7 (iirc - the latest twrp for m8).
I have the same 'an update is available' as OP.
When i tell it to install the phone reboots to recovery and the update fails. I assume this is a TWRP issue.
Not sure what my best approach for getting the update installed is? Can I every to stock Recovery, install the update, and reinstall TWRP? Do I even need TWRP now I'm rooted...?
the_darkwing_duck said:
Not sure what my best approach for getting the update installed is? Can I every to stock Recovery, install the update, and reinstall TWRP? Do I even need TWRP now I'm rooted...?
Click to expand...
Click to collapse
You need stock (never rooted) ROM and matching stock recovery.
Then yes, after you update you will need to reinstall TWRP to root again. OTA update will almost always wipe out root, so its irrelevant that you have root presently. Then root, noting that root on MM is more complicated than past builds: http://forum.xda-developers.com/htc-one-m8/general/root-root-marshmallow-gpe-supersu-t3242210
Or you can just run the MM RUU (see Development section), keeping in mind that it will wipe the phone (so backup any personal data you want to keep accordingly, before RUU).
Also should be noted, it seems that lots of folks have had to flash MM firmware, then OTA or RUU to Marshmallow, if you get an unexplained Error 155.

HTC beginner root questions

I've got a HTC 10 incoming (international model/not US as far as I know), and I'm looking to root and install AdAway once I get it. This will be my first time with HTC, so I just wanted to make sure I've got everything right:
Unlock with htcdev (free, but voids warranty?) or s-off with Sunshine ($25). Does Sunshine s-off require me to unlock the phone with htcdev anyway? Which is more advisable, given I am planning on sticking with stock rom and only wanting AdAway on my device? Are there any other methods to allow flashing TWRP?
Flash TWRP
Make System Image backup with TWRP. Is this still valid when using Sunshine in step 1, or does Sunshine modify the system in some way?
Install Magisk and phh superuser.
Install AdAway
Should I return to stock recovery straight after rooting? Where would I get a compatible stock recovery?
And to install OTA's in the future:
Extract stock recovery img from OTA
Mount system as read-only in TWRP
Restore System Image backup (from original TWRP install procedure). Will this wipe apps/user data?
Fastboot flash stock recovery from step 1
Reboot and install OTA. Do I need to unroot before attempting to install OTA's?
Do I have anything wrong or is there anything I've missed? Anything I should be cautious of? Partial answers, tips, tricks, anything will be appreciated!
Holoryn said:
I've got a HTC 10 incoming (international model/not US as far as I know), and I'm looking to root and install AdAway once I get it. This will be my first time with HTC, so I just wanted to make sure I've got everything right:
Unlock with htcdev (free, but voids warranty?) or s-off with Sunshine ($25). Does Sunshine s-off require me to unlock the phone with htcdev anyway? Which is more advisable, given I am planning on sticking with stock rom and only wanting AdAway on my device? Are there any other methods to allow flashing TWRP?
Flash TWRP
Make System Image backup with TWRP. Is this still valid when using Sunshine in step 1, or does Sunshine modify the system in some way?
Install Magisk and phh superuser.
Install AdAway
Should I return to stock recovery straight after rooting? Where would I get a compatible stock recovery?
And to install OTA's in the future:
Extract stock recovery img from OTA
Mount system as read-only in TWRP
Restore System Image backup (from original TWRP install procedure). Will this wipe apps/user data?
Fastboot flash stock recovery from step 1
Reboot and install OTA. Do I need to unroot before attempting to install OTA's?
Do I have anything wrong or is there anything I've missed? Anything I should be cautious of? Partial answers, tips, tricks, anything will be appreciated!
Click to expand...
Click to collapse
You don't need sunshine for what you want, bootloader unlock is fine.
Sunshine doesn't change the system. Yea always make a backup before changing anything.
No need to reinstall stock recovery after root.
For OTA you need stock image and boot and recovery. Check out one of many "how to take ota" threads for detailed instructions. Restoring system image will not wipe data.
Once you restore system image/boot you will lose root, no need to unroot any further.

HTC ONE M9 Stock Recovery 4.28.401.3

I really need a stock recovery.
Can anyone help me in this?
What for?
If it's the Verizon M9 I can possibly send u one, depending on what software version u are n stuff:6 in just a lil bit. I'm trying to rake up the cash to get the sunshine bootloader unlock, so soon as I do I'll be able to if u still need it
Sunshine doesn't unlock the bootloader, it turns system security off (s-off). You have to unlock bootloader to flash twrp to flash root (supersu or magisk) to be able to use sunshine for s-off...
You don't always need stock recovery. If you're flashing back to stock just use an RUU that matches your current firmware.

Categories

Resources