Bootloader Unlock Question - One (M8) Q&A, Help & Troubleshooting

Ok, so I have recently switched to a HTC One M8 and I am puzzled by a few things regarding unlocking the bootloader and flashing ROMs. Coming from a Samsung Galaxy s4 I have never really needed to worry about unlocking my bootloader. I have looked up on the subject and have found that with unlocking the bootloader using HTCdev you have to flash boot.img everytime after flasing a ROM on the HTC One. Does this also apply to the HTC One m8 ? If so does anybody have a better means of unlocking the bootloader without needing to do this after every ROM flash.

JJGLive said:
Ok, so I have recently switched to a HTC One M8 and I am puzzled by a few things regarding unlocking the bootloader and flashing ROMs. Coming from a Samsung Galaxy s4 I have never really needed to worry about unlocking my bootloader. I have looked up on the subject and have found that with unlocking the bootloader using HTCdev you have to flash boot.img everytime after flasing a ROM on the HTC One. Does this also apply to the HTC One m8 ? If so does anybody have a better means of unlocking the bootloader without needing to do this after every ROM flash.
Click to expand...
Click to collapse
You don't have to replace hboot unless you want to get rid of certain firmware messages, like the tampered flag. Unless you are sending your phone in for warranty work, you won't likely care about it, since you only see it in fastboot/hboot mode. The only thing the token does, besides unlock the boot loader, is remove certain preloaded apps, like the flashlight, which will screw up further OTA updates.
However, I would suggest you look into going S-off, as it makes locking/unlocking the boot loader possible without contacting HTC at all, and without messing up OTA updates. You also gain the freedom to change your CID (if you ever want to convert to stock Developer Edition), SIM unlock, and revert to older firmware if necessary (such as restoring an older RUU to go back to stock) However, S-off is "security off", so there is an increased chance of bricking the phone if you aren't careful.

Ok so what i understand is: To install a custom rom I first have to get s-off, then unlock bootloader, root and install custom recovery and I am good to go? Please help me if I have missed anything.
I am used to flashing a rom every week on my Samsung. This is why I am so worried that I might do something wrong.
Edit: I have also found this link: http://forum.xda-developers.com/showthread.php?t=2265618 please tell me if it is the correct way to do it.

JJGLive said:
Ok so what i understand is: To install a custom rom I first have to get s-off, then unlock bootloader, root and install custom recovery and I am good to go? Please help me if I have missed anything.
I am used to flashing a rom every week on my Samsung. This is why I am so worried that I might do something wrong.
Click to expand...
Click to collapse
I would suggest you use this guide.
Im going to use it this friday to root my phone.

Ok so if I understand correctly now...using that guide I will not need to use htcdev and it will not be neccesary for me to flash boot.img after every rom flash?

JJGLive said:
Ok so what i understand is: To install a custom rom I first have to get s-off, then unlock bootloader, root and install custom recovery and I am good to go? Please help me if I have missed anything.
Click to expand...
Click to collapse
Not quite. To flash a custom ROM, all you need to do is unlock the bootloader, install custom recovery, and flash a ROM. In addition, I highly recommend you make a nandroid backup before flashing anything
S-off is only needed if you want to avoid the bootloader unlocking method via HTCDev.com (and HTC therefore having a record of you unlocking by IMEI); or to flash hboot, radio, firmware, or a few other things (such as SIM unlock). S-off is not needed to flash a ROM.
One caveat, if your phone presently has older firmware, you will experience some severe bugs on any Sense 2.x based ROM (long boot times, broken WiFi or Bluetooth) and having S-off is required to manually update the firmware. So, while in literal terms, S-off is not needed to flash a ROM. But if the above applies to you, you need s-off to manually update the firmware and get the ROM to work correctly. Alternately, you can OTA to the latest firmware before modding the phone. You will need to list your phone's hboot and present software version for us to tell you what firmware you are on.
Also, its not necessary to root before flashing a custom ROM. You will be rooted after you flash a custom ROM.
JJGLive said:
Edit: I have also found this link: http://forum.xda-developers.com/showthread.php?t=2265618 please tell me if it is the correct way to do it.
Click to expand...
Click to collapse
Definitely not correct. That guide is for the M7. Be careful what device forum section you are in, and stay in the M8 section.

Hell, I feel like a noob again. Ok so no boot.img flash after flashing a rom is needed.

JJGLive said:
Hell, I feel like a noob again. Ok so no boot.img flash after flashing a rom is needed.
Click to expand...
Click to collapse
Nope, not needed. Boot.img will flash automatically along with the ROM. Don't assume that anything on the M7 applies to the M8. These things change as the hardware changes, and every device has its own subtle differences.

redpoint73 said:
Nope, not needed. Boot.img will flash automatically along with the ROM. Don't assume that anything on the M7 applies to the M8. These things change as the hardware changes, and every device has its own subtle differences.
Click to expand...
Click to collapse
Thank you so much...this also applies if I use the htcdev unlock. Still no boot.img then?

JJGLive said:
Thank you so much...this also applies if I use the htcdev unlock. Still no boot.img then?
Click to expand...
Click to collapse
Correct, no need to flash boot.img separately when flashing ROMs, if you unlock the bootloader via HTCDev.com (or by the S-off way).

