[Q] Returning to stock, international M8 - One (M8) Q&A, Help & Troubleshooting

I unlocked the bootloader (offical version, S-ON) and flashed Dirty Unicorns Marshmallow ROM. The battery life is plain horrible, but I'm not sure if that's because of the ROM or the phone. Now I want to flash it back to stock, mainly because my M8 shut itself off twice yesterday when I used GPS due to overheating (had to hold it near AC in the car so it wouldn't shut down again).
I read a lot of guides, but I'm really confused because HTC complicated it so much (I'm not inexperienced in flashing, had two Sony devices and a Xiaomi). Can anyone help me out?
Sent from my One M8

sunbriel said:
I unlocked the bootloader (offical version, S-ON) and flashed Dirty Unicorns Marshmallow ROM. The battery life is plain horrible, but I'm not sure if that's because of the ROM or the phone. Now I want to flash it back to stock, mainly because my M8 shut itself off twice yesterday when I used GPS due to overheating (had to hold it near AC in the car so it wouldn't shut down again).
I read a lot of guides, but I'm really confused because HTC complicated it so much (I'm not inexperienced in flashing, had two Sony devices and a Xiaomi). Can anyone help me out?
Sent from my One M8
Click to expand...
Click to collapse
What does it say next to "OS" in your bootloader menu?

xunholyx said:
What does it say next to "OS" in your bootloader menu?
Click to expand...
Click to collapse
"OS-" so basically nothing.
Sent from my One M8

sunbriel said:
"OS-" so basically nothing.
Sent from my One M8
Click to expand...
Click to collapse
That's because you are using an old version of TWRP (2.7.x.x) that had a bug that the firmware version wouldn't be listed.
Hook up your phone to your PC and get into fastboot. Enter fastboot getvar all and post the readout here, minus your serial# and IMEI

xunholyx said:
That's because you are using an old version of TWRP (2.7.x.x) that had a bug that the firmware version wouldn't be listed.
Hook up your phone to your PC and get into fastboot. Enter fastboot getvar all and post the readout here, minus your serial# and IMEI
Click to expand...
Click to collapse
Code:
version: 0.5
version-bootloader: 3.19.0.0000
version-baseband: 1.29.214500021.1
version-cpld: None
version-microp: None
version-main:
version-misc: PVT SHIP S-ON
product: m8_ul
platform: hTCBmsm8974
modelid: 0P6B10000
cidnum: HTC__032
battery-status: good
battery-voltage: 0mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: 76df2b54
hbootpreupdate: 11
gencheckpt: 0

First of all, update to the current TWRP version 3.0. As @xunholyx indicated, the OS number being blank means you used a really old TWRP version, which can cause a lot of issues. Then flash the ROM again (after default wipe in TWRP - data, cache and Dalvik) and see if that helps.
Or try another ROM.
If you still want to return to stock, you can get the TWRP stock backup here: http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
What you want is 6.12.401.4
Although, standard operating procedure for any ROM flashing would have dictated that you made a nandroid (TWRP backup) of the stock ROM before flashing anything. If you had done so, you could have simply restore that backup to return to the stock ROM.

Thanks for the help.
Well, I didn't create a nandroid backup of stock ROM since I thought that going back to factory settings was as easy as with Sony or Xiaomi devices. This HTC stuff is way too messed up, and I don't understand why they made it that way. I didn't expect that, tbh.
Edit: just checked, the TWRP version I have is 3.0.2-0.

sunbriel said:
Thanks for the help.
Well, I didn't create a nandroid backup of stock ROM since I thought that going back to factory settings was as easy as with Sony or Xiaomi devices. This HTC stuff is way too messed up, and I don't understand why they made it that way. I didn't expect that, tbh.
Edit: just checked, the TWRP version I have is 3.0.2-0.
Click to expand...
Click to collapse
Your OS/version-main will remain blank until you flash firmware. Just flashing the newer recovery on its own won't do that

sunbriel said:
Well, I didn't create a nandroid backup of stock ROM since I thought that going back to factory settings was as easy as with Sony or Xiaomi devices. This HTC stuff is way too messed up, and I don't understand why they made it that way. I didn't expect that, tbh.
Click to expand...
Click to collapse
You should never assume anything is the same between Android manufacturers; they each have their own quirks. And you should always make a backup before flashing a ROM, root, or other mods.; doesn't matter what the manufacturer.
Returning to stock by flashing a stock TWRP backup is not complicated. Since you've already achieved unlocking the bootloader, flashing custom recovery, and custom ROM; you can certainly handle restoring to stock with a TWRP backup. You basically just download the backup file, unzip the folders, put the folders in the proper place on the phone, then Restore the backup in TWRP. The instructions in the thread I link just break it down into steps, for you convenience. But it all just boils down to getting the backup on the phone (since you didn't make one yourself) and restoring it. I even figured out what version number you needed, and told you. So how much easier do you want it?
Your version also has an RUU (HTC specific restore tool), which will return you to stock after relocking the bootloader. But to be honest, its not that complicated to restore the TWRP backup as already suggested.

I already restored everything to stock and sold the phone. The battery life was horrible even on stock (mostly below 3h SOT with very light usage).
You say I should always make a nandroid. That's true, but for instance with Sony, even if you soft brick your phone, you just downlpad a ftf file and flash it with Flashtool. Also, another reason why I didn't make a nandroid backup of stock is because I didn't have anything worth backing up - it was pure stock without any of my apps installed since the phone was freshly bought off craigslist.
Sent from my X98 Air II using Tapatalk

sunbriel said:
You say I should always make a nandroid. That's true, but for instance with Sony, even if you soft brick your phone, you just downlpad a ftf file and flash it with Flashtool. Also, another reason why I didn't make a nandroid backup of stock is because I didn't have anything worth backing up - it was pure stock without any of my apps installed since the phone was freshly bought off craigslist.
Click to expand...
Click to collapse
The point of making a nandroid prior to any mods is to backup the stock ROM, not just your personal data.
Always know how to revert to stock, before you start messing with the phone. And how to do that varies with each device. That's all I'm saying.

Related

WiFi will not turn on after custom ROM installs

