How to get M9 back to stock firmware? - One (M9) Q&A, Help & Troubleshooting

I just got an M9 dev edition (OPJA110) off Amazon, and it is on Android 5.0.2
Running the OTA updates gives the Status 7 error which I found means the partition was modified by a previous owner.
I do not have a 32GB microSD, so is there any way to get it back to stock without one so I can go through the process of updating to Nougat? I looked for a link for an RUU I could run through my computer to reflash it, but couldn't find one.
Thanks for any and all help!

@Aj6627
http://www.htc.com/us/support/htc-one-m9/news/
The RUU for the Dev Edition should be available here. It's a 2GB file and includes the entire RUU for the M9.

murtaza02 said:
@Aj6627
The RUU for the Dev Edition should be available here. It's a 2GB file and includes the entire RUU for the M9.
Click to expand...
Click to collapse
I downloaded and tried that, but it won't work due to "signature error" which I read is caused by encryption keys changing between firmware versions.

Aj6627 said:
I downloaded and tried that, but it won't work due to "signature error" which I read is caused by encryption keys changing between firmware versions.
Click to expand...
Click to collapse
You have android 5.0.2 right? You can't jump directly to the latest os version, you need to get the ruu for 5.1 then 6 and then you should use the OTA update to get 7.0
Sent from my HTC One (M9) using XDA Labs

XsaucerX said:
You have android 5.0.2 right? You can't jump directly to the latest os version, you need to get the ruu for 5.1 then 6 and then you should use the OTA update to get 7.0
Sent from my HTC One (M9) using XDA Labs
Click to expand...
Click to collapse
I ended up finding the RUU for 6.0 and getting it to install, and now I've been OTA updating all last night and this morning to get up to date. Thank you.
I have 3 more to go I think.

Related

Downgrade Ofiicial MM (6) to official LP(5.1) ?

Dear All,
My M9 is S-OFF and i converted it to a dev Edition from WWE when it was working on android 5 , can I downgrade to lollipop ? Is it safe ?
ShawEgypt said:
Dear All,
My M9 is S-OFF and i converted it to a dev Edition from WWE when it was working on android 5 , can I downgrade to lollipop ? Is it safe ?
Click to expand...
Click to collapse
Yes with s-off you can change your device to any version you want
You only need the correct CID and MID and a twrp backup or a RUU
Sent from my Lenovo TAB 2 A10-70F using Tapatalk
clsA said:
Yes with s-off you can change your device to any version you want
You only need the correct CID and MID and a twrp backup or a RUU
Sent from my Lenovo TAB 2 A10-70F using Tapatalk
Click to expand...
Click to collapse
I don't think simply restoring a backup is a good idea if you want to downgrade since it doesn't contain the corresponding firmware. It's never good to use a rom that is not optimsed for the installed firmware. Flashing one of Sneakyghost's firmware packs and restoring a corresponding backup should be fine, though.
Nevertheless the most recommended way would be flashing a RUU just like clsA already said.
I read in one of the threads earlier that the firmware generally is OK being the latest, even if you go back to lollipop. Maybe not always but that seems to be the case. Can't remember if sneaky ghost said it in the venom thread or where I saw it though. Problems occur running new software on old firmware. I guess.
Sent from my HTC One M9 using Tapatalk
Yes newer firmware is OK to run on older version of Android.
It's recommended not to run newer versions of Android on older firmware as it usually leads to issue's.
Sent from my HTC One M9 using Tapatalk

Can't downgrade to kitkat, error 159 in RUU.

Hi guys, i am running the latest marshmallow on my htc m8 dev edition. i tried to install 4.4.3 and 4.4.4 RUU and both gave me the same error, error 159. how can i solve this?
I downgraded from lollipop multiple times using the same RUU but now is not working.
Are you s-off?
redpoint73 said:
Are you s-off?
Click to expand...
Click to collapse
Yes, s-off, unlocked, supercid. did the same procedure many times already. Downloaded the ruu twice to see if wasn't a corrupted file and no luck.
Maybe marshmallow changed something?
I already was in marshmallow in gpe and reverted to sense lollipop to receive the OTA to marshmallow in sense version, ruu worked fine too.
Find an older hboot and get that installed. Should be able to downgrade after that is installed. That's what I figured out a while back.
Sent from my HTC One_M8 using Tapatalk
tony_5309 said:
Find an older hboot and get that installed. Should be able to downgrade after that is installed. That's what I figured out a while back.
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
I did a bigger route than this just to be sure, but worked.
Converted to GPE, and reverted the way i always did but this time using the 4.4.3 ruu. it worked fine.
tony_5309 said:
Find an older hboot and get that installed. Should be able to downgrade after that is installed.
Click to expand...
Click to collapse
That's what I was going to suggest, old firmware, than the old RUU.
The MM DevEd RUU has been finicky for some. Some folks have had to run the MM firmware before the RUU will work. So it wouldn't surprise me if similar was required to downgrade.

