ViperOneM9 6.2.0 installed successfully but reboot is cyclic - One (M9) Q&A, Help & Troubleshooting

Hello Team,
I installed ViperOneM9 6.2.0 in my rooted HTC M9.
it did install successfully. However it keeps booting to same screen
*** SOFTWARE STATUS : MODIFIED ***
***UNLOACKED ***
*** S-ON ***
REBOOT
REBOOT TO BOOTLOADER
BOOT TO DOWNLOAD MODE
BOOT TO RECOVERY MODE
POWER DOWN
I tried rebooting it many times but same screen appears everytime.
i did clean up both caches.
Please help. My phone is completely dead now.
Regards

You can boot in download? (The black screen)
Sent from my HTC One (M9) using XDA Labs

lucyr03 said:
You can boot in download? (The black screen)
Sent from my HTC One (M9) using XDA Labs
Click to expand...
Click to collapse
Thank you for the prompt feedback.
unfortunately i cannot boot from download mode as well.
this screen has following.
htc download mode
*** UNLOCKED ***
htc_himauh1 PVT S-ON
LK-1.0.0.0000
RADIO-01.04_U11440601_71.02.50709G_F
OpenDSP-v29.2.6-00492-M8994_0702
OS-2.10.401.1
Jul 9 2015,20.:20:56(576582)
system info
show barcode
reboot to bootloader
reboot to download mode
reboot
power down
security warning
if u wish ..................
File /mnt/media_rw/ext_sd/0PJAIMG.zip
File not found.
i tried multiple times to reboot in all options but nothing yet.
Please help.
Regards

sshameel said:
Thank you for the prompt feedback.
unfortunately i cannot boot from download mode as well.
this screen has following.
htc download mode
*** UNLOCKED ***
htc_himauh1 PVT S-ON
LK-1.0.0.0000
RADIO-01.04_U11440601_71.02.50709G_F
OpenDSP-v29.2.6-00492-M8994_0702
OS-2.10.401.1
Jul 9 2015,20.:20:56(576582)
system info
show barcode
reboot to bootloader
reboot to download mode
reboot
power down
security warning
if u wish ..................
File /mnt/media_rw/ext_sd/0PJAIMG.zip
File not found.
i tried multiple times to reboot in all options but nothing yet.
Please help.
Regards
Click to expand...
Click to collapse
This seems to be download mode for me
The problem is that you have corrupted boot.img and recovery.
You just need to flash twrp from download mode("fastboot flash recovery twrp.img" then fastboot erase recovery").
After that you will be able to boot in recovery, format cache, and install a rom.

lucyr03 said:
The problem is that you have corrupted boot.img and recovery.
Click to expand...
Click to collapse
Er, that's actually not the problem. Viper 6.2.0 is based on firmware 4.x. The download mode shows firmware version 2.10.401.1.
Taken from the ReadMe thread's FAQ:
Flippy498 said:
Q10: I flashed a custom rom. TWRP stated the flash was successful but the rom doesn't boot. What's wrong?
A: This can happen if your phone's firmware is outdated. Get back to stock and install all available OTAs. You can flash a newer RUU (if one with a newer firmware version of your phone's SKU is available) for saving some time that would otherwise be needed for installing OTAs. Further information can be found in the RUU section.
Click to expand...
Click to collapse
And this article might be worth reading in this case, as well:
The Difference between Rom and Firmware
It got written for the M8 and not all it mentions applies to the M9 but it gives a good overview of the problem.

Flippy498 said:
Er, that's actually not the problem. Viper 6.2.0 is based on firmware 4.x. The download mode shows firmware version 2.10.401.1.
Taken from the ReadMe thread's FAQ:
And this article might be worth reading in this case, as well:
It got written for the M8 and not all it mentions applies to the M9 but it gives a good overview of the problem.
Click to expand...
Click to collapse
Thank you for the feedback.
i tried the steps suggested above
however it is still the same
it keeps coming back to same black screen and options
reboot
i think i might be doing something wrong here.
can please share steps to bring it back to stock please.
Please help

You need to flash a RUU for your current firmware (or firmware 3.35.401.12 if you want to save some time). I'd suggest using the SD card method but in the end the method doesn't matter.
Step by step instructions and download links can be found in the RUU section of the ReadMe thread. Just use the direct link in the quote that I posted in my last message.
Sent from my HTC One M9 using XDA Labs

