RUU Model ID mismatch error - HTC 10 Questions & Answers

UPDATE: I was able to run 3.16.617.2 RUU.exe while phone was in RUU mode. The program successfully detected the phone and restored it back to stock.
Hi,
I was trying to roll back from LOS (Android 9) to stock 8.0 Oreo.
I downloaded the RUU zip, renamed it to 2PS6IMG.zip, and flashed it but got a model ID mismatch error, and flash failed. Tried fastboot getvar all and got the following:
(bootloader) version:0.5
(bootloader) ramdump-mode:false
(bootloader) variant:Surf eMMC
(bootloader) boot-mode:FASTBOOT
(bootloader) secure:yes
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0xe000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x61b000000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0xef000000
(bootloader) serialno:<Removed on purpose>
version-baseband and version-bootloader are returned blank by this command.
i tried to fastboot flash the ruu zip and got the following error:
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 960139745 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 960139745 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 960139745 is not a multiple of the block size 4096
OKAY [ 37.228s]
Writing sparse 'zip' 1/2 (bootloader) HOSD CL#1012001
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_c
(bootloader) FoslP
(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 ')
Finished. Total time: 58.930s
Any suggestions?

Yeah you flashed "a" ruu, which one exactly ? Second the fastboot getvar all command should be done with the phone in download mode. Not bootloader.
Try again and give the proper info.
Cheers

Mr Hofs said:
Yeah you flashed "a" ruu, which one exactly ? Second the fastboot getvar all command should be done with the phone in download mode. Not bootloader.
Try again and give the proper info.
Cheers
Click to expand...
Click to collapse
Oh sorry, my bad. The fastboot getvar all from download mode gives:
Code:
(bootloader) kernel: lk
(bootloader) product: htc_pmewl
(bootloader) version: 1.0
(bootloader) max-download-size: 1578400000
(bootloader) serialno: HT6ARBN00041
(bootloader) slot-count: 0
(bootloader) current-slot:
(bootloader) imei: <Removed>
(bootloader) version-main: 3.16.401.2
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS650000
(bootloader) cid: BS_US001
I have tried the 3.16.401.2 RUU zip, but it failed. I then realized that the correct zip for BS_US001 would be 3.16.617.2. So i flashed that, but same result.
Currently I am:
S-on
relocked
stuck in download mode
If i try to flash RUU zip from sd card, i get "12 RU zip error", and if i try flashing via fastboot, i get
Code:
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 933555519 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 933555519 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 933555519 is not a multiple of the block size 4096
OKAY [ 50.183s]
Writing sparse 'zip' 1/2 (bootloader) HOSD CL#1012001
FAILED (remote: '9 RU_SECURITY_FAIL zip from usb command in download mode')
Finished. Total time: 56.306s

Tip 1 : keep your issue in 1 thread ONLY ! it's confusing
Now, your CID is actually from another model and your OS version is wwe Europe.....that can't be done with s-on.
Q1: are you sure your device isn't s-off but with s-on status ? This can be possible because sunshine provides that option.
Try the sunshine app to see if your device has been registered there, if so it will make things easier.
Please confirm the questions i have for you.

Mr Hofs said:
Tip 1 : keep your issue in 1 thread ONLY ! it's confusing
Now, your CID is actually from another model and your OS version is wwe Europe.....that can't be done with s-on.
Q1: are you sure your device isn't s-off but with s-on status ? This can be possible because sunshine provides that option.
Try the sunshine app to see if your device has been registered there, if so it will make things easier.
Please confirm the questions i have for you.
Click to expand...
Click to collapse
I am not S-OFF, my download mode says S-ON. I have never tried setting it to s-off
fastboot getvar all in download mode shows: (bootloader) version-main: 3.16.401.2
while on the phone screen it says OS-3.16.617.2
cid: BS_US001
mid: 2PS650000
can not use the sunshine app since i can only boot into download and bootloader mode.
Also apologies about the multiple thread confusion, will only post in this one now.

Khizar Amin said:
Hi,
I was trying to roll back from LOS (Android 9) to stock 8.0 Oreo.
I downloaded the RUU zip, renamed it to 2PS6IMG.zip, and flashed it but got a model ID mismatch error, and flash failed. Tried fastboot getvar all and got the following:
(bootloader) version:0.5
(bootloader) ramdump-mode:false
(bootloader) variant:Surf eMMC
(bootloader) boot-mode:FASTBOOT
(bootloader) secure:yes
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0xe000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x61b000000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0xef000000
(bootloader) serialno:<Removed on purpose>
version-baseband and version-bootloader are returned blank by this command.
i tried to fastboot flash the ruu zip and got the following error:
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 960139745 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 960139745 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 960139745 is not a multiple of the block size 4096
OKAY [ 37.228s]
Writing sparse 'zip' 1/2 (bootloader) HOSD CL#1012001
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_c
(bootloader) FoslP
(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 ')
Finished. Total time: 58.930s
Any suggestions?
Click to expand...
Click to collapse
Was able to get an RUU exe to work with phone in RUU mode
Thanks a bunch though @Mr Hofs

Khizar Amin said:
Was able to get an RUU exe to work with phone in RUU mode
Thanks a bunch though @Mr Hofs
Click to expand...
Click to collapse
Would you mind explaining how you did it exactly with what ruu. Because still your OS did not match your CID.
Thanks in advance
Edit :
You didn't read well. When your download mode says 3.16.401 and your CID BS 001 it's been modded because they mismatch.
So either your device has been set to s-off but with the s-on flag by sunshine.
So again : try this
Download the sunshine app (has nothing to do with your bootloader) and run it. When the application continues all the way without payment and you can reset your options it's been registered and thus modded.
Please read carefully what i write......

Mr Hofs said:
Would you mind explaining how you did it exactly with what ruu. Because still your OS did not match your CID.
Thanks in advance
Edit :
You didn't read well. When your download mode says 3.16.401 and your CID BS 001 it's been modded because they mismatch.
So either your device has been set to s-off but with the s-on flag by sunshine.
So again : try this
Download the sunshine app (has nothing to do with your bootloader) and run it. When the application continues all the way without payment and you can reset your options it's been registered and thus modded.
Please read carefully what i write......
Click to expand...
Click to collapse
When i was trying to fix the phone, i first tried with the .401 zip several times, but it would always fail during the process. Then, while searching on xda, i realized that i was using the wrong RUU, so i downloaded the .617 ruu exe to match my CID
I booted the phone to RUU mode, since it was only booting to bootloader, RUU or download modes, and ran the ruu exe. RUU detected my phone and i started the flash, and to my surprise, it actually worked without error. This was surprising because RUU.zip failed to flash, but somehow, exe did not. After the phone booted up, i was able to unlock bootloader again.
I have tried the sunshine thing, but the phone currently isnt rooted. I`ll root phone and get back in a bit.
Edit:
This is the current fastboot getvar all result
(bootloader) kernel: lk
(bootloader) product: htc_pmewl
(bootloader) version: 1.0
(bootloader) max-download-size: 1578400000
(bootloader) serialno:
(bootloader) slot-count: 0
(bootloader) current-slot:
(bootloader) imei:
(bootloader) version-main: 3.16.617.2
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS650000
(bootloader) cid: BS_US001

Mr Hofs said:
Would you mind explaining how you did it exactly with what ruu. Because still your OS did not match your CID.
Thanks in advance
Edit :
You didn't read well. When your download mode says 3.16.401 and your CID BS 001 it's been modded because they mismatch.
So either your device has been set to s-off but with the s-on flag by sunshine.
So again : try this
Download the sunshine app (has nothing to do with your bootloader) and run it. When the application continues all the way without payment and you can reset your options it's been registered and thus modded.
Please read carefully what i write......
Click to expand...
Click to collapse
Rooted, checked sunshine. It takes me to payment. Sunshine has not been purchased for this device.

Khizar Amin said:
Rooted, checked sunshine. It takes me to payment. Sunshine has not been purchased for this device.
Click to expand...
Click to collapse
Then i have no idea what happened to your device but a IS unlocked CID and European firmware isn't really possible. At least your issue is fixed but it still baffles me.
Cheers

Related

Errors When Trying To Flash RUU

Code:
sending 'zip'... (186439 KB) OKAY
sending time = 10.758 secs
writing 'zip'... (bootloader) HOSD CL#682500
(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]
FAIL19 RU_MAIN_VER_FAIL os-version in android-info missing or i
FAILED (remote: 19 RU_MAIN_VER_FAIL os-version in android-info missing or i)
I've never seen this error before while trying to flash an RUU. I recently picked up this device again after having sold my first one many months ago. I don't know if I'm missing something obvious here.
Code:
(bootloader) kernel: lk
(bootloader) product: htc_himaulatt
(bootloader) version: 1.0
(bootloader) imei: 358235060454618
(bootloader) version-main: 3.38.631.2
(bootloader) boot-mode: RUU
(bootloader) version-baseband: 01.01_U11440801_96.01.51207G_F
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA11000
(bootloader) cid: ROGER001
The RUU I'm attempting to flash is named "0PJAIMG_HIMA_UL_L50_SENSE70_ATT_Rogers_WWE_1.32.631.6_R2_Radio_01.01_U11440221_59.04.50303G_2_F_release_426412_signed.zip".
I'm S-On at the moment, because I can't afford to S-Off until next week, but I didn't think that would be an issue as I'm attemting to flash a matching RUU. If that's the only issue, then I guess that's that.
Wrong version? The device has marshmallow on it, you need the marshmallow ruu.. But none exist..
Beamed in by telepathy.
also remove your IMEI in the code!!! never show off your IMEI to anyone on the web. only if it's HTC
DeeZZ_NuuZZ said:
also remove your IMEI in the code!!! never show off your IMEI to anyone on the web. only if it's HTC
Click to expand...
Click to collapse
This imei thing.. Only sketchy if someone on the same network tries to use it, otherwise it will have no adverse effects as blacklist databases are not shared outside of the country. If the imei is used on another network the person will still have to pay their own bill so that takes care of the unregistered calls theory...
Beamed in by telepathy.
WinterApocalypse said:
The RUU I'm attempting to flash is named "0PJAIMG_HIMA_UL_L50_SENSE70_ATT_Rogers_WWE_1.32.631.6_R2_Radio_01.01_U11440221_59.04.50303G_2_F_release_426412_signed.zip".
I'm S-On at the moment, because I can't afford to S-Off until next week, but I didn't think that would be an issue as I'm attemting to flash a matching RUU. If that's the only issue, then I guess that's that.
Click to expand...
Click to collapse
im getting the same error. were you successful in going back to stock. ?

Flash Demo unit to Stock ROM

- Hi, I'm stuck with a demo unit of htc 10. I cant do anything with it. most of the developer options are greyed out. the status is :
usb debugging enabled
cant enable oem unlocking
thus, i cant unlock bootloader via htc dev. here is the fastboot getvar
(bootloader) kernel: lk
(bootloader) product: htc_pmeuhl
(bootloader) version: 1.0
(bootloader) imei: (i deleted the imei in this post)
(bootloader) version-main: 1.21.710.10
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS620000
(bootloader) cid: HTC__039
- I dloaded ota update OTA_PERFUME_UHL_M60_SENSE80GP_hTC_Asia_AUS_1.80.710.1-1.53.710.6_release_480542nqgkb2u2677kw9u8, i flash by using this command : fastboot oem rebootRUU, then fastboot flash zip OTA_PERFUME......zip, i got this error :
target reported max download size of 800000000 bytes
sending 'zip' (331727 KB)...
OKAY [ 18.090s]
writing 'zip'...
(bootloader) HOSD CL#738269
(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.680s
n then, i extract the firmware.zip from the ota file, n flash using same way fastboot flash zip firmware.zip
C:\ADB>fastboot flash zip firmware.zip
target reported max download size of 800000000 bytes
sending 'zip' (90010 KB)...
OKAY [ 5.866s]
writing 'zip'...
(bootloader) HOSD CL#738269
(bootloader) Perform pre-update
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
FAILED (remote: 90 hboot pre-update! please flush image again immediately )
finished. total time: 8.533s
both got error. May i know how can i return this unit to stock without demo?
If there is an RUU.exe for your phone (CID and MID must match), try flashing that
Also, you can give Sunshine a try, it's 25$, however: If it works(It should if ur on Marshmallow) and change your CID and MID to US Unlocked) and flash latest RUU exe for that version.
Hope it helps
Not possible: "cant unlock bootloader..."
Perform a factory reset, then for a short window of time developer options will be accessible and will enable oem unlock.
After unlocking you will have to root and disable demoflo package or soff and change cid to other than HTC__002
Στάλθηκε από το HTC 10 μου χρησιμοποιώντας Tapatalk
Ivanovic said:
Perform a factory reset, then for a short window of time developer options will be accessible and will enable oem unlock.
After unlocking you will have to root and disable demoflo package or soff and change cid to other than HTC__002
Στάλθηκε από το HTC 10 μου χρησιμοποιώντας Tapatalk
Click to expand...
Click to collapse
thx so much, u followed ur hint n got it done.

How to update HTC10 with software version 2.42.651.66 to Oreo 8.0?

Hi there people!
I have got my HTC10 running on software version 2.42.651.66 (which seems to be Sprint US edition). However I am running this device in UAE without any network issues.
Is there any way to update to Anroid 8.0 Oreo?
Would appreciate some help.
hi!
did you actually get the update?
i'm in the same scenario
cigarpill said:
hi!
did you actually get the update?
i'm in the same scenario
Click to expand...
Click to collapse
no idea how you guys use google but i just typed in "2.42.651 HTC10 RUU" and all of a sudden out of the blue i see download links
https://androidfilehost.com/?fid=457095661767153377
First link i got was this one....all sorts of ruu files
https://forum.xda-developers.com/sprint-htc-10/development/ruu-sprint-htc-10-1-24-651-3-t3379257
Now that's weird right !
Mr Hofs said:
no idea how you guys use google but i just typed in "2.42.651 HTC10 RUU" and all of a sudden out of the blue i see download links
https://androidfilehost.com/?fid=457095661767153377
First link i got was this one....all sorts of ruu files
https://forum.xda-developers.com/sprint-htc-10/development/ruu-sprint-htc-10-1-24-651-3-t3379257
Now that's weird right !
Click to expand...
Click to collapse
haha
i've seen that page, but i don't get that RUU to work
i downloaded it and it's a zip... isn't a RUU an exe?
even if i flash it like a zip throught fastboot i can't find any stock RUU for my actual firmware, in case of any error
i'm s-off but my bootloader is locked (wtf did the last user did?!), and i can't relock it...
so, i'm really lost... would you help me?
cigarpill said:
haha
i've seen that page, but i don't get that RUU to work
i downloaded it and it's a zip... isn't a RUU an exe?
even if i flash it like a zip throught fastboot i can't find any stock RUU for my actual firmware, in case of any error
i'm s-off but my bootloader is locked (wtf did the last user did?!), and i can't relock it...
so, i'm really lost... would you help me?
Click to expand...
Click to collapse
A ruu.zip is easiest flashed through download mode. Rename the ruu.zip to 2PS6IMG.zip and copy it to the SDCARD then enter download mode, the file will be automatically detected and you will be asked to flash it.
If the 2.42 ruu doesn't work pick the 2.5x ruu and do the above again.
"wtf did the user do" the user did nothing, he used sunshine and they offer the option to s-off the device and keep the status of the bootloader locked.
What is locked can't be relocked obviously, if you want unlocked status just rerun the sunshine app and change your values.
Edit : it even says there EXACTLY what to do with the ruu.zip, please pay some attention and read a bit more carefully.
Keep me posted. Cheers
This is literally written in that thread
Mr Hofs said:
A ruu.zip is easiest flashed through download mode. Rename the ruu.zip to 2PS6IMG.zip and copy it to the SDCARD then enter download mode, the file will be automatically detected and you will be asked to flash it.
If the 2.42 ruu doesn't work pick the 2.5x ruu and do the above again.
"wtf did the user do" the user did nothing, he used sunshine and they offer the option to s-off the device and keep the status of the bootloader locked.
What is locked can't be relocked obviously, if you want unlocked status just rerun the sunshine app and change your values.
Edit : it even says there EXACTLY what to do with the ruu.zip, please pay some attention and read a bit more carefully.
Keep me posted. Cheers
Click to expand...
Click to collapse
you are amazing!
look, i just have a 2gb sd card, so i just will stick to the fastboot process
right now check this:
(bootloader) kernel: lk
(bootloader) product: htc_pmewhl
(bootloader) version: 1.0
(bootloader) max-download-size: 1579200000
(bootloader) serialno:
(bootloader) current-slot:
(bootloader) imei: :silly:
(bootloader) version-main: 2.42.651.6
(bootloader) boot-mode: RUU
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS640000
(bootloader) cid: 11111111
all:
finished. total time: 0.007s
my main goal is to have OREO on this beautiful cdma gsm htc 10 Sprint variant, let me tell you what i have done until now.
1. i went to this post and checked all my options: https://forum.xda-developers.com/sprint-htc-10/development/ruu-sprint-htc-10-1-24-651-3-t3379257.
2. i downloaded the very first exe showed there, which is Sprint_HTC10_3.18.651.3_RUU. i executed it but failed with an infamous 132 signature error. i read about but didn't find a solution.
3. i decided to leave any exe for the noobs, so i downloaded my exact ruu.zip, which is 2PS6IMG_2.42.651.6_RUU.zip. actually my firmware is 2.42.651.66, with and extra 6; anyway, it failed too but this time with this message on PowerShell:
PS C:\zzzTuco153\HTC path\HTC10> fastboot flash zip firmware.zip
target reported max download size of 1579200000 bytes
Invalid sparse file format at header magi
4. i moved on and downloaded this 105.1mb firmware: 2PS6IMG_Sprint_2.42.651.6_signed_firmware.zp. i flashed it twice:
PS C:\zzzTuco153\HTC path\HTC10> fastboot flash zip firmware.zip
target reported max download size of 1579200000 bytes
sending 'zip' (107623 KB)...
OKAY [ 5.777s]
writing 'zip'...
(bootloader) HOSD CL#857212
(bootloader) Perform pre-update
(bootloader) get 21 images from zip(zip_type=3)
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
FAILED (remote: 90 hboot pre-update! please flush image again immediately )
finished. total time: 8.070s
PS C:\zzzTuco153\HTC path\HTC10> fastboot flash zip firmware.zip
target reported max download size of 1579200000 bytes
sending 'zip' (107623 KB)...
OKAY [ 6.082s]
writing 'zip'...
(bootloader) HOSD CL#857212
(bootloader) get 21 images from zip(zip_type=3)
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) Update zip file OK
(bootloader) [email protected]
OKAY [ 8.712s]
finished. total time: 14.794s
5. i was happy, now something flashed correctly so i flashed the 2PS6IMG_2.42.651.6_RUU.zip ruu again and guess what...
PS C:\zzzTuco153\HTC path\HTC10> fastboot flash zip ruu.zip
target reported max download size of 1579200000 bytes
Invalid sparse file format at header magi
6. i didn't give up, so i downloaded the 100mb firmware 2PS6IMG_Sprint_3.18.651.3_signed_firmware.zip for oreo and did all the same with the ruu for oreo, same result....
7. i noticed this https://forum.xda-developers.com/showpost.php?p=67056758&postcount=4, so i proved Sneaky's fastboot. this time the previous steps became into this
C:\Android>fastboot flash zip 2PS6IMG.zip
target reported max download size of 1579200000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (8492 KB)...
OKAY [ 1.416s]
writing 'zip'...
(bootloader) HOSD CL#857212
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_O
(bootloader) V1mhK
(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 RU_HEADER_ERROR )
finished. total time: 3.505s
SOOOOOO, now i'm stuck on this puzzle
i'm certainly wrong at something, and my phone isn't turning on, it's bootlooping.
what would be my next step... help me :crying:
cigarpill said:
you are amazing!
look, i just have a 2gb sd card, so i just will stick to the fastboot process
right now check this:
(bootloader) kernel: lk
(bootloader) product: htc_pmewhl
(bootloader) version: 1.0
(bootloader) max-download-size: 1579200000
(bootloader) serialno:
(bootloader) current-slot:
(bootloader) imei: :silly:
(bootloader) version-main: 2.42.651.6
(bootloader) boot-mode: RUU
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS640000
(bootloader) cid: 11111111
all:
finished. total time: 0.007s
my main goal is to have OREO on this beautiful cdma gsm htc 10 Sprint variant, let me tell you what i have done until now.
1. i went to this post and checked all my options: https://forum.xda-developers.com/sprint-htc-10/development/ruu-sprint-htc-10-1-24-651-3-t3379257.
2. i downloaded the very first exe showed there, which is Sprint_HTC10_3.18.651.3_RUU. i executed it but failed with an infamous 132 signature error. i read about but didn't find a solution.
3. i decided to leave any exe for the noobs, so i downloaded my exact ruu.zip, which is 2PS6IMG_2.42.651.6_RUU.zip. actually my firmware is 2.42.651.66, with and extra 6; anyway, it failed too but this time with this message on PowerShell:
PS C:\zzzTuco153\HTC path\HTC10> fastboot flash zip firmware.zip
target reported max download size of 1579200000 bytes
Invalid sparse file format at header magi
4. i moved on and downloaded this 105.1mb firmware: 2PS6IMG_Sprint_2.42.651.6_signed_firmware.zp. i flashed it twice:
PS C:\zzzTuco153\HTC path\HTC10> fastboot flash zip firmware.zip
target reported max download size of 1579200000 bytes
sending 'zip' (107623 KB)...
OKAY [ 5.777s]
writing 'zip'...
(bootloader) HOSD CL#857212
(bootloader) Perform pre-update
(bootloader) get 21 images from zip(zip_type=3)
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
FAILED (remote: 90 hboot pre-update! please flush image again immediately )
finished. total time: 8.070s
PS C:\zzzTuco153\HTC path\HTC10> fastboot flash zip firmware.zip
target reported max download size of 1579200000 bytes
sending 'zip' (107623 KB)...
OKAY [ 6.082s]
writing 'zip'...
(bootloader) HOSD CL#857212
(bootloader) get 21 images from zip(zip_type=3)
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) Update zip file OK
(bootloader) [email protected]
OKAY [ 8.712s]
finished. total time: 14.794s
5. i was happy, now something flashed correctly so i flashed the 2PS6IMG_2.42.651.6_RUU.zip ruu again and guess what...
PS C:\zzzTuco153\HTC path\HTC10> fastboot flash zip ruu.zip
target reported max download size of 1579200000 bytes
Invalid sparse file format at header magi
6. i didn't give up, so i downloaded the 100mb firmware 2PS6IMG_Sprint_3.18.651.3_signed_firmware.zip for oreo and did all the same with the ruu for oreo, same result....
7. i noticed this https://forum.xda-developers.com/showpost.php?p=67056758&postcount=4, so i proved Sneaky's fastboot. this time the previous steps became into this
C:\Android>fastboot flash zip 2PS6IMG.zip
target reported max download size of 1579200000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (8492 KB)...
OKAY [ 1.416s]
writing 'zip'...
(bootloader) HOSD CL#857212
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_O
(bootloader) V1mhK
(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 RU_HEADER_ERROR )
finished. total time: 3.505s
SOOOOOO, now i'm stuck on this puzzle
i'm certainly wrong at something, and my phone isn't turning on, it's bootlooping.
what would be my next step... help me :crying:
Click to expand...
Click to collapse
Stubborn to stay with fastboot commands......well done
But what next......
First it's needed to get into the bootloader or download mode. If you are still on the 2.42 firmware than also use that ruu (that your OS is .66 and the ruu .6 is not relevant, that's just software related and not firmware and it won't interfere the flash). Read up in one of the guides about the the topic "RUU mode" it's done via a command "fastboot oem rebootRUU" but i am not 100% sure at this time if you enter this menu via the bootloader or download menu, check that out please. At the moment i don't have the time to do searches.
If you can't get that to work i can suggest to enter download mode, flash TWRP, flash a stock based nougat rom, rerun sunshine and set all flags to s-off and unlocked bootloader instead of a locked one. In the very beginning that flag caused issues flashing kernels which they addressed later on with further development, maybe your device is has a hiccup at that level somehow.
Cheers
Mr Hofs said:
Stubborn to stay with fastboot commands......well done
But what next......
First it's needed to get into the bootloader or download mode. If you are still on the 2.42 firmware than also use that ruu (that your OS is .66 and the ruu .6 is not relevant, that's just software related and not firmware and it won't interfere the flash). Read up in one of the guides about the the topic "RUU mode" it's done via a command "fastboot oem rebootRUU" but i am not 100% sure at this time if you enter this menu via the bootloader or download menu, check that out please. At the moment i don't have the time to do searches.
If you can't get that to work i can suggest to enter download mode, flash TWRP, flash a stock based nougat rom, rerun sunshine and set all flags to s-off and unlocked bootloader instead of a locked one. In the very beginning that flag caused issues flashing kernels which they addressed later on with further development, maybe your device is has a hiccup at that level somehow.
Cheers
Click to expand...
Click to collapse
guess what????
i did it!
i flashed the 100mb oreo FIRMWARE listed on that page... then i RUUed with the first exe
i have SPRINT oreo.... but
i hate the bloatware and that hands free activation... stuff i cant use in my country even if i want
wonder, is there a way to flash the developer ruu without damaging the CDMA options? i mean, i recently found out there are 2 variants... gsm and CDMA... didnt know CDMA existed because i live in LatinAmerica. im afraid to flash another zip and lost my signal or something
thank you for your help-1
PD... i m still wondering how to unlock my bootloader, i installed sunshine apk but theres only option to reboot.
the reason why i want to unlock my bl its because in developer options i cant UNLOCK OEM as the option isnt selectable... why?
cigarpill said:
guess what????
i did it!
i flashed the 100mb oreo FIRMWARE listed on that page... then i RUUed with the first exe
i have SPRINT oreo.... but
i hate the bloatware and that hands free activation... stuff i cant use in my country even if i want
wonder, is there a way to flash the developer ruu without damaging the CDMA options? i mean, i recently found out there are 2 variants... gsm and CDMA... didnt know CDMA existed because i live in LatinAmerica. im afraid to flash another zip and lost my signal or something
thank you for your help-1
PD... i m still wondering how to unlock my bootloader, i installed sunshine apk but theres only option to reboot.
the reason why i want to unlock my bl its because in developer options i cant UNLOCK OEM as the option isnt selectable... why?
Click to expand...
Click to collapse
Sprint / GSM / CDMA conversion, don't know anything about that and i really can't help with that.
Bloatware, root the OS and delete the bloatware manually
Why do you want to change the unlock oem status in settings ?
Mr Hofs said:
Sprint / GSM / CDMA conversion, don't know anything about that and i really can't help with that.
Bloatware, root the OS and delete the bloatware manually
Why do you want to change the unlock oem status in settings ?
Click to expand...
Click to collapse
as far as i can understand
to change mid cid and flash other ruus
cigarpill said:
as far as i can understand
to change mid cid and flash other ruus
Click to expand...
Click to collapse
Nope. Oem unlock allows you to unlock the bootloader which is needed to flash TWRP and with that custom roms.
To get s-off you need to run sunshine and that requires root so the first time the device needs oem unlock enabled, unlock the bootloader, root the OS and perform sunshine to acquire s-off.
To change cid and mid you need s-off which you already have. So in a way you do not need that option enabled.
Why don't you start with the basics and read more in the sprint section to gain more knowledge and learn if sprint can even be converted in a safe way ?

Problems installing stock rom - RUU.zip

Hi.
I'm having difficulties installing ruu.zip and I've tried many different guides.
My phone is now in a bootloop and I can't do much with it.
Tried the following now (from CMD)
C:\Users\aaale\Downloads\adb_and_fastboot_files>htc_fastboot oem rebootRUU
... OKAY
Execution time is 1(s)
C:\Users\aaale\Downloads\adb_and_fastboot_files>htc_fastboot flash zip rom.zip
sending 'zip'... (1809581 KB) OKAY
sending time = 69.789 secs
writing 'zip'... (bootloader) HOSD CL#857212
(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 CODE, 19
(bootloader) [email protected]
FAIL19 RU_MAIN_VER_FAIL os-version in android-info missing or i
FAILED (remote: 19 RU_MAIN_VER_FAIL os-version in android-info missing or i)
Execution time is 73(s)
C:\Users\aaale\Downloads\adb_and_fastboot_files>fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_pmeuhl
(bootloader) version: 1.0
(bootloader) max-download-size: 1579200000
(bootloader) serialno: FA68ZBN00235
(bootloader) current-slot:
(bootloader) imei: 354261074371675
(bootloader) version-main: 2.41.401.4
(bootloader) boot-mode: RUU
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS620000
(bootloader) cid: HTC__034
all:
finished. total time: 0.005s
I'm using the correct .zip from XDA for CID: HTC__034 but still get error messages, any hints on how to fix this? (I'm not an expert on this)
Problem solved!
After searching forever in google i FINALLY found the RUU.EXE for HTC 10 europe CID_0034
androidfilehost.com/?fid=961840155545574383
Now I successfully installed stock rom again
RUU.zip should be installed by renaming it and placing it on the sdcard, then boot to download mode and the zip will be recognized to flash it.

64GB HTC 10 shows 32GB internal storage after S-ON downgrade to Nougat

Have a 64GB HTC 10 which was OTAed from stock Nougat to Oreo. Unlocked bootloader, installed TWRP, rooted with Magisk, then followed the guide in https://forum.xda-developers.com/t/...-0-to-nougat-7-0.3748999/page-2#post-75580986 to downgrade with S-ON to 7.0 which I have on my older HTC 10 (which is 32GB storage and has a dead SD card slot). Now the 64GB phone is working well, except it's only showing 32GB storage.
I ran into some small problems when flashing the Nougat RUU. The first time I tried with fastboot as per instructions and got this error
Code:
user# md5sum "2PS6IMG_PERFUME[email protected]61226_79.07_F_release_507791_signed_2_4.zip" | grep 5736b58742eed2df0272f10605bfa7ae
5736b58742eed2df0272f10605bfa7ae 2PS6IMG_PERFUME[email protected]61226_79.07_F_release_507791_signed_2_4.zip
user# fastboot oem rebootRUU
OKAY [ 0.024s]
Finished. Total time: 0.024s
user# fastboot flash zip "2PS6IMG_PERFUME[email protected]61226_79.07_F_release_507791_signed_2_4.zip"
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 876597310 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 876597310 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 876597310 is not a multiple of the block size 4096
OKAY [ 38.306s]
Writing 'zip' (bootloader) HOSD CL#1012001
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_Z
(bootloader) CSUg7
(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
user#
So I flashed from SD card per HTCdev instructions and got the expected error the youtuber got before flashing hosd (I think it was error 12). After flashing hosd and flashing RUU again twice from SD card, both times I got the same error: [email protected], 33 RU_UPDATE_FIRMWARE_FAIL, but the process was apparently completed
Recovery was broken so had to reflash TWRP, and then did the persist erasure and then the phone booted in Nougat successfully.
It shows the same old IMEI and serial, recognizes SIM, SD card, Wifi, Bluetooth, headphones and speakers working. The only thing I can see wrong is it now shows 32GB internal storage instead of 64GB.
old fastboot getvar all on Oreo:
Code:
(bootloader) kernel: lk
(bootloader) product: htc_pmeuhl
(bootloader) version: 1.0
(bootloader) max-download-size: 1578400000
(bootloader) serialno: ...
(bootloader) slot-count: 0
(bootloader) current-slot:
(bootloader) imei: ...
(bootloader) version-main: 3.16.401.2
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.000
(bootloader) mid: 2PS620000
(bootloader) cid: HTC__034
fastboot getval all after finishing the flashing process, with Nougat:
Code:
(bootloader) kernel: lk
(bootloader) product: htc_pmeuhl
(bootloader) version: 1.0
(bootloader) max-download-size: 1579200000
(bootloader) serialno: ...
(bootloader) current slot:
(bootloader) imei: ...
(bootloader) version-main: 2.41.401.41
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.000
(bootloader) mid: 2PS620000
(bootloader) cid: HTC__034
Any ideas how to fix this? It's not a big deal since I've got a massive SD card but wbn to use the full internal storage

Categories

Resources