[Q] need urgent help,almost bricked htc one m9 - One (M9) Q&A, Help & Troubleshooting

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.

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

Need update

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

Which firmware and official ROM to update my AT&T M8 to? (stuck on Android 4.4.2)

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.16.0.0000
(bootloader) version-baseband: INVALID_VER_INFO
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul_ca
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B12000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: c3d94491
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
I want to get the latest android available for my HTC M8 (AT&T). I'm currently on Android 4.4.2. I have an mdnsd battery drain bug, and the bluetooth has a bug that causes it to break whenever I get around too many bluetooth devices.
I've tried flashing to TWRP, flashing back to the factory recovery, multiple RUU files, and a SkyDragon ROM. All either don't update or cause a boot loop, and I end up doing a nandroid restore to my old ROM.
I get the impression that I need the correct version of the boot loader, which is included in the right firmware.zip file. I've tried to find the right file, but when I go to the mike1986 page to download the firmware, I'm not sure which version to try. What is the latest official firmware that will work for my phone, and what is the latest official version of Android I can update to?
Any help is greatly appreciated!
Read this - https://forum.xda-developers.com/showthread.php?t=2751432
and this - https://forum.xda-developers.com/att-htc-one-m8/general/marshmellow-update-t3379303
everything that you need is there.
The latest version is Marshmallow 6.20.502.5
ckpv5 said:
Read this - https://forum.xda-developers.com/showthread.php?t=2751432
and this - https://forum.xda-developers.com/att-htc-one-m8/general/marshmellow-update-t3379303
everything that you need is there.
The latest version is Marshmallow 6.20.502.5
Click to expand...
Click to collapse
Thanks! I notice that the firmware isn't flashing, either hanging indefinitely or giving an error message:
C:\adb>fastboot flash zip fw_6.20.502.5.zip
target reported max download size of 1772113920 bytes
sending 'zip' (57092 KB)...
OKAY [ 2.585s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 2.924s
Do I have to have S-off? I was trying to get around paying $25 for the software.
kentuckythrash said:
Thanks! I notice that the firmware isn't flashing, either hanging indefinitely or giving an error message:
C:\adb>fastboot flash zip fw_6.20.502.5.zip
target reported max download size of 1772113920 bytes
sending 'zip' (57092 KB)...
OKAY [ 2.585s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 2.924s
Do I have to have S-off? I was trying to get around paying $25 for the software.
Click to expand...
Click to collapse
repeat the flashing command immediately after you see this error
no need for s-off to flash signed firmware only relocked/locked bootloader
ahmed.ismael said:
repeat the flashing command immediately after you see this error
no need for s-off to flash signed firmware only relocked/locked bootloader
Click to expand...
Click to collapse
Thanks! I ended up getting the " FAILED (remote: 90 hboot pre-update! please flush image again immediately)" multiple times, apparently going 7/8s of the way through. I ended up trying the RUU, and it got much further and right now has been on "Updating...(1/1) Sending...." for about 20 minutes. The same window has "Remember, the operation will take about 10 minutes." Should I keep waiting or try the RUU again? I don't know if it's hung or not, and there's no real progress meter.
kentuckythrash said:
Thanks! I ended up getting the " FAILED (remote: 90 hboot pre-update! please flush image again immediately)" multiple times, apparently going 7/8s of the way through. I ended up trying the RUU, and it got much further and right now has been on "Updating...(1/1) Sending...." for about 20 minutes. The same window has "Remember, the operation will take about 10 minutes." Should I keep waiting or try the RUU again? I don't know if it's hung or not, and there's no real progress meter.
Click to expand...
Click to collapse
actually in my first respond i was mistaken about the error 99
i was talking about error 90 sorry about that
now wait for the RUU to complete the process or return with an error
if something changed please post it here
ahmed.ismael said:
actually in my first respond i was mistaken about the error 99
i was talking about error 90 sorry about that
now wait for the RUU to complete the process or return with an error
if something changed please post it here
Click to expand...
Click to collapse
It's been an hour and no change... should I let it continue? Seems like it should have finished by now.
kentuckythrash said:
It's been an hour and no change... should I let it continue? Seems like it should have finished by now.
Click to expand...
Click to collapse
what is the current status for the phone ?
If the flashing didn't start then try to flash the firmware again
Another question : did you relocked the bootloader ?
Sent from my HTC M8 using XDA Labs
ahmed.ismael said:
what is the current status for the phone ?
If the flashing didn't start then try to flash the firmware again
Another question : did you relocked the bootloader ?
Sent from my HTC M8 using XDA Labs
Click to expand...
Click to collapse
The phone screen has the htc gradient logo. The bootloader is relocked.
I've attached an image of the ROM update window.
kentuckythrash said:
The phone screen has the htc gradient logo. The bootloader is relocked.
I've attached an image of the ROM update window.
Click to expand...
Click to collapse
Ok open cmd window and type
fastboot reboot-bootloader
Then flash the firmware
From where you got the firmware ?
and try with another USB 2 port don't use USB 3 type
Sent from my HTC M8 using XDA Labs
ahmed.ismael said:
Ok open cmd window and type
fastboot reboot-bootloader
Then flash the firmware
From where you got the firmware ?
and try with another USB 2 port don't use USB 3 type
Sent from my HTC M8 using XDA Labs
Click to expand...
Click to collapse
I got the firmware from:
https://mega.nz/#!XV5EjYhS!gNN_rAYovaMQpaeP2OSdkfYAIEAmv6VnB-QlZ1VadMU
I tried the 'fastboot reboot-bootloader' command and see:
C:\adb>fastboot reboot-bootloader
rebooting into bootloader...
and it won't go past that point.
kentuckythrash said:
I got the firmware from:
https://mega.nz/#!XV5EjYhS!gNN_rAYovaMQpaeP2OSdkfYAIEAmv6VnB-QlZ1VadMU
I tried the 'fastboot reboot-bootloader' command and see:
C:\adb>fastboot reboot-bootloader
rebooting into bootloader...
and it won't go past that point.
Click to expand...
Click to collapse
Close the RUU setup wizard if it still didn't flash anything or hanging on the same screen
And restart your pc then try to flash the firmware again on the device ( as it's on RUU mode )
Sent from my HTC M8 using XDA Labs
ahmed.ismael said:
Close the RUU setup wizard if it still didn't flash anything or hanging on the same screen
And restart your pc then try to flash the firmware again on the device ( as it's on RUU mode )
Sent from my HTC M8 using XDA Labs
Click to expand...
Click to collapse
Thanks for your prompt responses! I managed to successfully update the firmware, seeing a completed message in the command prompt, and green bar on the HTC screen. However, now I'm still stuck on "
Updating...(1/1) Sending.......
Updating the ROM image on your Android phone...
"
I've rebooted my workstation and the phone multiple times. Not sure where to go from here.
kentuckythrash said:
Thanks for your prompt responses! I managed to successfully update the firmware, seeing a completed message in the command prompt, and green bar on the HTC screen. However, now I'm still stuck on "
Updating...(1/1) Sending.......
Updating the ROM image on your Android phone...
"
I've rebooted my workstation and the phone multiple times. Not sure where to go from here.
Click to expand...
Click to collapse
another solution you can extract the rom.zip from the RUU.exe
By start it and goto %temp% folder and you will find rom.zip
Here what you need to do
press ctrl+r and type %temp% it will open a folder,delete everything in this folder
start the RUU.exe again,once it starting and hang goto %temp% folder again you will find a folder and the rom.zip inside it copy it and flash using fastboot or
rename it to 0P6BIMG.zip and put it in your sd card ( formatted as fat32 ) then reboot into bootloader the update process should start automatically
Sent from my HTC M8 using XDA Labs
ahmed.ismael said:
another solution you can extract the rom.zip from the RUU.exe
By start it and goto %temp% folder and you will find rom.zip
Here what you need to do
press ctrl+r and type %temp% it will open a folder,delete everything in this folder
start the RUU.exe again,once it starting and hang goto %temp% folder again you will find a folder and the rom.zip inside it copy it and flash using fastboot or
rename it to 0P6BIMG.zip and put it in your sd card ( formatted as fat32 ) then reboot into bootloader the update process should start automatically
Sent from my HTC M8 using XDA Labs
Click to expand...
Click to collapse
OK. There were 2 .zip files, rom_01.zip and rom_02.zip. Here's what happened when I tried to flash each:
--------------------------------------------------------------------------------
C:\adb>fastboot flash zip rom_01.zip
target reported max download size of 1826418688 bytes
sending 'zip' (493 KB)...
OKAY [ 0.218s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) checking main version...
(bootloader) checking hboot version...
(bootloader) total_image_number=1
(bootloader) start image[hboot] unzipping & flushing...
(bootloader) [RUU]UZ,hboot,0
(bootloader) [RUU]UZ,hboot,50
(bootloader) [RUU]UZ,hboot,100
(bootloader) signature checking...
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100
(bootloader) ...... Successful
(bootloader) current_image_number=0
OKAY [ 2.260s]
finished. total time: 2.480s
C:\adb>fastboot flash zip rom_02.zip
target reported max download size of 1825775616 bytes
sending 'zip' (1584998 KB)...
OKAY [ 48.647s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 106.973s
C:\adb>
--------------------------------------------------------------------------------
So I guess the problem is the FAILED "remote:12 signature verify fail"
kentuckythrash said:
OK. There were 2 .zip files, rom_01.zip and rom_02.zip. Here's what happened when I tried to flash each:
--------------------------------------------------------------------------------
C:\adb>fastboot flash zip rom_01.zip
target reported max download size of 1826418688 bytes
sending 'zip' (493 KB)...
OKAY [ 0.218s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) checking main version...
(bootloader) checking hboot version...
(bootloader) total_image_number=1
(bootloader) start image[hboot] unzipping & flushing...
(bootloader) [RUU]UZ,hboot,0
(bootloader) [RUU]UZ,hboot,50
(bootloader) [RUU]UZ,hboot,100
(bootloader) signature checking...
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100
(bootloader) ...... Successful
(bootloader) current_image_number=0
OKAY [ 2.260s]
finished. total time: 2.480s
C:\adb>fastboot flash zip rom_02.zip
target reported max download size of 1825775616 bytes
sending 'zip' (1584998 KB)...
OKAY [ 48.647s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 106.973s
C:\adb>
--------------------------------------------------------------------------------
So I guess the problem is the FAILED "remote:12 signature verify fail"
Click to expand...
Click to collapse
rom_02 rename it to 0P6BIMG.zip and put it in your sd card and reboot to bootloader,have you tried to do that ?
rom_01 is hboot as shown in the output
rom_02 supposed to be the RUU
Sent from my HTC M8 using XDA Labs
ahmed.ismael said:
rom_02 rename it to 0P6BIMG.zip and put it in your sd card and reboot to bootloader,have you tried to do that ?
rom_01 is hboot as shown in the output
rom_02 supposed to be the RUU
Sent from my HTC M8 using XDA Labs
Click to expand...
Click to collapse
That worked! Thank you very much for your help. These M8s are really hard to update!
kentuckythrash said:
That worked! Thank you very much for your help. These M8s are really hard to update!
Click to expand...
Click to collapse
Not hard but tricky
Glad i helped
Sent from my HTC M8 using XDA Labs

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