wracking my brain , bricked to hell - One (M9) Q&A, Help & Troubleshooting

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.

Related

failed to update marsgmallow OTA

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

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

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.

Bricked M9, Impossible to flash any firmware? Any suggestion?

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

[HELP] AUS/Optus Model - Deleted OS

This is probably the dumbest thing I have to date :C
At the start of last year I rooted my device and unlocked it, fast forward to the start of this week I tried updating my device but it kept on launching TWRP, so I decided to factory reset it.
However I was a big spud and used advanced wipe - and now the phone will boot straight to the bootloader.
Before I post anything else here is the getvar from download mode.
Code:
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) version-main: 2.9.710.2
(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: OPTUS001
The device is currently in s-on, and I can't remember if it was ever in s-off because it was a long time ago when I rooted it.
I have tried flashing a custom rom with no success, and just recently I have downloaded and tried to flash "0PJAIMG_HIMA_UHL_L50_SENSE70_hTC_Asia_AUS_1.32.710.16_Radio_01.01_U11440261_56.02.50306G_2_F_release_427214_signed.zip"
This is the error I receive while trying to flash the device in fastboot.
Code:
C:\adb>fastboot oem rebootRUU
...
OKAY [ 0.017s]
finished. total time: 0.018s
C:\adb>fastboot flash zip 0PJAIMG.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 2128996130 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2128996130 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2128996130 is not a multiple of the block size 4096
OKAY [ 1.013s]
writing 'zip'...
(bootloader) HOSD CL#573756
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_n
(bootloader) A2AxZ
FAILED (remote: 99: SD_UNKNOWN_FAIL to flash via downloadzip)
finished. total time: 2.048s
I don't have any backups of any sort - basically I just want to be able to get this phone running back on stock and leave it at that.
Does anyone have any ideas of how I can fix this? My phone has been broken for 3 days and I've wasted a lot of time downloading roms that won't flash (takes a while to download on my crappy ADSL connection).
I should also note I do not have an external SD card, hoping to do it without buying one.
Thanks heaps.
Please read the ReadMe thread. Its RUU section explains why you can't flash the RUU that you mentioned in your OP and why flashing M9 RUUs in general fails if you use fastboot.
After you downloaded the correct files you can try to flash a RUU with the modified fastboot instead of using an SD card. Troubleshooting tips can be found in the FAQ of the same thread. Be aware, that using an SD card is the recommended method since many users aren't able to set up a fastboot environment correctly and using an SD card is less time-consuming than trying to find the user error that prevents fastboot from working correctly.

Categories

Resources