(help) ruu firmware

Matty1993

Senior Member
May 7, 2018
629
311
73
Hi everyone

Customer brought a phone to me to repair as they have bricked it with a custom rom, then deleted the system & recovery, then did the absolute unthinkable and relocked the bootloader i was told,

The os version is still there however when the device is booted with the power button a message appears with the device is corrupt and cannot be trusted and will not boot,

I cannot find a working stock HTC signed ruu.exe for this model & have downloaded the correct packages for the model and cid but it returns 9ruu security error zip from usb command, system also shows as modified in bootloader aswell.

This is what i am working with

Fastboot oem readmid returned 2PZC10000
Fastboot oem readcid returned htc_039
I cannot go supercid 11111111 with fastboot oem writecid11111111 as it return as not allowed

hTc download mode
***relocked***
***production***
htc_ocnuhl PVT S-ON
LK-1.0.0.0000
Radio-8998-002772TOV-1712061121
OpenDSP-V11.6.00347.CB8998_0711
OS-2.33.710.9
Dec 8 2017,21:29:54 (1002308)

i cannot boot to any recovery
I cannot obtain the identifier tokken as it displays killswitch enabled on the 3 options and i cannot flash the original unlock_code.bin that was provided on the thumb drive with the phone and also return not allowed on production build also

I have tried the following commands trying to flash the OTA's and also the firmware
Fastboot flash all <zip>
Fastboot flash <zip>
Fastboot flash zip <zip>
Fastboot update <zip>
All fail with some error
and also used htc_fastboot, minimal adb and fastboot 1.7msi & also power shell im using windows 8 also but no matter what i do cannot get anything to flash to the customers phone i downloaded the OTA's & firmware from the google spreadsheet i dont know what im doing wrong and the only RUU.exe i do have for htc_ocnuhl returns an error with incorrect model id please use the correct update utility,

What should i do tell him his phone is kaput or ?? Ive been at this 3 days now ive been working on phones for 10 years nothing takes 3 days !!!!!!


Any help would be greatly appreciated :)
 
Last edited:
  • Like
Reactions: Iqbal Singh Bajwa

Matty1993

Senior Member
May 7, 2018
629
311
73
Hi everyone

Customer brought a phone to me to repair as they have bricked it with a custom rom, then deleted the system & recovery, then did the absolute unthinkable and relocked the bootloader i was told,

The os version is still there however when the device is booted with the power button a message appears with the device is corrupt and cannot be trusted and will not boot,

I cannot find a working stock HTC signed ruu.exe for this model & have downloaded the correct packages for the model and cid but it returns 9ruu security error zip from usb command, system also shows as modified in bootloader aswell.

This is what i am working with

Fastboot oem readmid returned 2PZC10000
Fastboot oem readcid returned htc_039
I cannot go supercid 11111111 with fastboot oem writecid11111111 as it return as not allowed

hTc download mode
***relocked***
***production***
htc_ocnuhl PVT S-ON
LK-1.0.0.0000
Radio-8998-002772TOV-1712061121
OpenDSP-V11.6.00347.CB8998_0711
OS-2.33.710.9
Dec 8 2017,21:29:54 (1002308)

i cannot boot to any recovery
I cannot obtain the identifier tokken as it displays killswitch enabled on the 3 options and i cannot flash the original unlock_code.bin that was provided on the thumb drive with the phone and also return not allowed on production build also

I have tried the following commands trying to flash the OTA's and also the firmware
Fastboot flash all <zip>
Fastboot flash <zip>
Fastboot flash zip <zip>
Fastboot update <zip>
All fail with some error
and also used htc_fastboot, minimal adb and fastboot 1.7msi & also power shell im using windows 8 also but no matter what i do cannot get anything to flash to the customers phone i downloaded the OTA's & firmware from the google spreadsheet i dont know what im doing wrong and the only RUU.exe i do have for htc_ocnuhl returns an error with incorrect model id please use the correct update utility,

