Need update - One (M9) Q&A, Help & Troubleshooting

I got a serious probleme...
I need to update my HTC One M9 but when i try the OTA update, my phone restart to DownloadMode (i guess) and stop after about 3 sec and error message is "this update is for Himhaul and this is Himaulatt"
I try the RUU methode (zip) with fastboot and htc_fastboot but no success
>htc_fastboot flash zip 0PJA110.zip
sending 'zip'... (169456 KB) OKAY
sending time = 12.752 secs
writing 'zip'... (bootloader) HOSD CL#579410
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_2
(bootloader) 7sJQS
(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]
FAIL22: fail to flash via downloadzip
FAILED (remote: 22: fail to flash via downloadzip)
Execution time is 20(s)
Click to expand...
Click to collapse
My carrier is Videotron (canada) but my CID is not the good one and it is S-OFF. If you have any idea please let me know. Thanks

What's the current firmware of your phone? (Boot to download mode and look at the line with OS at the beginning for finding out.) What's the original naming of the RUU you tried to flash before you renamed it? What's your current CID? (It's either stated in download mode or you need to use "fastboot getvar cid".)
Sent from my HTC One M9 using XDA Labs

help me pleas
Flippy498 said:
What's the current firmware of your phone? (Boot to download mode and look at the line with OS at the beginning for finding out.) What's the original naming of the RUU you tried to flash before you renamed it? What's your current CID? (It's either stated in download mode or you need to use "fastboot getvar cid".)
Sent from my HTC One M9 using XDA Labs
Click to expand...
Click to collapse
Code:
sending 'zip' (509303 KB)...
OKAY [ 17.753s]
writing 'zip'...
(bootloader) HOSD CL#809431
(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) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 22.125s
***** UNLOCKED *****
my cid: HTC__J15
Htc one m9 plus
RADIO-UNKNOWN
OpenDSP-UNKNOWN
os-2.27.401.1
htc_hiau_ml_tuhl PVT s-on
pleas help me ruu for it zip

Related

