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?
Related
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.
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
Hello fellow XDA users!
I just bought my m8 and it came with Software status modified, bootloader unlocked, philz touch, S-on but Super CID.
The problem now is that i can't OTA and it is still in kitkat
So I started to work on it tonight, and I can't get it back to stock :
I have flashed TWRP, made a boot backup to create necessary folders, and downloaded a stock nandroid backup for my main version, 3.28.401.6.
Wiped the phone, restored the rom, flashed stock recovery and here in bootloader my software status is still modified, so no OTA possible.
Suppose it has something to do with superCID, but i can't modify it anymore as I'm not s-off and I don't know what is the stock CID for the phone, just bought it.
Sorry to create another boring thread about OTA updates btw, but I just can't understand what I'm doing wrong here (coming from a samsung device, but I've been reading a lot here, and still no luck about my situation.)
http://forum.xda-developers.com/showthread.php?t=2701376 this is the thread where I downloaded the Nandroid, if it has any importance... It is the one rooted but which has apparently no effect on OTA
http://forum.xda-developers.com/verizon-htc-one-m8/general/official-ruu1-55-605-2-t2883845 this seems interesting as I could maybe flash a RUU of same version to become unmodified but i'll ask you before doing anything stupid
Thank you all for your future answers
EDIT : Here are info from getvar all if you need (removed serialno and imei)
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.21.21331147A1.19_2G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.28.401.6
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B13000
(bootloader) cidnum: 11111111
(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: df77f8b7
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.007s
WoBble12 said:
(bootloader) modelid: 0P6B13000
(bootloader) cidnum: 11111111
(bootloader) security: on
Click to expand...
Click to collapse
With the above current CID/MID ... you can only update to Marshmallow either with T-MOB US RUU or Developer Edition RUU as both work on MID 0P6B13000
You current software 3.28.401.6 won't do any good as that is workable for OTA when your MID is 0P6B10000
So if you want a EU version, you need to spend USD25 to S-Off the device, else just go for Developer Edition RUU.
Step 1 : install 6.12.1540.4 firmware
You can get the firmware and how-to : http://forum.xda-developers.com/showpost.php?p=60218734&postcount=5
Step 2 : install 6.12.1540.4 RUU
Download : http://www.htc.com/us/support/htc-one-m8/news/
Ok, thank you for the quick reply!
I was mistaken by the back plate of the device saying OP6B100, so didn't verify the mid in the adb log...
Now for a few questions, what are the differences between the dev version and the European one? Anything related to getting signal or something?
If I just update fw and rom with your two links, it will work even with my software status says "modified"? And Will it change back to official status?
Are updates going to be better if I go s-off and european again or is it the exact same version?
1. I don't see any significant difference with EU and Dev Ed except the obvious radio config.
But both worked fine for me in Asia region.
2. You should get the official status.
3. I don't see a point to S-Off as there is no more further OTA offered by HTC.
Once you updated to Marshmallow, you can always unlock the bootloader and install any custom ROM that you like. Most important is to have Marshmallow firmware (or at least Lollipop), doesn't matter whether it is EU or Dev Ed.
Ok, thanks again for the replies! Will try dev software, and if it doesn't work I'll pay for s-off
Ok so... I tried to update firmware, followed the tutorial, but i'm stuck at flashing the RUU. I went to the link you sent me, downloaded the 1.4 GB file, and now I have a zip file and a .exe file. The .exe will just start, say me it installs installshield, ask me to agree with the terms of licence, and close.
So I searched a bit, and i tried to flash the RUU as I did for the firmware, but now rebooting just leads me to a black screen, and the RUU fails.
please tell me what I did wrong so I can fix it.
Here is the ADB output :
C:\adb>fastboot flash zip RUU.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1217690 KB)...
OKAY [ 34.178s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 79.165s
You can't use generic fastboot.exe to flash the RUU.zip, you need to use htc_fastboot.exe
Read this : http://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
but use your RUU.zip (not the one in the guide)
sorry to bother for this but what is my RUU.zip you are talking about?
And i've tried with HTC fastboot and no luck neither...
You mentioned these above
C:\adb>fastboot flash zip RUU.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1217690 KB)...
OKAY [ 34.178s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 79.165s
So I thought that you have a RUU zip.
Since you can't run RUU.exe (due to either USB2.0 is not available or lack of HTC USB Drivers and some Microsoft files in your PC), you can do this :
Run the RUU.exe, when it opens where you can see the dialog box for you to accept agreement ..
Open your windows temp folder ( in windows run dialog, type %temp% )
You'll see two newly created folder, one of them has a file named rom.zip
Copy this rom.zip to your fastboot folder ... this is your RUU.zip
Can you post your current fastboot getvar result ? Need to see that you successfully installed the firmware.zip
ckpv5 said:
You mentioned these above
C:\adb>fastboot flash zip RUU.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1217690 KB)...
OKAY [ 34.178s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 79.165s
So I thought that you have a RUU zip.
Since you can't run RUU.exe (due to either USB2.0 is not available or lack of HTC USB Drivers and some Microsoft files in your PC), you can do this :
Run the RUU.exe, when it opens where you can see the dialog box for you to accept agreement ..
Open your windows temp folder ( in windows run dialog, type %temp% )
You'll see two newly created folder, one of them has a file named rom.zip
Copy this rom.zip to your fastboot folder ... this is your RUU.zip
Click to expand...
Click to collapse
Ok, just saw this at the moment on another thread, was going to try with the %temp% method, the command you made bold was the RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.1540.4.zip file that I renamed to be able to flash it more easily lol, what a noob I am ^^ so i'm going to extract this rom.zip and flash it, hope it works now! all fastboot commands have to be replaced with "htc fastboot" now, or only the flashing one?
Once again, thank you! (Using the thanks button at each of your posts too, don't worry )
yes, I verified in bootloader it says OS-6.12.1540.4 !!! Win! now just estracting the Rom from the temp folder!
htc_fastboot only when flashing RUU.zip
Another method to install the RUU.zip once you copied out the rom.zip from Windows Temp folder.
1. rename the rom.zip to 0P6BIMG.zip
2. place it on root of your microsd (which is formatted to fat32)
3. boot to bootloader and select hboot
4. it will scan the file and ask whether you want to update
5. volume up to update and leave it to do its stuff until it is completed and ask you to reboot
6. after reboot, remove that 0P6BIMG.zip from your microsd (so it won't ask you again to update whenever you boot to bootloader/hboot)
ckpv5 said:
htc_fastboot only when flashing RUU.zip
Another method to install the RUU.zip once you copied out the rom.zip from Windows Temp folder.
1. rename the rom.zip to 0P6BIMG.zip
2. place it on root of your microsd (which is formatted to fat32)
3. boot to bootloader and select hboot
4. it will scan the file and ask whether you want to update
5. volume up to update and leave it to do its stuff until it is completed and ask you to reboot
6. after reboot, remove that 0P6BIMG.zip from your microsd (so it won't ask you again to update whenever you boot to bootloader/hboot)
Click to expand...
Click to collapse
I've done the 1st method, and now after a flash that went well, i'm stuck in bootloader, with os version bein written in red and showing two times the version number, second one in parenthesis.
Instead of having options to power down etc, I only have a orange RUU option which is selected but I can't validate with power button, and in ADB I did command to reboot to bootloader but not doing anything now...
When in RUU mode, you don't use adb .. use fastboot
fastboot reboot-bootloader
When you have OS written in red, that's usually means the firmware is not correctly installed.
Try to get to fastboot with the above command then reinstall firmware.zip
ckpv5 said:
When in RUU mode, you don't use adb .. use fastboot
fastboot reboot-bootloader
When you have OS written in red, that's usually means the firmware is not correctly installed.
Try to get to fastboot with the above command then reinstall firmware.zip
Click to expand...
Click to collapse
C:\adb>fastboot reboot-bootloader
rebooting into bootloader...
FAILED (command write failed (Unknown error))
finished. total time: 8.033s
that's what I get...
And in bootloader actually I only have the variables and the "RUU" option highlighted in orange :/
Connect to PC so you can hear the connect/disconnect sound
Press & hold both power & volume up till you hear the disconnect sound
Release both button and press & hold volume down button, this should get you to hboot
(remove the microsd first as you have the RUU zip there)
that's what I get...
And in bootloader actually I only have the variables and the "RUU" option highlighted in orange
Can you use the power button to select it to get to RUU mode then fastboot reboot-bootloader or press & hold buttons method ?
ckpv5 said:
Connect to PC so you can hear the connect/disconnect sound
Press & hold both power & volume up till you hear the disconnect sound
Release both button and press & hold volume down button, this should get you to hboot
(remove the microsd first as you have the RUU zip there)
Click to expand...
Click to collapse
I don't have the rom on micro sd for the moment, but just disconnected and reconnected to PC, now I'm on the RUU screen with the green bar being completed but not doing anything. Should I try to re launch a command line and reflash the rom.zip?
WoBble12 said:
I don't have the rom one micro sd for the moment, but just disconnected and reconnected to PC, now I'm on the RUU screen with the green bar being completed but not doing anything. Should I try to re launch a command line and reflash the rom.zip?
Click to expand...
Click to collapse
Run command fastboot reboot-bootloader
to get to bootloader
check the OS now written in red or green
if red, reflash firmware.zip not rom/RUU.zip
if green .. just reboot and wait for awhile and see how it goes.
if it is stuck after 10 minutes .. reflash RUU/rom zip
I'm now on marshmallow! Tastes sweet lol!
Can't test the signal at the moment as I have to cut my micro SD to the right size, and I have no time for it. I will do this tomorrow , and reply back here to say if it worked. Anyway, couldn't have done this without you so big thanks for this and big thanks to all the XDA community!
WoBble12 said:
....I have to cut my micro SD to the right size....
Click to expand...
Click to collapse
Hehe .. I believe you wanted to say to cut SIM card, not microSD
Great to know you managed to update.
Yes of course, simcard ^^
So I can now say that the phone is working and I have signal through my card.
Only weird thing is that after installing a few apps, system is taking up 8+ gig's of storage, which seems really big to me. But hey, it's a 32gig's one so I'm not afraid
Hey everyone,
Its been a long time since I updated my phone.
Here's my configuration:
HTC One M8
Android Version: 4.4.4
HTC Sense version: 6.0
Unlocked, M8_UL, S-On
HBOOT: 3.16.0.0000
Radio: 1.15.2133156.UA13G
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__001
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
Now I tried to turn to convert to S-OFF using Sunshine but it comes up with this: Debug Kernel/Ramdisk - Your device has a debuggable ramdisk. You need to flash a non-debuggable boot.img
I want to go back to the hassle free official Android version provided by HTC. I have tried to look for a up to date guide, however the download links are dead.
Can someone point me in the right step? It'll be much appreciated.
Thank you
why do you need to s-off the device ??
AFAIK it will work on stock roms only ( rooted is fine )
you have an outdated version of android
to be completely stock and have the latest android version available for this device officially
do what this post said (( all of it ))
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
ahmed.ismael said:
why do you need to s-off the device ??
AFAIK it will work on stock roms only ( rooted is fine )
you have an outdated version of android
to be completely stock and have the latest android version available for this device officially
do what this post said (( all of it ))
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
Click to expand...
Click to collapse
Thank you Ahmed I will follow that post and will let you know it goes.
ahmed.ismael said:
why do you need to s-off the device ??
AFAIK it will work on stock roms only ( rooted is fine )
you have an outdated version of android
to be completely stock and have the latest android version available for this device officially
do what this post said (( all of it ))
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
Click to expand...
Click to collapse
So I reached the following step:
htc_fastboot flash zip RUU.zip (to install RUU)
And heres what happened.
C:\Users\User\Desktop\HTC One M8\RUU>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.013s]
finished. total time: 0.015s
C:\Users\User\Desktop\HTC One M8\RUU>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.013s]
finished. total time: 0.015s
C:\Users\User\Desktop\HTC One M8\RUU>htc_fastboot flash zip RUU.zip
sending 'zip'... (53965 KB) OKAY
sending time = 2.927 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAIL99 unknown fail
FAILED (remote: 99 unknown fail)
Execution time is 4(s)
SamungGalaxyS2 said:
So I reached the following step:
htc_fastboot flash zip RUU.zip (to install RUU)
And heres what happened.
C:\Users\User\Desktop\HTC One M8\RUU>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.013s]
finished. total time: 0.015s
C:\Users\User\Desktop\HTC One M8\RUU>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.013s]
finished. total time: 0.015s
C:\Users\User\Desktop\HTC One M8\RUU>htc_fastboot flash zip RUU.zip
sending 'zip'... (53965 KB) OKAY
sending time = 2.927 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAIL99 unknown fail
FAILED (remote: 99 unknown fail)
Execution time is 4(s)
Click to expand...
Click to collapse
did you relocked the bootloader ??
if yes try another method to flash and check the md5 for the RUU.zip
this is the easiest method to flash a signed RUU.zip https://forum.xda-developers.com/showpost.php?p=67307303&postcount=1748
ahmed.ismael said:
did you relocked the bootloader ??
if yes try another method to flash and check the md5 for the RUU.zip
this is the easiest method to flash a signed RUU.zip https://forum.xda-developers.com/showpost.php?p=67307303&postcount=1748
Click to expand...
Click to collapse
The bootloader is currently unlocked (it says ** UNLOCKED ** in purple).
I just tried to open the ZIP file, in Windows, and it says cannot be opened, so I do think it was corrupt somehow. I am going to download it again and see if it does it again.
If it doesn't work again, I will try your other method.
Thank you buddy.
SamungGalaxyS2 said:
The bootloader is currently unlocked (it says ** UNLOCKED ** in purple).
I just tried to open the ZIP file, in Windows, and it says cannot be opened, so I do think it was corrupt somehow. I am going to download it again and see if it does it again.
If it doesn't work again, I will try your other method.
Thank you buddy.
Click to expand...
Click to collapse
no you can't open the .zip it's signed with htc keys and you can't open it by normal apps
now relock the bootloader as the guide said in the linked post above
it should be relocked to flash a signed RUU.zip on s-on device
no need to download again
ahmed.ismael said:
no you can't open the .zip it's signed with htc keys and you can't open it by normal apps
now relock the bootloader as the guide said in the linked post above
it should be relocked to flash a signed RUU.zip on s-on device
no need to download again
Click to expand...
Click to collapse
You are a star. Thank you so much mate. Just rebooting right now, with the "Android is starting"
SamungGalaxyS2 said:
You are a star. Thank you so much mate. Just rebooting right now, with the "Android is starting"
Click to expand...
Click to collapse
Glad i helped
Enjoy
Sent from my HTC M8 using XDA Labs
ahmed.ismael said:
Glad i helped
Enjoy
Sent from my HTC M8 using XDA Labs
Click to expand...
Click to collapse
WORKS