So, just for a bit of background info:
I found out about the release of Lollipop for the HTC One M8 is in February. Me, being the kinda impatient type, wanted it sooner! So, having never messed around with android devices before, thought "Why not now?" And dived in to some tutorials. After unlocking my bootloader, installing TWRP as the recovery, and installing a new ROM to do the S-Off with firewater, I learned a few things: Firewater doesn't work anymore, the next best (and seemingly only) alternative costs $25, my phone wasn't booting up anymore, and I hadn't made a backup.
So yeah, that sucked. After attempting to side load the ROM and a few different ROMS, I finally managed to find a stock ROM that worked on the first load and actually booted successfully at an acceptable rate.
<b>SO WHERE I'M AT NOW</B>
Everything is fine and dandy now, with the exception of one thing: the WiFi will not turn on. I will press the WiFi "switch," and it will only become greyed out. All of my other wireless connections will work, and I am not on airplane mode (I have even switched that on and off plenty of times as well). The only solution I could find through searching was to flash the boot.img that came in the ROM, and that didn't work.
As for specs, I'm a little inexperienced, so I don't know what to provide other than this:
HTC One M8
Carrier: AT&T
Not rooted, and don't plan on it
Boot loader is unlocked
I believe it is on a stock ROM
Does anybody know how to fix this? Any help would be appreciated!
Sent from my HTC One_M8 using XDA Free mobile app
Your firmware is mismatched with the ROM you flashed.
Either flash a ROM that matches your firmware, or RUU back to stock (need to relock bootloader with s-on to run RUU).
Also, why do so many folks skip the step of not making a nandroid backup? This should be a mandatory step before doing any mods or flashing a ROM. I don't ever leave my phone without a known good nandroid or at least a known good ROM.zip.
redpoint73 said:
Also, why do so many folks skip the step of not making a nandroid backup? This should be a mandatory step before doing any mods or flashing a ROM. I don't ever leave my phone without a known good nandroid or at least a known good ROM.zip.
Click to expand...
Click to collapse
OK, so I didn't exactly NOT make a backup... I just made the wrong type of backup. I'm new to all this, and for some reason my mind thought it was OK to back up all my DATA, not to make a backup image. I feel pretty stupid about that, and you're allowed to feel the same way about me.
Also, would you have instructions on finding a ROM that fits the firmware? Like I've said, I'm new to this and I also can't find anything about it - everything assumes that I know everything there is to know already! And the fact that'll AT&T doesn't release the M8 RUUs doesn't help either.
Sent from my HTC One_M8 using XDA Free mobile app
hardcore_spaghetti said:
OK, so I didn't exactly NOT make a backup... I just made the wrong type of backup. I'm new to all this, and for some reason my mind thought it was OK to back up all my DATA, not to make a backup image. I feel pretty stupid about that, and you're allowed to feel the same way about me.
Also, would you have instructions on finding a ROM that fits the firmware? Like I've said, I'm new to this and I also can't find anything about it - everything assumes that I know everything there is to know already! And the fact that'll AT&T doesn't release the M8 RUUs doesn't help either.
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
Who told you there were no RUUs for AT&T?
Here ya go:
http://dl3.htc.com/application/RUU_...20.51A.4198.01L_F_release_387305_signed_2.exe
---------- Post added at 07:38 PM ---------- Previous post was at 07:14 PM ----------
redpoint73 said:
Your firmware is mismatched with the ROM you flashed.
Either flash a ROM that matches your firmware, or RUU back to stock (need to relock bootloader with s-on to run RUU).
Also, why do so many folks skip the step of not making a nandroid backup? This should be a mandatory step before doing any mods or flashing a ROM. I don't ever leave my phone without a known good nandroid or at least a known good ROM.zip.
Click to expand...
Click to collapse
People don't like to follow instructions. I ALWAYS have a recent backup. If stuff goes bad, you can go back to the way it was before you screwed stuff up. It is the most basic step when flashing/modding; and it is always step #1 on any ROM/mod thread, but people like to skip it for some reason. I guess people like to learn the hard way.
xunholyx said:
Who told you there were no RUUs for AT&T?
Click to expand...
Click to collapse
Me and the people who were looking for AT&T-branded RUUs, not Cingular! I'll give it a try, thanks a lot!
Sent from my HTC One_M8 using XDA Free mobile app
EDIT:
It worked! Thank you so much for that RUU. My phone is running great now.
hardcore_spaghetti said:
Me and the people who were looking for AT&T-branded RUUs, not Cingular! I'll give it a try, thanks a lot!
Click to expand...
Click to collapse
I don't know why they still use the "Cingular" name in the RUU title. But regardless, you will find the AT&T RUUs listed in a variety of places, including the HTC website:
http://www.htc.com/us/support/htc-one-m8-att/news/
---------- Post added at 09:19 AM ---------- Previous post was at 09:10 AM ----------
hardcore_spaghetti said:
OK, so I didn't exactly NOT make a backup... I just made the wrong type of backup. I'm new to all this, and for some reason my mind thought it was OK to back up all my DATA, not to make a backup image. I feel pretty stupid about that, and you're allowed to feel the same way about me.
Click to expand...
Click to collapse
Well, at least you thought to make a backup of some sort, which is better than a lot of folks. My rant was aimed at folks who (all too often) know well that they should make a backup, and don't bother to do so. Than are all "Uh oh, I can't boot now and didn't make a backup. What should I do?"
Modding the phone with no backup plan and no plan to recover = a bad idea.
hardcore_spaghetti said:
Also, would you have instructions on finding a ROM that fits the firmware? Like I've said, I'm new to this and I also can't find anything about it - everything assumes that I know everything there is to know already!
Click to expand...
Click to collapse
The information is all here if you read and search enough; but I'll admit the concept of "firmware" is a bit confusing.
The short answer: Boot into bootloader, and unless you've tampered with hboot in some way (not possible with s-on) the hboot number will correspond with your current firmware version, which will also tell you what software based ROMs you can run properly:
hboot 3.16 = 1.x software
hboot 3.18 = 2.x software
hboot 3.19 = 3.x software
If you look at the title or top post of each custom ROM, they will usually call out what software version the ROM is based. So you just need to find one that corresponds to your hboot number, flash it, and everything should work find. If you are looking at a specific ROM, and still can't determine what software version its based, just post a link here and we will answer that.
If you are currently on hboot 3.16 (1.x firmware) you can also relock the bootloader and run the 2.23 RUU to update to the 2.x firmware; and then be able to run 2.x software based ROMs. But with s-on, you can't update to 3.x firmware yet, until AT&T releases the corresponding OTA and/or RUU. There are methods to update to 3.x firmware with s-off.
You can read more technical info about firmware here: http://forum.xda-developers.com/htc-one-m8/development/progress-fuu-m8-t2813792
redpoint73 said:
Your firmware is mismatched with the ROM you flashed.
Either flash a ROM that matches your firmware, or RUU back to stock (need to relock bootloader with s-on to run RUU).
Also, why do so many folks skip the step of not making a nandroid backup? This should be a mandatory step before doing any mods or flashing a ROM. I don't ever leave my phone without a known good nandroid or at least a known good ROM.zip.
Click to expand...
Click to collapse
Hey about that your firmware doesn't match the rom HOW COULD I KNOW?
Void tracer said:
Hey about that your firmware doesn't match the rom HOW COULD I KNOW?
Click to expand...
Click to collapse
You would only know by reading or searching. But its discussed on many threads, including the various custom ROM threads (sometimes in one of the top posts of the ROM thread).
For the most part, if you are changing to a higher software number (first number in the string: 1.x to 2.x, 3.x , etc.) you will need to update your firmware accordingly. This goes mostly for Sense ROMs; although some GPE or AOSP ROMs also require certain firmwares or at least an updated hboot. Again, check the specific ROM thread for details.
redpoint73 said:
You would only know by reading or searching. But its discussed on many threads, including the various custom ROM threads (sometimes in one of the top posts of the ROM thread).
For the most part, if you are changing to a higher software number (first number in the string: 1.x to 2.x, 3.x , etc.) you will need to update your firmware accordingly. This goes mostly for Sense ROMs; although some GPE or AOSP ROMs also require certain firmwares or at least an updated hboot. Again, check the specific ROM thread for details.
Click to expand...
Click to collapse
i still don't understand .... i went for a rom called revolutionhd and got stuck in boot loop,, spent around 8 hours trying different things , after that i got lucky that a rom called maxiumushd worked , i am s-on the dev says S-on will probably face a certain problems one of them is camera issue and files disappeared , that i fixed by the way he mentioned it should be fixed , but the wifi fix You must update firmware to latest 4.xx.xxx.x i don't understand , by installing his rom didn't i update to that version? the 4.xx.xxx.x ? or i must be at the same version before i flash a rom with that version? if yes, now roms are modding the current software? not also upgrading? and in my case i was 4.4.4 i think what should i do? i can't upgrade to lolipop? i didn't study for my finals thinking the device got bricked please help me out this is the second day ...
Void tracer said:
i still don't understand .... i went for a rom called revolutionhd and got stuck in boot loop,, spent around 8 hours trying different things , after that i got lucky that a rom called maxiumushd worked , i am s-on the dev says S-on will probably face a certain problems one of them is camera issue and files disappeared , that i fixed by the way he mentioned it should be fixed , but the wifi fix You must update firmware to latest 4.xx.xxx.x i don't understand , by installing his rom didn't i update to that version? the 4.xx.xxx.x ? or i must be at the same version before i flash a rom with that version? if yes, now roms are modding the current software? not also upgrading? and in my case i was 4.4.4 i think what should i do? i can't upgrade to lolipop?.
Click to expand...
Click to collapse
Your confusion is a bit understandable. The term "firmware" is confusing. Its true that in the past, the term "firmware" has sometimes been used interchangeably with "ROM". However in this case (and most frequently when talking about this phone), we are not talking about the ROM; but rather we are talking about a number of other modules including hboot, radio, recovery, WiFi, Bluetooth and others that actually do not get flashed with the ROM. And in fact, most of these modules can't be modified by "unofficial" means unless you have s-off.
HTC has also developed a somewhat contrived situation on their recent devices, in that while they claim to be "friendly to the mod community" by letting users unlock the bootloader and flash ROMs; they also have been in the habit of making significant updates to the firmware for every major software update (update from from Android 4.4.2 to 4.4.3, etc). And if you don't update the firmware when flashing a ROM of a higher software base, you are going to run into some major issues as you have seen (most commonly broken WiFi and extreme long boot times).
For a little more explanation on firmware vs. ROM, the following link has some good info: http://forum.xda-developers.com/showthread.php?p=52484527
You can still update the firmware with s-on by installing your version's OTA of (if available) RUU. You can also flash a firmware.zip if one has been posted for your CID that is still HTC signed/encrypted. But many firmware zips are not signed, and in that case you can't flash it unless you have s-off.
Void tracer said:
i didn't study for my finals thinking the device got bricked please help me out this is the second day ...
Click to expand...
Click to collapse
You can erase the notion in your mind that this phone is ever bricked, if the screen comes on. As long as the screen comes on, this phone is virtually always recoverable. And usually not that hard, just involves knowing the correct steps.
Also one of the cardinal rules of flashing ROMs, is always have a known good nandroid backup before flashing. Having a known-good nandroid to revert to resolves a lot of "OMG I bricked the phone" moments.
redpoint73 said:
Your confusion is a bit understandable. The term "firmware" is confusing. Its true that in the past, the term "firmware" has sometimes been used interchangeably with "ROM". However in this case (and most frequently when talking about this phone), we are not talking about the ROM; but rather we are talking about a number of other modules including hboot, radio, recovery, WiFi, Bluetooth and others that actually do not get flashed with the ROM. And in fact, most of these modules can't be modified by "unofficial" means unless you have s-off.
HTC has also developed a somewhat contrived situation on their recent devices, in that while they claim to be "friendly to the mod community" by letting users unlock the bootloader and flash ROMs; they also have been in the habit of making significant updates to the firmware for every major software update (update from from Android 4.4.2 to 4.4.3, etc). And if you don't update the firmware when flashing a ROM of a higher software base, you are going to run into some major issues as you have seen (most commonly broken WiFi and extreme long boot times).
For a little more explanation on firmware vs. ROM, the following link has some good info: http://forum.xda-developers.com/showthread.php?p=52484527
You can still update the firmware with s-on by installing your version's OTA of (if available) RUU. You can also flash a firmware.zip if one has been posted for your CID that is still HTC signed/encrypted. But many firmware zips are not signed, and in that case you can't flash it unless you have s-off.
You can erase the notion in your mind that this phone is ever bricked, if the screen comes on. As long as the screen comes on, this phone is virtually always recoverable. And usually not that hard, just involves knowing the correct steps.
Also one of the cardinal rules of flashing ROMs, is always have a known good nandroid backup before flashing. Having a known-good nandroid to revert to resolves a lot of "OMG I bricked the phone" moments.
Click to expand...
Click to collapse
Thanks you big time for explaining this to me i did go to a nandroid backup of my same cid/mid and everything was good , restored using twrp i still have the wifi issue ... i tried to flash the latest OTA and it failed (after going to stock) i really don't know what to do googled everything .. do u think i should make a thread for it?
Void tracer said:
Thanks you big time for explaining this to me i did go to a nandroid backup of my same cid/mid and everything was good , restored using twrp i still have the wifi issue ... i tried to flash the latest OTA and it failed (after going to stock) i really don't know what to do googled everything .
Click to expand...
Click to collapse
You probably installed the nandroid that didn't match with your firmware, so you are going to have the same issue as with a custom ROM: Your current firmware version doesn't match the software (OS) version.
What CID, what hboot number? What nandroid did you restore?
Void tracer said:
do u think i should make a thread for it?
Click to expand...
Click to collapse
We've already been back and forth on your issue on this thread, and its relevant to this thread's topic. So NO I don't think you should make a new thread.
redpoint73 said:
You probably installed the nandroid that didn't match with your firmware, so you are going to have the same issue as with a custom ROM: Your current firmware version doesn't match the software (OS) version.
What CID, what hboot number? What nandroid did you restore?
We've already been back and forth on your issue on this thread, and its relevant to this thread's topic. So NO I don't think you should make a new thread.
Click to expand...
Click to collapse
I believe its correct here is the link to the thread : http://forum.xda-developers.com/showthread.php?t=2701376
go to nandroid backups then all other CIDS i grabbed the htc__59 here is my phone info :
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.18.0.0000
(bootloader) version-baseband: 1.19.21331147A1.09G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B11000
(bootloader) cidnum: HTC__059
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 5e4b24e4
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Void tracer said:
I believe its correct here is the link to the thread : http://forum.xda-developers.com/showthread.php?t=2701376
go to nandroid backups then all other CIDS i grabbed the htc__59
Click to expand...
Click to collapse
Yes, but which one did you use exactly? There are 3 different software numbers available for your CID on the stock nandroid thread: 1.54, 2.22 and 3.32.
redpoint73 said:
Yes, but which one did you use exactly? There are 3 different software numbers available for your CID on the stock nandroid thread: 1.54, 2.22 and 3.32.
Click to expand...
Click to collapse
newest which is 3.32
Void tracer said:
newest which is 3.32
Click to expand...
Click to collapse
Your hboot (3.18) corresponds with 2.22, you want to restore that nandroid.
The 3.32 nandroid doesn't match with your 2.22 firmware. That is why WiFi is still broken.
redpoint73 said:
Your hboot (3.18) corresponds with 2.22, you want to restore that nandroid.
The 3.32 nandroid doesn't match with your 2.22 firmware. That is why WiFi is still broken.
Click to expand...
Click to collapse
so i download 2.2 and i am good to go?
Void tracer said:
so i download 2.2 and i am good to go?
Click to expand...
Click to collapse
Yes, you should be.
redpoint73 said:
Yes, you should be.
Click to expand...
Click to collapse
Hey man just installed it everything works TY big time , but umm now i want to update to the maximushd rom and i have to update as i understood to match the android version of the rom itself , i am s-on and unlocked, now i have to re-lock to flash it ? and then unlock again to flash the rom??
Void tracer said:
Hey man just installed it everything works TY big time , but umm now i want to update to the maximushd rom and i have to update as i understood to match the android version of the rom itself , i am s-on and unlocked, now i have to re-lock to flash it ? and then unlock again to flash the rom??
Click to expand...
Click to collapse
What you want to do now, is apply any available OTA updates available for your CID. You will need to update to 3.x software (Android 4.4.4) than to 4.x (Android 5.0, Lollipop). Do you know if Lollipop has been rolled out for your version?
The OTA will also update your firmware (not just the ROM). Then once you are on Lollipop firmware, you will be able to run any custom Lollipop ROMs.
You do not need to relock the bootloader to install the OTA. And I do not recommend you do so (its better unlocked).
Reason for that, once you are OTA updated to Lollipop, you can then re-install custom recovery (you need an unlocked bootloader for that) then you can install a custom ROM (such as MaximumHD as you asked).

