failed to update marsgmallow OTA - One (M9) Q&A, Help & Troubleshooting

hi
i am asking for your help guys as always
i have htc one m9 original stock rom, , s-on, rooted , CUSTOM TWRP RECOVERY. UNLOCKED BOOT LOADER
and my phone info is as this :
kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) imei: 3572260xxxxxxxx
(bootloader) version-main: 2.10.401.1
(bootloader) boot-mode: download
(bootloader) version-baseband: 01.04_U11440601_71.02.50709G_F
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: HTC__J15
My problem is: i can't update my m9 to the latest OTA marshmallow
recently, i received an OTA update marshmallow 6 ( part 1/2 )
version of OTA received is 2.10.401.108
to flash a stock recovery, i extracted the OTA zip file, and extracted its content firmware.zip to get the stock recovery, i fount 2 recoveies, 1) recovery.img 2 ) recovery_signed.img.
is this the right way to have the correct stock recovery ?
anyway, i flashed these 2 recoveries in order to update the new OTA, but no one succeeded, and i got this message on download mode ( attached pic )
is the problem because of incorrect stock recovery ?
how do i get a proper one ?
i tried also this
https://docs.google.com/spreadsheets/d/1ZaiJ3F_f76sVa4daU5H62OYi5Bj23LEBBv4xDTQ8y-M/pubhtml
but didn't know which one to take exactly.
also, i tried to give it another shot, i renamed the OTA fzip file to 0PJAIMG.ZIP
and copied this file on both ext_sd & internal sd
but no luck.
please help

The problem is that your system partition is modified because you add su and related files for rooting. You must have an untouched system partition and restored in read only mode to prevent any modifications.
So you need to flash twrp again, restore an original untouched system partition, flash stock recovery and apply OTA.

Yea what he said.. System must be as stock and completely untouched. All evidence of root must be undone to get OTA.
Sent from my HTC One M9 using Tapatalk

i see
so i have to unroot first ?
how do i restore an original untouched system partition, if i didn't backup my system !!

hello

Check flippys Google sheet in his thread.
A donated clean image may be there for your SKU and device version...
If not....you may need to RUU back to complete stock and take the OTA that way...g

+1, The only way if you haven't a clean system image ( take a time to read the post2 of Twrp thread) is to flash a Ruu.
It's a "new" Google limitation...

To flash the stock recovery you just need to get the stock recovery for 2.10.401.1 , flash like any other recovery, so with the command fastboot flash recovery *name of recovery*.img in download mode. It should work fine, but do that after you got complete stock system back up which is untouched. Just wipe system and restore the untouched, flash in download mode the stock recovery and you should be good to go
Gesendet von meinem HTC One M9 mit Tapatalk

i found this
http://www.htc.com/us/support/htc-one-m9/news/
if i downloaded this RUU, will it work on my device ? or it is only for USA ?
instead of downloading old RUU, then update to android 6, this will do the thing right ?
can anyone help me pls ?

also found this
http://androidruu.com/?developer=M9
i dont know which one to download, as there is 4 files for Europe
my OTA file name was:
OTA_HIMA_UHL_L51_SENSE70_MR_HTC_Europe_2.10.401.180-2.10.401.1_release_464143
can any one help me of any of these links work on my phone ?
or at least, suggest me old ORIGINAL RUU to install, then i will take OTA

also, found this
http://forum.xda-developers.com/one...-1-40-401-5-android-5-0-t3122946/post61540143
i don't know which one to install !
as there is 3 MD5 files.
please help i am getting too much confused.

osamaxosama said:
also found this
http://androidruu.com/?developer=M9
i dont know which one to download, as there is 4 files for Europe
my OTA file name was:
OTA_HIMA_UHL_L51_SENSE70_MR_HTC_Europe_2.10.401.180-2.10.401.1_release_464143
can any one help me of any of these links work on my phone ?
or at least, suggest me old ORIGINAL RUU to install, then i will take OTA
Click to expand...
Click to collapse
there is no latest RUU for 2.10.401.1

DeeZZ_NuuZZ said:
there is no latest RUU for 2.10.401.1
Click to expand...
Click to collapse
Actually there is one. But there are no Android M RUUs, yet.

Flippy498 said:
Actually there is one. But there are no Android M RUUs, yet.
Click to expand...
Click to collapse
totally forgot that there are new zips not .exe ;D

