Problem install room our unlock - S-ON / LOCK/ HTC__621 - One (M9+) General

Hello guys
After an update my HTC crashed on boot.
it is locked and S-ON.
I tried to unlock HTCdev but I can not, it goes through all the steps, but it does not unlock:
(bootloader) kernel: lk
(bootloader) product: htc_hiau_ml_tuhl
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 1.08.709.4
(bootloader) boot-mode: download
(bootloader) version-bootloader: 1.01.0000
(bootloader) mid: 0PK711000
(bootloader) cid: HTC__621
all:
finished. total time: 0.095s
When I try to copy RUU.zip to rebootRUU or Flash, this is the message:
C:\fastboot>fastboot flash zip c:\fastboot\ruu.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 692988670 is not a multiple of the block size 4096
sending sparse 'zip' (781248 KB)...
error: write_sparse_skip_chunk: don't care size 692988670 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 692988670 is not a multiple of the block size 4096
OKAY [ 39.458s]
writing 'zip'...
(bootloader) HOSD CL#534001
FAILED (remote: 9: SD_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 39.648s
Can someone help me?

Help me
Sent from my SM-G950F using Tapatalk

Did your device enter the ruu mode ?
https://forum.xda-developers.com/showpost.php?p=61801034&postcount=8
fastboot oem rebootRUU
Your device will show a black screen with a silver htc logo.

yvtc75 said:
Did your device enter the ruu mode ?
https://forum.xda-developers.com/showpost.php?p=61801034&postcount=8
fastboot oem rebootRUU
Your device will show a black screen with a silver htc logo.
Click to expand...
Click to collapse
show it error
C:\Users\Carol Diniz\Desktop\fastboot_adb>fastboot oem rebootRUU
...
OKAY [ 0.127s]
finished. total time: 0.180s
C:\Users\Carol Diniz\Desktop\fastboot_adb>fastboot flash zip rom.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 1841 is not a multiple of the block size 4096
sending sparse 'zip' (66391 KB)...
error: write_sparse_skip_chunk: don't care size 1841 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1841 is not a multiple of the block size 4096
OKAY [ 4.672s]
writing 'zip'...
(bootloader) HOSD CL#534001
(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: 6.170s
C:\Users\Carol Diniz\Desktop\fastboot_adb>fastboot flash zip rom.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (66531 KB)...
OKAY [ 4.683s]
writing 'zip'...
(bootloader) HOSD CL#534001
(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: 6.156s

disilva said:
show it error
C:\Users\Carol Diniz\Desktop\fastboot_adb>fastboot oem rebootRUU
...
OKAY [ 0.127s]
finished. total time: 0.180s
C:\Users\Carol Diniz\Desktop\fastboot_adb>fastboot flash zip rom.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 1841 is not a multiple of the block size 4096
sending sparse 'zip' (66391 KB)...
error: write_sparse_skip_chunk: don't care size 1841 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1841 is not a multiple of the block size 4096
OKAY [ 4.672s]
writing 'zip'...
(bootloader) HOSD CL#534001
(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: 6.170s
C:\Users\Carol Diniz\Desktop\fastboot_adb>fastboot flash zip rom.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (66531 KB)...
OKAY [ 4.683s]
writing 'zip'...
(bootloader) HOSD CL#534001
(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: 6.156s
Click to expand...
Click to collapse
help me...

disilva said:
help me...
Click to expand...
Click to collapse
1. Make sure the download file is not corrupt.
check sum the md5 values first.
2. It is recommend to adopt the latest version for hTC adb/fastboot.
If you install hTC sync manager driver on your PC, you can find it on
X:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync

Related

Issues flashing

Hi everyone,
I have a Moto X Force and I'm having the current erros while flashing, already google about it but no solution so far:
C:\Users\XX\Downloads\X>fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.004s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.594s]
finished. total time: 0.600s
C:\Users\XX\Downloads\X>fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.004s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.596s]
finished. total time: 0.602s
C:\Users\XX\Downloads\X>fastboot flash bootloader bootloader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (2781 KB)...
OKAY [ 0.075s]
writing 'bootloader'...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
(bootloader) flashing pmic ...
(bootloader) flashing rpm ...
(bootloader) flashing tz ...
(bootloader) flashing hyp ...
(bootloader) flashing sdi ...
OKAY [ 1.347s]
finished. total time: 1.423s
C:\Users\XX\Downloads\X>fastboot flash logo logo.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:logo: not found
target reported max download size of 536870912 bytes
sending 'logo' (3575 KB)...
OKAY [ 0.095s]
writing 'logo'...
OKAY [ 0.041s]
finished. total time: 0.141s
C:\Users\XX\Downloads\X>fastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (40960 KB)...
OKAY [ 1.103s]
writing 'boot'...
OKAY [ 0.245s]
finished. total time: 1.353s
C:\Users\XX\Downloads\X>fastboot flash recovery recovery.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (41040 KB)...
OKAY [ 1.104s]
writing 'recovery'...
OKAY [ 0.267s]
finished. total time: 1.376s
C:\Users\XX\Downloads\X>fastboot flash system system.img_sparsechunk.0
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (256672 KB)...
OKAY [ 6.640s]
writing 'system'...
OKAY [ 2.662s]
finished. total time: 9.307s
C:\Users\XX\Downloads\X>fastboot flash system system.img_sparsechunk.1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (255960 KB)...
OKAY [ 6.675s]
writing 'system'...
OKAY [ 3.556s]
finished. total time: 10.235s
C:\Users\XX\Downloads\X>fastboot flash system system.img_sparsechunk.2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (255742 KB)...
OKAY [ 6.595s]
writing 'system'...
OKAY [ 5.067s]
finished. total time: 11.665s
C:\Users\XX\Downloads\X>fastboot flash system system.img_sparsechunk.3
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (256070 KB)...
OKAY [ 6.640s]
writing 'system'...
OKAY [ 4.792s]
finished. total time: 11.436s
C:\Users\XX\Downloads\X>fastboot flash system system.img_sparsechunk.4
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (256509 KB)...
OKAY [ 6.683s]
writing 'system'...
OKAY [ 5.117s]
finished. total time: 11.805s
C:\Users\XX\Downloads\X>fastboot flash system system.img_sparsechunk.5
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (255185 KB)...
OKAY [ 6.655s]
writing 'system'...
OKAY [ 5.101s]
finished. total time: 11.761s
C:\Users\XX\Downloads\X>fastboot flash system system.img_sparsechunk.6
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (255113 KB)...
OKAY [ 6.652s]
writing 'system'...
OKAY [ 5.634s]
finished. total time: 12.289s
C:\Users\XX\Downloads\X>fastboot flash system system.img_sparsechunk.7
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258044 KB)...
OKAY [ 6.719s]
writing 'system'...
OKAY [ 4.810s]
finished. total time: 11.533s
C:\Users\XX\Downloads\X>fastboot flash system system.img_sparsechunk.8
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258913 KB)...
OKAY [ 6.738s]
writing 'system'...
OKAY [ 4.412s]
finished. total time: 11.155s
C:\Users\XX\Downloads\X>fastboot flash system system.img_sparsechunk.9
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (253201 KB)...
OKAY [ 6.604s]
writing 'system'...
OKAY [ 5.061s]
finished. total time: 11.669s
C:\Users\XX\Downloads\X>fastboot flash system system.img_sparsechunk.10
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (262141 KB)...
OKAY [ 6.835s]
writing 'system'...
OKAY [ 5.414s]
finished. total time: 12.254s
C:\Users\XX\Downloads\X>fastboot flash system system.img_sparsechunk.11
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (130192 KB)...
OKAY [ 3.384s]
writing 'system'...
OKAY [ 1.828s]
finished. total time: 5.217s
C:\Users\XX\Downloads\X>fastboot flash modem NON-HLOS.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modem: not found
target reported max download size of 536870912 bytes
sending 'modem' (40480 KB)...
OKAY [ 1.054s]
writing 'modem'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.087s
C:\Users\XX\Downloads\X>fastboot erase modemst1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst1: not found
erasing 'modemst1'...
OKAY [ 0.008s]
finished. total time: 0.009s
C:\Users\XX\Downloads\X>fastboot erase modemst2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst2: not found
erasing 'modemst2'...
OKAY [ 0.007s]
finished. total time: 0.008s
C:\Users\XX\Downloads\X>fastboot flash bluetooth BTFM.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bluetooth: not found
target reported max download size of 536870912 bytes
sending 'bluetooth' (1296 KB)...
OKAY [ 0.036s]
writing 'bluetooth'...
OKAY [ 0.066s]
finished. total time: 0.105s
C:\Users\XX\Downloads\X>fastboot flash fsg fsg.mbn
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:fsg: not found
target reported max download size of 536870912 bytes
sending 'fsg' (728 KB)...
OKAY [ 0.022s]
writing 'fsg'...
OKAY [ 0.050s]
finished. total time: 0.075s
C:\Users\XX\Downloads\X>fastboot erase cache
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:cache: not found
erasing 'cache'...
OKAY [ 0.034s]
finished. total time: 0.035s
C:\Users\XX\Downloads\X>fastboot erase userdata
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:userdata: not found
erasing 'userdata'...
OKAY [ 1.566s]
finished. total time: 1.567s
C:\Users\XX\Downloads\X>fastboot erase customize
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:customize: not found
erasing 'customize'...
OKAY [ 0.006s]
finished. total time: 0.008s
C:\Users\XX\Downloads\X>fastboot oem fb_mode_clear
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.002s]
finished. total time: 0.003s
C:\Users\XX\Downloads\X>fastboot reboot
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
rebooting...
finished. total time: 0.005s
C:\Users\XX\Downloads\X>
Click to expand...
Click to collapse
Anyone came across with the same errors?
Hi iff you have TWRP recovery on the phone try flashing the mx force rom from the development section it is pre rooted stock rom and you can flash it through twrp so their will be no need for manual flash. Hope this helps.