redpoint73 said:
Correct, no need to flash boot.img separately when flashing ROMs, if you unlock the bootloader via HTCDev.com (or by the S-off way).
Click to expand...
Click to collapse
Thank you very much...I feel much more welcome in the htc one m8 thread than I did when I first started on the samsung s4 thread. You have made me feel very welcome!

Thankfully we have freegee for LG OG. Bootloader is really dangerous please keep in mind before you go for any tutorials

Related

Help with S-OFF M8 3.16 HBOOT

Hey xda!
I've been a long time lurker here but this is my first post. I am absolutely stumped as to what to do now.
I recently purchased a locked M8, from telus. Got it unlocked by buying an unlock code no issues there whatsoever.
However, i htcdev unlocked my M8 in hopes of getting S-Off but to my dismay, im having problems with that.
Here are the steps i took:
Unlocked bootloader
Flashed latest TWRP
Ran firewater but it said device not supported.
Im running android 4.4.2 and my hboot is 3.16
OS: win 7 Home premium x64
Ive been searching for hours but cant find a solution, please help guys!
Thanks!
Sunshine S-OFF - Google it
EddyOS said:
Sunshine S-OFF - Google it
Click to expand...
Click to collapse
After buying the device outright, and paying for an unlock code I decided I wasn't going to spend another 25 dollars on sunshine. Any other alternatives? Is there any other way besides s off to remove the tampered tag in the boot loader?
Thanks once again!
qwertyman007 said:
After buying the device outright, and paying for an unlock code I decided I wasn't going to spend another 25 dollars on sunshine. Any other alternatives? Is there any other way besides s off to remove the tampered tag in the boot loader?
Thanks once again!
Click to expand...
Click to collapse
no, sunshine is the only way to get s-off and then remove the tampered flag. Why you payed for a unlock code if you can unlock the sim if you are s-off ?
Onem8 said:
no, sunshine is the only way to get s-off and then remove the tampered flag. Why you payed for a unlock code if you can unlock the sim if you are s-off ?
Click to expand...
Click to collapse
At the time getting an unlock code would have been cheaper as opposed to buying an external sd card and upon knowing now that sunshine is the only way which is an extra 25$ besides it's easier for me to sell the device later by saying it's factory unlocked.
So is sunshine the ONLY way?
qwertyman007 said:
At the time getting an unlock code would have been cheaper as opposed to buying an external sd card and upon knowing now that sunshine is the only way which is an extra 25$ besides it's easier for me to sell the device later by saying it's factory unlocked.
So is sunshine the ONLY way?
Click to expand...
Click to collapse
again yes
Onem8 said:
again yes
Click to expand...
Click to collapse
Well, its SOL for me then :/
Thanks for all the replies, its much appreciated!
I have one last question, how would i go about to returning the m8 to stock If i decided to in the future? Can i use the toolkit thats here on xda to flash the stock ROM?
I have a Telus M8, where can i find the stock ROM for it? (not that the fact that it was originally from telus should matter)
Once again, Thanks for all the help!
As no public RUUs are available for the M8 (bar a few US carrier ones) you'd need a stock backup of the Telus ROM (back your own one up and keep it safe!) and the stock recovery and then use a few commands if S-OFF to remove the tampered and unlocked/relocked flags. Other than that you should be good to go
EddyOS said:
As no public RUUs are available for the M8 (bar a few US carrier ones) you'd need a stock backup of the Telus ROM (back your own one up and keep it safe!) and the stock recovery and then use a few commands if S-OFF to remove the tampered and unlocked/relocked flags. Other than that you should be good to go
Click to expand...
Click to collapse
Ok, I've made a backup with TWRP. So my ROM should be fine, What about my recovery though? I believe I didnt make a recovery backup and went ahead by flashing TWRP. Also, If i do find a recovery for my variant how will i flash it? Via fastboot?
Thanks for the quick reply!
qwertyman007 said:
Ok, I've made a backup with TWRP. So my ROM should be fine, What about my recovery though? I believe I didnt make a recovery backup and went ahead by flashing TWRP. Also, If i do find a recovery for my variant how will i flash it? Via fastboot?
Thanks for the quick reply!
Click to expand...
Click to collapse
Be careful! TWRP does not backup all your firmwares device. Just boot, data, system & cache partitions. If you flash a wrong RUU you could run into problems.
Search & read all twice before do anything.
ducted said:
Be careful! TWRP does not backup all your firmwares device. Just boot, data, system & cache partitions. If you flash a wrong RUU you could run into problems.
Search & read all twice before do anything.
Click to expand...
Click to collapse
Which steps would i take to ensure i Have a proper backup of my current ROM? As far as I know I need 2 things: 1) stock rom backup 2) stock recovery (which i found on xda)
So in order to return to stock I would have to: Flash Stock ROM, then flash stock recovery via fastboot. I dont even think i need any RUU. Let me know if I'm correct.
Bump!
Help please, I dont want to end up bricking my device. All i need is clarification on how to do a proper backup of stock ROM. And how to restore that rom, remove root, and flash the stock recovery. Ive searched on google as well as on xda but cannot find a concrete answer.

Coming in hot