Flippy498 said:
Actually there is one. But there are no Android M RUUs, yet.
Click to expand...
Click to collapse
thanks
i will download that zip file
and try to flash it

hima ul ruu to hima uhl
is there anyway i can make the hima ul ruu to run on a hima uhl? thanks in advance

Flippy498 said:
Actually there is one. But there are no Android M RUUs, yet.
Click to expand...
Click to collapse
i tried
fastboot oem rebootRUU
fastboot flash zip rom.zip
and that what i got
fastboot flash zip rom.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (83765 KB)...
OKAY [ 5.870s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_m
(bootloader) Tsw4s
(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: 10.342s

osamaxosama said:
i tried
fastboot oem rebootRUU
fastboot flash zip rom.zip
and that what i got
fastboot flash zip rom.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (83765 KB)...
OKAY [ 5.870s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_m
(bootloader) Tsw4s
(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: 10.342s
Click to expand...
Click to collapse
at first be on complete stock rom, i mean stock recovery and system img is restored to stock one from twrp with backup.
then you need to use the exact naming of the zip...like i said everything else have to be on stock settings... no custom recovery, no custom kernel yea everything else stock

I find myself in the same situation and followed all the steps described here...
The results are either Status 7 or Remote 14 or Remote 9
I had a original backup of the system img, restored via twrp, then flashed a signed stock recovery (S-ON), ensured i'm not rooted or modified. The result is always the same...
Maybe i am doing something wrong ?
LE: Managed to get a non corrupted archive (that was causing remote 14 or 9), now i get remote 99 all the time, no matter what i try

Related

[Q] problem with update from HTC(1.40.401.8) - rooted device

Hi. After I have rooted my phone, there is a problem with update from HTC. I receive the update (1.40.401.8) over air and download it, but it stops at team win recovery project (2.8.6.0) after reboot. Anyone with same problem ?
Please help...
olesol70 said:
Hi. After I have rooted my phone, there is a problem with update from HTC. I receive the update (1.40.401.8) over air and download it, but it stops at team win recovery project (2.8.6.0) after reboot. Anyone with same problem ?
Please help...
Click to expand...
Click to collapse
Dude....you should really read....
The general thread is full with topics about how to take a ota update when you are rooted.
When you change your system like when rooting and with that a custom recovery you can't just take a ota update!
Guessing you didn't make a system backup before you rooted either? You need this if you want to take a ota.
Now the only way is to restore a ruu or use someone else their system backup.
All of this is mention in the treads where you learn how to root....
Before you try to restore a unmodified system image or ruu .....READ!
You need to use your correct image and ruu. Not any ruu or image will do.!!!
Sent from my HTC One M9 using XDA Free mobile app
Hi
Not sure if I understand what you mean, but my phone works just fine. I just have to reboot after "no go" with teamwin.
What you are saying, is that it is not possible to install updates om my phone ?
Ole
dannylow79 said:
Dude....you should really read....
The general thread is full with topics about how to take a ota update when you are rooted.
When you change your system like when rooting and with that a custom recovery you can't just take a ota update!
Guessing you didn't make a system backup before you rooted either? You need this if you want to take a ota.
Now the only way is to restore a ruu or use someone else their system backup.
All of this is mention in the treads where you learn how to root....
Before you try to restore a unmodified system image or ruu .....READ!
You need to use your correct image and ruu. Not any ruu or image will do.!!!
Sent from my HTC One M9 using XDA Free mobile app
Click to expand...
Click to collapse
If you want to take ota updates then you need to run a RUU for your device to put it back to stock then OTA updates will work.
You can not flash/install a OTA update with a custom recovery (TWRP)
Sent from my HTC One M9 using Tapatalk
You have to be 100% stock to take an OTA. It's a security feature to prevent bricks. Even having /system mounted r/w will cause an OTA to fail.
Taking OTAs when rooted is generally a bad idea anyway. I have seen people brick their phones in the past doing it, though they are so locked down now that I doubt it's possible on this phone.
Let me see if I understand...
-U bought a m9
-unlocked your boot loader.
-installed TWRP
-rooted your m9
-u got a message to install the update 1.40
-now u are stuck at TWRP?
If this is the case, you can't install the update correctly because your device is not stock.
By stock I mean:
- non rooted
- stock recovery
- stock unmodified system.
Without being stock your update will fail.
If I didn't understand correctly, please explain.
Sent from my HTC One M9 using XDA Free mobile app
Hi, that is correct, but I manage to reboot the phone and it works just fine. I only want the lates battery and camera improvements. I have tried this:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip firmware_M9.zip
target reported max download size of 800000000 bytes
sending 'zip' (111548 KB)...
OKAY [ 6.404s]
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: 10.530s
You have to be s-off to flash an unsigned firmware package.
olesol70 said:
Hi, that is correct, but I manage to reboot the phone and it works just fine. I only want the lates battery and camera improvements. I have tried this:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip firmware_M9.zip
target reported max download size of 800000000 bytes
sending 'zip' (111548 KB)...
OKAY [ 6.404s]
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: 10.530s
Click to expand...
Click to collapse
http://forum.xda-developers.com/one-m9/general/best-unlocking-bootloader-rooting-guide-t3087354
Read from step 5....( better read it all ?)
You'll be OK.
Sent from my HTC One M9 using XDA Free mobile app
Thanks guys. It worked!!
What i did was S-off with sundhine.
Second I followed a guide on naldotech dot com how-to-flash-ruu-firmware-htc-one-m9
All perfect now. I also now will remember to backup when I root.
Have a nice weekend.
olesol70 said:
Thanks guys. It worked!!
What i did was S-off with sundhine.
Second I followed a guide on naldotech dot com how-to-flash-ruu-firmware-htc-one-m9
All perfect now. I also now will remember to backup when I root.
Have a nice weekend.
Click to expand...
Click to collapse
Glad it worked! Have a nice weekend too!
Sent from my HTC One M9 using XDA Free mobile app

[Q] need urgent help,almost bricked htc one m9

i was using htc one m9 factory unlocked,s on and with leedroid custom rom.
i was trying to get back to stock.i found a ruu for my phone.i relocked the bootloader and tried flashing the ruu.
it keeps on giving errors.i am new to all this!i am badly stuck.i would be really grateful if someone can help me up with this asap!
below is the command window data
C:\Users\veena\Desktop\fastboot_adb>fastboot flash zip firmware.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (67405 KB)...
OKAY [ 5.509s]
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) 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.305s
shrgor26 said:
i was using htc one m9 factory unlocked,s on and with leedroid custom rom.
i was trying to get back to stock.i found a ruu for my phone.i relocked the bootloader and tried flashing the ruu.
it keeps on giving errors.i am new to all this!i am badly stuck.i would be really grateful if someone can help me up with this asap!
below is the command window data
C:\Users\veena\Desktop\fastboot_adb>fastboot flash zip firmware.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (67405 KB)...
OKAY [ 5.509s]
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) 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.305s
Click to expand...
Click to collapse
You have the developer edition? What is your CID? Your command output only says firmware.zip, so What EXACTLY are you trying to flash? Are you s-off?
jollywhitefoot said:
You have the developer edition? What is your CID? Your command output only says firmware.zip, so What EXACTLY are you trying to flash? Are you s-off?
Click to expand...
Click to collapse
i am s on
(bootloader) kernel: lk
(bootloader) product: htc_himaulatt
(bootloader) version: 1.0
(bootloader) imei: 357227060635511
(bootloader) version-main: 1.32.617.30
(bootloader) boot-mode: download
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA11000
(bootloader) cid: BS_US001
these are the details.sorry for the incomplete information
jollywhitefoot said:
You have the developer edition? What is your CID? Your command output only says firmware.zip, so What EXACTLY are you trying to flash? Are you s-off?
Click to expand...
Click to collapse
0PJAIMG_HIMA_UL_L50_SENSE70_ATT_NA_Gen_Unlock_1.32.617.30_Radio_01.01_U11440221_62.05.50320G_F_release_427069_signed
i downloaded this.trying to flash this
shrgor26 said:
0PJAIMG_HIMA_UL_L50_SENSE70_ATT_NA_Gen_Unlock_1.32.617.30_Radio_01.01_U11440221_62.05.50320G_F_release_427069_signed
i downloaded this.trying to flash this
Click to expand...
Click to collapse
Did you rename the file? Because if this is the command you used
Code:
fastboot flash zip firmware.zip
that's your problem. It should be fastboot flash zip [name of the firmware file]
iElvis said:
Did you rename the file? Because if this is the command you used
Code:
fastboot flash zip firmware.zip
that's your problem. It should be fastboot flash zip [name of the firmware file]
Click to expand...
Click to collapse
yes i did rename the file.even after that i am getting the error
shrgor26 said:
yes i did rename the file.even after that i am getting the error
Click to expand...
Click to collapse
Is the file in the same directory as fastboot and adb?
Might also be a bad download. Redownload it and this time use the exact filename. Don't rename it.
iElvis said:
Is the file in the same directory as fastboot and adb?
Click to expand...
Click to collapse
yes i did everything step by step.it i posted the error log above.it ends up with errors
shrgor26 said:
yes i did everything step by step.it i posted the error log above.it ends up with errors
Click to expand...
Click to collapse
Try using htc_fastboot. Sometimes the sdk fastboot can't handle RUUs because they're too big.
http://forum.xda-developers.com/showpost.php?p=60657724&postcount=7
Edit: you need to change the command to htc_fastboot flash zip
iElvis said:
Try using htc_fastboot. Sometimes the sdk fastboot can't handle RUUs because they're too big.
http://forum.xda-developers.com/showpost.php?p=60657724&postcount=7
Edit: you need to change the command to htc_fastboot flash zip
Click to expand...
Click to collapse
thanks a lot..i will try this out.
how do we use htc fastboot?i am sorry if that was a stupid question
can you please tell me the steps how to proceed
thank you
shrgor26 said:
thanks a lot..i will try this out.
how do we use htc fastboot?i am sorry if that was a stupid question
can you please tell me the steps how to proceed
thank you
Click to expand...
Click to collapse
Use it exactly like fastboot. It's the same file, just tweaked by HTC. Commands are all the same except its "htc_fastboot" instead of just "fastboot".
iElvis said:
Use it exactly like fastboot. It's the same file, just tweaked by HTC. Commands are all the same except its "htc_fastboot" instead of just "fastboot".
Click to expand...
Click to collapse
it doesnt work.when i try running the .exe,it sats program cant start because AdbWinApi.dll is missing from your computer.what should i do?
shrgor26 said:
it doesnt work.when i try running the .exe,it sats program cant start because AdbWinApi.dll is missing from your computer.what should i do?
Click to expand...
Click to collapse
yea..finally!!!phew!!thanks a lot guys for such quick and awesome response!really grateful!i thought i almost lost my phone!but thanks a lot!:laugh::laugh:
shrgor26 said:
yea..finally!!!phew!!thanks a lot guys for such quick and awesome response!really grateful!i thought i almost lost my phone!but thanks a lot!:laugh::laugh:
Click to expand...
Click to collapse
Glad you got it working. Sorry I wasn't responsive. For some reason xda isn't sending me emails when I get quoted right now, so I just noticed that you replied to my message.

Final Stock RUU 3.35.617.12 for HTC One M9, need Help

hello,
i found this RUU a few hrs ago and i am not sure it works or not and when yes, OTA upgrades works also or not ??
http://www.androidpolice.com/2015/1...0-1-to-the-unlocked-one-a9-6-0-to-the-one-m9/
i am unlocked and S-Off,
(bootloader) kernel: lk
(bootloader) product: htc_himaulatt
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 3.35.617.12
(bootloader) boot-mode: download
(bootloader) version-baseband: 01.01_U11440792_97.00.51203G_F
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: 11111111
all:
finished. total time: 0.015s
thx regards
lollopatrollo said:
hello,
i found this RUU a few hrs ago and i am not sure it works or not and when yes, OTA upgrades works also or not ??
http://www.androidpolice.com/2015/1...0-1-to-the-unlocked-one-a9-6-0-to-the-one-m9/
i am unlocked and S-Off,
(bootloader) kernel: lk
(bootloader) product: htc_himaulatt
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 3.35.617.12
(bootloader) boot-mode: download
(bootloader) version-baseband: 01.01_U11440792_97.00.51203G_F
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: 11111111
all:
finished. total time: 0.015s
thx regards
Click to expand...
Click to collapse
Are you asking a question or what?
Your clearly already on Android 6
Sent from my HTC One M9 using Tapatalk
clsA said:
Are you asking a question or what?
Your clearly already on Android 6
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Op is asking if ota still work with that rom.
yes it is a questiopn, cause my is my system based on non signet RUU firmware. i donmt have a clean RUU and dont get OTA updates. it works very bad and slow + i dont understand really how i can install TWRP on the m9. i found a few options but i need a RUU/OTA to create a bootable 0PJAIMG.zip right ? found something like that in here XDA
"You can make your own zip version. You just need an android-info.txt file from an RUU (or firmware.zip from OTA). Zip it up with the TWRP image (renamed to recovery.img) and place on the root of your FAT32-formatted SD card in download mode."
so all what i m looking for is a fresh clean install, recieve OTA updates and a little stability, thats why i ask. do u know why i dont get OTA updates ? maybe i did a mistake...
thx
shivadow said:
Op is asking if ota still work with that rom.
Click to expand...
Click to collapse
yes, works all good. my problem is still to create a working 0PJAIMG.zip with TWRP without brick the phone. it s not my phone, i flash it for a friend and he want to use viper venom.
is it possible to flash it without TWRP on the phone ? maybe with ADB or something. think get the stock OTA files is not really important for him too..
thnx guys, many hrs no sleep brain burns ^^
regards
lollopatrollo said:
yes, works all good. my problem is still to create a working 0PJAIMG.zip with TWRP without brick the phone. it s not my phone, i flash it for a friend and he want to use viper venom.
is it possible to flash it without TWRP on the phone ? maybe with ADB or something. think get the stock OTA files is not really important for him too..
thnx guys, many hrs no sleep brain burns ^^
regards
Click to expand...
Click to collapse
if you install TWRP and root your phone at all you will not get OTA updates
if you want OTA you cannot install custom recovery and root.
The only way to get OTA is by having untouched system partition and Stock recovery
The links below in my Signature contain all the files and links you need to...
1.convert and update your phone to DevEd Android 6
2.Install TWRP and SuperSU 2.64
3.and the files needed to return to stock later if another OTA is released
Thanks for this! =D just what i needed!!!
Hello, and VERY sorry to cross post, but my phone is unusable and I wasn't getting any response in the T-Mobile section. Here is what I asked:
I have been searching through XDA for a couple of hours now, and now I must post. Sorry if this has been answered and I just couldn't find the right post.
I have been trying to follow instructions to return my T-Mobile HTC One M9 to stock using RUU, but every time I attempt to flash the RUU, I get this:
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 1349472896 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 542282368 is not a multiple of the block size 4096
sending sparse 'zip' (781102 KB)...
error: write_sparse_skip_chunk: don't care size 1349472896 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1349472896 is not a multiple of the block size 4096
OKAY [ 52.307s]
writing 'zip'...
(bootloader) HOSD CL#505029
(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: 54.408s
I have re-downloaded, re-flashed firmware, but can't seem to get it to complete. Any help would be most appreciated.
Click to expand...
Click to collapse
its just AT&T or all can flash it?

return to stock s-on europe

Hello, please could somebody help me with going back to stock rom?
i am on europe m9
getvar all
>fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 1.40.401.8
(bootloader) boot-mode: download
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: HTC__032
all:
finished. total time: 0.022s
Click to expand...
Click to collapse
now i am on TWRP with viperone m9 3.5.0 and i just want 4.3.0 android M, so i decided to get OTA to update firmware to latest (which work with android 6)
Find a RUU that matches your cid number, and you'll get M
Skickat från min HTC One M9 via Tapatalk
Any .401 RUU should work. There is a thread in the General forum with all the links you need.
just 1 more question. do i need to flash stock recovery or set device to relocked to flash OTA zip?
lapeno022 said:
just 1 more question. do i need to flash stock recovery or set device to relocked to flash OTA zip?
Click to expand...
Click to collapse
nah, just place the zip on the root of the sd card, and boot into download mode. it should ask automaticaly to install
i could not flash it..
download mode error:
failed: -2, 14: fail to flash via downloadzip
Click to expand...
Click to collapse
fastboot oem rebootRUU:
htc_fastboot v3.0.9.2 (2015-05-29)
found large-zip header, file count: 25
processing file 1/25...
sending 'zip' (585132 KB)...
OKAY [ 38.690s]
writing 'zip'...
(bootloader) HOSD CL#549783
(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: 55.111s
htc_fastboot finished. total time: 62.068s
Click to expand...
Click to collapse
Size of your Sdcard?
Should be less than 32Go (fat32) in many case...
2gb, fresh reformat to fat32, copied zip: https://drive.google.com/file/d/0B3eKBOCvt3tEN1E3ekhmNndBLTg/view?usp=sharing
It have around 850mb 3 times downloaded
Try with a complete Ruu, not an OTA:
0PJAIMG_HIMA_UHL_L51_SENSE70_MR_HTC_Europe_2.10.401.1_Radio_01.04_U11440601_71.02.50709G_F_release_signed.zip...
You cannot install unsigned zips without s-off. You are best going s-off for $25 rather than mess with back to stock.
Have a read through flippy's thread in the general section. All the instructions you need are there.
Beamed in by telepathy.
it's nice but i don't want to pay for something. there must be way to flash stock with s-on. or not?
lapeno022 said:
it's nice but i don't want to pay for something. there must be way to flash stock with s-on. or not?
Click to expand...
Click to collapse
You just need to flash the official file for your CID/MID. That will work. The files are in Flippy's thread.
that's what end with error code 22...
lapeno022 said:
that's what end with error code 22...
Click to expand...
Click to collapse
If the signature check is failing, you have the wrong file, or a corrupted download. Double check your CID and MID, and then check the MD5 of whatever you download.
done flashed full signed zip

I need your help

Hey, guys,
my 10 is s-on and locked and starts only in bootloader or download mode, token query does not work, says oem locked.
I think the only option is a ruu.exe or ruu.zip.
here's the problem.
cid is htc__102 and I can't find an appropriate one anywhere, does someone have a link for me or another solution?
I hope you can help me.
wolfi05 said:
Hey, guys,
my 10 is s-on and locked and starts only in bootloader or download mode, token query does not work, says oem locked.
I think the only option is a ruu.exe or ruu.zip.
here's the problem.
cid is htc__102 and I can't find an appropriate one anywhere, does someone have a link for me or another solution?
I hope you can help me.
Click to expand...
Click to collapse
You start with looking at your OS/Firmware line in the download mode, then search here for the corresponding RUU. I bet if you use the search box you will definitely find it. I can so you can too.......
Verstuurd vanaf mijn HTC 10 met Tapatalk
Mr Hofs said:
You start with looking at your OS/Firmware line in the download mode, then search here for the corresponding RUU. I bet if you use the search box you will definitely find it. I can so you can too.....
Click to expand...
Click to collapse
If it were that simple .......
the cid is htc__102 .......
the firmware is 1.30.401.1........
the only thing I could find would be a cid o2__102, does this fit...... .
So if you had a match, I'd be very grateful.
wolfi05 said:
If it were that simple .......
the cid is htc__102 .......
the firmware is 1.30.401.1........
the only thing I could find would be a cid o2__102, does this fit...... .
So if you had a match, I'd be very grateful.
Click to expand...
Click to collapse
https://www.androidfilehost.com/?fid=818070582850508041
Mr Hofs said:
[ww.androidfilehost.com/?fid=818070582850508041[/url]
Click to expand...
Click to collapse
mmmmmm.........
actually, that's a htc__034 , do you think this is gonna work?
i have slow internet and i have to think very carefully about what i download
wolfi05 said:
mmmmmm.........
actually, that's a htc__034 , do you think this is gonna work?
i have slow internet and i have to think very carefully about what i download
Click to expand...
Click to collapse
Don't look at cid, this version is just like yours the WWE version. Look at your firmware region number the. 401 part. I would not have linked this if it would be the wrong one
Mr Hofs said:
Don't look at cid, this version is just like yours the WWE version. Look at your firmware region number the. 401 part. I would not have linked this if it would be the wrong one
Click to expand...
Click to collapse
first of all thank you for your support.................
fastboot says about the file:
\fastboot-win> .\htc_fastboot flash zip 2PS6IMG.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.41.401.41
found large-zip header, file count: 25
processing file 1/25...
sending 'zip' (108173 KB)...
OKAY [ 5.272s]
writing 'zip'...
(bootloader) HOSD CL#738269
(bootloader) ERR CID not matched
(bootloader) ERR [SD_UPDATE_ERR] CID NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 7
(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, 7
(bootloader) [email protected]
FAILED (remote: 7 RU_CID_FAIL cid in android-info mismatched )
finished. total time: 8.942s
htc_fastboot finished. total time: 10.833s
I tried another ruu.exe with the same version number, with the same result.
I think I need a htc_102 otherwise it won't work.
I'm missing something?
wolfi05 said:
first of all thank you for your support.................
fastboot says about the file:
\fastboot-win> .\htc_fastboot flash zip 2PS6IMG.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.41.401.41
found large-zip header, file count: 25
processing file 1/25...
sending 'zip' (108173 KB)...
OKAY [ 5.272s]
writing 'zip'...
(bootloader) HOSD CL#738269
(bootloader) ERR CID not matched
(bootloader) ERR [SD_UPDATE_ERR] CID NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 7
(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, 7
(bootloader) [email protected]
FAILED (remote: 7 RU_CID_FAIL cid in android-info mismatched )
finished. total time: 8.942s
htc_fastboot finished. total time: 10.833s
I tried another ruu.exe with the same version number, with the same result.
I think I need a htc_102 otherwise it won't work.
I'm missing something?
Click to expand...
Click to collapse
I told you it's the correct one, HTC 102 is the same firmware as HTC 34 or any other WWE firmware, it stands for the European firmware. You can't flash any other. Of you look at the O2 102 cid you will also see that it's a completely different firmware number and that there is NO .401 in it because it's a carrier locked firmware.
The only thing that is possible is that the jump from 1.30.401 to 2.41.401 is to big, you might need a 1.90.401 or 1.30.401 ruu first as the 1.30.401 is VERY old !
Do this :
Put the 2.41 RUU on your sdcard and boot into the download mode (file named as 2PS6IMG.ZIP) and flash the file. See if that works.
Believe me i know what i am talking about......
Edit 1 :
Please post the outcome of :
Fastboot getvar all
Paste the whole outcome EXCEPT the imei and serial number.
Edit 2 :
https://www.androidfilehost.com/?fid=24533103863140111
https://www.androidfilehost.com/?fid=24671318762849319
2 other RUU zips you can try.
fastboot getvar all :
(bootloader) kernel: lk
(bootloader) product: htc_pmeuhl
(bootloader) version: 1.0
(bootloader) imei: 0000000000000000
(bootloader) version-main: 1.30.401.1
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS620000
(bootloader) cid: HTC__102
all:
finished. total time: 0.006s
htc_fastboot finished. total time: 0.342s
When I start in download mode the 2PS6img should be found, or?
It says "file not found" on the display of the htc.
so far I have tried this without success:
2PS6IMG......1.30.401.
2PS6IMG......1.80.401.
..............................2.41.401.
RUU.....2.41.401
flash with the 2PS6img on my pc:
.\htc_fastboot flash zip 2PS6IMG.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.41.401.41
found large-zip header, file count: 25
processing file 1/25...
sending 'zip' (108173 KB)...
OKAY [ 5.250s]
writing 'zip'...
(bootloader) HOSD CL#738269
FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 6.296s
htc_fastboot finished. total time: 8.139s
wolfi05 said:
fastboot getvar all :
(bootloader) kernel: lk
(bootloader) product: htc_pmeuhl
(bootloader) version: 1.0
(bootloader) imei: 0000000000000000
(bootloader) version-main: 1.30.401.1
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS620000
(bootloader) cid: HTC__102
all:
finished. total time: 0.006s
htc_fastboot finished. total time: 0.342s
When I start in download mode the 2PS6img should be found, or?
It says "file not found" on the display of the htc.
so far I have tried this without success:
2PS6IMG......1.30.401.
2PS6IMG......1.80.401.
..............................2.41.401.
RUU.....2.41.401
Click to expand...
Click to collapse
Be careful you didn't name the file .zip.zip as windows automatically hides extensions.
And yes download mode should autodetect them
And these are absolutely the correct files.
Mr Hofs said:
Be careful you didn't name the file .zip.zip as windows automatically hides extensions.
And yes download mode should autodetect them
And these are absolutely the correct files.
Click to expand...
Click to collapse
so stay try and error..................
wolfi05 said:
so stay try and error..................
Click to expand...
Click to collapse
Try them all with the sdcard method, 1 by 1. I can't offer anything else as this what you need. If the download mode doesn't detect the file you named it wrong.
Mr Hofs said:
Try them all with the sdcard method, 1 by 1. I can't offer anything else as this what you need. If the download mode doesn't detect the file you named it wrong.
Click to expand...
Click to collapse
I have formatted the sd card at the pc and only the zip on it, zip.zip in no case
FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode) <<---- which means?
Which fastboot version would you recommend?
The problem with the sd card has been solved. There was a hidden partition of samsung on it. After reformatting the htc recognizes the file.
Okay, I tried them 1 by 1
Always with the same result :
"Fail 7 RU_CID_FAIL cid in androidinfo mismatched"
.........
Then the last method to update is to flash the 2.41.401 standalone firmware (not the RUU), locate it, download it, OPEN the firmware.zip with 7zip and drag out android info.txt, edit the file and add your CID (HTC__102) save the text and flash the firmware via fastboot. Be aware that your device has to be in RUU mode. After you flashed the firmware you should be able to flash the full 2.41.401 RUU.
That's all i can think of. You should have updated your phone long way back then you would not have this problem. Your current OS is like the stoneage is in time ! For all i know it has something to do with the problem why it only starts to bootloader and/or download mode, maybe the problem is bigger than just to flash a RUU.
wolfi05 said:
The problem with the sd card has been solved. There was a hidden partition of samsung on it. After reformatting the htc recognizes the file.
Okay, I tried them 1 by 1
Always with the same result :
"Fail 7 RU_CID_FAIL cid in androidinfo mismatched"
.........
Click to expand...
Click to collapse
Ok, as last way I will try. . . . . . but just to understand it, the new firmware doesn't change the cid, then the ruu doesn't care the cid?
I have entered the cid htc__102 in the ruu and it has aborted.
I will report...thanks
wolfi05 said:
Ok, as last way I will try. . . . . . but just to understand it, the new firmware doesn't change the cid, then the ruu doesn't care the cid?
I have entered the cid htc__102 in the ruu and it has aborted.
I will report...thanks
Click to expand...
Click to collapse
You can't change a cid in the RUU, unless you decrypt it ? A firmware can't change your cid because your device is S-ON. Only with s-off you can change the cid.
I told you to change the Android info.txt file which is inside the firmware (not the RUU) so that the firmware knows your cid is supported.
Mr Hofs said:
You can't change a cid in the RUU, unless you decrypt it ? A firmware can't change your cid because your device is S-ON. Only with s-off you can change the cid.
I told you to change the Android info.txt file which is inside the firmware (not the RUU) so that the firmware knows your cid is supported.
Click to expand...
Click to collapse
You may have to flash hosd_signed.img at bootloader (not download) before you flash the firmware. Extract the hosd_signed.img from the firmware zip and do 'fastboot flash hosd hosd_signed.img' in the bootloader mode; followed by flashing the firmware in the download mode.
rln_xda said:
You may have to flash hosd_signed.img at bootloader (not download) before you flash the firmware. Extract the hosd_signed.img from the firmware zip and do 'fastboot flash hosd hosd_signed.img' in the bootloader mode; followed by flashing the firmware in the download mode.
Click to expand...
Click to collapse
No that's not needed because this is not about downgrading the bootloader/firmware. That's only needed when you want to downgrade the firmware on an S-ON device.
Edit :
To Wolf
Here is the 130.401 to 180.401 firmware.
https://androidfilehost.com/?fid=24591020540821778
Open the firmware (NOT EXTRACT) and drag out the Android info txt file and edit in your exact CID. Save it and drag it back in the firmware.zip. then flash the zip as intended. Please check how to properly flash the firmware for a S-ON device.
i believe you have to enter RUU mode first before you can flash it so please check that out !!!
//You can't change a cid in the RUU, unless you decrypt it ? //
I started the ruu, then I went to the temp folder and changed the android-info, then I started the htc and started the flash process (it was worth a try)
//A firmware can't change your cid because your device is S-ON. Only with s-off you can change the cid. //
That's probably it....that's why I wonder why the ruu should work with another firmware(because the cid error always comes) and if the flashing of the firmware works, but the ruu doesn't, then the htc is an organ donor (more than now)?
now I'm confused:
firmware 1.8 ---> firmware 2.41 -----> Ruu 2.41 or
firmware 1.8 ----> Ruu 2.41 or
firmware 2.41 ---> Ruu 2.41 how would you do that?

Categories

Resources