HTC M8 Android 6.0 rooting

Hi
I need to root my HTC M8 for a Project (using in a car as multimedia Device).
Unfortunately i already updated OTA to android version 6
I've tried Tools like rootking => not working!
How i can easily root my device? I'm not really an expert but i have some small basic know how..
Many thanks in advance for any hint
Kind regards
Andy
Kingroot should work, although there have been some mixed results.
Otherwise, you will need to unlock the bootloader by HTCDev.com, install TWRP 3.0, then in flash SuperSU 2.65 in TWRP to get root.
redpoint73 said:
Kingroot should work, although there have been some mixed results.
Otherwise, you will need to unlock the bootloader by HTCDev.com, install TWRP 3.0, then in flash SuperSU 2.65 in TWRP to get root.
Click to expand...
Click to collapse
Are there any good sites you can link me to? I want to root my m8 on 6.0 as well and King root didn't work for me. I have never rooted a phone before and there are so many sites out there that I don't even know where to start. Any help will be appreciated!
Ap3xGam3r said:
Are there any good sites you can link me to? I want to root my m8 on 6.0 as well and King root didn't work for me. I have never rooted a phone before and there are so many sites out there that I don't even know where to start.
Click to expand...
Click to collapse
The only website you need is XDA. It can be intimidating to navigate at first, like trying to sip out of a firehouse. But given a bit of time and patience, you'll find that XDA is a wealth of information, and a great community to boot. Other "root" websites are often poorly organized, outdated (both of which can lead to problems) and almost always just steal content (methods, downloads, etc.) from the devs here on XDA, while giving little or no credit. So you may as well get it here from the source.
Vomer's guide explains what to do: http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
While a bit outdated, Sections 0 and 1 are still applicable. The only thing that I am aware of, that you should watch out for, is to use current version TWRP 3.0 from here: https://dl.twrp.me/m8/
Don't follow sections 2, etc. as they are no longer accurate (but no needed for root).
redpoint73 said:
like trying to sip out of a firehouse.
Click to expand...
Click to collapse
That made me laugh! :laugh:
redpoint73 said:
The only website you need is XDA. It can be intimidating to navigate at first, like trying to sip out of a firehouse. But given a bit of time and patience, you'll find that XDA is a wealth of information, and a great community to boot. Other "root" websites are often poorly organized, outdated (both of which can lead to problems) and almost always just steal content (methods, downloads, etc.) from the devs here on XDA, while giving little or no credit. So you may as well get it here from the source.
Vomer's guide explains what to do: http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
While a bit outdated, Sections 0 and 1 are still applicable. The only thing that I am aware of, that you should watch out for, is to use current version TWRP 3.0 from here: https://dl.twrp.me/m8/
Don't follow sections 2, etc. as they are no longer accurate (but no needed for root).
Click to expand...
Click to collapse
I second this. XDA is tough to navigate at first, but once you realize what to search, which forums to be in, and READ through the pages. you will find what you need
redpoint73 said:
Kingroot should work, although there have been some mixed results.
Click to expand...
Click to collapse
Sorry to bother you again, but I just realized after I used kingroot (which failed), it changed my software status in the bootloader to "software status: modified", but the bootloader is still locked. Will this prevent me from installing future OTA updates? I'm scared I just ruined my phone...
Ap3xGam3r said:
Sorry to bother you again, but I just realized after I used kingroot (which failed), it changed my software status in the bootloader to "software status: modified", but the bootloader is still locked. Will this prevent me from installing future OTA updates? I'm scared I just ruined my phone...
Click to expand...
Click to collapse
No worries, m8 is done with OTA's, you probably will never again recieve OTA. Just go and unlock the bootloader via htcdev, flash twrp and supersu via twrp.
Follow this guide video https://www.youtube.com/watch?v=rEVSfwXsx-c
You'll wipe your internal storage w/ bootloader unlock.
Imotep95 said:
No worries, m8 is done with OTA's, you probably will never again recieve OTA. Just go and unlock the bootloader via htcdev, flash twrp and supersu via twrp.
Click to expand...
Click to collapse
Alright! Thanks for the info, much appreciated my friend One more question: How should I backup my phone before unlocking the bootloader to ensure all my app data, contacts, etc. are saved and ready to be restored after? Thanks again! I'm very new to this type of stuff as you can tell
Ap3xGam3r said:
Alright! Thanks for the info, much appreciated my friend One more question: How should I backup my phone before unlocking the bootloader to ensure all my app data, contacts, etc. are saved and ready to be restored after? Thanks again! I'm very new to this type of stuff as you can tell
Click to expand...
Click to collapse
Go with google backup. [emoji106]
Sent from my Sensation using Tapatalk
Ap3xGam3r said:
: How should I backup my phone before unlocking the bootloader to ensure all my app data, contacts, etc. are saved and ready to be restored after?
Click to expand...
Click to collapse
Lots of different methods for backing up various things, depending on one's personal preferences and needs. But just a few suggestions:
1) As previously suggested, backup contacts using Google/Gmail account (which is normally activated by default - but good to check that its activated).
2) Backup photos and other files to computer (just copy/paste to a folder on the computer).
3) Backup photos and files to cloud (Google Photos, Dropbox, etc.) - although the amount of files may exceed the "free" storage on some of these services.
4) App data (and a lot of other things) can be backed up with Helium app from the Play Store. I haven't used it personally, but others on XDA have suggested it. Helium is touted as a comprehensive backup app, that doesn't require root, and developed by the Clockworkmod team. I tend to use Titanium Backup (which requires root) for app data, as I don't keep my Android devices unrooted for long after buying them!
Imotep95 said:
Go with google backup. [emoji106]
Sent from my Sensation using Tapatalk
Click to expand...
Click to collapse
hey guys, I succesfully rooted and flashed twrp and supersu, but now my problem is that everything was working fine, and then suddenly my vibrate stopped working.....I factory reset my phone and it still isn't working? What is going on??
Ap3xGam3r said:
hey guys, I succesfully rooted and flashed twrp and supersu, but now my problem is that everything was working fine, and then suddenly my vibrate stopped working.....I factory reset my phone and it still isn't working? What is going on??
Click to expand...
Click to collapse
That is super weird.. In worst case scenario, your vibration motor died, but it has nothing to do with twrp/root..
Post your " fastboot getvar all " results without imei and serial number, so we can see what's going on and/if ruu is available.
Imotep95 said:
That is super weird.. In worst case scenario, your vibration motor died, but it has nothing to do with twrp/root..
Post your " fastboot getvar all " results without imei and serial number, so we can see what's going on and/if ruu is available.
Click to expand...
Click to collapse
version: 0.5
version-bootloader: 3.19.0.0000
version-baseband: 1.29.214500021.11G
version-cpld: None
version-microp: None
version-main: 6.13.631.7
version-misc: PVT SHIP S-ON
imei2: Not Support
meid: 00000000000000
product: m8_ul
platform: hTCBmsm8974
modelid: 0P6B16000
cidnum: ROGER001
battery-status: good
battery-voltage: 0mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: 76df2b54
hbootpreupdate: 11
gencheckpt: 0
Ap3xGam3r said:
version: 0.5
version-bootloader: 3.19.0.0000
version-baseband: 1.29.214500021.11G
version-cpld: None
version-microp: None
version-main: 6.13.631.7
version-misc: PVT SHIP S-ON
imei2: Not Support
meid: 00000000000000
product: m8_ul
platform: hTCBmsm8974
modelid: 0P6B16000
cidnum: ROGER001
battery-status: good
battery-voltage: 0mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: 76df2b54
hbootpreupdate: 11
gencheckpt: 0
Click to expand...
Click to collapse
Okay, you have S-ON...
First, make a nandroid backup in twrp and rename(optional) or add root just so u know it's rooted backup in internal or microsd or usb otg, then follow this thread to restore 100% stock non-rooted nandroid.
Download this nandroid: https://mega.nz/#!PRJRSBSY!BTmbWAqFZo2ncP1vmjTbPZnLZS0JvKcQKx-7BcWaFEE and follow guide here: http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
I used this method many times since i have also s-on One_M8.
Make sure that you have latest twrp 3.0.2.0.
Imotep95 said:
Okay, you have S-ON...
First, make a nandroid backup in twrp and rename(optional) or add root just so u know it's rooted backup in internal or microsd or usb otg, then follow this thread to restore 100% stock non-rooted nandroid.
Download this nandroid: https://mega.nz/#!PRJRSBSY!BTmbWAqFZo2ncP1vmjTbPZnLZS0JvKcQKx-7BcWaFEE and follow guide here: http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
I used this method many times since i have also s-on One_M8.
Make sure that you have latest twrp 3.0.2.0.
Click to expand...
Click to collapse
Do you think that flashing a custom rom may help as well?
Ap3xGam3r said:
Do you think that flashing a custom rom may help as well?
Click to expand...
Click to collapse
You may try before going to stock, yea. Just make sure you have twrp backup just in case tho. The fastest way is to flash CM13 and pico gapps or you can try sense based roms. :good:
Imotep95 said:
You may try before going to stock, yea. Just make sure you have twrp backup just in case tho. The fastest way is to flash CM13 and pico gapps or you can try sense based roms. :good:
Click to expand...
Click to collapse
Ok, thanks for the info. I guess if worst comes to worst I'll have to go get my phone repaired D: It seems like this is a common htc on m8 problem even without root.
Ap3xGam3r said:
Ok, thanks for the info. I guess if worst comes to worst I'll have to go get my phone repaired D: It seems like this is a common htc on m8 problem even without root.
Click to expand...
Click to collapse
I've seen few people with that issue, let me know how it goes w/ custom stuff. [emoji106]
Sent from my HTC One M8 using Tapatalk
Imotep95 said:
I've seen few people with that issue, let me know how it goes w/ custom stuff. [emoji106]
Sent from my HTC One M8 using Tapatalk
Click to expand...
Click to collapse
Ok so I am about to try to flash cm13 and pico gapps but I some questions: I read that you should wipe your system before flashing any rom; does this wipe my sd card too? and if I wanted to do a restore using the TWRP backup that I created, would I have to wipe before doing so as well? And last question: how do I know which pico gapps to install? Thanks and sorry if I am beginning to be annoying