Hey M8 forums,
My S4 recently self destructed and I'm jumping ship to the M8 for T-Mo USA, I have a couple questions to prepare for it's arrival.
I'm coming off the S4 CM12 nightlies, are the M8 builds unified? As in, I can flash the standard CM release on my T-Mo variant?
And can I please get a link to the unlocking and rooting thread? The one I found has a method, but for s-off, the link seems to be down.
Thanks and greetings!
Most info can be found here,
http://forum.xda-developers.com/showthread.php?t=2711073
?
As far as CM goes, I'm not familiar with T-Mobile variants... Sorry. ☺
As of now the M8 in cyanogenmod is unified, all the GSM variants are just labelled as "m8". and the CDMA variants have other names like cm-20140120-m8vzw for verizon.
Onto the rooting and unlocking, you can unlock using HTC Dev but S-OFF might be a little impossible if you get the m8 pre-installed with 4.4.4.
Honestly, to root all you need to do is unlock using the HTC Dev site and flash a custom recovery from TWRP or CWM.
then flash SuperSU not all that different from a Nexus.
Darth said:
Most info can be found here,
http://forum.xda-developers.com/showthread.php?t=2711073
Click to expand...
Click to collapse
Thanks for the dump, lots of good info in there.
i4GS said:
As of now the M8 in cyanogenmod is unified, all the GSM variants are just labelled as "m8". and the CDMA variants have other names like cm-20140120-m8vzw for verizon.
Onto the rooting and unlocking, you can unlock using HTC Dev but S-OFF might be a little impossible if you get the m8 pre-installed with 4.4.4.
Honestly, to root all you need to do is unlock using the HTC Dev site and flash a custom recovery from TWRP or CWM.
then flash SuperSU not all that different from a Nexus.
Click to expand...
Click to collapse
I bought it off a guy that bought it a few weeks ago I believe, I haven't gotten it yet to see. It was my understanding that SunShine works on all M8's up to Lollipop. Is that not the case?
And what is a firmware? I keep seeing around to flash the Lollipop firmware, is that just the radio.img file or the whole RUU or what?
A firmware could be reffered to a whole RUU , because the ZIP that updates from 1.x to 3.x is a firmware.
Essentially a Firmware contains the essentials for a basic update (HTC version) , Radio, boot, Kernel, Bootloader, modem, etc.
An Update Firmware or RUU will contain all the partitions ,
boot, system, bootloader,hboot,modem,radio, cache, recovery , and so on.
And to some sunshine will work and to some it might not, it's a risk you're going to have to take, (to get s-off) worth it.
Though we shouldn't have to go through all these cracks and breaks to get it.
I used an older method and it worked for me, never had to use sunshine.
i4GS said:
A firmware could be reffered to a whole RUU , because the ZIP that updates from 1.x to 3.x is a firmware.
Essentially a Firmware contains the essentials for a basic update (HTC version) , Radio, boot, Kernel, Bootloader, modem, etc.
An Update Firmware or RUU will contain all the partitions ,
boot, system, bootloader,hboot,modem,radio, cache, recovery , and so on.
And to some sunshine will work and to some it might not, it's a risk you're going to have to take, (to get s-off) worth it.
Though we shouldn't have to go through all these cracks and breaks to get it.
I used an older method and it worked for me, never had to use sunshine.
Click to expand...
Click to collapse
I was told that the older method ceased to work because it required a server connection to complete that is no longer up. And would using a RUU to get to Lollipop put the system back to S-On?
Flashing anything won't touch the S-OFF. You'd have to manually set that back to S-ON (but why would you want to do that!)

Big problem about S-off