[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.

Quastion regarding [ S-OFF Firmware flashing (Fastboot) (Current: 3.35.617.12) ]

hi every one ,,
I'm new in this forums >> this is why I'm posting my quastion here
anyway :
my HTC M9 on viper rom 3.5.0 ,, since I want to upgrade to viper 4.2.1 >> I tried many time to flash the firmware ( 3.35.401.12 ) & ( 3.35.617.12 )
I tried many times but unfortunately , FAILED
first I tried with the firmware ( 3.35.401.12 ) & it was telling me like this :
target reported max download size of 800000000 bytes
sending 'zip' (64357 KB)...
OKAY [ 4.110s]
writing 'zip'...
(bootloader) HOSD CL#576582
FAILED (remote: 9: SD_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 5.131s
I change my phone mode into RUU mode , then I tried again and this what I was told :
target reported max download size of 800000000 bytes
sending 'zip' (64357 KB)...
OKAY [ 3.788s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR [SD_UPDATE_ERR] Parse zipped android_info fail!
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 14
(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, 14
(bootloader) [email protected]
FAILED (remote: 14: fail to flash via downloadzip)
finished. total time: 7.735s
I changer My MID & CID in ( android info.txt ) >> but without any change
then I tried with the firmware ( 3.35.617.12 ) & this is what shows up :
target reported max download size of 800000000 bytes
sending 'zip' (64357 KB)...
OKAY [ 4.392s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 14
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 14
(bootloader) [email protected]
FAILED (remote: 14: fail to flash via downloadzip)
finished. total time: 7.478s
pleeeeeeeeeeeeeease >> HELP !!!
thanks
manea_q1 said:
[...]
(bootloader) ERR ZIP signature checking failed...
[...]
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
[...]
Click to expand...
Click to collapse
Is your phone really S-OFF? (If I look at those errors I guess not.)
Sorry brother >> what do you mean by S-off ?! ?
manea_q1 said:
Sorry brother >> what do you mean by S-off ?!
Click to expand...
Click to collapse
That was the answer I expected to get...
By unlocking the bootloader you only gain control over 3 partitions: Recovery, System and Bootloader. If you want to flash firmware packs which are not officially signed by HTC (like the 3.35.401.12 one) you need to unlock the rest of the phone beforehand. Otherwise the phone's security mechanisms will prevent you from flashing those files. (In other words the Security is ON.) That's why you need to set them OFF (S-OFF). Either you get the Sunshine app or you find someone with a java card.
Oh and changing the firmware to other versions (as you tried from whichever version you got to the developer edition) isn't possible with S-ON, either.
Thank you so much bro ,,,
I will try ?
yes bro , done
every things work now :good:
thanks alot

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

Proper Pickle with M9

Hi hoping someone can help me - I've just wasted two days trying to get my phone to work again, but right now, it only goes to the bootloader.
I have HTC One M9, with S-ON, rooted, with TWRP bootloader installed. I can not get any ROMs to install at all - actually, they do install, just don't boot. I believe this is because I don't have the correct firmware version installed. I can't get any firmware to install. When trying to update firmware, I get;-
Code:
fastboot flash zip firmware_M9.ziptarget reported max download size of 800000000 bytes
sending 'zip' (61607 KB)...
OKAY [ 5.419s]
writing 'zip'...
(bootloader) HOSD CL#576582
(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]
I think this is because of the S-ON.
Can someone please help me, otherwise I'm going to have to throw this thing in the bin, and buy a new phone?
Thanks, Seth

M9 Nougat Invalid sparse file format at header magi

I come from MaximusHD and I'm very eager to install the new stock rom, BUT:
No matter if I download the extracted zip or extract it my self from RUU_HIMA_UL_N70_SENSE80_ATT_MR_NA_Gen_Unlock_4.14.617.6.exe, both my M9 and my W10 box insists that the zip-file is corrupt. I'm not able to copy the file to my device, and if i fastboot it I get this error:
fastboot.exe flash zip D:\Downloads\0PJAIMG.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (87173 KB)...
OKAY [ 5.679s]
writing 'zip'...
(bootloader) HOSD CL#669696
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_b
(bootloader) zWXOR
(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 RU_HEADER_ERROR )
finished. total time: 7.872s
I tried extracting the rom.zip from 2 different machines with the same result. 7-zip just says invalid zip archive.
Even if I download older roms like the ones found on http://www.androidruu.com/ I get corrupt zip file error.
Furthermore I have investigated the CID om my device and have found, that the cidvar is not set:
fastboot.exe getvar cid
cid:
Please help
I had the same issue. I had to ruu back to 3.35.617.31 and then take to ota.
I had the same issue , this did it for me
http://forum.xda-developers.com/showpost.php?p=70018851&postcount=134
verloren22 said:
I had the same issue. I had to ruu back to 3.35.617.31 and then take to ota.
Click to expand...
Click to collapse
Thank you for your reply. Unfortunately that did not work either - same zip-error.
osametto said:
I had the same issue , this did it for me
http://forum.xda-developers.com/showpost.php?p=70018851&postcount=134
Click to expand...
Click to collapse
Thanks!
New Firmware gave me a CID.
Unfortunately step 2 (with the file from the link you posted) still generates this error:
fastboot.exe flash zip D:\Downloads\0PJAIMG.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (89626 KB)...
OKAY [ 5.861s]
writing 'zip'...
(bootloader) HOSD CL#836547
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_e
(bootloader) 0flyn
(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 RU_HEADER_ERROR )
finished. total time: 6.978s
Unfortunately GSM does not work after firmware update :crying:
THE FOLLOWING WILL WIPE ALL PHONE DATA INCLUDING THINGS ON INTERNAL SD CARD
I downloaded the ota and then the ruu , installed stock recovery and put cid and mid of developer edition.
I pulled out the firmware from the ota , flashed it .
Then i used the ruu normally , and it worked without any problem.
That's how i got it to work coming from custom rom.

Categories

Resources