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!
Related
Hi guys, I downloaded firmware from the following location - http://forum.xda-developers.com/one-m9/general/htc-one-m9-dump-t3060545
I wanted to try and flash the software back to stock and get rid of the annoying demo video that pops up every few seconds. When I follow the fastboot commands I get the following issue
C:\adb>fastboot flash zip update.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (72616 KB)...
OKAY [ 5.379s]
writing 'zip'...
(bootloader) HOSD CL#493992
(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: fail to flash via downloadzip)
finished. total time: 9.272s
C:\adb>fastboot reboot
rebooting...
finished. total time: 0.002s
C:\adb>
Can anyone assist? (I renamed the downloaded file)
i also got a demo unit you have to copy the 0PJAIMG.ZIP to the SDCARD and then load up the bootloader then flashing starts fastboot didnt work for me
the problem is after flashing i got the retail software but still the ****ing Demo auto showcase -.-
Edit:
seems like the only variant is to unlock the bootloader and then remove the demo.apk
Check if Demo is a device administrator in Settings > Security.
crucky said:
i also got a demo unit you have to copy the 0PJAIMG.ZIP to the SDCARD and then load up the bootloader then flashing starts fastboot didnt work for me
the problem is after flashing i got the retail software but still the ****ing Demo auto showcase -.-
Edit:
seems like the only variant is to unlock the bootloader and then remove the demo.apk
Click to expand...
Click to collapse
When I try and do this, Windows throws an error at me about the device being disconnected or not responding. It does this on more than one phone when trying to move the file to the SD card, I can move other files to the SD card it's just this one?
Insert the SD card into another device or copy using AirDroid.
or use adb like i did =) but the demo.apk is not removed -,- after full sdcard flash and factory reset
crap, my demo unit is for a week around here and I admire it almost only later that day when im back at home ill try to delete the f***** retail software.
problem is after flashing the ruu the demo.apk is still on the device and cant be removed or deleted.so we have to unlock bootloader flash twrp (if there is a version with system write) and then flash a stock rooted rom so we have to have patient
Damn.. I hope we can unlook them fast
k1moe said:
Damn.. I hope we can unlook them fast
Click to expand...
Click to collapse
you can already unlock at HTC Dev site but we dont have a working TWRP Recovery so we cant flash anything or remove anything because of system write protection.By the way the device you got is a retail demo right ? i also got one in my shop to play with xD
crucky said:
you can already unlock at HTC Dev site but we dont have a working TWRP Recovery so we cant flash anything or remove anything because of system write protection.By the way the device you got is a retail demo right ? i also got one in my shop to play with xD
Click to expand...
Click to collapse
okay.. THANX :highfive: via "all other supported devices" right? ill try..
yes, ists a retail phone.. but with modem and full working. and to my luck we had a few more
So I took a retail demo HTC One M8 too and after unlocking and rooting I deleted the contents of the demo folder in etc. I then flashed a custom rom, booted successfully and boom demo content was gone. So I tried to revert to stock using the Lollipop RUU exe floating around and on first boot the demo app re-installed itself. Basing of this, I can imagine the M9 would work the same. It would seem removing demo content is impossible.
Sent from my SM-N910F using Tapatalk
got it.. bootloader unlocked, rooted with superSU via twrp and deleted demo.apk, com.htc.demoflo and another process started by com.htc.demoflo. after rebooting all aps are gone :highfive: thank you so much for helping me :good::victory:
Please could you detail exactly which processes and folders so I can replicate this on mine?
Sent from my SM-N910F using Tapatalk
I have replied to your question in the m8 threads Jay, I have m8 & M9 retail demo units ?
While I couldn't use TB, I was able to use "pm disable" to take out a load of bits.
Copy and paste job......
Hi Jay
I get demo devices through my employer, every single HTC ROM out there inclues demoflow, the device it's self is essentialy a generic unit with an alternate CID, the demo installation and launch is triggered by CID HTC_002, the most effective way to get rid of demoflo and make the device 100% generic, is to S-Off and supercid! (11111111)
Once you are supercid you can flash any ruu and you will still have a 100% generic device, OTA updates and all... Demo won't even install.
The alternative method would be to simply remove /system/etc/.demoflo and /system/priv-app/DemoFlowInstaller
This will break ota and carrying the 002 cid will bring demoflo back when you flash any HTC ruu.
My M9 came as a demo unit, I modified the supersu installer to do the work for me as S-off isn't yet available... Htc dev unlock - twrp & flash the modified supersu zip.. once again breaking ota but I have an ruu on standby..
Feel free to shout if you need assistance.
Thanks
Lee
Electronic Punk said:
While I couldn't use TB, I was able to use "pm disable" to take out a load of bits.
Click to expand...
Click to collapse
Also an option but less permanent, I had considered adding pm commands to usf_post_boot.sh but it would still kill ota's
tbh, if I mod the system I won't even dare try an OTA and I am going to mod /system/ just because they change the way an OTA works I am not going to suddenly get worried.
If an when I have to flash an OTA I will back my **** up and RUU my way up to it.
Electronic Punk said:
tbh, if I mod the system I won't even dare try an OTA and I am going to mod /system/ just because they change the way an OTA works I am not going to suddenly get worried.
If an when I have to flash an OTA I will back my **** up and RUU my way up to it.
Click to expand...
Click to collapse
Indeedie mate, but seriously looking forward to s-off & supercid, drives me insane flashing and fighting with demo stuff..
Any thoughts on the screen? The color doesn't look as vibrant as my m8, wondering if it's the M9s config or if its down to them being demo units...
I've read around on the forums here and other places but some of it doesn't make any sense to me and I watched a YouTube video about unlocking the bootloader then rooting the phone unfortunately i didn't do a nandroid back up before rooting (using supersu) and i am wondering if it is possible to flash to a stock rom so that in the future i can ota update in the future.
here is what i have at the moment
international phone (im on o2 in the uk anyway)
android version: 5.0.2
Software number: 1.32.401.15
unlocked bootloader
rooted
s-off
SuperCID
Also if someone can guide me through this i would be extremely thankful.
Thanks for your help guys.
You would need to either get a nandroid of your particular carriers ROM, or download the correct RUU from HTC.
BillTheCat said:
You would need to either get a nandroid of your particular carriers ROM, or download the correct RUU from HTC.
Click to expand...
Click to collapse
as far as i know there are these 2 RUUs which are the same version as mine
androidruu.com/getdownload.php?file=M9/0PJAIMG_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.15_R1_Radio_01.01_U11440261_56.02.50306G_2_F_release_426891_signed.zip
androidfilehost.com/?fid=96039337900114679
are these fine to flash to my device?
linton85 said:
as far as i know there are these 2 RUUs which are the same version as mine
androidruu.com/getdownload.php?file=M9/0PJAIMG_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.15_R1_Radio_01.01_U11440261_56.02.50306G_2_F_release_426891_signed.zip
androidfilehost.com/?fid=96039337900114679
are these fine to flash to my device?
Click to expand...
Click to collapse
I have no idea, since you haven't told us what version your phone is. I think you ought to wait for feedback from someone else who can advise you better.
linton85 said:
as far as i know there are these 2 RUUs which are the same version as mine
androidruu.com/getdownload.php?file=M9/0PJAIMG_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.15_R1_Radio_01.01_U11440261_56.02.50306G_2_F_release_426891_signed.zip
androidfilehost.com/?fid=96039337900114679
are these fine to flash to my device?
Click to expand...
Click to collapse
Yes your s-off you can use those RUU
hmm i cant seem to use them, i go to flash it then i get this;
Code:
C:\Users\Jack\Desktop\HTC ROOT + UNLOCK\platform-tools>fastboot oem rebootRUU
...
OKAY [ 0.020s]
finished. total time: 0.021s
C:\Users\Jack\Desktop\HTC ROOT + UNLOCK\platform-tools>fastboot flash zip 0PJAIM
G.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (88044 KB)...
OKAY [ 6.331s]
writing 'zip'...
(bootloader) HOSD CL#506785
(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) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 8.430s
any idea?
linton85 said:
hmm i cant seem to use them, i go to flash it then i get this;
Code:
C:\Users\Jack\Desktop\HTC ROOT + UNLOCK\platform-tools>fastboot oem rebootRUU
...
OKAY [ 0.020s]
finished. total time: 0.021s
C:\Users\Jack\Desktop\HTC ROOT + UNLOCK\platform-tools>fastboot flash zip 0PJAIM
G.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (88044 KB)...
OKAY [ 6.331s]
writing 'zip'...
(bootloader) HOSD CL#506785
(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) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 8.430s
any idea?
Click to expand...
Click to collapse
your using the wrong fastboot
you need htc_fastboot >> https://www.androidfilehost.com/?fid=96039337900114016
it's also easy to 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.
it's also easy to 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.
Click to expand...
Click to collapse
ok managed to flash it back successfully couple of things though:
i couldnt copy the file when it was named 0JAIMPG.ZIP to the sd card (was in the phone not sure if i had to take it out and put it on)
it still says "software status modified" "unlocked" "s-off" afaik you can't get software status back to normal, to get unlocked back to locked would mean me relocking the bootloader and s-off shouldnt matter with ota update?
if i was to now re-install twrp but before rooting i took a nandroid backup would this allow me to get ota updates if i then restore to that after rooting or would one of the things above prevent me?
if not is there anyway i can get ota updates again?
linton85 said:
ok managed to flash it back successfully couple of things though:
i couldnt copy the file when it was named 0JAIMPG.ZIP to the sd card (was in the phone not sure if i had to take it out and put it on)
it still says "software status modified" "unlocked" "s-off" afaik you can't get software status back to normal, to get unlocked back to locked would mean me relocking the bootloader and s-off shouldnt matter with ota update?
if i was to now re-install twrp but before rooting i took a nandroid backup would this allow me to get ota updates if i then restore to that after rooting or would one of the things above prevent me?
if not is there anyway i can get ota updates again?
Click to expand...
Click to collapse
If you used the htc_fastboot to flash it will not reset the modified tag
you have to do it yourself >> http://forum.xda-developers.com/one-m9/general/how-to-restore-software-status-original-t3092882
To set unlocked to locked you have to do this >> http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036
and yes, you can get OTA update with unlocked and s-off
Thank you so much for taking the time to help me out and providing links I am very grateful
clsA said:
your using the wrong fastboot
you need htc_fastboot >> https://www.androidfilehost.com/?fid=96039337900114016
it's also easy to 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.
Click to expand...
Click to collapse
Do I rename this file to fastboot.exe and delete the original fastboot?
I seem to always get the 90 pre-update FAIL when I flash different firmware.
bigp951 said:
Do I rename this file to fastboot.exe and delete the original fastboot?
I seem to always get the 90 pre-update FAIL when I flash different firmware.
Click to expand...
Click to collapse
Just leave it as htc_fastboot. They can coexist.
Dude, what's it tell you after you get the error 90? Flash again immediately, right? EVERYONE gets error 90 when flashing firmware. It's a pre-check before actually doing anything. If you're phone reboots to OS after getting 90, then just leave your command/terminal window open and put your phone back in download mode and re-run the exact same command to start the flash again.
jollywhitefoot said:
Just leave it as htc_fastboot. They can coexist.
Dude, what's it tell you after you get the error 90? Flash again immediately, right? EVERYONE gets error 90 when flashing firmware. It's a pre-check before actually doing anything. If you're phone reboots to OS after getting 90, then just leave your command/terminal window open and put your phone back in download mode and re-run the exact same command to start the flash again.
Click to expand...
Click to collapse
That's what I have been doing.... Did not know EVERYONE gets that error. Thanks for the info though. From what I read elsewhere is that the htc_fastboot will reboot back into download mode instead of os. That's why I mentioned it.
bigp951 said:
That's what I have been doing.... Did not know EVERYONE gets that error. Thanks for the info though. From what I read elsewhere is that the htc_fastboot will reboot back into download mode instead of os. That's why I mentioned it.
Click to expand...
Click to collapse
No problem bro. I think I've gotten reboots to is using HTC_fastboot, too.
clsA said:
your using the wrong fastboot
you need htc_fastboot >> https://www.androidfilehost.com/?fid=96039337900114016
it's also easy to 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.
Click to expand...
Click to collapse
Sir After installing 5.1 update my phone got stuck at boot screen.
Now I am unable to boot into recovery. Also locked My bootloader accidentally. While trying to flash a zip through fastboot I am getting below error. Could you please help me out.
OTA_HIMA_UHL_L50_SENSE70_hTC_Asia_HK_1.40.708.9-1.32.708.15_R1_release_436199
amit_coolcampus said:
Sir After installing 5.1 update my phone got stuck at boot screen.
Now I am unable to boot into recovery. Also locked My bootloader accidentally. While trying to flash a zip through fastboot I am getting below error. Could you please help me out.
OTA_HIMA_UHL_L50_SENSE70_hTC_Asia_HK_1.40.708.9-1.32.708.15_R1_release_436199
Click to expand...
Click to collapse
I'm sorry to tell you but if you updated to 5.1 and did not go into developer options and check to allow bootloader unlock, and then locked your bootloader theirs is nothing you can do but flash a RUU. Are you s-off ? If no your most likely stuck.
I have no idea what the file name you posted above is for... Edit: This may be the help you need >> https://www.androidfilehost.com/?fid=24052804347810886
Sir I am S-On. I am trying to flash a RUU but getting error everytime. Tried from SD card. tried via fastboot.
Also my M9 is HTC Asia (Hongkong). So I have tried flashing below one. Can I try flashing TW version given by you??
https://www.androidfilehost.com/?fid=24269982087001508
clsA said:
I'm sorry to tell you but if you updated to 5.1 and did not go into developer options and check to allow bootloader unlock, and then locked your bootloader theirs is nothing you can do but flash a RUU. Are you s-off ? If no your most likely stuck.
I have no idea what the file name you posted above is for... Edit: This may be the help you need >> https://www.androidfilehost.com/?fid=24052804347810886
Click to expand...
Click to collapse
amit_coolcampus said:
Sir I am S-On. I am trying to flash a RUU but getting error everytime. Tried from SD card. tried via fastboot.
Also my M9 is HTC Asia (Hongkong). So I have tried flashing below one. Can I try flashing TW version given by you??
https://www.androidfilehost.com/?fid=24269982087001508
Click to expand...
Click to collapse
With S-ON it's not possible to downgrade or to flash RUUs that were made for other SKUs (Taiwan is 709 and Hongkong is 708). Since you can't use the RUU in my AFH folder because it's older than your actual firmware and there is no other RUU for the SKU 708 (or at least none I know) than that one you linked your only hope might be the RUU service on llabtoofer's website.
Edit @clsA: That file amit_coolcampus mentioned earlier is one of the OTAs for the Hongkong version of the M9.
Flippy498 said:
With S-ON it's not possible to downgrade or to flash RUUs that were made for other SKUs (Taiwan is 709 and Hongkong is 708). Since you can't use the RUU in my AFH folder because it's older than your actual firmware and there is no other RUU for the SKU 708 (or at least none I know) than that one you linked your only hope might be the RUU service on llabtoofer's website.
Edit @clsA: That file amit_coolcampus mentioned earlier is one of the OTAs for the Hongkong version of the M9.
Click to expand...
Click to collapse
Thanks Sir. Can I get this repaired if i visit HTC service center? Will they be having 2.11.708.30 RUU?
amit_coolcampus said:
Thanks Sir. Can I get this repaired if i visit HTC service center? Will they be having 2.11.708.30 RUU?
Click to expand...
Click to collapse
Honestly, I don't know. I've always been able to recover my phones without the help of the HTC service center or the RUU service. My guess is that the RUU service might be cheaper but that's only a guess. Maybe someone else here had to use one or both of these services and can share his/her experience...
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.
Hello,
I've given this the good ol' college try and have failed miserably. I'm trying to revert my phone back to stock so I can take the latest OTA(Stagefrieght) for the HTC One M9 AT&T variant. Here are the steps and details about my phone:
Phone: HTC One M9
Carrier: AT&T
Security: S-ON
Bootloader: Unlocked
Android Version: 5.1
HTC Sense Version: 5.0
Software Number: 2.6.502.16
Kernel Version: 3.10.49-perf-g15d0457
Baseband version: 01.01_U11440601_72.02.50602A_F
In DOWNLOAD Mode the following appears:
*** UNLOCKED ***
htc_himaulatt PVT S-ON
LK-1.0.0.0000
RADIO-01.01_U11440601_72.02.50602A_F
OpenDSP-v29.2.6-00492-M8994_0514
OS-2.6.502.16
Jun 23, 2015, 11:57:08(556209)
Methods Tried:
I've tried to use the following RUU's for my phone and have received 'Error 15' each time during the install process Step 1:
RUU_HIMA_UL_L50_SENSE70_ATT_Cingular_US_1.32.502.3 1_Radio_01.01_U11440221_62.05.50320G_F_release_426 950_signed_2.exe
RUU_HIMA_UL_L51_SENSE70_ATT_MR_Cingular_US_2.6.502 .16_Radio_01.01_U11440601_72.02.50602A_F_release_4 38693_signed_2.exe
RUU_HIMA_UL_L51_SENSE70_ATT_MR_Cingular_US_2.6.502 .18_Radio_01.01_U11440601_72.02.50602A_F_release_4 46474_signed_2.exe
I've also tried relocking my bootloader, restoring the recovery file '2.6.502.16_stock_recovery.img' and installing the RUU's with the same results.
Another method I tried was unlocking my bootloader again and placing a zip of the following on the 'media/ext_sd/' slow and get an error immediately.
himaulatt-3.10.49-perf-g15d0457.zip
himaulatt-3.10.49-gac85c7b.zip
I was able to generate some unique errors by trying to take the OTA on TWRP(I know, this is not a correct and ultimately what probably put me in this situation):
"This package is for "htc_himaulatt" devices; this is a "htc_himaul"
Any help would be greatly appreciated as I've ran out of ideas!
Thanks!
RUU.exe will not run unless your bootloader is locked. DId you try running one of those from your pc with your bootloader locked?
it sounds like you already did, but make sure you have "allow oem unlocking" ticked in developer settings before relocking.
Thanks for the reply iElvis, I'll give the following a shot:
1: Go to settings-->Developer Options and enabled: 'OEM unlocking'
2: Reboot to download mode and set my bootloader to 'Relocked'
3: Run the RUU.exe. (Any particular one I should run?)
Ill post updates soon.
The most recent AT&T ruu should work. I've seen many people use it.
I 'Relocked' my bootloader and tried to execute the following RUU: 'RUU_HIMA_UL_L50_SENSE70_ATT_Cingular_US_1.32.502.3 1_Radio_01.01_U11440221_62.05.50320G_F_release_426 950_signed_2.exe'.
It got to step 1/7 where it said something about 'Signatures' and then failed with ERROR [155]: Unknown Error. I was also able to pull this log file information from the RUU:
<T165302><DEBUG>=====Sending zip OK=====
</DEBUG></T165302>
<T165302><DEBUG><OUT>writing 'zip'... (bootloader) HOSD CL#556209</OUT>
</DEBUG></T165302>
<T165302><DEBUG><OUT>(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED</OUT>
</DEBUG></T165302>
<T165302><DEBUG><OUT>(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19</OUT>
</DEBUG></T165302>
<T165302><DEBUG><OUT>(bootloader) ERR Update zip file failed.</OUT>
</DEBUG></T165302>
<T165302><DEBUG><OUT>(bootloader) ERR ZIP ERROR, exit read zip loop</OUT>
</DEBUG></T165302>
<T165304><DEBUG><OUT>(bootloader) ERR ZIP signature checking failed...</OUT>
</DEBUG></T165304>
<T165304><DEBUG><OUT>(bootloader) Update zip file OK</OUT>
</DEBUG></T165304>
<T165304><DEBUG><OUT>(bootloader) ERR ZIP ERROR CODE, 19</OUT>
</DEBUG></T165304>
<T165304><DEBUG><OUT>(bootloader) [email protected]</OUT>
</DEBUG></T165304>
<T165306><DEBUG><OUT>FAIL19: fail to flash via downloadzip</OUT>
</DEBUG></T165306>
<T165306><DEBUG><OUT>FAILED (remote: 19: fail to flash via downloadzip)</OUT>
</DEBUG></T165306>
<T165306><DEBUG>[_parseStatus] strErrCode = 19
</DEBUG></T165306>
Ideas?
ODUPhone said:
I 'Relocked' my bootloader and tried to execute the following RUU: 'RUU_HIMA_UL_L50_SENSE70_ATT_Cingular_US_1.32.502.3 1_Radio_01.01_U11440221_62.05.50320G_F_release_426 950_signed_2.exe'.
It got to step 1/7 where it said something about 'Signatures' and then failed with ERROR [155]: Unknown Error. I was also able to pull this log file information from the RUU:
<T165302><DEBUG>=====Sending zip OK=====
</DEBUG></T165302>
<T165302><DEBUG><OUT>writing 'zip'... (bootloader) HOSD CL#556209</OUT>
</DEBUG></T165302>
<T165302><DEBUG><OUT>(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED</OUT>
</DEBUG></T165302>
<T165302><DEBUG><OUT>(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19</OUT>
</DEBUG></T165302>
<T165302><DEBUG><OUT>(bootloader) ERR Update zip file failed.</OUT>
</DEBUG></T165302>
<T165302><DEBUG><OUT>(bootloader) ERR ZIP ERROR, exit read zip loop</OUT>
</DEBUG></T165302>
<T165304><DEBUG><OUT>(bootloader) ERR ZIP signature checking failed...</OUT>
</DEBUG></T165304>
<T165304><DEBUG><OUT>(bootloader) Update zip file OK</OUT>
</DEBUG></T165304>
<T165304><DEBUG><OUT>(bootloader) ERR ZIP ERROR CODE, 19</OUT>
</DEBUG></T165304>
<T165304><DEBUG><OUT>(bootloader) [email protected]</OUT>
</DEBUG></T165304>
<T165306><DEBUG><OUT>FAIL19: fail to flash via downloadzip</OUT>
</DEBUG></T165306>
<T165306><DEBUG><OUT>FAILED (remote: 19: fail to flash via downloadzip)</OUT>
</DEBUG></T165306>
<T165306><DEBUG>[_parseStatus] strErrCode = 19
</DEBUG></T165306>
Ideas?
Click to expand...
Click to collapse
I was finally able to restore my phone to a stock state by doing the following(Much thanks to iElvis)
1: Ensure 'Allow OEM Unlocking' was checked in Developer Options
2: Restore phone to 'Relocked' state by issuing the following commands:
A: adb reboot booloader
B: Select 'download mode and issue the following: fastboot oem lock
3: Restart device and launch RUU that is specific to your current software version. In my case I had to execute RUU 'RUU_HIMA_UL_L51_SENSE70_ATT_MR_Cingular_US_2.6.502.18_Radio_01.01_U11440601_72.02.50602A_F_release_446474_signed_2'
Also, the issue could be caused by a faulty USB cable or plug, please try others as the above I tried on one PC yesterday did not work but today on another worked fine. Please feel free to reach out to me if you need additional information on this matter. Thanks!
ODUPhone said:
Also, the issue could be caused by a faulty USB cable or plug, please try others as the above I tried on one PC yesterday did not work but today on another worked fine. Please feel free to reach out to me if you need additional information on this matter. Thanks!
Click to expand...
Click to collapse
The first one in the post just above failed because you're s-on and it was trying to downgrade. You can generally only run RUUs with the same or later versions as what's on your phone unless you're s-off.
This is my first ever post so forgive me if it's not in the right place... Does anyone know where I can get the stock kernel for a HTC One m9 as the custom one I'm using makes my phone so hot I could fry eggs on it! Thanks
Sent from my HTC One M9 using XDA Premium HD app
ODUPhone said:
I was finally able to restore my phone to a stock state by doing the following(Much thanks to iElvis)
1: Ensure 'Allow OEM Unlocking' was checked in Developer Options
2: Restore phone to 'Relocked' state by issuing the following commands:
A: adb reboot booloader
B: Select 'download mode and issue the following: fastboot oem lock
3: Restart device and launch RUU that is specific to your current software version. In my case I had to execute RUU 'RUU_HIMA_UL_L51_SENSE70_ATT_MR_Cingular_US_2.6.502.18_Radio_01.01_U11440601_72.02.50602A_F_release_446474_signed_2'
Also, the issue could be caused by a faulty USB cable or plug, please try others as the above I tried on one PC yesterday did not work but today on another worked fine. Please feel free to reach out to me if you need additional information on this matter. Thanks!
Click to expand...
Click to collapse
For anyone that is having issues with Relocking the bootloader, please read this. I relocked my bootloader and got stuck into a bootloader loop (no matter what I did, the phone always went back to the bootloader). I had to go through so much trying to fix it. I am going to tell you what I did:
**THIS PROCESS WILL COMPLETELY WIPE YOUR PHONE AND ALL THE DATA ON IT**
Before you start, make sure you have the correct drivers installed, I would recommend installing HTC Sync Manager to ensure that you have the correct ones. If you are following this tutorial simply to return your HTC One to stock and not because it is bricked, then you need to remove your google account from the device. -Thanks shivadow.
1. Find the correct RUU.exe (make sure it is an exe and not a zip or you will find issues later on) file for you phone and download it. These links provides a good selection of RUUs:
http://forum.xda-developers.com/showpost.php?p=59783523&postcount=2
http://www.htc.com/us/support/rom-downloads.html
2. Boot your phone into the bootloader (should be easy enough if your phone only boots to the bootloader )
3. Navigate to the Download Mode using the volume keys. Once the download mode text is highlighted, press the power button to select it. You should be booted into a dark screen with multiple options (system info, etc).
4. Once you are in Download Mode, you can plug your device into your PC. I would recommend using a USB 2.0 port rather than 3.0.
5. On your PC (or Mac, I don't judge #pcmasterrace) you need to open the RUU.exe file. Double click the file icon, like you would when launching any other application on your PC.
6. Once the RUU application has opened up, all you need to do is follow the onscreen instructions. If you get an error telling you that your battery is below 30% then you may need to charge your phone until it is around 50%.
7. Once the process is done, you can click finish on the final dialog box. Your phone will shut down, so you will need to hold the power button to turn it on.
8. When your phone comes back on, it will be totally wiped as if it were stock again, so you will need to restore from your backup or set it up as a new device.
9. Now enjoy your non-bricked HTC One!
McWillies, please add "remove your google account from the device" as stage 1.
The reason being is that a lot of people can't get back into their devices due to google's frp.
Sent from my HTC One M9 using Tapatalk
shivadow said:
McWillies, please add "remove your google account from the device" as stage 1.
The reason being is that a lot of people can't get back into their devices due to google's frp.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
I'm not quite sure what you mean. In this situation I explained, the phone is soft bricked. You can't boot into the OS at all. Unless you want me to add it for people who aren't soft bricked and just needed a tutorial for returning to stock? I went ahead and added it to the bold text that is shown before the steps, is that alright?
hello
Since the new OTA came e cant upgrade because give a error "Can't update software. There was an unexpected error and the file f system may be corrupted. Please contact HTC support"
I´m S-OFF/LOCKED and stock rom 2.41.401.3 that i flash from a RUU.EXE because i want to take OFFICIAL STATUS
Before that i had a S-ON/UNLOCK and a 2.41.401.4 stock but ROOTED and MODIFIED STATUS
i downgrade because i had a lot of reboots.
I have try to flash 2.41.401.41 via fastboot flash zip
dry to rename the file to "2PS6IMG.ZIP and flash in download mode
but e receive always 22 RU_HEADER_ ERROR
please help
enduromen said:
hello
Since the new OTA came e cant upgrade because give a error "Can't update software. There was an unexpected error and the file f system may be corrupted. Please contact HTC support"
I´m S-OFF/LOCKED and stock rom 2.41.401.3 that i flash from a RUU.EXE because i want to take OFFICIAL STATUS
Before that i had a S-ON/UNLOCK and a 2.41.401.4 stock but ROOTED and MODIFIED STATUS
i downgrade because i had a lot of reboots.
I have try to flash 2.41.401.41 via fastboot flash zip
dry to rename the file to "2PS6IMG.ZIP and flash in download mode
but e receive always 22 HEADER RUU ERROR
please help
Click to expand...
Click to collapse
Reflash RUU will get you to stock. But will wipe everything. Then you can take the OTA. Also this should be in the Q&A section
i did it right now and upgrade too 2.41.401.4 with RUU.exe but still the same problema can´t upgrade
enduromen said:
i did it right now and upgrade too 2.41.401.4 with RUU.exe but still the same problema can´t upgrade
Click to expand...
Click to collapse
Whats your CID
HTC__001
I'm complet stock exception the S-OFF so I don't see a reason that I can't upgrade
Do you think S-OFF state could be the reason?
enduromen said:
I'm complet stock exception the S-OFF so I don't see a reason that I can't upgrade
Do you think S-OFF state could be the reason?
Click to expand...
Click to collapse
No you should be able to take OTA if you flashed RUU. Are you still getting the same error message?
yldlj said:
No you should be able to take OTA if you flashed RUU. Are you still getting the same error message?
Click to expand...
Click to collapse
yes, as i saided i flashed RUU.EXE 2.41.401.4 (bootloader is LOCKED and OFFICIAL STATUS) and the same error
Flash in download mode get this
C:\adb>fastboot flash zip OTA_PERFUME_UHL_N70_SENSE80GP_MR_HTC_Europe_2.41.401.41-2.41.401.4_release_508220k03ww80trnr46pl3.zip
target reported max download size of 1579200000 bytes
sending 'zip' (266199 KB)...
OKAY [ 14.049s]
writing 'zip'...
(bootloader) HOSD CL#857212
(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 ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 15.179s
enduromen said:
yes, as i saided i flashed RUU.EXE 2.41.401.4 (bootloader is LOCKED and OFFICIAL STATUS) and the same error
Flash in download mode get this
C:\adb>fastboot flash zip OTA_PERFUME_UHL_N70_SENSE80GP_MR_HTC_Europe_2.41.401.41-2.41.401.4_release_508220k03ww80trnr46pl3.zip
target reported max download size of 1579200000 bytes
sending 'zip' (266199 KB)...
OKAY [ 14.049s]
writing 'zip'...
(bootloader) HOSD CL#857212
(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 ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 15.179s
Click to expand...
Click to collapse
Lol xD you can't flash this that easy in fastboot not download mode xD you have to either name it to MID number .zip or download it from directly on the phone and let it install . Stock recovery mandatory if you flash this way. There is a way with TWRP, but a lot more to do
Sent from my HTC 10 using XDA Labs
thanks for your answer
"download it from directly on the phone and let it install " i cant because the phone give a error "Can't update software. There was an unexpected error and the file f system may be corrupted. Please contact HTC support"
i rename the OTA file to 2PS6IMG.ZIP put on SDcard go to download mode and the same 22 RU_HEADER_ERROR
to you have some other sugestion?? I have stock recovery because i flash a RUU.EXE
Ps- also try flash in recovery doing UPDATE FROM SD but give a signed error
thanks for your answer
"download it from directly on the phone and let it install " i cant because the phone give a error "Can't update software. There was an unexpected error and the file f system may be corrupted. Please contact HTC support"
i rename the OTA file to 2PS6IMG.ZIP put on SDcard go to download mode and the same 22 RU_HEADER_ERROR
to you have some other sugestion?? I have stock recovery because i flash a RUU.EXE
Ps- also try flash in recovery doing UPDATE FROM SD but give a signed error
flash TRWP and to a restore from a Untouched System Image + Boot +stock recovery is not the same thing that flash a RUU.EXE?
enduromen said:
thanks for your answer
"download it from directly on the phone and let it install " i cant because the phone give a error "Can't update software. There was an unexpected error and the file f system may be corrupted. Please contact HTC support"
i rename the OTA file to 2PS6IMG.ZIP put on SDcard go to download mode and the same 22 RU_HEADER_ERROR
to you have some other sugestion?? I have stock recovery because i flash a RUU.EXE
Ps- also try flash in recovery doing UPDATE FROM SD but give a signed error
flash TRWP and to a restore from a Untouched System Image + Boot +stock recovery is not the same thing that flash a RUU.EXE?
Click to expand...
Click to collapse
try the sytem image. worked for me too. sometimes something is broken and with an untouched system image you can install the update again. or just get latest system image and no need of installing the update anymore xD
but let me ask again. your phone is s-off, with locked bootloader right? normally after a RUU you should be able to either install it via downloading directly on the phone and install it there. or you should be also able to flash it like anyone else through either download mode when renamed or even in stock recovery. you can try to boot into stock recovery, apply that zip for installation. maybe that works for you. if you try a full factry reset throught fastboot or stock recovery. I forgot what I exactly did. but one of those steps helped me
answer your question YES i´m S-OFF and LOCKED and STOCK RECOVERY.
"normally after a RUU you should be able to either install it via downloading directly on the phone and install it there. or you should be also able to flash it like anyone else through either download mode when renamed or even in stock recovery"
fully agree with you but i cant i just do it all and nothing work
After Flash RUU.EXE i do a factory reset in stock recovery but didnt help still can download in the phone
"you can try to boot into stock recovery, apply that zip for installation" i did it and the result is "signature verification failed"
just dont do a restore system image in TWRP because i think the result was the same that flash the RUU but maybe it isnt
any one more sugestion that can help?
enduromen said:
answer your question YES i´m S-OFF and LOCKED and STOCK RECOVERY.
"normally after a RUU you should be able to either install it via downloading directly on the phone and install it there. or you should be also able to flash it like anyone else through either download mode when renamed or even in stock recovery"
fully agree with you but i cant i just do it all and nothing work
After Flash RUU.EXE i do a factory reset in stock recovery but didnt help still can download in the phone
"you can try to boot into stock recovery, apply that zip for installation" i did it and the result is "signature verification failed"
just dont do a restore system image in TWRP because i think the result was the same that flash the RUU but maybe it isnt
any one more sugestion that can help?
Click to expand...
Click to collapse
Find and Download the RUU zip file instead of the .exe. rename the RUU zip to 2PS6IMG.zip, place on ex sdcard, boot to download mode and press uo to flash. The RUU zip has never failed for me as i can take OTA's straight after.
yldlj said:
Find and Download the RUU zip file instead of the .exe. rename the RUU zip to 2PS6IMG.zip, place on ex sdcard, boot to download mode and press uo to flash. The RUU zip has never failed for me.
Click to expand...
Click to collapse
The ruu.exe works for him, afterwords he just can't install the it's because something is triggered.
@ OP did you download the zip, go into data/data/updater.htc-something folder and take the zip. You need either root or custom recovery for that. And try to flash that. If you've done that already. Don't know just get either latest ruu if finally available or take the system image of the latest and restore it. For some it works for some not
Sent from my HTC 10 using XDA Labs
DeeZZ_NuuZZ said:
The ruu.exe works for him, afterwords he just can't install the it's because something is triggered.
@op did you download the zip, go into data/data/updater.htc-something folder and take the zip. You need either root or custom recovery for that. And try to flash that. If you've done that already. Don't know just get either latest ruu if finally available or take the system image of the latest and restore it. For some it works for some not
Click to expand...
Click to collapse
Yeah i know but something isnt right as after flashing RUU he still cant update which to me is very strange. What i ment in my post was after flashing an RUU you should be able to take the ota and using the RUU zip has always worked for me to do that
Try go into stock recovery, there shall be an option to sideload OTA file, then use adb sideload OTAfile.zip, this is how I manually apply OTA.
also check the md5 to see if the OTA file is correct.
https://forum.xda-developers.com/showpost.php?p=73528777&postcount=2188
also try 401.3 ruu to see if that help
DeeZZ_NuuZZ said:
The ruu.exe works for him, afterwords he just can't install the it's because something is triggered.
@ OP did you download the zip, go into data/data/updater.htc-something folder and take the zip. You need either root or custom recovery for that. And try to flash that. If you've done that already. Don't know just get either latest ruu if finally available or take the system image of the latest and restore it. For some it works for some not
Sent from my HTC 10 using XDA Labs
Click to expand...
Click to collapse
no is not I can't even download in phone so there it's is not in that folder. I downloaded here in update thread
Will try flash ruu.zip but before I install a run.exe this gave me a error to
TRY THIS>>> https://forum.xda-developers.com/htc-10/how-to/guide-how-to-ota-receive-corrupt-message-t3378187