HTC U11 downgrade from Pie to Oreo

filandry

Senior Member
Mar 3, 2016
124
34
38
i tried to change it but the problem it can not be empty tried but didnt work so i wrote 1.00.000.0 in the version

any help or ideas

Thank you
write the version that your going to flash ruu it
ex : i downloaded ruu for my phone version 2.33.401.10
then just change software number to that number on htc devinfo tool
 
Last edited:
  • Like
Reactions: Meastersquallx
Dec 21, 2009
27
2
0
Dammam
write the version that your going to flash ruu it
ex : i downloaded ruu for my phone version 2.33.401.10
then just change software number to that number on htc devinfo tool
yes it worked

one of my mistake was flashing "hosd_signed.img" in download mod
i was supposed to flash it in bootloader mode

i downgraded fine from PIE to Oreo

Thank you guys
 

cdarkie

Member
Jun 10, 2012
28
2
33
adb shell dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=1 seek=2208 count=16 when i do the command, I am getting permission denied as shown below
C:\Platform-tools>adb shell dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=1 seek=2208 count=16
dd: /dev/block/bootdevice/by-name/misc: Permission denied

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[/QUOTE]

Ok Finally I could
Tnx so much
 
  • Like
Reactions: adrpam

Devaster

Senior Member
Oct 22, 2009
175
16
38
Púchov
in my case it says that hosd is not known partition ... cid is 034. even in bootloader mode it is not working - htc fastboot is stucked - no info shown ...
 
Last edited:

linuxdep

Senior Member
May 22, 2013
89
5
8
thanks, i have downgrade from Pie to Oreo, because i need clear backup without TWRP for the next OTA, Android 10 is announced from HTC to the end of 2019? I hope so. Then i have a clean Backup...
Some issues are in first post's, but read all find all stumbling fall. ;)
 

Kyle_xy

New member
Oct 2, 2018
3
0
0
You can't flash hosd.img via download mode, try it from bootloader mode:
Code:
htc_fastboot reboot-bootloader
same issue here, cant flash hosd via download mode with 35 ru.... error.
when i turn to flash it via bootloader mode,it says :
c:\Android\com>htc_fastboot flash hosd hosd_signed.img
htc_fastboot v3.0.9.2 (2015-05-29)
Traceback (most recent call last):
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 160, in main
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 262, in do_fastboot
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 278, in do_fastboot_command
File "E:\largezip\htc_fastboot\fastboot.py", line 133, in get_device_host
ValueError: invalid literal for int() with base 16: 'raw'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "htc_fastboot.py", line 187, in main
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 172, in main
AttributeError: 'ValueError' object has no attribute 'message'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "htc_fastboot.py", line 215, in <module>
File "htc_fastboot.py", line 196, in main
AttributeError: 'AttributeError' object has no attribute 'message'

can you help fix this? thx a lot.
 
Last edited:

presely

Member
Sep 5, 2019
17
0
0
wrong firmware

Hello,

I have successfully downgraded my utc u11 from pie to oreo.
Unfortunately, I made a significant error during installation.
i installed the ruu firmware for double sim from this site, but i have a single sim htc.
Lineageos runs almost without problems, unfortunately I have a small bug like sim card turns off as soon as I turn on gps.

my question now: is it possible to install the single sim firmware without problems or do i have to do a complete reinstall according to the instructions?
 

presely

Member
Sep 5, 2019
17
0
0
i urgently need your help. after installing the rom.zip i am stuck in ruu mode with the error message

fastboot flash zip rom.zip
target reported max download size of 1560800000 bytes
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 994859082 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 994859082 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 994859082 is not a multiple of the block size 4096
OKAY [ 41.732s]
writing 'zip' 1/2...
(bootloader) HOSD CL#1002308
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_4
(bootloader) LfnEH
(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: 57.195s

please help me to solve this.
 

metropical

Senior Member
Sep 23, 2011
1,026
37
78
New York
proper CID RUU version

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
My CID is BS_US001, which is US unlocked. That's fine. I don't want to change the CID.
From the spread sheet, to get back to Oreo, I assume that I use the latest version for the phone?
In this case - 2PZCIMG_OCEAN_WHL_O80_SENSE90GP_MR_NA_Gen_Unlock_2.42.617.7. Dated: 22.08.2018.
 

hammered58

Senior Member
Nov 4, 2017
218
46
38
Wisconsin
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.
Whenever I run the HTC Dev info tool the GetDeviceInfo bar is greyed out. Does twrp need to be installed for this tool to work? Thanks