No SIM Detected Suddenly

I know this is a common issue for the HTC One M8, but my phone stopped recognising any SIM card all of a sudden. It happened right after the battery got discharged fully (sudden power off), though I'm not ruling out the possibility that recent drops might have contributed to this.
I already tried the scotch tape solution to no avail as well as wiping cache and dalvik and rebooting a bunch of times with, without, and with other SIM cards in.
I'm running this Google Play Edition flashable ROM with the corresponding firmware, unrooted and s-on.
Should I go straight to re-flashing the same firmware and ROM? Is there anything I could attempt before having everything wiped?
One weird note that I've also noticed in another post: if I go to "phone info" the IMEI and phone number show as "unknown", but I can see them with fastboot getvar all. Also in "phone info", the "TURN OFF RADIO" button doesn't seem to be doing anything when pressed. Any alternative way to do it?
Thank you! :fingers-crossed:
AlexanderGrey said:
I'm running this Google Play Edition flashable ROM with the corresponding firmware, unrooted and s-on.
Should I go straight to re-flashing the same firmware and ROM? Is there anything I could attempt before having everything wiped?
Click to expand...
Click to collapse
The RUU provided in the GPE thread you linked, would be my suggestion. Should be same (or similar) to flashing the ROM and firmware. But with the RUU, you are sure to have all partitions (around 40) returned to "factory stock" (at least for GPE version) condition.
You might also try another RUU (return to Sense) or another ROM. But in any case, you should backup your data and prepared to fully wipe. Trying to migrate data across ROMs is only going to complicate matters, and you will never be sure that the SIM issue is due to the some incompatibility with your existing user data.
redpoint73 said:
The RUU provided in the GPE thread you linked, would be my suggestion. Should be same (or similar) to flashing the ROM and firmware. But with the RUU, you are sure to have all partitions (around 40) returned to "factory stock" (at least for GPE version) condition.
You might also try another RUU (return to Sense) or another ROM. But in any case, you should backup your data and prepared to fully wipe. Trying to migrate data across ROMs is only going to complicate matters, and you will never be sure that the SIM issue is due to the some incompatibility with your existing user data.
Click to expand...
Click to collapse
Thanks for the quick reply.
I haven't gone the GPe RUU route as that would require s-off, which I'm not planning to get. I forgot to mention I've been using this ROM & firmware for over 2 months without any issues.
I'm not very familiar with the topic of backup - although I've flashed ROMs in the past I've always done a clean install. Could you please elaborate? Would I be able to save installed apps with a backup via TWRP? Or would you advise against that?
AlexanderGrey said:
I haven't gone the GPe RUU route as that would require s-off, which I'm not planning to get. I forgot to mention I've been using this ROM & firmware for over 2 months without any issues.
Click to expand...
Click to collapse
You wouldn't have been able to flash the GPE firmware s-on, unless it is a signed zip and you have an actual GPE version M8 (correct CID and MID). The requirements for flashing the firmware are same as the RUU.
Please do fastboot getvar all, and post the results (delete IMEI and serial number before posting) so we can see more info about the device.
AlexanderGrey said:
I'm not very familiar with the topic of backup - although I've flashed ROMs in the past I've always done a clean install. Could you please elaborate? Would I be able to save installed apps with a backup via TWRP? Or would you advise against that?
Click to expand...
Click to collapse
There are lots of ways to backup data, each with their pros and cons. So how you do it is up to you.
A TWRP backup of app data is only going to work if you are just restoring the same ROM. So if you are flashing the RUU/ROM same as you have now, then it will work.
But if you try another ROM, it's usually not a good idea to try to "migrate" app data using TWRP. Different ROMs store their app data in different ways, and trying to migrate the data across different ROMs via TWRP backup is asking for trouble. In those cases, I use Titanium Backup for apps and app data (requires root). There are other options, but Titanium is tried and true (for most) and it is what I personally use.
Other data, like photos, videos you took, and any other media you want to keep (music, ringtones, porn) you can just copy to a computer, SD card, cloud solutions etc. Again, there are lots of options.
redpoint73 said:
You wouldn't have been able to flash the GPE firmware s-on, unless it is a signed zip and you have an actual GPE version M8 (correct CID and MID). The requirements for flashing the firmware are same as the RUU.
Please do fastboot getvar all, and post the results (delete IMEI and serial number before posting) so we can see more info about the device.
There are lots of ways to backup data, each with their pros and cons. So how you do it is up to you.
A TWRP backup of app data is only going to work if you are just restoring the same ROM. So if you are flashing the RUU/ROM same as you have now, then it will work.
But if you try another ROM, it's usually not a good idea to try to "migrate" app data using TWRP. Different ROMs store their app data in different ways, and trying to migrate the data across different ROMs via TWRP backup is asking for trouble. In those cases, I use Titanium Backup for apps and app data (requires root). There are other options, but Titanium is tried and true (for most) and it is what I personally use.
Other data, like photos, videos you took, and any other media you want to keep (music, ringtones, porn) you can just copy to a computer, SD card, cloud solutions etc. Again, there are lots of options.
Click to expand...
Click to collapse
Thanks for the info on backing up, I should have been more specific though. I've used Titanium Backup in the past a little bit, but recently I've opted to keep my phone unrooted mostly for some banking apps I use. Backing up with TWRP sounds good to me as I'd like to keep the same ROM (ideally) and would not want to go through reinstalling everything.
My phone is not a GPE version however the ROM I currently use is compatible with all M8 versions (except dual-sim) and with s-on. Here's the info:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: ********
(bootloader) imei: ********
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__002
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
AlexanderGrey said:
My phone is not a GPE version however the ROM I currently use is compatible with all M8 versions (except dual-sim) and with s-on. Here's the info:
(bootloader) version-main: 6.12.401.4
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__002
Click to expand...
Click to collapse
The GPE firmware never flashed (maybe you flashed it, and it failed to install). Otherwise, the version-main number would have changed to a GPE version number (5.07.1700.15 as noted in the firmwares you linked). And as mentioned, it isn't possible to flash GPE firmware while s-on (firmware for a different CID, MID).
Now, none of this explains your SIM issue. Maybe start by simply "dirty" flashing the GPE ROM (keep user data, just wipe cache and Dalvik) and see if there is any change.
redpoint73 said:
The GPE firmware never flashed (maybe you flashed it, and it failed to install). Otherwise, the version-main number would have changed to a GPE version number (5.07.1700.15 as noted in the firmwares you linked). And as mentioned, it isn't possible to flash GPE firmware while s-on (firmware for a different CID, MID).
Now, none of this explains your SIM issue. Maybe start by simply "dirty" flashing the GPE ROM (keep user data, just wipe cache and Dalvik) and see if there is any change.
Click to expand...
Click to collapse
Hmm you're right, my memory is playing tricks on me. I remember flashing a new firmware however, because I was having issues with the wi-fi and bluetooth before it. After some searching I think I used this one, am I right?
I'll try a quick firmware flash as you indicated, and will get back with the results a bit later. Thanks!
AlexanderGrey said:
Hmm you're right, my memory is playing tricks on me. I remember flashing a new firmware however, because I was having issues with the wi-fi and bluetooth before it. After some searching I think I used this one, am I right?
Click to expand...
Click to collapse
That would be my guess, yes.
AlexanderGrey said:
I'll try a quick firmware flash as you indicated, and will get back with the results a bit later. Thanks!
Click to expand...
Click to collapse
Flashing firmware requires you to relock the bootloader (since you are s-on) which will wipe your data.
As I mentioned in my last response, you might try to just "dirty flash" the GPE ROM (keep the current firmware) just to see what happens, before taking any measure which cause your data to be wiped.
I would still recommend to backup your data before even a dirty flash - you can't be too safe!
AlexanderGrey said:
Hmm you're right, my memory is playing tricks on me. I remember flashing a new firmware however, because I was having issues with the wi-fi and bluetooth before it. After some searching I think I used this one, am I right?
I'll try a quick firmware flash as you indicated, and will get back with the results a bit later. Thanks!
Click to expand...
Click to collapse
Unfortunately, no visible change . Still no SIM detected.
redpoint73 said:
That would be my guess, yes.
Flashing firmware requires you to relock the bootloader (since you are s-on) which will wipe your data.
As I mentioned in my last response, you might try to just "dirty flash" the GPE ROM (keep the current firmware) just to see what happens, before taking any measure which cause your data to be wiped.
I would still recommend to backup your data before even a dirty flash - you can't be too safe!
Click to expand...
Click to collapse
Sorry, I meant re-flashing the ROM. That's what I did so far.
AlexanderGrey said:
Sorry, I meant re-flashing the ROM. That's what I did so far.
Click to expand...
Click to collapse
You may consider flashing the Euro RUU 6.12.401.4 form here: https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
This will put your phone on a fully stock software/firmware "baseline" (for your phone's original configuration). If the SIM problem persists after that, I would have to think it was a hardware issue.
RUU as you know, will wipe the phone. So backup your data accordingly, before relocking the bootloader and running the RUU.
redpoint73 said:
You may consider flashing the Euro RUU 6.12.401.4 form here: https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
This will put your phone on a fully stock software/firmware "baseline" (for your phone's original configuration). If the SIM problem persists after that, I would have to think it was a hardware issue.
RUU as you know, will wipe the phone. So backup your data accordingly, before relocking the bootloader and running the RUU.
Click to expand...
Click to collapse
Thanks redpoint, that's the same one I have installed currently, right?
I guess ultimately I'll have to bite the bullet and try it if I want to figure out if it's a software or hardware issue.
AlexanderGrey said:
Thanks redpoint, that's the same one I have installed currently, right?
Click to expand...
Click to collapse
Same version number as the currently installed firmware. But what you flashed before is just firmware (about 80 MB) which includes hboot, radio, recovery, boot.img, and several others (maybe about 10 partitions?). The RUU (about 1.5 GB) will restore a complete factory image (every partition - about 40 of them).
redpoint73 said:
Same version number as the currently installed firmware. But what you flashed before is just firmware (about 80 MB) which includes hboot, radio, recovery, boot.img, and several others (maybe about 10 partitions?). The RUU (about 1.5 GB) will restore a complete factory image (every partition - about 40 of them).
Click to expand...
Click to collapse
Ah I understand now, I was not aware of that previously.
I was also planning to replace my battery so I might just do that first and have a look if anything looks unusual around the SIM card tray.
Thanks for all the help, I'll come back with a conclusion after a day or two when I get the chance .
redpoint73 said:
Same version number as the currently installed firmware. But what you flashed before is just firmware (about 80 MB) which includes hboot, radio, recovery, boot.img, and several others (maybe about 10 partitions?). The RUU (about 1.5 GB) will restore a complete factory image (every partition - about 40 of them).
Click to expand...
Click to collapse
Update: after replacing the battery I flashed the RUU and the same ROM back on.
Good news is the SIM card works now . I'm just a bit concerned about this happening again. Since you've seen quite a few cases on this forum I wanted to ask: do you think this is a common issue with that particular ROM?
I searched for SIM card issues in the thread of that ROM but the only legit ones I saw were the cases where people only installed the ROM without updating the firmware (so their wifi and bluetooth was not working either).
Cheers.
AlexanderGrey said:
Good news is the SIM card works now . I'm just a bit concerned about this happening again. Since you've seen quite a few cases on this forum I wanted to ask: do you think this is a common issue with that particular ROM?
Click to expand...
Click to collapse
Nothing that I am aware of. Running GPE ROM with Sense firmware might not be ideal. But I don't recall seeing any similar cases (no SIM).

Installing the original OS with SD card or autoload

Dear friendly xda-developer people,
my HTC One M8 went out because of an empty battery. When I restarted, it only boots the bootloader. The security mode isn't working as well. I tried all I could think of and now I just want to install the original OS on the phone in hope that it will work again.
When I boot up the phone it says it is "OS-6.12.161.4". I am from Germany and I guess it is a vodafone branded HTC. So I do not find the right software on the official US website. I tried to google a different version and all I could find was a software to which the phone anwsers when I try to install the .zip via SD-card "Image Update Fail! Device halted due to Large Image update fail!"
I will post the complete screen of the boot below.
Any ideas what I could do? I tried to update it via PC, that didn't work as well. I think I need the right software and the one I found might just be the wrong one. I also tried to unlock it, but relocked it because I read, that I can not install the original software if it is unlocked.
If I can not install the original os: Is it possible to install something else that just works like the original OS? I can not use Google Products than?
I am really thankful for any advice.
Greetings
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What is the background of this device? Did it have a stock "official" HTC ROM on there when you had the "no OS" issue? Was it ever bootloader unlocked before you unlocked it to try to solve this problem?
Best for us to see more details about the phone. Do fastboot getvar all, and post the results (delete IMEI and serial number before posting).
ghostmag said:
I tried to google a different version and all I could find was a software to which the phone anwsers when I try to install the .zip via SD-card "Image Update Fail! Device halted due to Large Image update fail!"
I tried to update it via PC, that didn't work as well. I think I need the right software and the one I found might just be the wrong one.
Click to expand...
Click to collapse
You absolutely need to use an RUU (ROM Update Utility) that is intended for your M8 version's (Vodaphone) carrier ID (CID) as well as the version number 6.12.161.4. Another version number means it is made for a different CID, and will fail by definition. HTC phones are quite strict about version number checking.
In your case, I don't think that there exists an RUU for the Vodaphone version. But you can install the stock OS by other means (see below).
ghostmag said:
If I can not install the original os: Is it possible to install something else that just works like the original OS?
Click to expand...
Click to collapse
While your Vodaphone version M8 doesn't have an RUU, there is another way to get back to the stock ROM. You can unlock the bootloader again, than install TWRP and a stock TWRP backup from the collection.
https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Only need to do through Step 9, then reboot and it should boot to the OS. The remaining steps were only for getting official OTA updates (which is no longer relevant).
ghostmag said:
I can not use Google Products than?
Click to expand...
Click to collapse
I think you mean a ROM straight from Google? Google doesn't make complete ROMs for any device, except for Pixel devices (and the old Nexus devices). For any other device manufacturer, at least some part of the ROM needs to be customized for the specific hardware configuration. But you do have some options, if you want a ROM that is more lightweight then the HTC Sense interface:
Even though we don't have a "pure" Google ROM; what we do have for the M8, is something called the Google Play Edition (GPe). Which even though made by HTC, is designed to feel like a "pure Google" ROM. Once you have the bootloader unlocked and TWRP installed, you can install this the same way as a custom ROM. Follow the part of the thread labelled "Flashable GPe ROM". You can't flash as an RUU, since you are s-on.
https://forum.xda-developers.com/showthread.php?t=2708589
Another option is Lineage custom ROM. Lineage custom ROM is somewhat similar to a Google OS. Although at this point, it does have enough modifications, that I can't really consider it a "pure Google" experience. But it is much more lightweight than a Sense ROM. Very similar to installing the GPe ROM, once you have the bootloader unlocked, install TWRP and flash the ROM.
redpoint73 said:
What is the background of this device? Did it have a stock "official" HTC ROM on there when you had the "no OS" issue? Was it ever bootloader unlocked before you unlocked it to try to solve this problem?
Best for us to see more details about the phone. Do fastboot getvar all, and post the results (delete IMEI and serial number before posting).
You absolutely need to use an RUU (ROM Update Utility) that is intended for your M8 version's (Vodaphone) carrier ID (CID) as well as the version number 6.12.161.4. Another version number means it is made for a different CID, and will fail by definition. HTC phones are quite strict about version number checking.
In your case, I don't think that there exists an RUU for the Vodaphone version. But you can install the stock OS by other means (see below).
While your Vodaphone version M8 doesn't have an RUU, there is another way to get back to the stock ROM. You can unlock the bootloader again, than install TWRP and a stock TWRP backup from the collection.
https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Only need to do through Step 9, then reboot and it should boot to the OS. The remaining steps were only for getting official OTA updates (which is no longer relevant).
I think you mean a ROM straight from Google? Google doesn't make complete ROMs for any device, except for Pixel devices (and the old Nexus devices). For any other device manufacturer, at least some part of the ROM needs to be customized for the specific hardware configuration. But you do have some options, if you want a ROM that is more lightweight then the HTC Sense interface:
Even though we don't have a "pure" Google ROM; what we do have for the M8, is something called the Google Play Edition (GPe). Which even though made by HTC, is designed to feel like a "pure Google" ROM. Once you have the bootloader unlocked and TWRP installed, you can install this the same way as a custom ROM. Follow the part of the thread labelled "Flashable GPe ROM". You can't flash as an RUU, since you are s-on.
https://forum.xda-developers.com/showthread.php?t=2708589
Another option is Lineage custom ROM. Lineage custom ROM is somewhat similar to a Google OS. Although at this point, it does have enough modifications, that I can't really consider it a "pure Google" experience. But it is much more lightweight than a Sense ROM. Very similar to installing the GPe ROM, once you have the bootloader unlocked, install TWRP and flash the ROM.
Click to expand...
Click to collapse
First of all: Thank you very very much for your time and effort answering me. I highly appreciate that.
I will try to deliver fastboot getvar-data as soon as I am able to get back to a Windows or Ubuntu PC.
I now was able to install a TWRP backup. Your link is very helpful.
Sadly, my sound isn't working anymore now. I guess every 20 reboots or so it does work, but I can not replicate that.
Also I can not make videos and can not record audio. I then tried to install Cynagenmod which had the same problem and then I tried Lineage OS which had the same problem as well.
Do you have an idea what I can do to fix that? I read about upgrading radio, but that sounds like an easy-to-brick-my-phone way.
In case that helps: Background of the phone is just stock "official" HTC ROM as far as I know.
Since I was able to install other OS, the part of the screenshot above where you can read "OS-6.12.161.4" is just "OS" and nothing else anymore.
Regarding the topic that I wanted the original firmware: I thought Gapps are only available on official firmware. Since I know that a custom OS can run them as well, I do not care about the OS. I thought LineageOS and Cynagenmod were both lovely and would try out everything that does the job.
Any idea how it is possible that the sound / recording videos and sound don't work with three different OS?
Greetings
My responses below in red font:
ghostmag said:
Sadly, my sound isn't working anymore now. I guess every 20 reboots or so it does work, but I can not replicate that.
Also I can not make videos and can not record audio. I then tried to install Cynagenmod which had the same problem and then I tried Lineage OS which had the same problem as well.
Might be a firmware issue. When I say "firmware", I am referring to a specific package (usually a file named firmware.zip) that contains certain partitions necessary for the ROM to work (radio, hboot, recovery, and others), but does actually not contain the ROM itself. On that note, it is probably best for you to stop thinking of the term "firmware" as interchangeable with the ROM. If you mean ROM, just say ROM. No need to call it something else, and doing so will just cause confusion. It is best to use specific terms (stock ROM, RUU, stock TWRP backup, etc.).
Random sound or video issues can sometimes be a result of old/damaged firmware. It is probably useful to flash the firmware (more on this below).
Do you have an idea what I can do to fix that? I read about upgrading radio, but that sounds like an easy-to-brick-my-phone way.
You can't flash a radio (alone) with s-on. And not worth getting s-off ($25 US by sunshine app) just to flash a radio. What you can do, is flash the whole firmware zip, and see if that helps. But I'd like to get the full getvar output, to make sure which firmware is the correct one for your version M8. As you mentioned, flashing the wrong radio can be catastrophic.
In case that helps: Background of the phone is just stock "official" HTC ROM as far as I know.
Since I was able to install other OS, the part of the screenshot above where you can read "OS-6.12.161.4" is just "OS" and nothing else anymore.
What version TWRP did you install? If you followed the guide closely, you should have used TWRP 2.8.7 or later. No number being shown for OS version is sometimes a result of flashing Lineage (known bug), or an old version of TWRP.
Click to expand...
Click to collapse
redpoint73 said:
My responses below in red font:
Click to expand...
Click to collapse
I got the getvar all reaction now:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: VODAP102
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Click to expand...
Click to collapse
The first time I tried working with TWRP I installed an older version - sadly don't remember which one. I installed a version of Cynagenmod with it. Then I accidentally crashed TWRP somehow so I had to install it again so I am using 3.3.0-0 right now because I thought it's best to install the newest version I could find.
Should I try again installing a different version of TWRP?
Sidenote: I now have the problem that WLAN doesn't work a lot of times. I need to reboot around 5 times so WLAN works. I guess that is another issue because of the mistakes I made while installing different OS.
Thanks again for your time.
ghostmag said:
The first time I tried working with TWRP I installed an older version - sadly don't remember which one. I installed a version of Cynagenmod with it. Then I accidentally crashed TWRP somehow so I had to install it again so I am using 3.3.0-0 right now because I thought it's best to install the newest version I could find.
Should I try again installing a different version of TWRP?
Click to expand...
Click to collapse
TWRP 3.3.0-0 should be okay. I agree, using the latest version is typically the best thing to do.
What I would try, is the following. Note that you will lose all data on the phone when you do this, so plan accordingly, if there is any data on the phone you want to keep (backup to cloud, computer, etc.):
1) Flash the firmware fw_6.12.161.4 from here (instruction on how to flash firmware, near the bottom of the post): https://forum.xda-developers.com/showpost.php?p=60218734&postcount=5
2) After flashing firmware, you will need to unlock the bootloader again. Either use the same unlock bin code you used before (flash with fastboot command). Or go through the process on HTVDev.com, to get a new code.
3) Flash TWRP back to the device (flashing stock firmware wipes TWRP, so you need to put it on there again).
4) Restore stock TWRP backup 6.12.161.4, using TWRP. https://forum.xda-developers.com/showpost.php?p=60211240&postcount=3
Not sure if this will solve your problems, but I'm hoping it will. This process will put a stock ROM and corresponding firmware on the device (a clean slate, as it were).
redpoint73 said:
TWRP 3.3.0-0 should be okay. I agree, using the latest version is typically the best thing to do.
What I would try, is the following. Note that you will lose all data on the phone when you do this, so plan accordingly, if there is any data on the phone you want to keep (backup to cloud, computer, etc.):
1) Flash the firmware fw_6.12.161.4 from here (instruction on how to flash firmware, near the bottom of the post): https://forum.xda-developers.com/showpost.php?p=60218734&postcount=5
2) After flashing firmware, you will need to unlock the bootloader again. Either use the same unlock bin code you used before (flash with fastboot command). Or go through the process on HTVDev.com, to get a new code.
3) Flash TWRP back to the device (flashing stock firmware wipes TWRP, so you need to put it on there again).
4) Restore stock TWRP backup 6.12.161.4, using TWRP. https://forum.xda-developers.com/showpost.php?p=60211240&postcount=3
Not sure if this will solve your problems, but I'm hoping it will. This process will put a stock ROM and corresponding firmware on the device (a clean slate, as it were).
Click to expand...
Click to collapse
Dear friend,
I followed your guide and right now I am at step 3)
While looking for the newstest TWRP.img-file the phone is booting Android and is installing Apps right now. I even heard at startup sound. Is it possible, that I won't need the following steps and it just got the stock firmware from my last install?
ghostmag said:
I followed your guide and right now I am at step 3)
While looking for the newstest TWRP.img-file the phone is booting Android and is installing Apps right now. I even heard at startup sound. Is it possible, that I won't need the following steps and it just got the stock firmware from my last install?
Click to expand...
Click to collapse
Yes, it is possible you don't need to do anything further.
As I warned before, be careful about using the term "firmware". It seems you are using it synonymously with "ROM" again. If you accomplished Step 1 (as designated in my last response) you flashed the stock firmware. The stock ROM should still be there from the TWRP backup you restored previously. Nothing you have done so far, would have overwritten the stock ROM that you restored, so it is still there.
You previously restored the proper number 6.12.161.4 stock TWRP backup?
redpoint73 said:
Yes, it is possible you don't need to do anything further.
As I warned before, be careful about using the term "firmware". It seems you are using it synonymously with "ROM" again. If you accomplished Step 1 (as designated in my last response) you flashed the stock firmware. The stock ROM should still be there from the TWRP backup you restored previously. Nothing you have done so far, would have overwritten the stock ROM that you restored, so it is still there.
You previously restored the proper number 6.12.161.4 stock TWRP backup?
Click to expand...
Click to collapse
Yes, I did and it all works fine now. Even the battery is much better than before.
Thank you very very much for your time and help. If you ever come to Germany, let me know and I will buy you a drink or something
Kind regards and have a good life
ghostmag

