Flash Demo unit to Stock ROM - HTC 10 Questions & Answers

- 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.

Related

M8 GPE stuck on bootloader

Hi everybody
I have a M8 GPE unlocked/un-rooted/s-on with stock 4.4.4 and today i said that I will not wait for the OTA to come, and decided to flash it myself.
When going to recovery i saw that there is no option to adb sideload a file, strange, so I booted in TWRP (not flashed) and tried to sideload from there. I could not make the ADB sideload work in TWRP also because of some errors, and I tried the install zip option. When flashing the OTA zip I got an error saying that the required version is *4.4.4* and that i had *4.4.2*. I know for sure that I had 4.4.4 because i got the update myself and apply it automatically from within android.
Trying to do a factory reset in TWRP in order to try again the OTA zip file, i wiped the system partition (my bad) and since then i am stucked in bootloader/recovery without any way to boot into OS.
I tried to reboot into RUU and flash RUU-HTC_One_M8_GPE_5.0.1-3.11.1700.5.zip, but i get the error (probably because i am s-on):
Code:
target reported max download size of 1830617088 bytes
sending 'zip' (635732 KB)...
OKAY [ 26.906s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 27.080s
Anybody can tell if there is any way to flash the stock image on the phone?
As I understood I could do s-off only from OS, and for me that ism not possible
Thanks for the help in advance,
galiganu
Code:
platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.18.0.0000
(bootloader) version-baseband: 1.14.21331931.LA02_2G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.12.1700.1
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: ...
(bootloader) imei: ...
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul_ca
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B17000
(bootloader) cidnum: GOOGL001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 6e0f5a3d
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.085s
I just read that in order to flash back the stock rom i have to be locked, so i did fastboot oem lock. Tried to flash the RUU image and i get this:
Code:
platform-tools>fastboot flash zip RUU-HTC_One_M8_GPE_5.0.1-3.11.1700.5.zip
target reported max download size of 1830617088 bytes
sending 'zip' (635732 KB)...
OKAY [ 26.190s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 56.180s
Any ideas?
Same error as above i get with RUU-HTC_One_M8_GPE_4.4.3-2.10.1700.4.zip and RUU-HTC_One_M8_GPE_4.4.4-2.12.1700.1.zip.
hi guys, no idea about my issue?
i managed to install CM11 in the end... at least i can use the phone until i figure out how to get back to stock gpe
solution here thanks to ckpv5
http://forum.xda-developers.com/showpost.php?p=57398166&postcount=3274

[Q] Unknown command "unlocktoken" and "43 main version check fail"

[Q] Unknown command "unlocktoken" and "43 main version check fail"
Hello,
I try to apply a CustomROM to a Wildfire S. Two years ago I did it with another Wildfire S but the current device doesn't work...
At first some details of the device:
Code:
$ fastboot getvar all
< waiting for device >
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.09.0099
(bootloader) version-baseband: 7.60.39.12M
(bootloader) version-cpld: None
(bootloader) version-microp: 0451
(bootloader) version-main: 20.26.401.4
(bootloader) serialno: SH26LTR04002
(bootloader) imei: 359144046869429
(bootloader) product: marvel
(bootloader) platform: HBOOT-7227
(bootloader) modelid: PG7610000
(bootloader) cidnum: HTC__E11
(bootloader) battery-status: good
(bootloader) battery-voltage: 3940mV
(bootloader) partition-layout: HTC
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 510e562c
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.005s
I received the unlock token by HTCdev but on flashing a error message appears that the command is unknown.
Code:
$ fastboot flash unlocktoken Unlock_code.bin
< waiting for device >
sending 'unlocktoken' (0 KB)...
FAILED (remote: unknown command)
finished. total time: 0.000s
HBOOT is in version 1.09.0099 - the same as mentioned in RUU "HTC EU". Unfortunally I can't figure out what version of Fastboot I have. So I've tried to flash the newest one.
I downloaded the "HTC EU"-RUU, extracted the rom.zip by executing with wine and tried to flash.
Code:
$ fastboot oem rebootRUU
...
OKAY [ 0.098s]
finished. total time: 0.098s
$ fastboot flash zip rom.zip
sending 'zip' (212 KB)...
OKAY [ 0.513s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) checking main version...
FAILED (remote: 43 main version check fail)
finished. total time: 7.146s
It doesn't will be sucessfull even if I repeat the flash command.
Does anybody know what's going wrong? Am I right that I need to flash the new RUU. Why that doesn't work?
Bye Markus
The execution of the RUU.exe on a fresh installed WinXP showed that there was already a newer version than necessary. The problem was simply the old version of Linux' fastboot binary of Ubuntu's repository. Another old one by my own or the binary of htcdev.com worked fine.

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.

RUU Model ID mismatch error

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

Categories

Resources