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