HTC U11 downgrade from Pie to Oreo

zujko

Senior Member
Aug 6, 2011
270
32
48
Zagreb
Hello.. I'm stuck here, where I'm wrong?
C:\Android\com>fastboot flash hosd hosd_signed.img
target reported max download size of 1560000000 bytes
sending 'hosd' (42397 KB)...
OKAY [ 2.219s]
writing 'hosd'...
(bootloader) HOSD CL#1088389
FAILED (remote: 35 RU_PARTITION_NOT_SUPPORT hosd)
finished. total time: 4.244s



EDIT: 2nd problem:D

C:\Android\com>fastboot flash zip 2PZCIMG.zip
target reported max download size of 536870912 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2093237440 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2093237440 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2093237440 is not a multiple of the block size 4096
OKAY [ 0.000s]
writing 'zip'...
FAILED (remote: Not allowed on PRODUCTION device)
finished. total time: 0.000s
 
Last edited:

blueberry60

Senior Member
Nov 13, 2010
1,182
890
0
Hello.. I'm stuck here, where I'm wrong?
C:\Android\com>fastboot flash hosd hosd_signed.img
target reported max download size of 1560000000 bytes
sending 'hosd' (42397 KB)...
OKAY [ 2.219s]
writing 'hosd'...
(bootloader) HOSD CL#1088389
FAILED (remote: 35 RU_PARTITION_NOT_SUPPORT hosd)
finished. total time: 4.244s



EDIT: 2nd problem:D

C:\Android\com>fastboot flash zip 2PZCIMG.zip
target reported max download size of 536870912 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2093237440 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2093237440 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2093237440 is not a multiple of the block size 4096
OKAY [ 0.000s]
writing 'zip'...
FAILED (remote: Not allowed on PRODUCTION device)
finished. total time: 0.000s
You can't flash hosd.img via download mode, try it from bootloader mode:
Code:
htc_fastboot reboot-bootloader
 

zujko

Senior Member
Aug 6, 2011
270
32
48
Zagreb
You can't flash hosd.img via download mode, try it from bootloader mode:
Code:
htc_fastboot reboot-bootloader
Pass!
C:\Android\com>adb reboot bootloader

C:\Android\com>htc_fastboot reboot-bootloader
htc_fastboot v3.0.9.2 (2015-05-29)
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.000s
htc_fastboot finished. total time: 0.125s

C:\Android\com>htc_fastboot flash hosd hosd_signed.img
htc_fastboot v3.0.9.2 (2015-05-29)
target reported max download size of 536870912 bytes
sending 'hosd' (42397 KB)...
OKAY [ 0.887s]
writing 'hosd'...
OKAY [ 0.688s]
finished. total time: 1.576s
htc_fastboot finished. total time: 1.677s


But,I'm stuck here, again..

C:\Android\com>htc_fastboot flash zip rom.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.33.401.10
found large-zip header, file count: 27
processing file 1/27...
sending 'zip' (117063 KB)...
OKAY [ 2.467s]
writing 'zip'...
FAILED (remote: Not allowed on PRODUCTION device)
finished. total time: 2.467s
htc_fastboot finished. total time: 3.045s

In bootloader mode!

U11 (BL unlocked, S-ON)
 

blueberry60

Senior Member
Nov 13, 2010
1,182
890
0
Pass!
C:\Android\com>adb reboot bootloader

C:\Android\com>htc_fastboot reboot-bootloader
htc_fastboot v3.0.9.2 (2015-05-29)
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.000s
htc_fastboot finished. total time: 0.125s

C:\Android\com>htc_fastboot flash hosd hosd_signed.img
htc_fastboot v3.0.9.2 (2015-05-29)
target reported max download size of 536870912 bytes
sending 'hosd' (42397 KB)...
OKAY [ 0.887s]
writing 'hosd'...
OKAY [ 0.688s]
finished. total time: 1.576s
htc_fastboot finished. total time: 1.677s


But,I'm stuck here, again..

C:\Android\com>htc_fastboot flash zip rom.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.33.401.10
found large-zip header, file count: 27
processing file 1/27...
sending 'zip' (117063 KB)...
OKAY [ 2.467s]
writing 'zip'...
FAILED (remote: Not allowed on PRODUCTION device)
finished. total time: 2.467s
htc_fastboot finished. total time: 3.045s

In bootloader mode!

U11 (BL unlocked, S-ON)
You had flash hosd.img succesfully, but firmware.zip and RUU files should be flashed only via download mode, also you can try SDCard method renaming RUU file to 2PZCIMG
 

zujko

Senior Member
Aug 6, 2011
270
32
48
Zagreb
You had flash hosd.img succesfully, but firmware.zip and RUU files should be flashed only via download mode, also you can try SDCard method renaming RUU file to 2PZCIMG
This is from download mode.
C:\Android\com>htc_fastboot flash zip rom.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.33.401.10
found large-zip header, file count: 27
processing file 1/27...
sending 'zip' (117063 KB)...
OKAY [ 4.269s]
writing 'zip'...
(bootloader) HOSD CL#1002308
FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 5.273s
htc_fastboot finished. total time: 5.786s

C:\Android\com>


And above post I put screenshot.

And, this is from bootloader

C:\Android\com>htc_fastboot flash zip rom.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.33.401.10
found large-zip header, file count: 27
processing file 1/27...
sending 'zip' (117063 KB)...
OKAY [ 2.473s]
writing 'zip'...
FAILED (remote: Not allowed on PRODUCTION device)
finished. total time: 2.475s
htc_fastboot finished. total time: 2.975s

C:\Android\com>


And this is from sd card
 

Attachments

kovsza