Hello
I have bootloader unlocked, rooted HTC one M8. I want to use android revolution hd and to do that I need to flash a new firmware. I need to do "s-off". However I tried I failed that with "runrummer". I get this fail : (I dont wanna pay 25$ for sunshine)
Pouring (1) ......................
Pouring (2)
WTF: what are you doing.
Press Enter to exit.
I want to do s-off so badly and I can give more info. about the phone.
Thanks a lot
Runrunner doesn't work with the M8. Sunshine is the only working method
EddyOS said:
Runrunner doesn't work with the M8. Sunshine is the only working method
Click to expand...
Click to collapse
So you say There is no other way execpt sunshine ?
tugratolunay said:
So you say There is no other way execpt sunshine ?
Click to expand...
Click to collapse
Yep man. I use s-on for its ok all good
leos0000 said:
Yep man. I use s-on for its ok all good
Click to expand...
Click to collapse
That's nice, but you need to be S-Off to do certain things, like manually flashing firmware without reverting to stock, or using firmware meant for carriers other than yours when they update before your carrier.
There are other advantages as well, but these are the ones that S-Off is most used for.
tugratolunay said:
So you say there is no other way except Sunshine ?
Click to expand...
Click to collapse
That's exactly what I'm saying
tugratolunay said:
WTF: what are you doing.
Click to expand...
Click to collapse
"WTF what are you doing" indeed. Rumrunner never worked for this phone. It was for the M7. Firewater (related, but different from rumrunner) was for earlier M8 versions. It was an online service, and will no longer work now that the dev has stopped supporting it (so don't even bother asking).
For many variants, s-off is not needed to update firmware (as long as Lollipop has been released for your variant). You can just return to stock ROM and stock recovery, and OTA to Lollipop in order to update your firmware.
redpoint73 said:
"WTF what are you doing" indeed. Rumrunner never worked for this phone. It was for the M7. Firewater (related, but different from rumrunner) was for earlier M8 versions. It was an online service, and will no longer work now that the dev has stopped supporting it (so don't even bother asking).
For many variants, s-off is not needed to update firmware (as long as Lollipop has been released for your variant). You can just return to stock ROM and stock recovery, and OTA to Lollipop in order to update your firmware.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2694994
I have used this rom (Stock ROM's (Android 4.4.4 + HTC Sense 6.0 | Latest: 3.28.401.9) and I still cant use wifi or I cant restart the phone it stucks at HTC logo. Could you please help me about finding correct stock rom ? or is there only 1 stock rom I really dont know what to do so far or how do I return back..
tugratolunay said:
http://forum.xda-developers.com/showthread.php?t=2694994
I have used this rom (Stock ROM's (Android 4.4.4 + HTC Sense 6.0 | Latest: 3.28.401.9) and I still cant use wifi or I cant restart the phone it stucks at HTC logo. Could you please help me about finding correct stock rom ? or is there only 1 stock rom I really dont know what to do so far or how do I return back..
Click to expand...
Click to collapse
There are different stock ROMs for different CIDs. Plus, if you have no WiFi, and extreme long boot times, its due to your firmware not being supported by the ROM. You need to find the stock ROM for your current firmware and CID. Then you also need to flash the corresponding stock recovery. After that, you can OTA to the latest firmware.
What is your CID, hboot number, and radio number?
redpoint73 said:
There are different stock ROMs for different CIDs. Plus, if you have no WiFi, and extreme long boot times, its due to your firmware not being supported by the ROM. You need to find the stock ROM for your current firmware and CID. Then you also need to flash the corresponding stock recovery. After that, you can OTA to the latest firmware.
What is your CID, hboot number, and radio number?
Click to expand...
Click to collapse
HBoot 3.16.0.0000
Radio-1.16.21331931.LA11G
Cid : CWS_001
by the way I bought this phone when I was in USA and I bought it from AT&T I dont know if it makes difference. I have a custom rom (4.4.2) its the only rom that I can use the phone and this rom is sux :'(
tugratolunay said:
HBoot 3.16.0.0000
Radio-1.16.21331931.LA11G
Cid : CWS_001
by the way I bought this phone when I was in USA and I bought it from AT&T I dont know if it makes difference.
Click to expand...
Click to collapse
Not only is that make a difference, it makes it easy to update your firmware. Just relock the bootloader and run the new Lollipop RUU: http://dl3.htc.com/application/RUU_M8[email protected]50319A_40.45.C33065.00_F_release_426617_signed_2.exe
Backup any important personal data before RUU, as RUU will wipe the phone.
redpoint73 said:
Not only is that make a difference, it makes it easy to update your firmware. Just relock the bootloader and run the new Lollipop RUU: http://dl3.htc.com/application/RUU_M8[email protected]50319A_40.45.C33065.00_F_release_426617_signed_2.exe
Backup any important personal data before RUU, as RUU will wipe the phone.
Click to expand...
Click to collapse
Would you mind I want you to explain the process how to do it or can you please give me link to follow the process?
tugratolunay said:
Would you mind I want you to explain the process how to do it or can you please give me link to follow the process?
Click to expand...
Click to collapse
1) To lock bootloader: Connect phone to PC (PC required for RUU). Boot phone into bootloader-fastboot mode. Open command prompt on computer, and type command: fastboot oem lock
2) Download RUU onto PC. With phone connected, run the RUU exectuble program on the PC and follow the instructions given.
3) Done, drink beer
A little more detail is given here under "Manual system update instructions": http://www.htc.com/us/support/htc-one-m8-att/news/
But seriously, the RUU is a self-explanatory program. It will tell you to confirm a couple dialogue boxes. But aside from that, the program will install a completely clean factory Lollipop software image.
Option Step) Unlock the bootloader again via HTCDev.com, then flash TWRP if you want to root or flash a custom ROM.
redpoint73 said:
1) To lock bootloader: Connect phone to PC (PC required for RUU). Boot phone into bootloader-fastboot mode. Open command prompt on computer, and type command: fastboot oem lock
2) Download RUU onto PC. With phone connected, run the RUU exectuble program on the PC and follow the instructions given.
3) Done, drink beer
A little more detail is given here under "Manual system update instructions": http://www.htc.com/us/support/htc-one-m8-att/news/
But seriously, the RUU is a self-explanatory program. It will tell you to confirm a couple dialogue boxes. But aside from that, the program will install a completely clean factory Lollipop software image.
Option Step) Unlock the bootloader again via HTCDev.com, then flash TWRP if you want to root or flash a custom ROM.
Click to expand...
Click to collapse
Cant I use the same unlock_code.bin ? and Will the at&t app be back? and will my SD card will be safe? Should I be in fastboot while doing RUU? or just homescreen?
Sorry for bothering you too much :/
***Tampered***
***relocked***
***security Warning**
M8_ul_ca
.
.
.
I cant open my phone, it always comes at this screen (bootloader). Is that normal?
tugratolunay said:
Cant I use the same unlock_code.bin ?
Click to expand...
Click to collapse
You can try it. It certainly doesn't hurts, as it only takes a single fastboot command, and would be faster than going through the whole HTCDev.com process (although that really doesn't take that much time, either).
I know using the same token has worked on past HTC devices. But I haven't seen much (if any) success on the M8. Most (or all?) folks have had to get a new token in order to unlock.
tugratolunay said:
Will the at&t app be back?
Click to expand...
Click to collapse
Yes, whatever AT&T apps are present on the stock Lollipop AT&T image will be on your phone. Simply root and delete/freeze, or install a custom ROM to be rid of the AT&T bloat.
tugratolunay said:
will my SD card will be safe?
Click to expand...
Click to collapse
You mean the removable SD? It should be safe. But you can always take it out before RUU to be sure it doesn't get touched by RUU.
Any other data on the phone (including the "virtual SD" AKA internal storage) should be backed up, if you want to keep it. Internal storage "might" be okay, but I'd back up anything you want to keep, just in case.
tugratolunay said:
Should I be in fastboot while doing RUU? or just homescreen?
Click to expand...
Click to collapse
Usually booted into OS works. But some folks have had to put the phone in fastboot mode.
---------- Post added at 04:39 PM ---------- Previous post was at 04:37 PM ----------
tugratolunay said:
Sorry for bothering you too much :/
Click to expand...
Click to collapse
Its no bother. I enjoy helping others.
I only ask in return you click the "Thanks" button for any posts you found helpful.
---------- Post added at 04:41 PM ---------- Previous post was at 04:39 PM ----------
tugratolunay said:
***Tampered***
***relocked***
***security Warning**
M8_ul_ca
.
.
.
I cant open my phone, it always comes at this screen (bootloader). Is that normal?
Click to expand...
Click to collapse
Yes, that is normal. Its expected that RUU will be run once you relock, so it makes the phone this way.
I always forget this, since I s-off my devices (no relocking necessary to RUU with s-off)
redpoint73 said:
I always forget this, since I s-off my devices (no relocking necessary to RUU with s-off)
Click to expand...
Click to collapse
After installing this RUU I will have original At&t rom and unroot, relocked bootloader phone. and it will be 5.0.1 lollipop. Am I right? and so firmware will be upgraded tho? That means I can Unlock it, root it and install that android revolution HD rom without having problems.
tugratolunay said:
After installing this RUU I will have original At&t rom and unroot, relocked bootloader phone. and it will be 5.0.1 lollipop. Am I right? and so firmware will be upgraded tho? That means I can Unlock it, root it and install that android revolution HD rom without having problems.
Click to expand...
Click to collapse
Yes, yes, and yes.
The only thing above that isn't completely correct, if that after you unlock the bootloader again, just install custom recovery and flash ARHD. No need to root before flashing a custom ROM. Installing a ROM wipes whatever you did with root anyway, and custom ROMs are always pre-rooted. So rooting manually is an unnecessary step. You only need to root "manually" if you are keeping the stock ROM.