Update my M9+

Hello,
I would like to update my HTC M9+.
The current version is :
Android : 5.0.2
HTC Sense : 7.0
base band : 1.1506V24P59.2508.1008_HTW
build : 1.03.708.12 CL608897 release-keys
cid: HTC--622
I live in France, but I've bought my phone on internet, and I think it come from Hong-Kong...
I don't know wich update I have to use...
Can you help me ?
(sorry for my English, it's not my native language...).
I asked the customer service about this problem
The answer was the package on the internet not working and you have to give us your phone to update it
Sent from my HTC One M9PLUS using XDA-Developers Legacy app
So... the best way is to buy a new phone...
fanfanus said:
So... the best way is to buy a new phone...
Click to expand...
Click to collapse
Hi, can you please share all the details about your phone with "fastboot getvar all" ? Do you know about this ?
After this you need to S-OFF with sunshine apk and come back to me here will give you instructons more....
Cheers!
P
Peacemaker69 said:
Hi, can you please share all the details about your phone with "fastboot getvar all" ? Do you know about this ?
Click to expand...
Click to collapse
Code:
(bootloader) kernel: lk
(bootloader) product: htc_hiaur_ml_tuhl
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 1.03.708.12
(bootloader) boot-mode: download
(bootloader) version-bootloader: 1.01.0000
(bootloader) mid: 0PK711001
(bootloader) cid: HTC__622
all:
finished. total time: 0.003s
Peacemaker69 said:
After this you need to S-OFF with sunshine apk and come back to me here will give you instructons more....P
Click to expand...
Click to collapse
It's done.
fanfanus said:
Code:
(bootloader) kernel: lk
(bootloader) product: htc_hiaur_ml_tuhl
(bootloader) version: 1.0
(bootloader) imei: 358812064*****xxx
(bootloader) version-main: 1.03.708.12
(bootloader) boot-mode: download
(bootloader) version-bootloader: 1.01.0000
(bootloader) mid: 0PK711001
(bootloader) cid: HTC__622
all:
finished. total time: 0.003s
It's done.
Click to expand...
Click to collapse
Ok... Did take S-OFF with sunshine apk ?
P.S. Remove your IMEI from here...
Yes i use sunshine apk to the S-OFF
fanfanus said:
Yes i use sunshine apk to the S-OFF
Click to expand...
Click to collapse
Ok, do you want to flash EU version to your phone? Because you are in EU as I can see... So am I...
Let me know....
Peacemaker69 said:
Ok, do you want to flash EU version to your phone? Because you are in EU as I can see... So am I...
Let me know....
Click to expand...
Click to collapse
Sure ! If it's work.
I read some componentes of the phone could change with the asian versions ? Is il not a prob ?
fanfanus said:
Sure ! If it's work.
I read some componentes of the phone could change with the asian versions ? Is il not a prob ?
Click to expand...
Click to collapse
Yup, it is but I'm not 100% sure.. Your version is from Hong Kong and it is "Supreme camera".... Correct ?
Alright, let's start...
First you need to change your CID...
---Before start flashing you need to download my ABD files... Check attached files down below
---Create some backup of your system before doing this !
Down this:
https://androidfilehost.com/?fid=745425885120699799
1. Go into Download mode and type command:
fastboot oem writecid HTC__621
2. Then command: fastboot reboot ... After that for and check if you CID has changed.. After go again to Download mode.
3. Rename zip file to 0PK7IMG.zip --must be putted in the same folder with fastboot ADB !!!!
4. fastboot oem rebootRUU
5. fastboot flash zip 0PK7IMG.zip
6. fastboot reboot
If you got some error message just let me know...
Cheers!
P
Peacemaker69 said:
5. fastboot flash zip 0PK7IMG.zip
Click to expand...
Click to collapse
ahah my SD card is too little...
Code:
htc_fastboot v3.0.9.2 (2015-05-29)
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (8512 KB)...
OKAY [ 1.299s]
writing 'zip'...
(bootloader) HOSD CL#608897
(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) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 2.376s
htc_fastboot finished. total time: 5.293s
fanfanus said:
ahah my SD card is too little...
Code:
htc_fastboot v3.0.9.2 (2015-05-29)
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (8512 KB)...
OKAY [ 1.299s]
writing 'zip'...
(bootloader) HOSD CL#608897
(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) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 2.376s
htc_fastboot finished. total time: 5.293s
Click to expand...
Click to collapse
You can try to install this with TWRP recovery If you have installed... Try that
Hello,
I try with a new SD card.
For the asian ROM you give me :
Code:
C:\Users\fanfa\Desktop\tempo\fastboot_adb>fastboot flash zip 0PK7IMG.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (8376 KB)...
OKAY [ 1.338s]
writing 'zip'...
(bootloader) HOSD CL#608897
(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) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 2.412s
htc_fastboot finished. total time: 22.947s
And I try with the UE version (1.90) :
Code:
C:\Users\fanfa\Desktop\tempo\fastboot_adb>fastboot flash zip 0PK7IMG_EU.zip
htc_fastboot v3.0.9.2 (2015-05-29)
found large-zip header, file count: 8
processing file 1/8...
sending 'zip' (78987 KB)...
OKAY [ 3.854s]
writing 'zip'...
(bootloader) HOSD CL#608897
(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) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 7
(bootloader) [email protected]
FAILED (remote: 7: fail to flash via downloadzip)
finished. total time: 4.988s
htc_fastboot finished. total time: 12.511s
Any suggestion ?
Thanks
fanfanus said:
Hello,
I try with a new SD card.
For the asian ROM you give me :
Code:
C:\Users\fanfa\Desktop\tempo\fastboot_adb>fastboot flash zip 0PK7IMG.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (8376 KB)...
OKAY [ 1.338s]
writing 'zip'...
(bootloader) HOSD CL#608897
(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) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 2.412s
htc_fastboot finished. total time: 22.947s
And I try with the UE version (1.90) :
Code:
C:\Users\fanfa\Desktop\tempo\fastboot_adb>fastboot flash zip 0PK7IMG_EU.zip
htc_fastboot v3.0.9.2 (2015-05-29)
found large-zip header, file count: 8
processing file 1/8...
sending 'zip' (78987 KB)...
OKAY [ 3.854s]
writing 'zip'...
(bootloader) HOSD CL#608897
(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) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 7
(bootloader) [email protected]
FAILED (remote: 7: fail to flash via downloadzip)
finished. total time: 4.988s
htc_fastboot finished. total time: 12.511s
Any suggestion ?
Thanks
Click to expand...
Click to collapse
Hi again,
Did you try to change your CID ? Install TWRP and then flash the file that I give you and let me know... Do you know how to change your CID and install TWRP ?
Peacemaker69 said:
Did you try to change your CID ?
Click to expand...
Click to collapse
I succeed to install the europe version. I change the CID with a super CID :
Code:
fastboot oem writecid 11111111
It's working but.... only self-portrait is aviable in camera !
fanfanus said:
I succeed to install the europe version. I change the CID with a super CID :
Code:
fastboot oem writecid 11111111
It's working but.... only self-portrait is aviable in camera !
Click to expand...
Click to collapse
How did you install with fastboot or SD card or via TWRP? and which version of ?
I use fastbook.
now :
Code:
(bootloader) kernel: lk
(bootloader) product: htc_hiau_ml_tuhl
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 1.90.401.3
(bootloader) boot-mode: download
(bootloader) version-bootloader: 1.01.0000
(bootloader) mid: 0PK711001
(bootloader) cid: 11111111
Android is always 5.0.2
The phone ask me to install android 6.0 with this version. But It refuse to intall it because my phone was modified...
fanfanus said:
I use fastbook.
now :
Code:
(bootloader) kernel: lk
(bootloader) product: htc_hiau_ml_tuhl
(bootloader) version: 1.0
(bootloader) imei: 358812064194422
(bootloader) version-main: 1.90.401.3
(bootloader) boot-mode: download
(bootloader) version-bootloader: 1.01.0000
(bootloader) mid: 0PK711001
(bootloader) cid: 11111111
Android is always 5.0.2
The phone ask me to install android 6.0 with this version. But It refuse to intall it because my phone was modified...
Click to expand...
Click to collapse
You can change your CID If you find Asia RUUs with 6.0 version... Other way is to flash "CleanSlate 2.0 rom" via TWRP,,, and see if that would helps..
Here you can download CleanSlate 2.0 rom :
https://forum.xda-developers.com/on...nslate-1-0-world-wide-edition-t3120017/page36
I foud this version :
0PK7IMG_HIAUR_ML_TUHL_M60_SENSE70_MR_hTC_Asia_TW_2.15.709.1_Radio_1.1550V70.2501.0304_HT[W.T]_release_486004_signed_HBoot.zip
(http://en.pars-hamrah.com/download-...-_release_487210_combined_signed_2_4-zip.html)
But I don't find a free link....
Peacemaker69 said:
You can change your CID If you find Asia RUUs with 6.0 version... Other way is to flash "CleanSlate 2.0 rom" via TWRP,,, and see if that would helps..
Here you can download CleanSlate 2.0 rom :
https://forum.xda-developers.com/on...nslate-1-0-world-wide-edition-t3120017/page36
Click to expand...
Click to collapse
hai peacemaker..
i want to clean flash my htc one m9+ ..can u teach me step by step please..
my baseband version is 1.1550v70.2501.0304_HTW..
i want to change to asia WW stock rom but have no idea at all what to do..
currently my phone dont have a network and cant register any sim since i moved from taiwan to malaysia..
i will be so grateful if u can help me with this thanks

Revert to stock issue [SOLVED]

My G5 plus came with NPN25.137-67 Indian version. Flashed TWRP and rooted. Now I want to go back to stock. I understand 67 full stock firmware is not available and I may need to downgrade using this firmware:-
[XT1681-XT1683_POTTER_BRASIL_LATAM_MEXICO_7.0_NPN25.137-15_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip].
But I came across some posts talking about problems of bootloader and partition table (gpt) downgrade since my phone came originally with 67. From what I can understand if your bootloader gets downgraded then phone will be hard bricked after receiving the OTA.
So I am guessing I cannot go back to stock ?
handy5876 said:
My G5 plus came with NPN25.137-67 Indian version. Flashed TWRP and rooted. Now I want to go back to stock. I understand 67 full stock firmware is not available and I may need to downgrade using this firmware:-
[XT1681-XT1683_POTTER_BRASIL_LATAM_MEXICO_7.0_NPN25.137-15_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip].
But I came across some posts talking about problems of bootloader and partition table (gpt) downgrade since my phone came originally with 67. From what I can understand if your bootloader gets downgraded then phone will be hard bricked after receiving the OTA.
So I am guessing I cannot go back to stock ?
Click to expand...
Click to collapse
Maybe, you can try to flash the latest twrp flashable build and replace recovery and logo with the stock files (one without the warning sign) and lock the bootloader. Can someone please confirm this?
Done
Ok I got it done. It works. Thanks to these posts/threads and the full 67 firmware.
1. https://forum.xda-developers.com/g5-plus/how-to/lock-bootloader-moto-g5-plus-indian-t3638835
2. https://forum.xda-developers.com/showpost.php?p=74251898&postcount=6
3. https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
To those who want to have a look at my command log it is in the attachment as a text file.
many thanks to run for my xt1680 AT & T Mexico greetings ...
handy5876 said:
Ok I got it done. It works. Thanks to these posts/threads and the full 67 firmware.
1. https://forum.xda-developers.com/g5-plus/how-to/lock-bootloader-moto-g5-plus-indian-t3638835
2. https://forum.xda-developers.com/showpost.php?p=74251898&postcount=6
3. https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
To those who want to have a look at my command log it is in the attachment as a text file.
Click to expand...
Click to collapse
i tried in my potter, but its not working, i flashed POTTER_NPN25.137-67-5 stock rom in my divice, its saying downgrading os , what to do
Chandru1166 said:
i tried in my potter, but its not working, i flashed POTTER_NPN25.137-67-5 stock rom in my divice, its saying downgrading os , what to do
Click to expand...
Click to collapse
Did you try as per the command log I provided ?
handy5876 said:
Did you try as per the command log I provided ?
Click to expand...
Click to collapse
yes , i tried your command log
unable to download as the download link is not active
handy5876 said:
Ok I got it done. It works. Thanks to these posts/threads and the full 67 firmware.
1. https://forum.xda-developers.com/g5-plus/how-to/lock-bootloader-moto-g5-plus-indian-t3638835
2. https://forum.xda-developers.com/showpost.php?p=74251898&postcount=6
3. https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
To those who want to have a look at my command log it is in the attachment as a text file.
Click to expand...
Click to collapse
Hi ,
Please provide me the active link .. Thanks in advance
i can't lock bootloader
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.172s]
finished. total time: 0.188s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Flash valid Android images now
(bootloader) Then re-run this command to lock
OKAY [ 0.203s]
finished. total time: 0.203s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash oem oem.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotem: not found
target reported max download size of 536870912 bytes
sending 'oem' (102931 KB)...
OKAY [ 4.110s]
writing 'oem'...
(bootloader) Security version downgrade
(bootloader) Image o failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 4.235s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.0
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (516109 KB)...
OKAY [ 25.440s]
writing 'system'...
(bootloader) Security version downgrade
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 25.596s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (505697 KB)...
OKAY [ 24.730s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 24.777s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (524284 KB)...
OKAY [ 27.119s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 27.150s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.3
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (517278 KB)...
OKAY [ 24.449s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 24.481s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.4
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (469093 KB)...
OKAY [ 23.088s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 23.155s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.757s]
writing 'boot'...
(bootloader) Security version downgrade
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.977s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Still require signed boot.img
OKAY [ 0.172s]
finished. total time: 0.188s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot-bootloader
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
rebooting into bootloader...
OKAY [ 0.175s]
finished. total time: 0.238s
DhruvanBhalara said:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.172s]
finished. total time: 0.188s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Flash valid Android images now
(bootloader) Then re-run this command to lock
OKAY [ 0.203s]
finished. total time: 0.203s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash oem oem.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotem: not found
target reported max download size of 536870912 bytes
sending 'oem' (102931 KB)...
OKAY [ 4.110s]
writing 'oem'...
(bootloader) Security version downgrade
(bootloader) Image o failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 4.235s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.0
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (516109 KB)...
OKAY [ 25.440s]
writing 'system'...
(bootloader) Security version downgrade
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 25.596s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (505697 KB)...
OKAY [ 24.730s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 24.777s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (524284 KB)...
OKAY [ 27.119s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 27.150s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.3
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (517278 KB)...
OKAY [ 24.449s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 24.481s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
_sparsechunk.4
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (469093 KB)...
OKAY [ 23.088s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 23.155s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.757s]
writing 'boot'...
(bootloader) Security version downgrade
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.977s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Still require signed boot.img
OKAY [ 0.172s]
finished. total time: 0.188s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot-bootloader
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
rebooting into bootloader...
OKAY [ 0.175s]
finished. total time: 0.238s
Click to expand...
Click to collapse
did you found the solution?

Unable to flash RUU - no OS

fixed - see at the end
So like an idiot I managed to wipe everything from the phone, now it just freezes during boot screen. I've successfully rooted it (Installed TWRP and SuperSU) but decided I want to go back to be able to OTA update. I don't know what I was thinking but I wiped everything from the phone without backing it up Now I'm stuck with no OS and unable to flash anything on it.
Code:
***RELOCKED***
htc_hiau_ml_tuhl PVT S-ON
LK-1.01.0000
OpenDSP-UNKNOWN
OS-1.90.401.3
mid: 0PK711000
cid: HTC__J15
I've tried to flash RUU 1.90.401.3 from fastboot but I get
Code:
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2434584755 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2434584755 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2434584755 is not a multiple of the block size 4096
OKAY [ 1.028s]
writing 'zip'...
(bootloader) HOSD CL#670935
FAILED (remote: 9: SD_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 1.088s
or
Code:
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2434584755 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2434584755 is not a multiple of the block size 4096
FAILED (command write failed (Invalid argument))
finished. total time: 0.031s
Then I tried some other RUU's (1.32.401.8 and 2.30.401.1) to no avail. I get the same error. I've read all the threads that I could find here about people who can't flash their RUU, I've searched the interwebs for fixes to "Invalid sparse file format" error and could find anything to make it work. I ended up relocking bootloader and now I can't even enter recovery mode.
I don't know what to do anymore so, I'm asking here maybe someone else knows what I should do and guides me. After two days I don't care about the root or the twrp, I just hope I didn't bricked it for good :crying:, just want to go back to factory settings and make it work.
Thanks.
[edit]
I've unlocked the bootloader again and tried installing the same RUU's from sd with twrp but as soon as I swipe right it restarts twrp and nothing happens.
[edit2]
I've found a fastboot.exe which works with big size zip-files in this post https://forum.xda-developers.com/showpost.php?p=73241261&postcount=1367 (thanks ziand_)
Now I get some other errors
Code:
C:\adb>htc_fastboot_3.0.9.2 flash zip \adb\x\HTC_Europe_1.90.401.3.zip
htc_fastboot v3.0.9.2 (2015-05-29)
found large-zip header, file count: 8
processing file 1/8...
sending 'zip' (78987 KB)...
OKAY [ 4.555s]
writing 'zip'...
(bootloader) HOSD CL#670935
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 19
(bootloader) [email protected]
FAILED (remote: 19: fail to flash via downloadzip)
finished. total time: 10.500s
htc_fastboot finished. total time: 21.965s
I'm guessing that I'm using the wrong RUU for my phone
I'll canvas the[RUU]M9+ RUU file by xiaolongzi maybe I'll find the answer there
if anyone could tell me what I'm doing wrong it would be really neat.
[edit3]
***FIXED***
*probably
I flashed one of these stock firmware recoveries
https://forum.xda-developers.com/on...al/firmware-stock-recoveries-regions-t3120826
and after that
htc_fastboot_3.0.9.2 oem rebootRUU
htc_fastboot_3.0.9.2 flash zip HTC_Europe_1.90.401.3.zip
after that it rebooted just fine, I even managed to make the official update to marshmallow
so, yeah, good job me :good:
[/edit]

Need to go back to stock, bootloop

Hello,
So my U Ultra was rooted, then unrooted.
Months later, the phone has some sort of software issue causing it to restart (probably a corrupt file)
Now i want to take it back to being a fully unrooted stock.
Please see details below
Fastboot getvar all:
kernel: lk
(bootloader) product: htc_ocedugl
(bootloader) version: 1.0
(bootloader) max-download-size: 1578400000
(bootloader) serialno: FA72F1700260
(bootloader) slot-count: 0
(bootloader) current-slot:
(bootloader) imei: 355167081167528
(bootloader) version-main: 2.19.400.1
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PZF20000
(bootloader) cid: HTC__060
The bootloader shows following info:
*** RELOCKED ***
*** FUSED (PRODUCTION)***
htc_ocedugl PVT S-ON
LK-1.0.0.0000
[email protected]
OpenDSP-v24.0.8996.00007_1206_OCE
OS-2.19.400.1
Feb 13 2018,16:29:19(1026541)
It's an Indian region phone i think, since the ota files i find online with the matching radio reads HTC INDIA
So i've tried the sdcard method as well as fastboot flash zip method, trying with 2 different files:
OTA_OCEAN_N[email protected]80211.2_63.34_release_522885kzkqxuugr4zk0yr5.zip
link: https://androidfilehost.com/?fid=746010030569965797
&
2PZFIMG_OCEAN_NOTE[email protected]70502_53.34_release_503372_signed_2_4.[email protected]
link: https://androidfilehost.com/?fid=3700668719832236174
Yes, i renamed it to "2PZFIMG.zip" and placed it on root of the sdcard,
for the OTA file mentioned above, i end up with the following error:
"99 RU_UNKNOWN_FAIL terrible mishap with original ret: 0
99 RU_UNKNOWN_FAIL terrible mishap with original ret: 0
99 RU_UNKNOWN_FAIL terrible mishap with original ret: 0"​
For the 2nd zip, I receive the following error:
"19 RU_MAIN_VER_FAIL os-version in android-info missing or i
19 RU_MAIN_VER_FAIL os-version in android-info missing or i
FAIL19 RU_MAIN_VER_FAIL os-version in android-info missing or i"​
fastboot flash zip concludes with the following error:
"zeeraks-mbp-2:~ zeerakata$ /Users/zeerakata/Documents/android/platform-tools/fastboot flash zip /Users/zeerakata/Documents/android/platform-tools/rom.zip
ERROR: Couldn't create a device interface iterator: (e00002bd)
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 904116903 is not a multiple of the block size 4096
Sending sparse 'zip' 1/2 (1048572 KB) error: write_sparse_skip_chunk: don't care size 904116903 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 904116903 is not a multiple of the block size 4096
OKAY [ 52.655s]
Writing 'zip' (bootloader) HOSD CL#1026541
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_b
(bootloader) xkQ1e
(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 RU_HEADER_ERROR ')
fastboot: error: Command failed"​
I'm not a pro at this, but i've been playing around with android rooting and stuff for a while now.
Please help me with this.
Need to go back to stock
UPDATE:
So i downloaded a file with the following title,
2PZFIMG_OCEAN_NOTE_DU[email protected]80211.2_63.34_release_524957_combined_s
and it is successfully flashed via SDcard method:
I still am stuck on a bootloop, i cant make it past the htc logo, onto the loading screen
PLEASE HELP
Found the right RUU
The OTA file mentioned wouldnt flash, so i found an RUU of the same variant.
https://androidfilehost.com/?fid=11410963190603866517
It did the job, but seems like this wasn't it for my phone. Seems like a hardware issue to me since it would randomly freeze, even followed by a long-timed vibration till it turned off. So i'll be taking it for repair to a shop.

Categories

Resources