ruu question

Hi,
Have just got a 2nd hand m9 that I'd like to update to Nougat. It is rooted but not s-off and on lollipop custom rom. Am I right in thinking that I need to install the latest ruu for lollipop, then the same for marshmallow and then lastly for nougat before I can install a nougat ROM?
Thanks
Yes. Updates are incremental. You need to have a stock phone before you can flash ruu's. You need s-off otherwise, which is well worth the money!.
Beamed in by telepathy.
pinn___________ said:
Hi,
Have just got a 2nd hand m9 that I'd like to update to Nougat. It is rooted but not s-off and on lollipop custom rom. Am I right in thinking that I need to install the latest ruu for lollipop, then the same for marshmallow and then lastly for nougat before I can install a nougat ROM?
Thanks
Click to expand...
Click to collapse
RUUs are not incremental. However, HTC changed the encryption key between firmware 3.x and 4.x. You therefore need to flash a 3.x ruu and to install the non-encrypted OTA afterwards. Be aware that you can't change your sku without S-OFF. That means if you don't own the developer edition (sku 617) you won't be able to update to android 7 since that version is the only one that received the update, yet.
shivadow said:
Yes. Updates are incremental. You need to have a stock phone before you can flash ruu's. You need s-off otherwise, which is well worth the money!.
Beamed in by telepathy.
Click to expand...
Click to collapse
That's not correct. A RUU doesn't care whether your phone is stock or that. It reflashes every partition of your phone as long as your download mode is working.
Sent from my HTC One S using XDA Labs
Flippy498 said:
RUUs are not incremental. However, HTC changed the encryption key between firmware 3.x and 4.x. You therefore need to flash a 3.x ruu and to install the non-encrypted OTA afterwards. Be aware that you can't change your sku without S-OFF. That means if you don't own the developer edition (sku 617) you won't be able to update to android 7 since that version is the only one that received the update, yet.
That's not correct. A RUU doesn't care whether your phone is stock or that. It reflashes every partition of your phone as long as your download mode is working.
Sent from my HTC One S using XDA Labs
Click to expand...
Click to collapse
So am I right in assuming that I can't flash any RUU without s-off? Also, how would I know if it's a dev edition or not? Thanks
pinn___________ said:
So am I right in assuming that I can't flash any RUU without s-off? Also, how would I know if it's a dev edition or not? Thanks
Click to expand...
Click to collapse
The dev edition is indicated by the sku (617) which is part of the firmware version: x.xx.SKU.xx
Please read the HTC One (M9) Readme Thread. All needed information should be located on its first page.
Flippy498 said:
The dev edition is indicated by the sku (617) which is part of the firmware version: x.xx.SKU.xx
Please read the HTC One (M9) Readme Thread. All needed information should be located on its first page.
Click to expand...
Click to collapse
Hi Flippy,
Thank for the links. As I mistakenly tried to flash a custom nougat rom on my lollipop device, I'm trying to get it back up and running. I still have access to TWRP and was looking at the back ups that you provided. However, I'm uncertain which to flash as I don't know which is the SKU of my mob. How can this be found out?
The readme thread should contain steps (in the RUU section and the twrp section II) for finding out the current firmware version of your phone. Did I forget to add them to the flashing instructions?
Sent from my HTC One M9 using XDA Labs
Flippy498 said:
The readme thread should contain steps (in the RUU section and the twrp section II) for finding out the current firmware version of your phone. Did I forget to add them to the flashing instructions?
Sent from my HTC One M9 using XDA Labs
Click to expand...
Click to collapse
No,,that's there but I already know what f/w I'm on - 1.32.401.15. Tried flashing a custom ROM of that version but it's sticking at the HTC logo. I would have thought reflashing a ROM of the same version would have worked but did I bork something when flashing a N rom?
I'm uncertain how to find the SKU but guessing it's 61 (EE UK). Is that going to be my only way forward - ruu or twrp backup?
Thanks for the help!
pinn___________ said:
No,,that's there but I already know what f/w I'm on - 1.32.401.15. Tried flashing a custom ROM of that version but it's sticking at the HTC logo. I would have thought reflashing a ROM of the same version would have worked but did I bork something when flashing a N rom?
I'm uncertain how to find the SKU but guessing it's 61 (EE UK). Is that going to be my only way forward - ruu or twrp backup?
Thanks for the help!
Click to expand...
Click to collapse
Flippy498 said:
The dev edition is indicated by the sku (617) which is part of the firmware version: x.xx.SKU.xx
Please read the HTC One (M9) Readme Thread. All needed information should be located on its first page.
Click to expand...
Click to collapse
Re-read what I wrote before and pay attention to the part I highlighted in my quotes.
Btw, since many users make the same mistake I need to ask the following: You checked your firmware in download mode and not in settings>about, correct? The latter only shows you the base of the (custom) rom you're currently using and not your actual firmware.
You're firmware is quite old. I'd suggest you to flash the 3.35.401.12 RUU and to start from scratch. In general, you can't use roms that are based on a different firmware version than your current one. (Sidenote: I'm only talking about the major version number here - in this case the 3.)
There is no Nougat for SKU 401 at the moment but it should get released in the near future.
Flippy498 said:
Re-read what I wrote before and pay attention to the part I highlighted in my quotes.
Btw, since many users make the same mistake I need to ask the following: You checked your firmware in download mode and not in settings>about, correct? The latter only shows you the base of the (custom) rom you're currently using and not your actual firmware.
You're firmware is quite old. I'd suggest you to flash the 3.35.401.12 RUU and to start from scratch. In general, you can't use roms that are based on a different firmware version than your current one. (Sidenote: I'm only talking about the major version number here - in this case the 3.)
There is no Nougat for SKU 401 at the moment but it should get released in the near future.
Click to expand...
Click to collapse
Ahah, yep , I get it now!
Yes, checked as suggested in your very helpful thread. I'll follow your suggestion re. flashing also. Thanks for all your help.
Flippy498 said:
Re-read what I wrote before and pay attention to the part I highlighted in my quotes.
Btw, since many users make the same mistake I need to ask the following: You checked your firmware in download mode and not in settings>about, correct? The latter only shows you the base of the (custom) rom you're currently using and not your actual firmware.
You're firmware is quite old. I'd suggest you to flash the 3.35.401.12 RUU and to start from scratch. In general, you can't use roms that are based on a different firmware version than your current one. (Sidenote: I'm only talking about the major version number here - in this case the 3.)
There is no Nougat for SKU 401 at the moment but it should get released in the near future.
Click to expand...
Click to collapse
BTW, I had the issue you described here:-
Copy the file to the root directory of a SD card which is formatted to fat32. (If you're on firmware version 3.x you can use an exfat formatted SD card, too. It would be nice if a firmware 4.x user could confirm whether the exception apllies to the new version, as well.) Sometimes this is only possible if the SD card is directly connected to your PC and not put into your phone. I don't know why some M9s refuse the copy process.
If you delete the file extension , the phone will allopw the copy and then you can rename after.
pinn___________ said:
BTW, I had the issue you described here:-
Copy the file to the root directory of a SD card which is formatted to fat32. (If you're on firmware version 3.x you can use an exfat formatted SD card, too. It would be nice if a firmware 4.x user could confirm whether the exception apllies to the new version, as well.) Sometimes this is only possible if the SD card is directly connected to your PC and not put into your phone. I don't know why some M9s refuse the copy process.
If you delete the file extension , the phone will allopw the copy and then you can rename after.
Click to expand...
Click to collapse
Nice to know. Thanks. I'll add that info to the instructions.

Marshmallow upgrade help

OK so I know I'm late to upgrading to marshmallow but i haven't gotten it to work on my htc one m9. may carrier is AT&T. Before the marshmallow update was released, I rooted and installed viper one on my m9 in hopes of recieving the update quicker. When Marshmallow was released, I was able to flash new marshmallow roms successfully, but my phone would never boot into the rom. It would always send me back to the bootloader. I realized that I would need a firmware update in order to run marhsmallow successfully, but I am having trouble updating the firmware. Since i rooted my phone and have a custom recovery and custom rom, I am no longer receiving OTA updates from htc. How will I be able to update the firmware manually. Also my phone is S-On, if that makes a difference.
Thanks for the help.
Why not upgrade using an RUU. AT & T is available from HTC's site.
Sent from my HTC One M9 using Tapatalk
shaqman89 said:
Why not upgrade using an RUU. AT & T is available from HTC's site.
Click to expand...
Click to collapse
I tried this but idiesnt work. Always says my device was disconnected mid installation.
Did you try to restart the ruu without disconnecting the cable?
Sent from my HTC One M9 using Tapatalk
castallion said:
I tried this but idiesnt work. Always says my device was disconnected mid installation.
Click to expand...
Click to collapse
Please read the readme thread that is pinned above the normal threads in this section. This way you'll learn how to find the correct RUU for your phone and how to flash it.
Flippy498 said:
Please read the readme thread that is pinned above the normal threads in this section. This way you'll learn how to find the correct RUU for your phone and how to flash it.
Click to expand...
Click to collapse
Ok so i found the correct RUU file. sku 502 firmware 2.11.502.18. thats what it says on my phone in download mode. once i flash this ruu I will have the stock htc rom and be able to recieve ota upgrades for marshmallow, correct?
Correct. Alternatively you could extract the RUU.zip from the latest 502 M9 RUU.exe which can be found on HTC's website and flash it with the instructions in the readme thread. A guide for the extraction is linked in the RUU section of the readme thread, as well. This was you wouldn't need to install the OTAs.
Sent from my HTC One S using XDA Labs
Flippy498 said:
Correct. Alternatively you could extract the RUU.zip from the latest 502 M9 RUU.exe which can be found on HTC's website and flash it with the instructions in the readme thread. A guide for the extraction is linked in the RUU section of the readme thread, as well. This was you wouldn't need to install the OTAs.
Click to expand...
Click to collapse
OK so I installed the ruu successfully but I haven't been prompted to upgrade to marshmallow yet. What should I do
castallion said:
OK so I installed the ruu successfully but I haven't been prompted to upgrade to marshmallow yet. What should I do
Click to expand...
Click to collapse
Which RUU? The 2.x one or the one from HTC's website? What is your current firmware version?
Flippy498 said:
Which RUU? The 2.x one or the one from HTC's website? What is your current firmware version?
Click to expand...
Click to collapse
The 2.x ruu from the forums
castallion said:
The 2.x ruu from the forums
Click to expand...
Click to collapse
Have you tried searching for the update via settings>about?
castallion said:
The 2.x ruu from the forums
Click to expand...
Click to collapse
Since my carrier is att, I believe all the updates come through that. I clicked the art update button and it says I'm up to date
That is more than odd. You should be able to receive and install the missing OTAs if you manually search for them.
Can you please download the latest 502 RUU from HTC's website, extract the *.zip file with the instructions that are linked in the readme thread and flash the *.zip as you did with the 2.x one?

Signature error 132 when flashing stock RUU nougat

I can't flash nougat ruu when ever i try it gives error 132 i have tried two ruu but both gave the same error. When first i was trying it was on viper rom i thought i would be able to flash on stock so i tried to flash stock 3.35.617.12 ruu which flashed okay without any errors but now when i am again trying nougat ruu its giving the same error. What should I do to flash nougat.
Thanks
Version mismatch or corrupt file.
shivadow said:
Version mismatch or corrupt file.
Click to expand...
Click to collapse
No after i have updated the stock 6.0 firmware with OTA to 7.0 i am able to flash the same RUU without any problems no signature error 132.
Sent from my HTC One M9 using Tapatalk
What are you trying to do exactly?
shivadow said:
What are you trying to do exactly?
Click to expand...
Click to collapse
I was trying to update marshmallow to nougat firmware using ruu exe but wasn't able to do because of the error 132 but after updating the stock marshmallow to nougat using OTA update i tried the same ruu exe to flash nougat to check if i had the corrupted or other version of ruu and it flashed okay without any errors.
I think on htc m9 you can't update to nougat from 6.0 using ruu exe.
Sent from my HTC One M9 using Tapatalk
terminator1983 said:
I think on htc m9 you can't update to nougat from 6.0 using ruu exe.
Click to expand...
Click to collapse
That's correct. The encryption keys changed between firmware 3.x and 4.x (just like they did between 1.x* and 2.x). OTAs (in contrast to RUUs) aren't encrypted. That's why you could update by flashing the OTA.
* 1.x wasn't encrypted at all, though
Sent from my HTC One M9 using XDA Labs

Categories

Resources