What should i do tell him his phone is kaput or ?? Ive been at this 3 days now ive been working on phones for 10 years nothing takes 3 days !!!!!!


Any help would be greatly appreciated :)

Hi everyone so customer didn't want the phone in the end as it couldn't be repaired so didnt bother returning to pick it up so like I do with all things I tinker and I've spent a long long time trying to fix the OS and I have finally done it yayyy scored myself a free U11,

So I dont know how it managed to work, because I had main version 2.33.710.9, and the package that actually worked to repair it and flashed was main version 1.11.710.5 or something like that, my bootloader was re locked and S-ON and nothing I tried would work phone had no recovery and would not boot all i would get is your device is corrupt, couldn't unlock the bootloader again all I would get is a message to state the 3 killswitches are active and to disable them but couldn't without a functional OS.

The 1.11.710.5 file I tried over the course since last post with normal fastboot didn't work, then I tried a series of htc_fastboot didnt work, I even used the fastboot binaries provided by HTCdev that didnt work, I tried every command I could rack up in my brain but still the body thing wouldnt flash I fixed roughly 6 RUU flash errors I was facing but the only one I couldn't get past was Ruu security fail zip from USB command, this told me it was something system wise, but had reinstalled everything including drivers gave all fastboots elevated privileges tried a million diff computers and cords ( lucky I run a phone shop hehehe )

Now something has completely slipped my mind I had a HTC 10 batch tool on my computer and had completely forgotten it had it's own terminal interafce, (which is a fully sik purple might I say) all I did was place the file into the path that the batch took was installed to which was com I do believe and then opened the batch tool up & typed " htc_fastboot oem rebootRUU" after i had put the device into download mode and connected device,

Device rebooted to RUU, all I did was type htc_fastboot flash zip <file_name> and it flashed all 28 zips from the 1.11.710.5 device rebooted and was now met with the HTC logo and phone booted straight up like nothing ever happened, once I had gotten the FRP lock removed (only took 5 minutes) not very good HTC lol I then went to the setting menu to software Info only to find out that the firmware was still 2.33.710.9 but the firmware file was specifically 1.11.710.5 as i had gotten it from the google spread sheet here on xda developers,

So there you have it everyone I hope this helps you repair your devices it seems it's all in the terminal used to flash the device as long as the file is also signed though I can't be 100% on that as I'm not sure the zip i used was signed either but anyway phone is working great and now it gets to be used and abused as a dev phone for myself :p
 

mauiblue

Senior Member
Nov 4, 2010
145
14
0
Hi everyone so customer didn't want the phone in the end as it couldn't be repaired so didnt bother returning to pick it up so like I do with all things I tinker and I've spent a long long time trying to fix the OS and I have finally done it yayyy scored myself a free U11,

So I dont know how it managed to work, because I had main version 2.33.710.9, and the package that actually worked to repair it and flashed was main version 1.11.710.5 or something like that, my bootloader was re locked and S-ON and nothing I tried would work phone had no recovery and would not boot all i would get is your device is corrupt, couldn't unlock the bootloader again all I would get is a message to state the 3 killswitches are active and to disable them but couldn't without a functional OS.

The 1.11.710.5 file I tried over the course since last post with normal fastboot didn't work, then I tried a series of htc_fastboot didnt work, I even used the fastboot binaries provided by HTCdev that didnt work, I tried every command I could rack up in my brain but still the body thing wouldnt flash I fixed roughly 6 RUU flash errors I was facing but the only one I couldn't get past was Ruu security fail zip from USB command, this told me it was something system wise, but had reinstalled everything including drivers gave all fastboots elevated privileges tried a million diff computers and cords ( lucky I run a phone shop hehehe )