Bell Canada HTC One M8 Restore Project

Greetings- I have an M8 running CM12 (nightly)
main 4.20.666.1
hboot 3.19.0.0.0000
S-On
CM12 nightly
twrp2.6
SuperSU
I'm hoping to restore to upgrade but the *$$*%*$ S-On issue won't allow me to. My original recovery is corrupt/gone and I just wonder if anyone has any (good) ideas?
Tried Firewater and got the PIE error.
You guys are doing a great job here- I've learned alot lurking and hope to continue...
cheerss
Superflous said:
I'm hoping to restore to upgrade but the *$$*%*$ S-On issue won't allow me to.
Click to expand...
Click to collapse
What exactly are you trying to do, that you think s-on is preventing? Unless I'm missing something, I don't think there is anything you are trying to do, that would be impeded by s-on.
Superflous said:
My original recovery is corrupt/gone and I just wonder if anyone has any (good) ideas?
Click to expand...
Click to collapse
Stock recovery for your main version is posted by ckpv5 here: http://forum.xda-developers.com/showpost.php?p=58947150&postcount=4708
Superflous said:
Tried Firewater and got the PIE error.
Click to expand...
Click to collapse
Firewater was discontinued by the developer 6 months ago (online service, so no longer works).
Sunshine is the only current s-off method, if you really need s-off (not clear that you do).
redpoint73 said:
Stock recovery for your main version is posted by ckpv5 here: http://forum.xda-developers.com/showpost.php?p=58947150&postcount=4708
Click to expand...
Click to collapse
Already moved my stock recovery collection to here : http://forum.xda-developers.com/showpost.php?p=60211779&postcount=4
All in one place and easier to find I guess.
ckpv5 said:
Already moved my stock recovery collection to here : http://forum.xda-developers.com/showpost.php?p=60211779&postcount=4
All in one place and easier to find I guess.
Click to expand...
Click to collapse
Certainly great to have it in one place, and thanks for doing so!
redpoint73 said:
What exactly are you trying to do, that you think s-on is preventing? Unless I'm missing something, I don't think there is anything you are trying to do, that would be impeded by s-on.
Stock recovery for your main version is posted by ckpv5 here: http://forum.xda-developers.com/showpost.php?p=58947150&postcount=4708
Firewater was discontinued by the developer 6 months ago (online service, so no longer works).
Sunshine is the only current s-off method, if you really need s-off (not clear that you do).
Click to expand...
Click to collapse
tx for recovery link, sorry if it wasn't explained right but i want to restore my phone back to Bell firmware and lollipop . I spoke with the Root ninja via email ans Sunshine won't work on my phone(their words). I have tried to install the "firmware_M8SD_4.20.666.1_Modified_Bell_Canada.zip" but it fails and locks me up in the blue CM head until I reset, then reverts back to CM12. I'm just getting into this but if I understand correct you need S-off to flash firmware. If this isn't right I would sure appreciate the path to the correct way to put my phone back to original. Tx for you help
Superflous said:
I have tried to install the "firmware_M8SD_4.20.666.1_Modified_Bell_Canada.zip" but it fails and locks me up in the blue CM head until I reset, then reverts back to CM12. I'm just getting into this but if I understand correct you need S-off to flash firmware.
Click to expand...
Click to collapse
Somewhat correct. If the firmware is official (signed and encrypted) and for your CID, it will flash with s-on.
However, once the firmware has been modified in any way (as the one you tried clearly is) or otherwise not signed, you can't flash it unless you have s-off.
But I don't think flashing firmware is what you really want. You might be mixing up firmware with software (ROM). Firmware are the partitions that don't get changed when you flash a ROM. Firmware includes hboot, radio, and some other modules (WiFi, media, etc.). Since you need s-off to flash an "unofficial" firmware, and you are still s-on, you should still be on the stock firmware. And therefore, no need to "return to stock" since you still are stock.
What I think you mean, is that you want to return to stock ROM (since you are on CM12) and stock recovery. None of which require s-off. After that you can relock the bootloader. But it will always say RELOCKED instead of LOCKED, as the latter requires s-off. If you are selling or giving the phone away, RELOCKED should be sufficient for most folks. Although I highly recommend disclosing that the bootloader was previously unlocked, root, etc. to the new owner.
redpoint73 said:
Somewhat correct. If the firmware is official (signed and encrypted) and for your CID, it will flash with s-on.
However, once the firmware has been modified in any way (as the one you tried clearly is) or otherwise not signed, you can't flash it unless you have s-off.
But I don't think flashing firmware is what you really want. You might be mixing up firmware with software (ROM). Firmware are the partitions that don't get changed when you flash a ROM. Firmware includes hboot, radio, and some other modules (WiFi, media, etc.). Since you need s-off to flash an "unofficial" firmware, and you are still s-on, you should still be on the stock firmware. And therefore, no need to "return to stock" since you still are stock.
What I think you mean, is that you want to return to stock ROM (since you are on CM12) and stock recovery. None of which require s-off. After that you can relock the bootloader. But it will always say RELOCKED instead of LOCKED, as the latter requires s-off. If you are selling or giving the phone away, RELOCKED should be sufficient for most folks. Although I highly recommend disclosing that the bootloader was previously unlocked, root, etc. to the new owner.
Click to expand...
Click to collapse
'
so then I'm looking for a stock ROM from the carrier for firmware 4.20.666.1
tx again Redpoint
redpoint73 said:
Somewhat correct. If the firmware is official (signed and encrypted) and for your CID, it will flash with s-on.
However, once the firmware has been modified in any way (as the one you tried clearly is) or otherwise not signed, you can't flash it unless you have s-off.
But I don't think flashing firmware is what you really want. You might be mixing up firmware with software (ROM). Firmware are the partitions that don't get changed when you flash a ROM. Firmware includes hboot, radio, and some other modules (WiFi, media, etc.). Since you need s-off to flash an "unofficial" firmware, and you are still s-on, you should still be on the stock firmware. And therefore, no need to "return to stock" since you still are stock.
What I think you mean, is that you want to return to stock ROM (since you are on CM12) and stock recovery. None of which require s-off. After that you can relock the bootloader. But it will always say RELOCKED instead of LOCKED, as the latter requires s-off. If you are selling or giving the phone away, RELOCKED should be sufficient for most folks. Although I highly recommend disclosing that the bootloader was previously unlocked, root, etc. to the new owner.
Click to expand...
Click to collapse
As a followup- tx for taking the time to explain- I have set the phone back to stock and happy to have learned some.
You are one of the good ones'
Cheers
Superflous said:
As a followup- tx for taking the time to explain- I have set the phone back to stock and happy to have learned some.
You are one of the good ones'
Cheers
Click to expand...
Click to collapse
You're very welcome. Glad to see it worked out well for you.
Please click the "Thanks" button for any posts you found helpful.