HTC One M8 stuck at HTC logo screen

Hi,
First of all, this was supposed to be my first flash. So I am very new and confused. (I get that you probably have loads of those... I am sorry)
I got a HTC One M8 that was already rooted and S-OFF, had SuperCID and everything. And I hate the 4.4.4 Android, plus no OTA updates are available to me (when I tried to check, it gets stuck). So I wanted to flash in a LineageOS 16.0. I unlocked the bootloader, got TWRP 2.8.7.0, pasted the Lineage 16.0 ZIP file, and wanted to flash it. But, I got an error "Error executing updater binary in zip [zip filename]", and so I went to check the instructions to install.
https://forum.xda-developers.com/htc-one-m8/development/rom-lineageos-16-0-htc-one-m8-t3837538
Here it says this:
- Reboot to recovery (TWRP by @Captain_Throwback) - Direct link
- Wipe /system, /data and /cache
- Install LineageOS zip package
and I did that to see if it changes anything, Nope, it didn't. I tried to reboot the phone to get it fixed (someone in another thread suggested getting an md5 file for it).
And after the reboot I am stuck on HTC logo screen, can't shut it down at all. I can't use ADB because it doesn't see the device, so I can't getvar all. I do remember that my version-bootloader was 3.19.0.0000, but that's all.
I am not asking for a full guide on what to do, because it's probably impossible, but can anyone at least tell me how to proceed next? I'd love to turn off the phone and at least try to do something with TWRP. (I didn't have a backup, yes I am an idiot)
EDIT: Holding volume up and power button to do the reset just turns off the screen for a few secs then goes to HTC logo screen again.
Okay, I waited for it to discharge so I can get to the bootloader. I will post getvar when it charges.
EDIT: here we go
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.08.20.0916
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.30.651.2
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) imei2: Not Support
(bootloader) product: m8_whl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B70000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 8a0f02ff
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
I basically just want anything to work now, even stock will be okay (but 6.0 at least)
1st edit your last post & remove your IMEI/MEID unless you want it stolen...
when you wiped /system in TWRP & your zip didn't flash, u lost your ROM
easiest way to get the phone back up & working is to flash the RUU, looks like you currently have 3.30.651.2 (very old)
here is the 3.30.651.2 exe version: https://androidfilehost.com/?fid=95784891001604379
or to update to the latest version 6.20.651.3:
http://dl3.htc.com/application/RUU_M8_WHL_M60_SENSE70_SPCS_MR_Sprint_WWE_6.20.651.3.exe
OMJ said:
1st edit your last post & remove your IMEI/MEID unless you want it stolen...
Click to expand...
Click to collapse
Yeah, I forgot, thanks for reminding.
So do I just run the .exe with my phone plugged in my PC while in bootloader? Or do you mean TWRP/adb flashing?
gr0za said:
Yeah, I forgot, thanks for reminding.
So do I just run the .exe with my phone plugged in my PC while in bootloader? Or do you mean TWRP/adb flashing?
Click to expand...
Click to collapse
yes, run exe from pc while connected to phone
OMJ said:
yes, run exe from pc while connected to phone
Click to expand...
Click to collapse
3.30.651.2 worked, 6.20.651.3 did not ( I tried it first). To be honest I'm so damn glad it works, because I ain't a Sprint user, but somehow Orange works. Got all the bloaty Google Aps that I don't give an f about, but at least it's working. Hopefully I can go to 6.20 next, I'm gonna try. BTW, will flashing GApps remove all the unnecessary Sprint apps? Or do I have to do something different with it? (I don't need neither the GApps not the Sprint apps, but this phone seems to be a Sprint one and I guess I have to deal with it)
EDIT: yeah, 6.20 doesn't work, it gives me Error 155 - Error updating ROM. I remember hitting up HTC live support once in desperation, and the guy told me I have to upgrade to Lollipop first. But where do I even find a RUU for that?
gr0za said:
3.30.651.2 worked, 6.20.651.3 did not ( I tried it first). To be honest I'm so damn glad it works, because I ain't a Sprint user, but somehow Orange works. Got all the bloaty Google Aps that I don't give an f about, but at least it's working. Hopefully I can go to 6.20 next, I'm gonna try. BTW, will flashing GApps remove all the unnecessary Sprint apps? Or do I have to do something different with it? (I don't need neither the GApps not the Sprint apps, but this phone seems to be a Sprint one and I guess I have to deal with it)
EDIT: yeah, 6.20 doesn't work, it gives me Error 155 - Error updating ROM. I remember hitting up HTC live support once in desperation, and the guy told me I have to upgrade to Lollipop first. But where do I even find a RUU for that?
Click to expand...
Click to collapse
yeah I vaguely recall the RUU checks your current version & must be a certain level, so you'll probably need to flash a 4.x.651.x RUU 1st
GApps probably only adds Google apps, I doubt it removes anything. once you get up to 6.20, you can root the phone (I recommend Magisk) then use a file explorer like Root Explorer to mount /system & then delete the bloat u dont want. You can also do this in twrp.
the other option is to flash a custom ROM that removes the bloat....my ROM removes bloat but retains pertinent Sprint apps
OMJ said:
yeah I vaguely recall the RUU checks your current version & must be a certain level, so you'll probably need to flash a 4.x.651.x RUU 1st
GApps probably only adds Google apps, I doubt it removes anything. once you get up to 6.20, you can root the phone (I recommend Magisk) then use a file explorer like Root Explorer to mount /system & then delete the bloat u dont want. You can also do this in twrp.
the other option is to flash a custom ROM that removes the bloat....my ROM removes bloat but retains pertinent Sprint apps
Click to expand...
Click to collapse
Alright, once I flashed the Sprint RUU, all of a sudden I have OTA updates. I'm getting to 6.20 now, so everything's fine.
Yeah, I will consider removing them the way you said. Also, I don't really need any Sprint apps, as I am not a Sprint client anyway, but I reckon some are better left unchecked. Much, much appreciated for the help and the links.
gr0za said:
(bootloader) version-main: 3.30.651.2
Click to expand...
Click to collapse
This was the main problem with flashing Lineage, your firmware (hboot, radio, etc.) was much too old. The current ROMs are not compatible with the old firmware. Now that you're updated to Marshmallow, I'll bet Lineage will install correctly (of course, you need to install TWRP again, etc.).
---------- Post added at 01:01 PM ---------- Previous post was at 12:59 PM ----------
gr0za said:
Holding volume up and power button to do the reset just turns off the screen for a few secs then goes to HTC logo screen again.
Click to expand...
Click to collapse
Hold vol up and power button to force a reboot. The moment the screen goes dark, signaling it is about to reboot, slide your finger from vol up, to vol down, and don't let go. This should get you into bootloader.
As long as the screen comes on, you can get into bootloader. Exception is, if your vol rocker is broken!
---------- Post added at 01:04 PM ---------- Previous post was at 01:01 PM ----------
OMJ said:
yeah I vaguely recall the RUU checks your current version & must be a certain level, so you'll probably need to flash a 4.x.651.x RUU 1st
Click to expand...
Click to collapse
Version check is okay if the RUU is same or greater version number (and skipping versions is usually okay). You can't go backwards (downgrade), is all.
There was a peculiar requirement on Marshmallow RUUs for US carrier versions of the M8. It is required to flash the appropriate Marshmallow firmware by fastboot, before the RUU would work, if coming from Lollipop or lower.
redpoint73 said:
This was the main problem with flashing Lineage, your firmware (hboot, radio, etc.) was much too old. The current ROMs are not compatible with the old firmware. Now that you're updated to Marshmallow, I'll bet Lineage will install correctly (of course, you need to install TWRP again, etc.)
Click to expand...
Click to collapse
Are you sure of this? I have a Sprint variant. And I found conflicting info whether Lineage works on Sprint or doesn't work.
gr0za said:
Are you sure of this? I have a Sprint variant. And I found conflicting info whether Lineage works on Sprint or doesn't work.
Click to expand...
Click to collapse
Not 100%, as I don't personally own the Sprint version M8. But what I can say:
1) The Lineage 16 thread says: "Builds are compatible with all M8 single SIM variants (m8ul, m8vzw and m8spr)."
Now the identifier "m8spr" isn't a correct one I've ever seen attached to the M8. But I think they mean the Sprint variant. Correct product ID would be M8_whl.
2) Instance of custom ROMs not working on M8 CDMA variants (Sprint and Verizon) are mainly due to the fact that those variants use a different Sense kernel. So mostly only applied to Sense ROMs. AOSP ROMs (in particular Lineage) which use their own kernel, work okay with the CDMA variants, far as I've seen.
3) Your firmware is so out to day, it will not work with any of the current ROMs. And when I say current, I mean any from the past several years. You should definitely update the firmware in any case, as it will cause lots of problems with custom ROMs, and no good reason to stay on the old firmware. Once firmware is updated, it is not hard to flash TWRP and try Lineage again. I think it will work, and there is certainly no harm in trying, even if it doesn't. The worst case scenario is that you flash a more updated (Marshmallow) version of the stock Sprint ROM. Which is still better than where you started with all this.
redpoint73 said:
2) Instance of custom ROMs not working on M8 CDMA variants (Sprint and Verizon) are mainly due to the fact that those variants use a different Sense kernel. So mostly only applied to Sense ROMs. AOSP ROMs (in particular Lineage) which use their own kernel, work okay with the CDMA variants, far as I've seen.
3) Your firmware is so out to day, it will not work with any of the current ROMs. And when I say current, I mean any from the past several years. You should definitely update the firmware in any case, as it will cause lots of problems with custom ROMs, and no good reason to stay on the old firmware. Once firmware is updated, it is not hard to flash TWRP and try Lineage again. I think it will work, and there is certainly no harm in trying, even if it doesn't. The worst case scenario is that you flash a more updated (Marshmallow) version of the stock Sprint ROM. Which is still better than where you started with all this.
Click to expand...
Click to collapse
I updated the firmware. I now have this:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.09.20.1112
(bootloader) version-main: 6.20.651.3
But the SIM doesn't work with Lineage anyway, just flashed in anew and tried. The old Sprint 6.0 ROM that I RUU'd has the same issue. Could it be the radio version, or the firmware? Because it used to work, with some troubles, but still.
gr0za said:
Could it be the radio version, or the firmware? Because it used to work, with some troubles, but still.
Click to expand...
Click to collapse
The radio is part of the firmware. Not sure why your SIM would have troubles with the newer radio (if that is the case).
You can try this: https://forum.xda-developers.com/htc-one-m8/general/how-to-convert-cdma-m8-sprint-vzw-gsm-t3303812
Or you can try flashing back to RUU 3.30.651.2 and see if there is any change.
redpoint73 said:
The radio is part of the firmware. Not sure why your SIM would have troubles with the newer radio (if that is the case).
You can try this: https://forum.xda-developers.com/htc-one-m8/general/how-to-convert-cdma-m8-sprint-vzw-gsm-t3303812
Or you can try flashing back to RUU 3.30.651.2 and see if there is any change.
Click to expand...
Click to collapse
Omg, how come I didn't see this thread. Thanks so much, I will try once I get back home.
I hope this thread isn't problematic, because I moved the goalpost since creating it. But I'd rather not create a thread every time I have a problem...
gr0za said:
I hope this thread isn't problematic, because I moved the goalpost since creating it. But I'd rather not create a thread every time I have a problem...
Click to expand...
Click to collapse
The problems are all related, and probably the same root cause (Sprint version, firmware, etc.). I agree it is most appropriate to keep everything to this one thread.

Categories

Resources