Quastion regarding [ S-OFF Firmware flashing (Fastboot) (Current: 3.35.617.12) ] - One (M9) Q&A, Help & Troubleshooting

hi every one ,,
I'm new in this forums >> this is why I'm posting my quastion here
anyway :
my HTC M9 on viper rom 3.5.0 ,, since I want to upgrade to viper 4.2.1 >> I tried many time to flash the firmware ( 3.35.401.12 ) & ( 3.35.617.12 )
I tried many times but unfortunately , FAILED
first I tried with the firmware ( 3.35.401.12 ) & it was telling me like this :
target reported max download size of 800000000 bytes
sending 'zip' (64357 KB)...
OKAY [ 4.110s]
writing 'zip'...
(bootloader) HOSD CL#576582
FAILED (remote: 9: SD_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 5.131s
I change my phone mode into RUU mode , then I tried again and this what I was told :
target reported max download size of 800000000 bytes
sending 'zip' (64357 KB)...
OKAY [ 3.788s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR [SD_UPDATE_ERR] Parse zipped android_info fail!
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 14
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 14
(bootloader) [email protected]
FAILED (remote: 14: fail to flash via downloadzip)
finished. total time: 7.735s
I changer My MID & CID in ( android info.txt ) >> but without any change
then I tried with the firmware ( 3.35.617.12 ) & this is what shows up :
target reported max download size of 800000000 bytes
sending 'zip' (64357 KB)...
OKAY [ 4.392s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 14
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 14
(bootloader) [email protected]
FAILED (remote: 14: fail to flash via downloadzip)
finished. total time: 7.478s
pleeeeeeeeeeeeeease >> HELP !!!
thanks

manea_q1 said:
[...]
(bootloader) ERR ZIP signature checking failed...
[...]
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
[...]
Click to expand...
Click to collapse
Is your phone really S-OFF? (If I look at those errors I guess not.)

Sorry brother >> what do you mean by S-off ?! ?

manea_q1 said:
Sorry brother >> what do you mean by S-off ?!
Click to expand...
Click to collapse
That was the answer I expected to get...
By unlocking the bootloader you only gain control over 3 partitions: Recovery, System and Bootloader. If you want to flash firmware packs which are not officially signed by HTC (like the 3.35.401.12 one) you need to unlock the rest of the phone beforehand. Otherwise the phone's security mechanisms will prevent you from flashing those files. (In other words the Security is ON.) That's why you need to set them OFF (S-OFF). Either you get the Sunshine app or you find someone with a java card.
Oh and changing the firmware to other versions (as you tried from whichever version you got to the developer edition) isn't possible with S-ON, either.

Thank you so much bro ,,,
I will try ?

yes bro , done
every things work now :good:
thanks alot

Related

Proper Pickle with M9

Hi hoping someone can help me - I've just wasted two days trying to get my phone to work again, but right now, it only goes to the bootloader.
I have HTC One M9, with S-ON, rooted, with TWRP bootloader installed. I can not get any ROMs to install at all - actually, they do install, just don't boot. I believe this is because I don't have the correct firmware version installed. I can't get any firmware to install. When trying to update firmware, I get;-
Code:
fastboot flash zip firmware_M9.ziptarget reported max download size of 800000000 bytes
sending 'zip' (61607 KB)...
OKAY [ 5.419s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 19
(bootloader) [email protected]
I think this is because of the S-ON.
Can someone please help me, otherwise I'm going to have to throw this thing in the bin, and buy a new phone?
Thanks, Seth

M9 Nougat Invalid sparse file format at header magi

I come from MaximusHD and I'm very eager to install the new stock rom, BUT:
No matter if I download the extracted zip or extract it my self from RUU_HIMA_UL_N70_SENSE80_ATT_MR_NA_Gen_Unlock_4.14.617.6.exe, both my M9 and my W10 box insists that the zip-file is corrupt. I'm not able to copy the file to my device, and if i fastboot it I get this error:
fastboot.exe flash zip D:\Downloads\0PJAIMG.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (87173 KB)...
OKAY [ 5.679s]
writing 'zip'...
(bootloader) HOSD CL#669696
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_b
(bootloader) zWXOR
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 7.872s
I tried extracting the rom.zip from 2 different machines with the same result. 7-zip just says invalid zip archive.
Even if I download older roms like the ones found on http://www.androidruu.com/ I get corrupt zip file error.
Furthermore I have investigated the CID om my device and have found, that the cidvar is not set:
fastboot.exe getvar cid
cid:
Please help
I had the same issue. I had to ruu back to 3.35.617.31 and then take to ota.
I had the same issue , this did it for me
http://forum.xda-developers.com/showpost.php?p=70018851&postcount=134
verloren22 said:
I had the same issue. I had to ruu back to 3.35.617.31 and then take to ota.
Click to expand...
Click to collapse
Thank you for your reply. Unfortunately that did not work either - same zip-error.
osametto said:
I had the same issue , this did it for me
http://forum.xda-developers.com/showpost.php?p=70018851&postcount=134
Click to expand...
Click to collapse
Thanks!
New Firmware gave me a CID.
Unfortunately step 2 (with the file from the link you posted) still generates this error:
fastboot.exe flash zip D:\Downloads\0PJAIMG.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (89626 KB)...
OKAY [ 5.861s]
writing 'zip'...
(bootloader) HOSD CL#836547
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_e
(bootloader) 0flyn
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 6.978s
Unfortunately GSM does not work after firmware update :crying:
THE FOLLOWING WILL WIPE ALL PHONE DATA INCLUDING THINGS ON INTERNAL SD CARD
I downloaded the ota and then the ruu , installed stock recovery and put cid and mid of developer edition.
I pulled out the firmware from the ota , flashed it .
Then i used the ruu normally , and it worked without any problem.
That's how i got it to work coming from custom rom.

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

Problems with Phone /dev/block/bootdevice/by-name/frp

I got an HTC One (M9) from a friend that no longer uses it and when you boot up it does ask for the last email registered to this device. It will not allow me to do anything in RUU mode or command line without repeating the same message over and over.
Code:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>adb
Android Debug Bridge version 1.0.32
Revision eac51f2bb6a8-android
C:\Users\rbgCO\Desktop>fastboot flash firmware.zip
unknown partition 'firmware.zip'
error: cannot determine image filename for 'firmware.zip'
C:\Users\rbgCO\Desktop>fastboot flash zip firmware.zip
target reported max download size of 800000000 bytes
sending 'zip' (33033 KB)...
OKAY [ 2.726s]
writing 'zip'...
(bootloader) HOSD CL#669662
(bootloader) Perform pre-update
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 8
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 8
(bootloader) [email protected]
FAILED (remote: 8 RU_SIGNATURE_FAIL )
finished. total time: 5.717s
C:\Users\rbgCO\Desktop>fastboot oem get_identifier_token
...
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.016s]
finished. total time: 0.016s[CODE]
[/CODE]
Now doing some research I see the spot that was not checked was by pressing the build number 6 times and it is a checkbox allowing you to enter the mode to flash different roms or even to flash this back to stock but I do not know how I could change that.
If changing that checksum is not possible, is there a way I could contact google or HTC to see which email is associated with the lock so that I can bring it back to the guy I bought it from and have him enter that email and password allowing me to change that checkbox then reset the phone again?
Any help would be greatly appreciated.
Any help would be appreciated!
rbgCODE said:
Any help would be appreciated!
Click to expand...
Click to collapse
Does it have a recovery?
my htc m9 verizon
show unlocked s-off what do i do next should i just flash or still need to do something else. please am new to rooting and all

[HELP] AUS/Optus Model - Deleted OS

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

Categories

Resources