How to root my HTC One M8 (Android 6.0)?

I would like to root my M8, it has the latest OTA update from HTC which is Android 6.0. I have the developer edition, from what I've heard, the bootloader is already unlocked right?
I've seen some guides but most of them are outdated or they are meant to be used with Android 4.4.4.
I must say I'm not an expert when talking about phones, so is there a step by step guide to root an M8 with marshmallow? I would really appreciate any help.
The bootloader screen will indicate the bootloader status (LOCKED, UNLOCKED or RELOCKED) near the top of the screen.
In general, the process is:
1) Unlock the bootloader by HTCDev.com (if its not already unlocked).
2) Fastboot flash TWRP 3.0 custom recovery: https://twrp.me/devices/htconem8gsm.html
3) Backup your stock ROM in TWRP - lots of folks have been running into bootloop or no boot after trying to root (but probably usually when trying to use an obsolete version TWRP and/or SuperSU - but it never hurts to be safe and have a backup).
4) In TWRP, flash SuperSU v2.76 to root: https://download.chainfire.eu/969/SuperSU/UPDATE-SuperSU-v2.76-20160630161323.zip
redpoint73 said:
The bootloader screen will indicate the bootloader status (LOCKED, UNLOCKED or RELOCKED) near the top of the screen.
In general, the process is:
1) Unlock the bootloader by HTCDev.com (if its not already unlocked).
2) Fastboot flash TWRP 3.0 custom recovery: https://twrp.me/devices/htconem8gsm.html
3) Backup your stock ROM in TWRP - lots of folks have been running into bootloop or no boot after trying to root (but probably usually when trying to use an obsolete version TWRP and/or SuperSU - but it never hurts to be safe and have a backup).
4) In TWRP, flash SuperSU v2.76 to root: https://download.chainfire.eu/969/SuperSU/UPDATE-SuperSU-v2.76-20160630161323.zip
Click to expand...
Click to collapse
Thanks for the answer. Just one more question. My bootloader is already unlocked, but it says "S-ON" under "UNLOCKED", will that be a problem?
Sporting123 said:
Thanks for the answer. Just one more question. My bootloader is already unlocked, but it says "S-ON" under "UNLOCKED", will that be a problem?
Click to expand...
Click to collapse
Nope, that is just fine. S-on is perfectly okay for most mods, such as root, and flashing ROMs.
You only need s-off to do some very specific things, such as flashing modified hboots, manually flashing radio, changing CID&MID, downgrading by RUU, etc.
I have a simple doubt regarding flashing twrp. Does this means I can flash twrp through adb without getting root access to get root access.I usually root my devices using kingroot,works perfect for my old phone micromax.It also works for my htc one m8 when it was kitkat.But after I update to marshmallow Kingroot doesn't work for it,tried many times.If you could answer my question I would be very thankfull
hriatahriatpuia said:
I have a simple doubt regarding flashing twrp. Does this means I can flash twrp through adb without getting root access to get root access.
Click to expand...
Click to collapse
You don't need root to install TWRP, if that is what you mean. You just need an unlocked bootloader.
Thanks a lot,have already unlocked the bootloader.
redpoint73 said:
You don't need root to install TWRP, if that is what you mean. You just need an unlocked bootloader.
Click to expand...
Click to collapse
I've unlocked the bootloader but apparently I need to know which ver of twrp to use for my carrier ....no idea what to do there so I can't just flash the latest SuperSU from here? and how do I back up my stuff in case I mess up? Please help me i'm lost here
Hmz27 said:
I've unlocked the bootloader but apparently I need to know which ver of twrp to use for my carrier ....no idea what to do there so I can't just flash the latest SuperSU from here? and how do I back up my stuff in case I mess up? Please help me i'm lost here
Click to expand...
Click to collapse
what carrier ? if you are on gsm just flash TWRP 3.0.2-0 from official website
https://twrp.me/devices/htconem8gsm.html
after you flash TWRP recovery you will find option to backup it's too easy to understand how it works ( just check the partitions you want to backup and confirm your choices by sweep to proceed the process )
after you make a backup flash the latest supersu.zip from here ( choose TWRP installable.zip )
https://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
Hmz27 said:
I've unlocked the bootloader but apparently I need to know which ver of twrp to use for my carrier ...
Click to expand...
Click to collapse
I think you're looking at some really outdated info or guide. TWRP hasn't been carrier specific for about 2 years; with Verizon and Sprint being the only ones you had to look out for. But TWRP was unified long ago (so Sprint/Verizon no longer requires a different TWRP version). You'll see from ahmed's link, that it specifies "All variants" of the M8. The exception would be if you have an M8s; and maybe another oddball variant or two (which are really different hardware). But as long as its a true "M8" the TWRP version linked by ahmed will work.
If you have any doubts or concerns about the M8 version, connect the phone to your computer, reboot to fastboot mode and do command fastboot getvar all and post the results so we can take a look (delete IMEI and serial number before posting).
Hmz27 said:
no idea what to do there so I can't just flash the latest SuperSU from here?
Click to expand...
Click to collapse
No, you can't flash SuperSU without first flashing TWRP. Why would threads/guides tell you to do something that isn't necessary, if you can just skip it?
Simply put, you can only flash official "signed" files from the stock recovery. You need a custom recovery like TWRP to flash SuperSU.
Hmz27 said:
and how do I back up my stuff in case I mess up?
Click to expand...
Click to collapse
Once you install TWRP, you can use it to create a backup of your stock unrooted ROM and user data. And its highly recommended to do so, before you flash SuperSU. Not only will this give you an easy way to revert/recover if something goes wrong with the root attempt; but you will also have a backup of your stock, unrooted ROM if you ever want it.
There are other ways to backup your data, but that depends on what "stuff" you are talking about (as that vague description doesn't tell us what you actually want to backup). For instance, for files, photos, etc. you can just copy and paste them to your computer as a backup.
Hello , I'm new to the whole thing guy and I want to unlock my bootloader in order to install custom rom , I looked in the fourm and I'v found an old method with all in one tool kit but I don't think it will work on my android version 6.0 would someone kindly guide me and tell me what do I need to do ? thanks .
Monzer_ said:
Hello , I'm new to the whole thing guy and I want to unlock my bootloader in order to install custom rom , I looked in the fourm and I'v found an old method with all in one tool kit but I don't think it will work on my android version 6.0 would someone kindly guide me and tell me what do I need to do ? thanks .
Click to expand...
Click to collapse
If the method is firewater, it no longer works.
fireguy85 said:
If the method is firewater, it no longer works.
Click to expand...
Click to collapse
I'm not sure what are you talking about since I'm new to the whole thing I believe that firewater has something to do with S-off which is something I couldn't do because all the guides says download firewater and the links takes me to sunshine which i believe cost me money to do ? sorry correct me if I'm wrong but I'm just a newbie beside I don't need s-off right ? what does that have to do with my problem ?
Monzer_ said:
I'm not sure what are you talking about since I'm new to the whole thing I believe that firewater has something to do with S-off which is something I couldn't do because all the guides says download firewater and the links takes me to sunshine which i believe cost me money to do ? sorry correct me if I'm wrong but I'm just a newbie beside I don't need s-off right ? what does that have to do with my problem ?
Click to expand...
Click to collapse
Firewater was an all-in-one kit used to unlock bootloader and achieve s-off. The guys that created this went on to create Sunshine, leaving firewater project behind, so any guides from 2014 are likely obsolete. Unlocking the bootloader is as simple as going to htcdev.com, making an account and following the instructions there-it's super easy. S-off isn't necessary for most.
fireguy85 said:
If the method is firewater, it no longer works.
Click to expand...
Click to collapse
fireguy85 said:
Firewater was an all-in-one kit used to unlock bootloader and achieve s-off. The guys that created this went on to create Sunshine, leaving firewater project behind, so any guides from 2014 are likely obsolete. Unlocking the bootloader is as simple as going to htcdev.com, making an account and following the instructions there-it's super easy. S-off isn't necessary for most.
Click to expand...
Click to collapse
yes that what I have done exactly I'v unlocked the bootloader this way then used the all in one kit to root but then couldn't s-off as the guide I was following said download firewater and the links take me to sunshine . I don't know much further have not tried sunshine yet and now my rom seems ok after I re-flashed it awesome rom btw still little curious about s-rom but this one will do just fine I'v been using stock for ages .
Monzer_ said:
yes that what I have done exactly I'v unlocked the bootloader this way then used the all in one kit to root but then couldn't s-off as the guide I was following said download firewater and the links take me to sunshine . I don't know much further have not tried sunshine yet and now my rom seems ok after I re-flashed it awesome rom btw still little curious about s-rom but this one will do just fine I'v been using stock for ages .
Click to expand...
Click to collapse
Firewater and the AIO (all-in-one) toolkit are 2 different things. Firewater is an (obsolete) s-off method. May have also contained a temp root, and some other things (can't remember exactly, it's been 2 years - and doesn't matter anyway - see more below). But firewater is not typically referred to as a "toolkit" or "all-in-one" (never seen it referred to that way, actually).
All-in-one toolkit (there are a couple) is a PC for unlocking the bootloader, root, and several other things (may have had a link for firewater, don't remember - again it's irrelevant for reasons below).
The toolkits are not recommended. They haven't been updated in a long time, and therefore use very obsolete files for TWRP and SuperSU (when applicable). You will have issues flashing many ROMs with old TWRP (and I'm surprised you haven't yet). Plus, you will probably find in bootloader and fastboot getvar, that the OS number is now blank (known bug in old versions of TWRP). I would suggest flashing the current version TWRP 3.1.1 using fastboot, to prevent issues moving forward. Current TWRP is fully compatible with current ROMs - but will not fix the bug of OS number being blank (need to flash firmware or RUU to fix that - but it's just a minor thing).
Firewater doesn't work, no matter what you do. It required an online server component, which the devs took offline over 2 years ago. Sunshine ($25 US) is the only current s-off method. But be aware, that most folks don't need s-off. S-off isn't needed to root, flash custom ROMs, and most other mods. s-off is only needed for very specific things, such as manually flashing radios, changing CID/MID, and some other things.
redpoint73 thank you so much for such a help truly gentleman much appreciate it .
It appears you can no longer use the usual method to unlock the bootloader. I just got this phone the other day in fantastic condition as a gift.
HTCDev told me there was an error or try again later. I'll upload screenshots later.
Not true... I used www.htcdev.com to unlock the bootloader of my HTC One M8 today.
I have this phone, with Android 6.0 and bootloader locked. However it has become practically unusable as it regularly powers off by itself, most likely due to lack of storage (there's only 0.6 GB left...). I've already uninstalled all of my few (useful) apps, I have no media on it whatsoever, but it is just filled up with bloatware that is pre-installed and gets re-installed automatically and that I thus cannot get rid of. I don't want to buy a new phone (it's in good condition) but from reading on the internet I understand that the only option is to unlock and root it, and put an oem on it exempt of all of these useless apps.
So my questions are, is this really the only option and if so is it still possible on this old machine to unlock the bootloader, and to get the right - clean - software for it somewhere?
I registered at HtC dev. There's a page that walks you through the unlocking process. So I should be able to do that part, if what FlexMcMurphy said in July last year still is true... For the rest, I'm quite new to this process but there are pages here on XDA that describe rooting and flashing. I'm ready to give it a try, but could use help if stuck.
Any reply/help would be wonderful !
Thank you in advance.
Judith

Categories

Resources