Member
Aug 29, 2019
9
1
0
Thank for replyes.
My phone is died.

Any ROM I installed on it had no ringing sound in the speaker and I could not hear me.
Then I found a patch for this bug here on XDA and installed it.

The phone has been turned off since then cannot be turned on.
Sometimes the red LED blink. Battery level when turned off was 87%.
I tried to hold down all 3 buttons for 1 minute and nothing happened.
Whatever I do with it, it responds to nothing. Not detected by PC. Charging it does not detect. The red LED is off.

Died?
 

mehrdad_esmaeeli

Senior Member
Nov 30, 2017
114
38
28
You need to get application htc version tools for change version number

---------- Post added at 09:08 AM ---------- Previous post was at 09:07 AM ----------

https://drive.google.com/open?id=1ubjDGNqCfIply-aRN8C7IQNb-YVkD4M7

---------- Post added at 09:09 AM ---------- Previous post was at 09:08 AM ----------

You must first change your version number .

---------- Post added at 09:11 AM ---------- Previous post was at 09:09 AM ----------

What is your phone ? Dual SIM or one sim ?
If is dual SIM this is mistake rom
 

muvensa

Member
Jul 7, 2013
44
0
0
This is from download mode.
C:\Android\com>htc_fastboot flash zip rom.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.33.401.10
found large-zip header, file count: 27
processing file 1/27...
sending 'zip' (117063 KB)...
OKAY [ 4.269s]
writing 'zip'...
(bootloader) HOSD CL#1002308
FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 5.273s
htc_fastboot finished. total time: 5.786s

C:\Android\com>


And above post I put screenshot.

And, this is from bootloader

C:\Android\com>htc_fastboot flash zip rom.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.33.401.10
found large-zip header, file count: 27
processing file 1/27...
sending 'zip' (117063 KB)...
OKAY [ 2.473s]
writing 'zip'...
FAILED (remote: Not allowed on PRODUCTION device)
finished. total time: 2.475s
htc_fastboot finished. total time: 2.975s

C:\Android\com>


And this is from sd card
How did you solve this problem?

I am getting the exact same error:

C:\Android\com> .\htc_fastboot flash zip rom.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.33.401.10
found large-zip header, file count: 26
processing file 1/26...
sending 'zip' (117063 KB)...
OKAY [ 4.425s]
writing 'zip'...
(bootloader) HOSD CL#1088389
FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 6.435s
htc_fastboot finished. total time: 7.490s
 

muvensa

Member
Jul 7, 2013
44
0
0
If You want to downgrade from Pie to Oreo. Its pretty easy and simple you has to follow same steps like Oreo to nougat downgrade but with some modifications:- (bootloader unlock is required)

1. I tried it on my own device it worked and it is s-on, So i don't know it works on s-off or not.

2. Download HTC Dev info tool from the below link

https://drive.google.com/file/d/1ubjDGNqCfIply-aRN8C7IQNb-YVkD4M7/view

3. Now connect your device to PC by turning on USB debugging in phone and open the info tool and click on GetDeviceInfo and it will show your device information in the tool.

4. If you want to change CID then follow this step otherwise skip to step 5. Change the CID to your desired CID and click on save.

5. Now clear the misc version and click on save and apply changes.

6. Now download and install minimal adb and fastboot.exe in PC and open it and type "adb reboot download" and your phone boot to download mode and type "fastboot getvar all" and it will print your device information in the cmd itself and from their cross check your CID number whether it is changed to your required CID or not and also check the version number is blanked out or not. If it doesn't then something wrong you have done, so again start from step 2.

7. Download the Oreo RUU for your CID from the below link :-

https://docs.google.com/spreadsheets/d/15JL3tRWDSVOUKo_revEYtQ_tRcOSJ0vWcvk8a7TK8Hk/edit?usp=sharing

8. Now Download BatchTool.exe from the provided link below

https://forum.xda-developers.com/showpost.php?p=67056758&postcount=4

9. Install the tool and and go to the location where you installed the tool generally it will be c:/Android/com now copy the RUU you downloaded for your CID to that folder and rename it to rom.zip for simplicity ie., c:/Android/com/rom.zip

10. Now Download RUU decrypt tool from the below link and extract the zip and drag and drop the rom.zip on to the RUU_decrypt_tool.exe present in the extracted folder.

https://forum.xda-developers.com/devdb/project/?id=15338#downloads

11. And An CMD will pop-up and ask for some yes and no details just accept the default settings with out changing anything and now the RUU decryption will start and after completing a folder will be created in the RUU decrypt tool folder and inside OUT folder look for "hosd_signed.img" and move it to the rom.zip folder ie., c:/Android/com/hosd_signed.img

12. Now open cmd and navigate to the com folder by using by using cd command.

13. Now cross-check whether you are in download mode or not, if yes then proceed to next step otherwise reboot your phone to download mode by typing "htc_fastboot reboot-download" (htc_fasboot is a file present in com folder so you need to be in com folder to execute that commands from cmd).

14. Now type "htc_fastboot flash hosd hosd_signed.img" and wait for it to flash and after you see written successful then reboot to RUU mode by typing "htc_fastboot oem rebootRUU" l

15. On booting your phone to RUU mode type "htc_fastboot flash zip rom.zip" (rom.zip is file name of your RUU that you downloaded and renamed to rom.zip).

16. Now the flashing process should start and wait for some time until it finishes.

17. Now you have successful Downgraded from PIE to OREO with your desired CID..,.,.,.,.,:fingers-crossed::fingers-crossed::D
In the step 14, I get following error:

35 RU_PARTITION_NOT_SUPPORT hosd

Can you help me?