Flippy498 said:
You need to flash a RUU for your current firmware (or firmware 3.35.401.12 if you want to save some time). I'd suggest using the SD card method but in the end the method doesn't matter.
Step by step instructions and download links can be found in the RUU section of the ReadMe thread. Just use the direct link in the quote that I posted in my last message.
Sent from my HTC One M9 using XDA Labs
Click to expand...
Click to collapse
Thank you once again for the feedback.
i tried flash RUU & getting below errors.
File on laptop
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip C:\Users\emaj
sha\Downloads\3.35.401.12-Firmware.zip
target reported max download size of 800000000 bytes
sending 'zip' (48736 KB)...
OKAY [ 3.989s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 14
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 14
(bootloader) [email protected]
FAILED (remote: 14: fail to flash via downloadzip)
finished. total time: 7.580s
C:\Program Files (x86)\Minimal ADB and Fastboot>

Well, as explained in the RUU section you can't flash RUUs for the M9 via fastboot. They're too big.
Sent from my HTC One M9 using XDA Labs

Flippy498 said:
Well, as explained in the RUU section you can't flash RUUs for the M9 via fastboot. They're too big.
Sent from my HTC One M9 using XDA Labs
Click to expand...
Click to collapse
Thank you for the feedback.
I am getting below error .
i downloaded the RUU version as mentioned in the above post.
155 INDICATES DIFFERENT THINGS:
The RUU cannot be executed because your phone is S-ON and its Rom and/or Firmware version is newer than the one of the RUU.
from RUU exe installation i have the below
i have this
Verify that you want to upadte the ROM version
From
Image version
2.10.401.1
To
Image Version
3.35.401.12

sshameel said:
Thank you for the feedback.
I am getting below error .
i downloaded the RUU version as mentioned in the above post.
155 INDICATES DIFFERENT THINGS:
The RUU cannot be executed because your phone is S-ON and its Rom and/or Firmware version is newer than the one of the RUU.
from RUU exe installation i have the below
i have this
Verify that you want to upadte the ROM version
From
Image version
2.10.401.1
To
Image Version
3.35.401.12
Click to expand...
Click to collapse
Just to update.
I am able to restore it.
my M9 is up & running.
Thank you so much all for guiding & providing prompt feedback.
Take care.

Related

[Solved] Cannot install CM12 due to outdated bootloader

Hello.
I am currently running ParanoidAndroid 4.6Beta5. Since PA's developement for M8 seems to be dead, I wanted to try CM12.
When I tried to install latest nightly build of CM12 I got a message that my bootloader (3.16) is not supported, and that I need to update it to 3.18 or 3.19.
I googled a bit and found out that in order to update it, I need to restore latest official ROM.
I managed to restore official ROM (3.28.401.6, based on android 4.4.4) but the WiFi wasn't working, so I couldn't do much there. I relocked bootloader and flashed official recovery, and then tried to run RUU.
RUU failed with code [315]. I ran out of ideas and google results to browse.
I unlocked my bootloader again, flashed clockworkmod recovery back, and restored my backup of ParanoidAndroid.
Right now the phone is in the same state as when I was starting.
Here is some basic info about my phone:
Model: HTC ONE M8 16GB Unlocked (purchased on amazon; network free)
CID: HTC_001
Bootloader: Unlocked
Recovery: Clockworkmod Touch v6.0.4.8
S status: S-ON
Click to expand...
Click to collapse
So the basic question is: how to flash CM12 on HTC One M8? I spent so many hours on it without any result, so this thread is my last chance.
Edit: SOLVED!
See http://forum.xda-developers.com/showpost.php?p=58859881&postcount=13 for solution.
ProTofik said:
Hello.
I am currently running ParanoidAndroid 4.6Beta5. Since PA's developement for M8 seems to be dead, I wanted to try CM12.
When I tried to install latest nightly build of CM12 I got a message that my bootloader (3.16) is not supported, and that I need to update it to 3.18 or 3.19.
I googled a bit and found out that in order to update it, I need to restore latest official ROM.
I managed to restore official ROM (3.28.401.6, based on android 4.4.4) but the WiFi wasn't working, so I couldn't do much there. I relocked bootloader and flashed official recovery, and then tried to run RUU.
RUU failed with code [315]. I ran out of ideas and google results to browse.
I unlocked my bootloader again, flashed clockworkmod recovery back, and restored my backup of ParanoidAndroid.
Right now the phone is in the same state as when I was starting.
Here is some basic info about my phone:
So the basic question is: how to flash CM12 on HTC One M8? I spent so many hours on it without any result, so this thread is my last chance.
Click to expand...
Click to collapse
Since you are S-On, you can't just flash the firmware, which is the easiest way. But you can use this method.
I'll give you an RUU to flash. But before you flash it, backup everything that is important to you, because this will wipe your phone.
Download this.
Rename it to 0P6BIMG.zip (that's a zero not the letter)
Put it onto the root of your extSD (By root of I mean just on the card and not a folder)
Boot into bootloader and choose hboot.
Follow the prompts (vol up to flash, power button to reboot when done)
Congratulations! You now have the latest lollipop firmware.
Make sure you delete the renamed zip from your extSD when you are done. If you don't delete it, it will try to update again every time you go back to hboot.
Since you are S-On, you can't just flash the firmware
Click to expand...
Click to collapse
What do you mean by firmware. Bootloader or ROM? I did 'just' flash PA without a problem.
I guess the ROM you liked is the latest official one. By installing it I will get my bootloader updated and then I will be able to flash CM12. Do I get this right? or will I get stuck on stock forever?
Edit: I just tried to flash your image using hboot but it didn't work. Check file attached.
I checked MD5 checksum just to make sure that it did download correctly and it does match with the one on the download page. However, I did notice that when I'm trying to open that zip file on my PC I'm getting an error saying that the archive is corrupted.
ProTofik said:
What do you mean by firmware. Bootloader or ROM? I did 'just' flash PA without a problem.
I guess the ROM you liked is the latest official one. By installing it I will get my bootloader updated and then I will be able to flash CM12. Do I get this right? or will I get stuck on stock forever?
Edit: I just tried to flash your image using hboot but it didn't work. Check file attached.
I checked MD5 checksum just to make sure that it did download correctly and it does match with the one on the download page. However, I did notice that when I'm trying to open that zip file on my PC I'm getting an error saying that the archive is corrupted.
Click to expand...
Click to collapse
It probably didn't work because you are S-On. The method I gave you is generally used by S-Off users to flash firmware, but since it was a signed zip, I thought it might work.
Rename the download I gave you to ROM.zip at put it into your fastboot/platform-tools folder on your PC. Then hook your phone up to your PC and fastbooot.
fastboot devices to make sure your phone and PC are properly connected. (letters and numbers/ser. #)
fastboot oem rebootRUU
fastboot flash zip ROM.zip
EDIT: If you respond here, please use the reply button, I will get a notification that way. I just stumbled back to this thread by chance.
xunholyx said:
It probably didn't work because you are S-On. The method I gave you is generally used by S-Off users to flash firmware, but since it was a signed zip, I thought it might work.
Rename the download I gave you to ROM.zip at put it into your fastboot/platform-tools folder on your PC. Then hook your phone up to your PC and fastbooot.
fastboot devices to make sure your phone and PC are properly connected. (letters and numbers/ser. #)
fastboot oem rebootRUU
fastboot flash zip ROM.zip
EDIT: If you respond here, please use the reply button, I will get a notification that way. I just stumbled back to this thread by chance.
Click to expand...
Click to collapse
Sorry, doesn't work either. I'm getting this error on 3rd command:
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash zip ROM.zip
target reported max download size of 1830711296 bytes
error: cannot load 'ROM.zip'
Click to expand...
Click to collapse
ProTofik said:
Sorry, doesn't work either. I'm getting this error on 3rd command:
Click to expand...
Click to collapse
Okay. There must be something I am not aware of.
In fastboot: fastboot getvar all and post the readout here. But delete the serial number and IMEI for your own safety. Never post those on a public forum.
xunholyx said:
Okay. There must be something I am not aware of.
In fastboot: fastboot getvar all and post the readout here. But delete the serial number and IMEI for your own safety. Never post those on a public forum.
Click to expand...
Click to collapse
There you go:
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.16.0.0000
(bootloader) version-baseband: 1.15.2133156.UA13G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.54.401.5
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: TOP SECRET
(bootloader) imei: TOP SECRET
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__001
(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: ab0efa49
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.063s
Click to expand...
Click to collapse
ProTofik said:
There you go:
Click to expand...
Click to collapse
It should work. Try this download instead. https://drive.google.com/file/d/0B17smFr95pleU2NqcVB3NWxoNnM/view
It's pretty much the same one. Maybe the other one is screwed somehow? Try with this one instead and hopefully you can get updated.
xunholyx said:
It should work. Try this download instead. https://drive.google.com/file/d/0B17smFr95pleU2NqcVB3NWxoNnM/view
It's pretty much the same one. Maybe the other one is screwed somehow? Try with this one instead and hopefully you can get updated.
Click to expand...
Click to collapse
Didn't work but I got a different error this time
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash zip ROM
.zip
target reported max download size of 1830711296 bytes
sending 'zip' (1536838 KB)...
OKAY [ 43.198s]
writing 'zip'...
(bootloader) zip header checking...
FAILED (remote: 32 header error)
finished. total time: 43.510s
Click to expand...
Click to collapse
Is it not possible to just restore whatever ROM my phone came with and then just do the OTA update?
ProTofik said:
Didn't work but I got a different error this time
Is it not possible to just restore whatever ROM my phone came with and then just do the OTA update?
Click to expand...
Click to collapse
LOL!
Yes. I got caught up in this method. You will also need the stock recovery (more important than the ROM) to use the OTAs. Plus your system partition has to be unmodified. That means no Xposed modules. If you have them, delete them using Xposed framework, then uninstall that as well.
xunholyx said:
LOL!
Yes. I got caught up in this method. You will also need the stock recovery (more important than the ROM) to use the OTAs. Plus your system partition has to be unmodified. That means no Xposed modules. If you have them, delete them using Xposed framework, then uninstall that as well.
Click to expand...
Click to collapse
So if I get this right, I just need to restore my factory ROM and Recovery image, then update it through OTA to lollipop. After that I will be able to flash my custom recovery and ROMs once again, right?
Do you have any links to the ROM and Recovery to my phone?
ProTofik said:
So if I get this right, I just need to restore my factory ROM and Recovery image, then update it through OTA to kitkat. After that I will be able to flash my custom recovery and ROMs once again, right?
Do you have any links to the ROM and Recovery to my phone?
Click to expand...
Click to collapse
Yes. Sorry for the confusion I have caused.
xunholyx said:
LOL!
Yes. I got caught up in this method. You will also need the stock recovery (more important than the ROM) to use the OTAs. Plus your system partition has to be unmodified. That means no Xposed modules. If you have them, delete them using Xposed framework, then uninstall that as well.
Click to expand...
Click to collapse
Success. For future generations, here is what I did:
Using fastboot getvar all command I found out that my phone was still mentally stuck on stock rom 1.54.401.5. Using this info, I downloaded matching nandroid backup of that ROM from here and restored it using my custom recovery.
Then, downloading from the same thread, I flashed back stock recovery image using HTC One 2014 (M8) All-In-One Toolkit V2.0.
I was back on my original ROM with original recovery, so I started doing OTA updates until I got to the official android 5.0.1. These updates updated my bootloader to version 3.19.
Having the bootloader that I needed, I flashed custom recovery and installed CM12 without any problem.
Thanks for help!
Hey, I just found this as I am having the same problem. I am trying to follow your solution, but hit a road block and was wondering if you could help. I ran the command "fastboot getvar all" in fastboot and got output similar to yours. Following your advice I looked at the line (bootloader) version-main: 1.55.605.2 which is different than yours, but okay I just need to find a matching one. But when I go to the link that you had provided I can't find a backup that matches mine (or at least I think I can't). What does it mean for it to match anyway? I'm getting so close! I want cm12!!
I did it over like 6 months ago. I can't remember any more. Sorry.
Anyway, CM12 has way too many problem on HTC ONE M8 to be used as a daily driver. I am using GPE Rom now, which I can recommend.
I just need to find some way to update my bootloader so I can get lollipop up and running. Thanks tho
noo_too_droid said:
Following your advice I looked at the line (bootloader) version-main: 1.55.605.2 which is different than yours, but okay I just need to find a matching one. But when I go to the link that you had provided I can't find a backup that matches mine (or at least I think I can't). What does it mean for it to match anyway?
Click to expand...
Click to collapse
The number needs to match exactly to restore to stock and OTA update the software/firmware (and therefore update hboot).
You can try to post on the following thread, and ask if someone can post the stock nandroid for 1.55.605.2 :http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Otherwise (if you can't get a stock nandroid) you may need to resort to getting s-off in order to update hboot (actually I recommend updating all firmware, not just hboot).
ProTofik said:
Success. For future generations, here is what I did:
Using fastboot getvar all command I found out that my phone was still mentally stuck on stock rom 1.54.401.5.
Click to expand...
Click to collapse
Hi there! I have a problem with my One M8 (S-OFF) - I cant flash any ROM on it. I can restore backups from a CM11 4.4.4 and an ARHD 41.0 but can't upgrade from either. I was looking at your solution and noticed that my ROM number is blank when I run fastboot getvar all. Is this a matter of concern? How can I flash a ROM again?
raghuchary said:
Hi there! I have a problem with my One M8 (S-OFF) - I cant flash any ROM on it. I can restore backups from a CM11 4.4.4 and an ARHD 41.0 but can't upgrade from either. I was looking at your solution and noticed that my ROM number is blank when I run fastboot getvar all. Is this a matter of concern? How can I flash a ROM again?
Click to expand...
Click to collapse
Your version-main is blank because of a bug in some older TWRPs. Update to 2.8.7.0. Flashing the new recovery won't fix version-main being blank until you flash new firmware though.
Also, you probably do have to update your firmware. You say you can't flash any ROMs, but you give no details.
xunholyx said:
Your version-main is blank because of a bug in some older TWRPs. Update to 2.8.7.0. Flashing the new recovery won't fix version-main being blank until you flash new firmware though.
Also, you probably do have to update your firmware. You say you can't flash any ROMs, but you give no details.
Click to expand...
Click to collapse
Apologies, newbie here. I was looking for the correct place to place my request for help, when I found this thread and asked. I will put it up in the Q&A section.

[Q] Can't flash RUU firmware htc one m9

Hey guys, so I tried to flash RUU Firmware on my htc one m9. I downloaded the firmware, minimal adb flashboot, and htc sync manager. Problem is when I open command prompt via minimal adb flashboot and I type 'adb reboot downloader' it says:
adb server is out of date. killing...
* daemon started successfully *
error: device '(null)' not found
Am I missing something here? What should I do?
any chance you run a virtual android, genymotion or something of the like? And I would like to think aside from the drivers for HTC, the sync manager is best tucked safely away in the garbage
MrLizm said:
any chance you run a virtual android, genymotion or something of the like? And I would like to think aside from the drivers for HTC, the sync manager is best tucked safely away in the garbage
Click to expand...
Click to collapse
alright now I can get it to works however it says failed at the end.
C:\adb>adb reboot bootloader
adb server is out of date. killing...
* daemon started successfully *
error: device unauthorized. Please check the confirmation dialog on your device.
C:\adb>adb reboot bootloader
C:\adb>fasboot oem rebootRUU
'fasboot' is not recognized as an internal or external command,
operable program or batch file.
C:\adb>fastboot oem rebootRUU
...
OKAY [ 0.048s]
finished. total time: 0.048s
C:\adb>fastboot flash zip 0PJAIMG.ZIP
target reported max download size of 800000000 bytes
sending 'zip' (61661 KB)...
OKAY [ 4.842s]
writing 'zip'...
(bootloader) HOSD CL#506785
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 14
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 14
(bootloader) [email protected]
FAILED (remote: 14: fail to flash via downloadzip)
finished. total time: 8.598s
C:\adb>fastboot reboot
rebooting...
finished. total time: 0.002s
C:\adb>
any idea how to make it successful?
Have to ask, you s-off?
This line makes me wonder,
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
MrLizm said:
Have to ask, you s-off?
This line makes me wonder,
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
Click to expand...
Click to collapse
How do i check it? Sorry I'm totally new in this kind of things
kamocheng said:
How do i check it? Sorry I'm totally new in this kind of things
Click to expand...
Click to collapse
if you boot to bootloader, should be up top there. from a booted phone just 'adb reboot bootloader' if it says s-on thats your problem. My guess is since you do not know your s-on/off you are probably s-on.
kamocheng said:
How do i check it? Sorry I'm totally new in this kind of things
Click to expand...
Click to collapse
No it says:
*** Software status: Modified ***
*** Unlocked ***
*** S-ON ***
so this is your problem, S-ON is the last piece of security for you. Without S-OFF you are unable to flash RUU the way your are attempting.
There is an app, Sunshine. Cost 25$ I am pretty sure and that will get you s-off. or you can wait until your carrier pushes the OTA and do a "Back To Stock" method. Well the app is free, it runs a check and makes sure it can get s-off. then it wants money.
MrLizm said:
so this is your problem, S-ON is the last piece of security for you. Without S-OFF you are unable to flash RUU the way your are attempting.
There is an app, Sunshine. Cost 25$ I am pretty sure and that will get you s-off. or you can wait until your carrier pushes the OTA and do a "Back To Stock" method. Well the app is free, it runs a check and makes sure it can get s-off. then it wants money.
Click to expand...
Click to collapse
Good to know, any idea how to get the app for free? Kinda tight on budget here. Thanks!
kamocheng said:
Good to know, any idea how to get the app for free? Kinda tight on budget here. Thanks!
Click to expand...
Click to collapse
Okay hold on, I remember when I rooted my phone it was S-Off. So to get it back to original factory version I need to S-on it?
kamocheng said:
Okay hold on, I remember when I rooted my phone it was S-Off. So to get it back to original factory version I need to S-on it?
Click to expand...
Click to collapse
No not at all, S-OFF makes it easier to get back to stock. If you were S-OFF at some point I am not too sure why the bootloader is reporting S-ON now. I am cheap and I revert to stock to get my OTAs to get the latest roms.. this is a huge pain. S-OFF is ideal once you have it you should keep it.
@kamocheng: Since I don't have much time at the moment I'm keeping it short:
1. Your zip is corrupted (look at the output). Re-download it and compare the MD5 checksums.
2. If you're s-on you need to be relocked for running RUUs.
3. You never mentioned your firmware version nor your CID so no one can verify whether you use the correct RUU.
4. There is no free version of sunshine since its a free app with in-app purchasement. But there is no need to s-off if you use the correct RUU.
Make sure htc sync isn't running on your computer.
Sent from my 0PJA10 using Tapatalk
Flippy498 said:
@kamocheng: Since I don't have much time at the moment I'm keeping it short:
1. Your zip is corrupted (look at the output). Re-download it and compare the MD5 checksums.
2. If you're s-on you need to be relocked for running RUUs.
3. You never mentioned your firmware version nor your CID so no one can verify whether you use the correct RUU.
4. There is no free version of sunshine since its a free app with in-app purchasement. But there is no need to s-off if you use the correct RUU.
Click to expand...
Click to collapse
Hello there, thanks for replying my thread
1. I'm sorry I dont quiet understand, do you mean zip in my PC or zip in my phone?
2. My firmware version is 1.32.617.30, how do i check my CID?
Correct me if I'm wrong but there are 2 options for me to return to original stock? First, S-off my phone and flash RUU firmware? Second, relocked my phone then run original stock? Since I didnt backup my original stock, I need to find untouched one?
Sorry this is my first android phone so if I'm total noob, I'm so sorry
What if i unrooted then relocked my phone, will i be able to take OTA then?
kamocheng said:
Hello there, thanks for replying my thread
1. I'm sorry I dont quiet understand, do you mean zip in my PC or zip in my phone?
2. My firmware version is 1.32.617.30, how do i check my CID?
Correct me if I'm wrong but there are 2 options for me to return to original stock? First, S-off my phone and flash RUU firmware? Second, relocked my phone then run original stock? Since I didnt backup my original stock, I need to find untouched one?
Sorry this is my first android phone so if I'm total noob, I'm so sorry
Click to expand...
Click to collapse
I'm talking about the zip you tried to flash in post 3. If you are using firefox as a browser I would recommend using an addon like DownThemAll! to verifiy the md5 checksum after the download has finished. Files can get corrupted during a download.
No, its one and the same way. You run the RUU either way. The only difference is that you can flash any firmware version with s-off and you don't need to relock while the versions you can flash with s-on have to match your current version (that means same version or newer) and your CID. Firmware versions with x.xx.617.xx are the developers editions if I'm not mistaking. (As far as I know AndroidRUU doesn't have any corresponding files. So I assume you downloaded it from clsA's personal collection of developer edition files since google didn't find any other sources for these files.) As said before redownload the file and compare the downloaded file's checksum with the one mentioned next to the download link (428582cef691c2e37053a0e19e9d738e). If they match the file should be flashable.
I prefer flashing RUUs using the sd-card method instead of fastboot so here are some instructions how I would continue:
Be sure to backup everything important like contacts, sms, etc. (I'm using MyPhoneExplorer for this step)
Get a SD-card that is not bigger than 32 gb and formatted to fat32 (I've always been using the formatting function of the m9 for this step).
Rename the RUU to "0PJAIMG.zip".
Copy that file into the root direction of your SD-card.
Relock your bootloader.
Put the card back into your phone.
Be sure that your phone is charged enough (more than 50 %).
Boot into download mode.
Follow the instructions on the screen.
Wait some minutes.
Done.
Flippy498 said:
I'm talking about the zip you tried to flash in post 3. If you are using firefox as a browser I would recommend using an addon like DownThemAll! to verifiy the md5 checksum after the download has finished. Files can get corrupted during a download.
No, its one and the same way. You run the RUU either way. The only difference is that you can flash any firmware version with s-off while the versions you can flash with s-on have to match your current version (that means same version or newer) and your CID. Firmware versions with x.xx.617.xx are the developers editions if I'm not mistaking. (As far as I know AndroidRUU doesn't have any corresponding files. So I assume you downloaded it from clsA's personal collection of developer edition files since google didn't find any other sources for these files.) As said before redownload the file and compare the downloaded file's checksum with the one mentioned next to the download link (428582cef691c2e37053a0e19e9d738e). If they match the file should be flashable.
I prefer flashing RUUs using the sd-card method instead of fastboot so here are some instruction how I would continue:
Be sure to backup everything important like contacts, sms, etc. (I'm using MyPhoneExplorer for this step)
Get a SD-card that is not bigger than 32 gb and formatted to fat32 (I've always been using the formatting function of the m9 for this step).
Rename the RUU to "0PJAIMG.zip".
Copy that file into the root direction of your SD-card.
Relock your bootloader.
Put the card back into your phone.
Be sure that your phone is charged enough (more than 50 %).
Boot into download mode.
Follow the instructions on the screen.
Wait some minutes.
Done.
Click to expand...
Click to collapse
So by doing that way, I dont have to S-off my phone to have it return to original stock?
kamocheng said:
So by doing that way, I dont have to S-off my phone to have it return to original stock?
Click to expand...
Click to collapse
Correct.
Edit: I just saw that you asked more or less the same question twice. jollywhitefoot's solution works the same way as the one I described. The only difference is that you are using fastboot instead of a sd-card.
Flippy498 said:
Correct.
Edit: I just saw that you asked more or less the same question twice. jollywhitefoot's solution works the same way as the one I described. The only difference is that you are using fastboot instead of a sd-card.
Click to expand...
Click to collapse
Alright, thank you for your guidance.
kamocheng said:
Alright, thank you for your guidance.
Click to expand...
Click to collapse
So my method in your other thread didn't work? Where are you running into problems?

[Q] Upgrading To 2.10.709.1 Help

Greetings to all of you
i need little help since i'm a new HTC User
first of all , my phone is :
S-On , Rooted , Unlocked Bootloader , TWRP & finally on stock base 1.40.709.8
CID : HTC_621
MID : 0PJA10000
now i need to update to latest base " 2.10.709.1 "
how to do so step by step ??
EDIT :
i read here on XDA " If your device is S-ON , then you cannot flash an RUU with version less than your phone's current version . The same applies for hboot version "
Amr Nasser said:
Greetings to all of you
i need little help
i'm a new HTC User , I've HTC M9
first of all , my phone is :
S-On , Rooted , Unlocked Bootloader , TWRP & finally on Lee Droid Rom base 1.40.401.8
CID : HTC_621
MID : 0PJA10000
now i need to update to latest 2.10.401.1
how to do so step by step ??
Click to expand...
Click to collapse
Either you S-OFF with sunshine (costs 25 USD) so you can flash the leaked firmware or you wait untill the official OTA gets distributed by HTC. If you choose to do the latter you need to restore your system to stock, unrooted, read-only state by flashing a RUU or restoring a stock backup and reflashing the stock recovery.
Important
Flippy498 said:
Either you S-OFF with sunshine (costs 25 USD) so you can flash the leaked firmware or you wait untill the official OTA gets distributed by HTC. If you choose to do the latter you need to restore your system to stock, unrooted, read-only state by flashing a RUU or restoring a stock backup and reflashing the stock recovery.
Click to expand...
Click to collapse
this posted yesterday :
http://forum.xda-developers.com/showpost.php?p=61995182&postcount=373
i have the same MID & CID
does it mean if i get back to stock 1.40.401.8 , i can use that OTA To get 2.10.401.1 ??
Amr Nasser said:
this posted yesterday :
http://forum.xda-developers.com/showpost.php?p=61995182&postcount=373
i have the same MID & CID
does it mean if i get back to stock 1.40.401.8 , i can use that OTA To get 2.10.401.1 ??
Click to expand...
Click to collapse
The update from the link is for the Asian SKU 709. If you go back to a stock version with the SKU 401 you can only use updates with the same SKU and the update for firmware 2.10.401.1 has not been realesed officially untill now.
Edit: Maybe I understood you wrong. What is your actual firmware version? I mean the one that is stated in the download mode in the line with "OS" at the beginning. That is the firmware you need to look for if you want to get back to stock. The one in settings>about only tells you the base of the rom you are using.
Important
Flippy498 said:
The update from the link is for the Asian SKU 709. If you go back to a stock version with the SKU 401 you can only use updates with the same SKU and the update for firmware 2.10.401.1 has not been realesed officially untill now.
Edit: Maybe I understood you wrong. What is your actual firmware version? I mean the one that is stated in the download mode in the line with "OS" at the beginning. That is the firmware you need to look for if you want to get back to stock. The one in settings>about only tells you the base of the rom you are using.
Click to expand...
Click to collapse
i will go back to stock 1.40.709.8 ?? then update to 2.10.709.1 ?? both are Asian
will this work , i think they are same SKU now ??
Amr Nasser said:
i will go back to stock 1.40.709.8 ?? then update to 2.10.709.1 ?? both are Asian
will this work , i think they are same SKU now ??
Click to expand...
Click to collapse
Your phone is S-ON so you can only go back to the stock firmware that belongs to your phones SKU. You need to look at the "OS" line in download mode if you want to know which SKU versions you can use.
Amr Nasser said:
Greetings to all of you
i need little help
i'm a new HTC User , I've HTC M9
first of all , my phone is :
S-On , Rooted , Unlocked Bootloader , TWRP & finally on Lee Droid Rom base 1.40.401.8
CID : HTC_621
MID : 0PJA10000
now i need to update to latest 2.10.401.1
how to do so step by step ??
Click to expand...
Click to collapse
Since you're s-on, you're already on .709 firmware. There is no way you could be on anything else because it would not flash. Still, you should reboot to download mode and see what it says. If it's 1.32.709 as I expect, proceed.
1. Use Titanium Backup to back up all your user data and apps to your external sdcard; remove it.
2. Relock and run the existing RUU for your phone (this will wipe everything). Link is in this thread; follow instructions in the OP.
3. Wait until the OTA shows up and install.
4. Unlock and reroot, then restore your backed up data and apps.
Important
iElvis said:
Since you're s-on, you're already on .709 firmware. There is no way you could be on anything else because it would not flash. Still, you should reboot to download mode and see what it says. If it's 1.32.709 as I expect, proceed.
1. Use Titanium Backup to back up all your user data and apps to your external sdcard; remove it.
2. Relock and run the existing RUU for your phone (this will wipe everything). Link is in this thread; follow instructions in the OP.
3. Wait until the OTA shows up and install.
4. Unlock and reroot, then restore your backed up data and apps.
Click to expand...
Click to collapse
when i entered download mode , my OS showed me 1.40.709.8
so i assume now ,
relock my bootloader , run RUU 1.32.709 then OTA from my phone till i reach 1.40.709.8 and then i use the OTA in this thread to upgrade to 2.10.709.1 :
http://forum.xda-developers.com/showpost.php?p=61995182&postcount=373
then i can Unlock again and install TWRP and so on ,, am i right ??
Amr Nasser said:
when i entered download mode , my OS showed me 1.40.709.8
so i assume now ,
relock my bootloader , run RUU 1.32.709 then OTA from my phone till i reach 1.40.709.8 and then i use the OTA in this thread to upgrade to 2.10.709.1 :
http://forum.xda-developers.com/showpost.php?p=61995182&postcount=373
then i can Unlock again and install TWRP and so on ,, am i right ??
Click to expand...
Click to collapse
Correct. Although I think there is no need to flash the last OTA manually. You can update via the OTA function until you reach 2.10.709.1 since it's been released officially.
Amr Nasser said:
when i entered download mode , my OS showed me 1.40.709.8
so i assume now ,
relock my bootloader , run RUU 1.32.709 then OTA from my phone till i reach 1.40.709.8 and then i use the OTA in this thread to upgrade to 2.10.709.1 :
http://forum.xda-developers.com/showpost.php?p=61995182&postcount=373
then i can Unlock again and install TWRP and so on ,, am i right ??
Click to expand...
Click to collapse
No. If you're on 1.40, the 1.32 RUU will not flash because you're s-on—you can't downgrade. You need to find the 1.40.709 RUU. Let me look around.
Edit: It doesn't seem to be posted anywhere I can find. You need to get back to stock to flash an OTA. I think your only option unless HTC releases a RUU for 2.10.709 may be to s-off and update manually.
iElvis said:
No. If you're on 1.40, the 1.32 RUU will not flash because you're s-on—you can't downgrade. You need to find the 1.40.709 RUU. Let me look around.
Edit: It doesn't seem to be posted anywhere I can find. You need to get back to stock to flash an OTA. I think your only option unless HTC releases a RUU for 2.10.709 may be to s-off and update manually.
Click to expand...
Click to collapse
Actually downgrading with S-ON is possible as long as the bootloader version doesn't need to be downgraded, too (source). Just checked on my phone that the aboot is even with the 2.7.401.1 firmware still on version 1.0.0.0000. So there should be no problem.
Flippy498 said:
Actually downgrading with S-ON is possible as long as the bootloader version doesn't need to be downgraded, too (source). Just checked on my phone that the aboot is even with the 2.7.401.1 firmware still on version 1.0.0.0000. So there should be no problem.
Click to expand...
Click to collapse
That's interesting, thanks. Didn't use to be that way.
Important
Flippy498 said:
Actually downgrading with S-ON is possible as long as the bootloader version doesn't need to be downgraded, too (source). Just checked on my phone that the aboot is even with the 2.7.401.1 firmware still on version 1.0.0.0000. So there should be no problem.
Click to expand...
Click to collapse
i relocked my bootloader then tried to flash RUU with these orders :
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.zip
i got this error every time :
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
and i can't flash RUU
any ideas ??
Amr Nasser said:
i relocked my bootloader then tried to flash RUU with these orders :
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.zip
i got this error every time :
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
and i can't flash RUU
any ideas ??
Click to expand...
Click to collapse
Download and use HTC_fast boot.exe instead of facebook.exe. you can find HTC_fastboot by searching the forum. Just place it on the same folder as your current fastboot.exe file.
Command are the same except instead of typing "fastboot flash..." It's "HTC_fastboot flash..."
Edit: this is because regular fastboot can't handle files over 2GB.
Important
Flippy498 said:
Actually downgrading with S-ON is possible as long as the bootloader version doesn't need to be downgraded, too (source). Just checked on my phone that the aboot is even with the 2.7.401.1 firmware still on version 1.0.0.0000. So there should be no problem.
Click to expand...
Click to collapse
jollywhitefoot said:
Download and use HTC_fast boot.exe instead of facebook.exe. you can find HTC_fastboot by searching the forum. Just place it on the same folder as your current fastboot.exe file.
Command are the same except instead of typing "fastboot flash..." It's "HTC_fastboot flash..."
Edit: this is because regular fastboot can't handle files over 2GB.
Click to expand...
Click to collapse
that's worked , but now i got this error :
C:\Users\Amr\Desktop\Squabbi's Toolkit\adb>htc_fastboot oem rebootRUU
... OKAY
Execution time is 206(ms)
C:\Users\Amr\Desktop\Squabbi's Toolkit\adb>htc_fastboot flash zip 0PJAIMG.zip
< waiting for device >
sending 'zip'... (250395 KB) OKAY
sending time = 10.592 secs
writing 'zip'... (bootloader) HOSD CL#553039
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 19
(bootloader) [email protected]
FAIL19: fail to flash via downloadzip
FAILED (remote: 19: fail to flash via downloadzip)
Execution time is 19(s)
i've S-On , and my bootloader is " RELOCKED " >> if this can help
Edit :
i've " Relocked " My bootloader through
reboot bootloader
then download mode
fastboot oem lock
any ideas ??
Amr Nasser said:
that's worked , but now i got this error :
C:\Users\Amr\Desktop\Squabbi's Toolkit\adb>htc_fastboot oem rebootRUU
... OKAY
Execution time is 206(ms)
C:\Users\Amr\Desktop\Squabbi's Toolkit\adb>htc_fastboot flash zip 0PJAIMG.zip
< waiting for device >
sending 'zip'... (250395 KB) OKAY
sending time = 10.592 secs
writing 'zip'... (bootloader) HOSD CL#553039
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 19
(bootloader) [email protected]
FAIL19: fail to flash via downloadzip
FAILED (remote: 19: fail to flash via downloadzip)
Execution time is 19(s)
i've S-On , and my bootloader is " RELOCKED " >> if this can help
Edit :
i've " Relocked " My bootloader through
reboot bootloader
then download mode
fastboot oem lock
any ideas ??
Click to expand...
Click to collapse
Main version not allowed looks like its saying you can't downgrade. Maybe the bootloader version changed.
Amr Nasser said:
that's worked , but now i got this error :
C:\Users\Amr\Desktop\Squabbi's Toolkit\adb>htc_fastboot oem rebootRUU
... OKAY
Execution time is 206(ms)
C:\Users\Amr\Desktop\Squabbi's Toolkit\adb>htc_fastboot flash zip 0PJAIMG.zip
< waiting for device >
sending 'zip'... (250395 KB) OKAY
sending time = 10.592 secs
writing 'zip'... (bootloader) HOSD CL#553039
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 19
(bootloader) [email protected]
FAIL19: fail to flash via downloadzip
FAILED (remote: 19: fail to flash via downloadzip)
Execution time is 19(s)
i've S-On , and my bootloader is " RELOCKED " >> if this can help
Edit :
i've " Relocked " My bootloader through
reboot bootloader
then download mode
fastboot oem lock
any ideas ??
Click to expand...
Click to collapse
Which RUU did you try to flash? As far as I know there is one for 1.32.709.6 and one for 1.36.709.3. Best case scenario would be you downloaded a wrong RUU. Worst case scenario would be that downgrading is (in contrast to the post I linked earlier) not aboot dependent and not possible if the software numbers (in your case the 40 you want to downgrade to 32 or 36) differ.
iElvis said:
No. If you're on 1.40, the 1.32 RUU will not flash because you're s-on—you can't downgrade. You need to find the 1.40.709 RUU. Let me look around.
Edit: It doesn't seem to be posted anywhere I can find. You need to get back to stock to flash an OTA. I think your only option unless HTC releases a RUU for 2.10.709 may be to s-off and update manually.
Click to expand...
Click to collapse
mY RECOMMENDATION IS TO WAIT UNTIL DE 2.10 RUU ZIP AND DO THE SCARD METHOD, IS SAFE FAST AND THEN YOU GOT A FULL STOCK CLEAN OF BLOATWARE, ALSO IYOU WILL BECOME OFFICIAL STOCK, YOU WOULD HAVE TO ROOT AGAIN AND FLASH TWRP. NO S-OFF REQUIERED.
Important
jollywhitefoot said:
Main version not allowed looks like its saying you can't downgrade. Maybe the bootloader version changed.
Click to expand...
Click to collapse
i searched the internet and found a nandroid backup which was the same stock rom my device was running
now i restored it via TWRP , everything is perfect now
so now , i've stock 1.40.709.8 base
Unlocked , TWRP Recovery , Rooted , S-On
And i got OTA Notification to update to 2.10.709.1 >> downloaded it >> but it doesn't install >> i know that i must flash stock recovery and " RELOCK " bootloader
can anyone provide me stock recovery for 1.40.709.8 ??
what is the next steps i have to do , because when i " RELOCK " my bootloader >> device start in bootloader mode and don't boot and i have to unlock it again so it can boot , what causes this ??
EDIT :
can i just flash OTA zip file via TWRP or i can't ??
Amr Nasser said:
i searched the internet and found a nandroid backup which was the same stock rom my device was running
now i restored it via TWRP , everything is perfect now
so now , i've stock 1.40.709.8 base
Unlocked , TWRP Recovery , Rooted , S-On
And i got OTA Notification to update to 2.10.709.1 >> downloaded it >> but it doesn't install >> i know that i must flash stock recovery and " RELOCK " bootloader
can anyone provide me stock recovery for 1.40.709.8 ??
what is the next steps i have to do , because when i " RELOCK " my bootloader >> device start in bootloader mode and don't boot and i have to unlock it again so it can boot , what causes this ??
EDIT :
can i just flash OTA zip file via TWRP or i can't ??
Click to expand...
Click to collapse
Flashing OTAs with TWRP isn't possible but you can use the recovery that is placed in the OTA. The OTA can be found in
Code:
/data/data/com.htc.updater/files/
Just copy it to your pc and open the zip file. The recovery can be found in one of the subfolders. Next step would be making a TWRP backup with only recovery checked. After the backup has finished you need to copy it to your pc, too. Now you need to rename the stock recovery you grabbed from the OTA to
Code:
recovery.emmc.win
and replace the recovery in the backup with the renamed file. Next you need to copy the backup back to your phone and restore it with TWRP. When you reboot now TWRP will be replaced by the stock recovery and you should be able to install the OTA. I'm not sure whether it is necessary to relock for the update with S-ON. With S-OFF it is actually not needed.
Edit: I missed the part where you stated that you're still rooted and assumed that you restored a "read-only backup". My instructions won't work until you restored a stock, unrooted and read-only system beforehand.

HTC One M9 RUU gets stuck a 50% on "Sending"

Hello,
I have been having a lot of trouble lately and all of my problems can be fixed by doing an RUU. The issue is my m9 will not take a full RUU it gets stuck at 50% and I get an error 155 in the HTC exe. The phone itself freezes on the screen with red security text a phone with a spinning circular arrow and a green progress bar. After the freeze I can reboot the phone by volup and pwr. I can access bootloader, and download mode. Doing an RUU by the zip file on the sd card in download mode results in "Failed: -2, 8: fail to flash via downloadzip
How I got here.
relocked bootloader without selecting allow oem unlock in dev settings
attempted an RUU and it froze no ROM installed
attempted to unlock bootloader to get error message because of allow unlock not selected in dev settings
attempted to flash using sd card and download mode to get error above
I am s-on and relocked
I am so stuck right now and I need some help
lpcar04 said:
Hello,
I have been having a lot of trouble lately and all of my problems can be fixed by doing an RUU. The issue is my m9 will not take a full RUU it gets stuck at 50% and I get an error 155 in the HTC exe. The phone itself freezes on the screen with red security text a phone with a spinning circular arrow and a green progress bar. After the freeze I can reboot the phone by volup and pwr. I can access bootloader, and download mode. Doing an RUU by the zip file on the sd card in download mode results in "Failed: -2, 8: fail to flash via downloadzip
How I got here.
relocked bootloader without selecting allow oem unlock in dev settings
attempted an RUU and it froze no ROM installed
attempted to unlock bootloader to get error message because of allow unlock not selected in dev settings
attempted to flash using sd card and download mode to get error above
I am s-on and relocked
I am so stuck right now and I need some help
Click to expand...
Click to collapse
ok. so error 155 could be a connectivity issue. Check device manager or try a different USB port.
Also, do you have HTC Sync Manager installed on the PC? It's required for an RUU to run. Otherwise you get 155.
jollywhitefoot said:
ok. so error 155 could be a connectivity issue. Check device manager or try a different USB port.
Also, do you have HTC Sync Manager installed on the PC? It's required for an RUU to run. Otherwise you get 155.
Click to expand...
Click to collapse
I do have sync manager does it need to be running?
lpcar04 said:
I do have sync manager does it need to be running?
Click to expand...
Click to collapse
No. just needs to be installed.
What firmware are you currently on and what is the version of the RUU you're using? People have had issue running an ruu version that is older than their current firmware version.
if this helps i have tried to update firmware using fastboot and I get this messgae
C:\adb>fastboot flash zip firmware.zip
target reported max download size of 800000000 bytes
sending 'zip' (58525 KB)...
OKAY [ 4.028s]
writing 'zip'...
(bootloader) HOSD CL#556164
(bootloader) Perform pre-update
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 8
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 8
(bootloader) [email protected]
FAILED (remote: 8: fail to flash via downloadzip)
finished. total time: 7.881s
jollywhitefoot said:
No. just needs to be installed.
What firmware are you currently on and what is the version of the RUU you're using? People have had issue running an ruu version that is older than their current firmware version.
Click to expand...
Click to collapse
I am on 2.6.651.11 trying to flash that same version because the first time I flashed that It never finished flashing the ROM portion
lpcar04 said:
if this helps i have tried to update firmware using fastboot and I get this messgae
C:\adb>fastboot flash zip firmware.zip
target reported max download size of 800000000 bytes
sending 'zip' (58525 KB)...
OKAY [ 4.028s]
writing 'zip'...
(bootloader) HOSD CL#556164
(bootloader) Perform pre-update
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 8
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 8
(bootloader) [email protected]
FAILED (remote: 8: fail to flash via downloadzip)
finished. total time: 7.881s
Click to expand...
Click to collapse
lpcar04 said:
I am on 2.6.651.11 trying to flash that same version because the first time I flashed that It never finished flashing the ROM portion
Click to expand...
Click to collapse
You can't flash firmware when you're s-on.
For the RUU, maybe open device manager while it's running to make sure the device is recognized throughout the process. I suppose it's possibly a bad download, but I'm not sure the exe would run at all of that was the case.
jollywhitefoot said:
You can't flash firmware when you're s-on.
For the RUU, maybe open device manager while it's running to make sure the device is recognized throughout the process. I suppose it's possibly a bad download, but I'm not sure the exe would run at all of that was the case.
Click to expand...
Click to collapse
ok thanks will try now
lpcar04 said:
ok thanks will try now
Click to expand...
Click to collapse
Ok I just tried it phone stays detected in Device manager the entire time but right before it fails it says "updating signature" in the exe then closes and gives me 155 and phone freezes
Im in the exact same boat. what to do ? how do i revive the phone ?
arm5263 said:
Im in the exact same boat. what to do ? how do i revive the phone ?
Click to expand...
Click to collapse
Meaning you are s-on, relocked, can't boot into the OS, and did not tick "allow oem unlock"?
If that's the case, your only options are to run the ruu for your firmware version or, if that doesn't work or none exists, return it to htc for repair.
Sent from my HTC One M9 using Tapatalk
yes unfortunately I am S-on, bootloader reloacked (to take the official update). It all started when my official HTC RUU crashed mid way!!! it still crashes..I can get to fastboot, recovery download mode etc but just cant RUU any more as it will crash around 62% saying errror 115 ..get the correct RUU for your device ... it stops at fail to update signature or something... Repeated this this multiple times..same result... I was trying to update to 5.1 from 5.01 software. The download mode does say that I have 2.X.502.18 OS but I believe it did not finish installing all...
I have head there is another way of putting the RUU.zip file and renaming it to some specific name and putting it in your sd card and applying update or may be it will automatically install in download mode?
Can someone help me get that zip file for ATT 5.1 version or outline the process ? my last hope!
arm5263 said:
yes unfortunately I am S-on, bootloader reloacked (to take the official update). It all started when my official HTC RUU crashed mid way!!! it still crashes..I can get to fastboot, recovery download mode etc but just cant RUU any more as it will crash around 62% saying errror 115 ..get the correct RUU for your device ... it stops at fail to update signature or something... Repeated this this multiple times..same result... I was trying to update to 5.1 from 5.01 software. The download mode does say that I have 2.X.502.18 OS but I believe it did not finish installing all...
I have head there is another way of putting the RUU.zip file and renaming it to some specific name and putting it in your sd card and applying update or may be it will automatically install in download mode?
Can someone help me get that zip file for ATT 5.1 version or outline the process ? my last hope!
Click to expand...
Click to collapse
Can't you just unlock with htcdev, get TWRP and flash a rom to check "allow oem unlocking"?
I don't really understand what that option does as I was unlocked at version 5.0.2 though, sorry for my ignorance.
arm5263 said:
yes unfortunately I am S-on, bootloader reloacked (to take the official update). It all started when my official HTC RUU crashed mid way!!! it still crashes..I can get to fastboot, recovery download mode etc but just cant RUU any more as it will crash around 62% saying errror 115 ..get the correct RUU for your device ... it stops at fail to update signature or something... Repeated this this multiple times..same result... I was trying to update to 5.1 from 5.01 software. The download mode does say that I have 2.X.502.18 OS but I believe it did not finish installing all...
I have head there is another way of putting the RUU.zip file and renaming it to some specific name and putting it in your sd card and applying update or may be it will automatically install in download mode?
Can someone help me get that zip file for ATT 5.1 version or outline the process ? my last hope!
Click to expand...
Click to collapse
There's a thread on the ATT M9 forms for converting to a dev edition that has the SD install method listed.
Sent from my HTC One M9 using Tapatalk
Ajxx16 said:
There's a thread on the ATT M9 forms for converting to a dev edition that has the SD install method listed.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
@arm5263
You can find it here >> http://forum.xda-developers.com/showthread.php?t=3086948
Sent from my HTC One M9 using Tapatalk
the problem is since the RUU failed in the middle of updating to 5.1 and I already have relocked the bootloader before applying RUU (you have to lock the bootloader or RUU will fail) and now with partially installed 5.1 on my phone, there was a new security feature that was added that youa have to check allow oem unlock on developer settings.
So now I am stcuk, cant got to developer setting as I cant boot to OS, RUU keeps failing on me, can not unlock bootloader as its not even letting me get the token...fails saying "
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
any way to allow oem unlock in fastboot instead of through developer settings?
any other clue?
arm5263 said:
the problem is since the RUU failed in the middle of updating to 5.1 and I already have relocked the bootloader before applying RUU (you have to lock the bootloader or RUU will fail) and now with partially installed 5.1 on my phone, there was a new security feature that was added that youa have to check allow oem unlock on developer settings.
So now I am stcuk, cant got to developer setting as I cant boot to OS, RUU keeps failing on me, can not unlock bootloader as its not even letting me get the token...fails saying "
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
any way to allow oem unlock in fastboot instead of through developer settings?
any other clue?
Click to expand...
Click to collapse
Did you try the SD-card method ?
Code:
rename the RUU.zip to 0PJAIMG.ZIP,
place it on a ext sd card formatted in FAT32 (a 16 or 32gig one should work),
reboot into DOWNLOAD_MODE, agree and it should flash.
thatts the only thing I have not tried. I will do so tonight and report back.
BTW any place I can grab the ATT 5.1 RUU.zip ? It has to be 2.X.502.18 OS as thats what I see in download screen. With locked bootloder I believe I can only update or re-install the same version.
I extracted rom.zip out of the HTC RUU.EXE file (grabbing it from the temp folder). Do i Just rename it from rom.zip to 0PJAIMG.zip ? I tried to open rom.zip in the arhive app abut it failed to open it ? is that expected?
arm5263 said:
thatts the only thing I have not tried. I will do so tonight and report back.
BTW any place I can grab the ATT 5.1 RUU.zip ? It has to be 2.X.502.18 OS as thats what I see in download screen. With locked bootloder I believe I can only update or re-install the same version.
I extracted rom.zip out of the HTC RUU.EXE file (grabbing it from the temp folder). Do i Just rename it from rom.zip to 0PJAIMG.zip ? I tried to open rom.zip in the arhive app abut it failed to open it ? is that expected?
Click to expand...
Click to collapse
yes rename that rom.zip
no you can't open them their encrypted, and if i recall that RUU was corrupt directly from AT&T
have they updated it ?
http://forum.xda-developers.com/att...ruu-how-to-t3086948/post62629949#post62629949
Sd card method failed too...gives some error say unable to flash from sd card ERROR -2.
Seems like I'll have to return it to ATT or should I send it to HTC ? it is S-on but bootloader is re-locked. I hope ATT wont mind taking it back. I believe its under one year warranty period. I mean was just trying to install 5.1 manually after it failed to take OTA.
Never relock your bootloader on HTC especially on 5.1 and spend $25 to get S-OFF lesson learned!

RUU for HTC 10 : HTC__001 WWE / 2PS6200

I spend almost 6 hours to find RUU, and nothing...
S:\! Sunshine\Android\M7\HTC 10>fastboot getvar mid
mid: 2PS620000
finished. total time: 0.001s
S:\! Sunshine\Android\M7\HTC 10>fastboot getvar cid
cid: HTC__001
finished. total time: 0.002s
If you want to ask if i use this : RUU Zip (Stock Signed)
CID: HTC__001/HTC__034/HTC__A07/HTC__J15/HTC__M27/HTC__016/HTC__002 | MID: 2PS620000
1.90.401.5 (by @djluisbento)
yes i used this and i'm geting: header error 22 :C
I just want to get working RUU > install > update to nugat
Currently i'm on my TWRP Stock Backup and i can't get update, cuz i getting error.
Boot to download mode and look at OS line, download the matching RUU and flash it.
The 401 wwe versions can be easily found here in the HTC 10 subforum.
Hint :
Perform a search in the stock backup thread.....
S:\! Sunshine\Android\M7\HTC 10>fastboot flash zip 2PS6IM[email protected]60331.4_41.13_F_release_490497_combined_signed_2_4.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (208927 KB)...
OKAY [ 10.832s]
writing 'zip'...
(bootloader) HOSD CL#738269
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_N
(bootloader) 6XJwu
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 15.560s
Tested RUU's
2PS6IMG_PE[email protected]60331.4_41.13_F_release_478442_combined_signed_2_4
2PS6IM[email protected]60331.4_41.13_F_release_490497_combined_signed_2_4
2PS6IMG_PERFUM[email protected]4061226_79.07_F_release_493442_signed
2PS6IMG_PERFUME[email protected]61226_79.07_F_release_507791_signed_2_4
Flash newer firmware then try again
ergolau said:
Flash newer firmware then try again
Click to expand...
Click to collapse
Newer firmware, like?
SunshineDude said:
Newer firmware, like?
Click to expand...
Click to collapse
https://forum.xda-developers.com/htc-10/how-to/2016-05-27-fastboot-flashing-firmware-t3387520
get firmware matched to your targeted RUU from this thread
@ergolau i'm not S-OFF
First lines from post
FIRST THINGS FIRST:
This is for GSM PHONES which have been set S-OFF - no CDMA (Sprint & Verizon) here! S-ON people: Please refer to HTC RUU methods or "Stock Backup and OTA" method. (not provided here).
SunshineDude said:
@ergolau i'm not S-OFF
First lines from post
FIRST THINGS FIRST:
This is for GSM PHONES which have been set S-OFF - no CDMA (Sprint & Verizon) here! S-ON people: Please refer to HTC RUU methods or "Stock Backup and OTA" method. (not provided here).
Click to expand...
Click to collapse
If you do what @Mr Hofs said, you'd be done already...
Sent from my HTC6545LVW using Tapatalk
I've entered the os number and download 3 Ruu's and still error
In this post:
https://forum.xda-developers.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297
Key words iv'e used: 1.30.401.1, HTC__001 WWE
Okay i found the solution...
SDCard has not working propertly, i've used another one with 2PS6IMG_PERFUM[email protected]61226_79.07_F_release_495903_signed_2.zip and it start flashing
This same RUU wont flash via RUU mode Fastboot... #HEADER_ERROR
On M7 i don't get these problems with RUU.
Maybe i'm doing something wrong...
SunshineDude said:
Okey i found the solution...
SDCard has not working propertly, i've used another one with 2PS6IMG_PERFUM[email protected]61226_79.07_F_release_495903_signed_2.zip and it start flashing
This same RUU wont flash via RUU mode Fastboot... #HEADER_ERROR
On M7 i don't get these problems with RUU.
Maybe i'm doing something wrong...
Click to expand...
Click to collapse
Remake the zip to 2PS6IMG.zip and copy of te the sdcard, boot to download mode and it wil be recognized. Flash it......
Stop making it very difficult with fastboot commands, not needed at all. And stop texting all RUU files, totally a waste of time. You need the RUU with the NUMBER that is WRITTEN next to OS in the DOWNLOAD mode. Stop doing all sorts of stuff that is totally irrelevant. If the RUU.zip from here doesn't work you do something wrong.
If your OS line is 2.41.401.x you download that RUU and do as i wrote in the first lines of this post.
You try all different sorts of RUU's so that indicates to me that you didn't bother to check out your download mode
Generally i get what i want.
Sorry for shi* post, but sometimes i just dont get it.
I know that the stock roms have a os versions and phone only accept only specific one.
But sometimes like today my sdcard just trick me so hard ;d and i just trying a different method like fastboot oem rebootRUU + fastboot flash zip zipname.zip, thats all.
Thanks for your time @Mr Hofs and @santod040 (Your rom on M7 GPE
is one of the better ones) .
SunshineDude said:
Generally i get what i want.
Sorry for shi* post, but sometimes i just dont get it.
I know that the stock roms have a os versions and phone only accept only specific one.
But sometimes like today my sdcard just trick me so hard ;d and i just trying a different method like fastboot oem rebootRUU + fastboot flash zip zipname.zip, thats all.
Thanks for your time @Mr Hofs and @santod040 (Your rom on M7 GPE
is one of the better ones) .
Click to expand...
Click to collapse
"generally i get what i want" .....jeeeze that comment made me crinch for a moment. Actually the lack of proper reading our posts had you downloading all sorts of RUU files which were unnecessary. It's not your sdcard that tricked you it's your unfocused mind.
Cheers
htc 10 please help me
i have HTC 10
***UNLOCKED***
S-OFF
htc_pmeuhl
CID--HTC__621
MID--2PS620000
RADIO--1.0.U01................
OS--2.41.709.73
and twrp recovery INSTALLED and have a Viper Rom but problem is phone hang on some function and heat up and shutdown like when i make shortcut an app from app drawer to home screen phone is hang with no response and heat and shutdown and also when i download from chrome or other apps so i decided to go to the original software no matter is Marshmallow or Nougat or Oreo but i want to go original what i need to do my question is from which method i want to install like from ruu.exe or ruu.zip or i need to flash stock recovery first or re-lock the boot-loader or do S-ON from S-OFF state please give all the links which i needs i am very thank full in advance plz.
---------- Post added at 09:19 AM ---------- Previous post was at 09:18 AM ----------
i have HTC 10
***UNLOCKED***
S-OFF
htc_pmeuhl
CID--HTC__621
MID--2PS620000
RADIO--1.0.U01................
OS--2.41.709.73
and twrp recovery INSTALLED and have a Viper Rom but problem is phone hang on some function and heat up and shutdown like when i make shortcut an app from app drawer to home screen phone is hang with no response and heat and shutdown and also when i download from chrome or other apps so i decided to go to the original software no matter is Marshmallow or Nougat or Oreo but i want to go original what i need to do my question is from which method i want to install like from ruu.exe or ruu.zip or i need to flash stock recovery first or re-lock the boot-loader or do S-ON from S-OFF state please give all the links which i needs i am very thank full in advance plz.
sadaqatrajput said:
i have HTC 10
***UNLOCKED***
S-OFF
htc_pmeuhl
CID--HTC__621
MID--2PS620000
RADIO--1.0.U01................
OS--2.41.709.73
and twrp recovery INSTALLED and have a Viper Rom but problem is phone hang on some function and heat up and shutdown like when i make shortcut an app from app drawer to home screen phone is hang with no response and heat and shutdown and also when i download from chrome or other apps so i decided to go to the original software no matter is Marshmallow or Nougat or Oreo but i want to go original what i need to do my question is from which method i want to install like from ruu.exe or ruu.zip or i need to flash stock recovery first or re-lock the boot-loader or do S-ON from S-OFF state please give all the links which i needs i am very thank full in advance plz.
---------- Post added at 09:19 AM ---------- Previous post was at 09:18 AM ----------
i have HTC 10
***UNLOCKED***
S-OFF
htc_pmeuhl
CID--HTC__621
MID--2PS620000
RADIO--1.0.U01................
OS--2.41.709.73
and twrp recovery INSTALLED and have a Viper Rom but problem is phone hang on some function and heat up and shutdown like when i make shortcut an app from app drawer to home screen phone is hang with no response and heat and shutdown and also when i download from chrome or other apps so i decided to go to the original software no matter is Marshmallow or Nougat or Oreo but i want to go original what i need to do my question is from which method i want to install like from ruu.exe or ruu.zip or i need to flash stock recovery first or re-lock the boot-loader or do S-ON from S-OFF state please give all the links which i needs i am very thank full in advance plz.
Click to expand...
Click to collapse
Flash this using SD card method.
Do NOT relock bootloader or return to s-on.
https://androidfilehost.com/?fid=745425885120725537
Sent from my Pixel 3 XL using Tapatalk

Categories

Resources