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.
Related
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
So iv manged to delete my os and recovery , the only progress I can make is flashing twrp 2.8.5.0 and that's all.
I looked through so many threads its not even funny , tried so many different files older and newer version of firmware just to see if i get an error to point me in the right direction.
this is my: getvar all
INFOkernel: lk
INFOproduct: htc_himauhl
INFOversion: 1.0
INFOversion-main: 2.9.710.4
INFOboot-mode: download
INFOversion-baseband: 01.04_U11440601_71.02.50709G_F
INFOversion-bootloader: 1.0.0.0000
INFOmid: 0PJA10000
INFOcid: OPTUS001
all:
finished. total time: 0.020s
I've been using this thread to get my stock files http://forum.xda-developers.com/one-m9/general/stock-nand-backup-ota-update-collection-t3132698
No one else seems to be having problems like this
errors iv come across are.
remote 19
remote -2 ,19: failed to flash via download zip
iv tried using the sd card way and fastboot way
the sd card way has become a problem now since my pc wont let my copy files to it ""This device has either stopped responding or has been disconnected."
fastboot method seems to be the only way to get a response from the device or anything to work.
any help what so ever will be greatly appreciated since iv been trying to fix this for the past 5 days to no avail .
May I suggest you edit your original post to delete your IMEI? We don't need it to troubleshoot and it could be abused.
From the information you've given, it looks like your phone is a Europe WWE-based phone on the Optus Australia carrier network. Your OS version indicates that you're on the Lollipop firmware (2.9.710.4).
Windows driver issues are best solved by installed HTC's Sync Manager (link below). Alternatively, you could pull the sd card from the phone and copy files directly onto it - this may be the simplest way to avoid driver issues.
Since you can install (and access?) TWRP, probably the easiest thing to do will be to flash a compatible ROM. As you are on the Lollipop firmware, you can't flash any of the Marshmallow ROMs. Doing so will result in an endless boot or bootloop.
If you want to upgrade to the latest firmware, you could use the sd card method to install the latest RUU. Flippy498's Google Sheet (link below) has a guide & the files necessary to do this.
peace,
Computerslayer
------------------------------
Useful references:
Flippy498's Google Sheet
SKU-, CID- and MID-List by Sneakyghost and Behold_this
HTC Sync Manager
I keep trying to flash from what i can tell is the right RUU and i keep getting this error
htc_fastboot v3.0.9.2 (2015-05-29)
found large-zip header, file count: 7
processing file 1/7...
sending 'zip' (130194 KB)...
OKAY [ 8.045s]
writing 'zip'...
(bootloader) HOSD CL#573756
(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]
FAILED (remote: 19: fail to flash via downloadzip)
finished. total time: 13.803s
htc_fastboot finished. total time: 18.949s
Mechanicalz said:
I keep trying to flash from what i can tell is the right RUU and i keep getting this error
htc_fastboot v3.0.9.2 (2015-05-29)
found large-zip header, file count: 7
processing file 1/7...
sending 'zip' (130194 KB)...
OKAY [ 8.045s]
writing 'zip'...
(bootloader) HOSD CL#573756
(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]
FAILED (remote: 19: fail to flash via downloadzip)
finished. total time: 13.803s
htc_fastboot finished. total time: 18.949s
Click to expand...
Click to collapse
I can't help you with flashing via fastboot - perhaps others can.
On the flip side, you could use the sd card method outlined in Flippy498's Google Sheet. That should get you set.
Mechanicalz said:
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
Click to expand...
Click to collapse
Are you trying to downgrade with S-ON? That's not possible. S-ON phones can only use RUUs which have the same firmware version or a higher one. Besides you could flash the TWRP 2.x version I linked in my sheet and restore the 2.9.710.4 backup with my instructions to solve your "no system" problem. The TWRP version you mentioned in your first post is outdated and with the currently installed firmware you can't use TWRP 3.x since it requests the marshmallow firmware.
Sent from my HTC One S using XDA Labs
SO i managed to get candy5 installed , now im trying to flash back to stock
bootloader is relocked
tried flashing 2.9.710.5 and started getting
FAILED (status read failed (Unknown error))
after trying a couple times i got this
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.9.710.5
found large-zip header, file count: 7
processing file 1/7...
Traceback (most recent call last):
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 160, in main
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 320, in do_update
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 241, in _do_update_internal
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 278, in do_fastboot_command
File "E:\largezip\htc_fastboot\fastboot.py", line 133, in get_device_host
ValueError: invalid literal for int() with base 16: '2.9.710.4'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "htc_fastboot.py", line 187, in main
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 172, in main
AttributeError: 'ValueError' object has no attribute 'message'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "htc_fastboot.py", line 215, in <module>
File "htc_fastboot.py", line 196, in main
AttributeError: 'AttributeError' object has no attribute 'message'
after that i tried once more and got this error
FAILED (data transfer failure (Unknown error))
Try the SD card method outlined in Flippy498's Google sheet.
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
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
This is my device situation so far:
Bottloader: LOCKED
Oem Unlocked: NO (Can't flash any recovery)
Security: S-ON
Main version: 3.36.709.9
CID: HTC__621
Recovery: STOCK
Impossible to boot into OS even after wiping data through recovery.
When trying to flash OTA zip corresponding to the same main version or higher I always get Error 22. I've tried SDCard method, adb sideload and flashing zip through fastboot (rebootRUU, flash zip, etc).
Is there any other way to flash an official firmware for this device? It'd be great to have an official RUU for my version or higher. Or maybe some software from HTC to "restore upgrade errors"?
Thanks in advance!
Check the md5 hash of the file you downloaded and cross reference it on Google. You need to make sure the file you have is complete.
Beamed in by telepathy.
Monrad said:
This is my device situation so far:
Bottloader: LOCKED
Oem Unlocked: NO (Can't flash any recovery)
Security: S-ON
Main version: 3.36.709.9
CID: HTC__621
Recovery: STOCK
Impossible to boot into OS even after wiping data through recovery.
When trying to flash OTA zip corresponding to the same main version or higher I always get Error 22. I've tried SDCard method, adb sideload and flashing zip through fastboot (rebootRUU, flash zip, etc).
Is there any other way to flash an official firmware for this device? It'd be great to have an official RUU for my version or higher. Or maybe some software from HTC to "restore upgrade errors"?
Thanks in advance!
Click to expand...
Click to collapse
What firmware are you attempting to flash? Recall that the final number in the RUU (xx.xx.xx.yy) does not have to match your phone's OS version.
The 709 SKU has a compatible RUU available in the readme thread (3.36.709.3). Since the file is hosted on Android File Host, the MD5 is posted there (look under download information). On your computer, you can install a MD5 checker (I use File Hasher) to verify that they match.
computerslayer said:
What firmware are you attempting to flash? Recall that the final number in the RUU (xx.xx.xx.yy) does not have to match your phone's OS version.
The 709 SKU has a compatible RUU available in the readme thread (3.36.709.3). Since the file is hosted on Android File Host, the MD5 is posted there (look under download information). On your computer, you can install a MD5 checker (I use File Hasher) to verify that they match.
Click to expand...
Click to collapse
I've tried that file, hash is ok but file will not get flashed. This is the log:
Code:
fastboot flash zip 0PJAIMG_HIMA_UHL_L50_SENSE70_hTC_Asia_TW_1.40.709.4_Radio_01.02_U11440261_60.03.50505G_F_release_431851_signed.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2322433715 is not a multiple of the block size 4096
sending sparse 'zip' 1/1 (0 KB)...
error: write_sparse_skip_chunk: don't care size 2322433715 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2322433715 is not a multiple of the block size 4096
OKAY [ 1.031s]
writing 'zip' 1/1...
(bootloader) HOSD CL#676746
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_m
(bootloader) ar4HL
FAILED (remote: 99 RU_UNKNOWN_FAIL terrible mishap )
finished. total time: 2.083s
I downloaded the file more than 4 times and it's always the same result.
I'm downloading another fastboot version because maybe the one I'm using is not compatible.
Same problem with htc fastboot...
Code:
htc_fastboot.exe flash zip 0PJAIMG_HIMA_UHL_L50_SENSE70_hTC_Asia_TW_1.40.709.4_Radio_01.02_U11440261_60.03.50505G_F_release_431851_signed.zip
htc_fastboot v3.0.9.2 (2015-05-29)
found large-zip header, file count: 7
processing file 1/7...
sending 'zip' (261353 KB)...
OKAY [ 15.207s]
writing 'zip'...
(bootloader) HOSD CL#676746
(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]
FAILED (remote: 19 RU_MAIN_VER_FAIL os-version in android-info missing or i)
finished. total time: 23.551s
htc_fastboot finished. total time: 43.310s
EDIT: I've beenf lashing the wrong image, I'll try with the right one, sorry!
EDIT: it worked, problem was fastboot version!!! Use HTC FASTBOOT and everyithing is fine Thanks! You've inspired me into the solution