Now something has completely slipped my mind I had a HTC 10 batch tool on my computer and had completely forgotten it had it's own terminal interafce, (which is a fully sik purple might I say) all I did was place the file into the path that the batch took was installed to which was com I do believe and then opened the batch tool up & typed " htc_fastboot oem rebootRUU" after i had put the device into download mode and connected device,

Device rebooted to RUU, all I did was type htc_fastboot flash zip <file_name> and it flashed all 28 zips from the 1.11.710.5 device rebooted and was now met with the HTC logo and phone booted straight up like nothing ever happened, once I had gotten the FRP lock removed (only took 5 minutes) not very good HTC lol I then went to the setting menu to software Info only to find out that the firmware was still 2.33.710.9 but the firmware file was specifically 1.11.710.5 as i had gotten it from the google spread sheet here on xda developers,

So there you have it everyone I hope this helps you repair your devices it seems it's all in the terminal used to flash the device as long as the file is also signed though I can't be 100% on that as I'm not sure the zip i used was signed either but anyway phone is working great and now it gets to be used and abused as a dev phone for myself :p
Congrats on getting the phone revived. I tried all what you had mentioned in your earlier post except what you mentioned about the "HTC 10 Batch Tool". Never heard of it until now. Well too bad for my phone as I sent it out to HTC Repair and it is in their hands now (3 weeks and counting). Yep, my mistake was relocking the phone when I wanted to receive the OTA update (phone was rooted but I didn't flash any custom ROM). Thanks for the post.
 

Matty1993

Senior Member
May 7, 2018
629
311
73
Congrats on getting the phone revived. I tried all what you had mentioned in your earlier post except what you mentioned about the "HTC 10 Batch Tool". Never heard of it until now. Well too bad for my phone as I sent it out to HTC Repair and it is in their hands now (3 weeks and counting). Yep, my mistake was relocking the phone when I wanted to receive the OTA update (phone was rooted but I didn't flash any custom ROM). Thanks for the post.

Hey mate yeah I spent weeks on end trying everything it seems the HTC 10 batchtool was the saviour here on xda somewhere as that's where I got it from the batch tool has it's own terminal built into it and it must still hold official HTC code in it somewhere to allow the package to be flashed,


Least you know for next time if it happens again to avoid that hefty repair bill by HTC :)
 

mauiblue

Senior Member
Nov 4, 2010
145
14
0
Hey mate yeah I spent weeks on end trying everything it seems the HTC 10 batchtool was the saviour here on xda somewhere as that's where I got it from the batch tool has it's own terminal built into it and it must still hold official HTC code in it somewhere to allow the package to be flashed,


Least you know for next time if it happens again to avoid that hefty repair bill by HTC :)
That's the story of my life, a day late and a dollar short. All the best.
 

Matty1993

Senior Member
May 7, 2018
629
311
73
When you use Sunshine.apk you can set S-Off and flash Nougat

I was still S-ON and had Relocked BL OEM unlock was OFF due to no working OS ( was corrupt) no recovery, only download, bootloader and RUU mode,

the HTC fastboot batch tool allows rollback of the bootloader without paying $25 for sunshine off to do it, ive just seen this now to lol only took 3 months to reply

I actually made a post on how to fix any flash errors like that a while ago its in the HTC U11 forums 1.5k veiws and counting :p
 
Last edited:
  • Like
Reactions: Iqbal Singh Bajwa

snoopyhaeckers

Senior Member
Nov 28, 2012
356
125
73
Erfurt
I was still S-ON and had Relocked BL OEM unlock was OFF due to no working OS ( was corrupt) no recovery, only download, bootloader and RUU mode,

the HTC fastboot batch tool allows rollback of the bootloader without paying $25 for sunshine off to do it, ive just seen this now to lol only took 3 months to reply

I actually made a post on how to fix any flash errors like that a while ago its in the HTC U11 forums 1.5k veiws and counting :p
Sorry man I doesn't have a htc 10 at I have at the moment u 11

Sent from my HTC U11 using XDA Labs