HTC U11 downgrade from Pie to Oreo

alexnaoumi

Senior Member
Jun 24, 2010
1,878
187
93
Detroit
I don't have an OS to boot and TWRP is gone so I'm not sure if I'll be able to change anything, but this is what my info is so far. The only thing different is the misc version, which I changed to 2.42.617.7.


View attachment 4866389
I see under google spreadsheet there are 3 different oreo versions, you could try a different one.

---------- Post added at 09:32 PM ---------- Previous post was at 09:05 PM ----------



and just to clarify, you flashed from download mode through the update on your sd card? when I do that I end up with this:

22 RU_HEADER_ERROR
22 RU_HEADER_ERROR
FAIL22 RU_HEADER_ERROR
press power to continue[/QUOTE]


When I look up error this is the explanation


22 RU_HEADER_ERROR: something wrong with your zip; check md5 of download[/QUOTE]

I tried another zip file like you suggested and that worked! thank you so much!!!
 

hammered58

Senior Member
Nov 4, 2017
218
46
38
Wisconsin
I see under google spreadsheet there are 3 different oreo versions, you could try a different one.

---------- Post added at 09:32 PM ---------- Previous post was at 09:05 PM ----------



and just to clarify, you flashed from download mode through the update on your sd card? when I do that I end up with this:

22 RU_HEADER_ERROR
22 RU_HEADER_ERROR
FAIL22 RU_HEADER_ERROR
press power to continue

When I look up error this is the explanation


22 RU_HEADER_ERROR: something wrong with your zip; check md5 of download[/QUOTE]

I tried another zip file like you suggested and that worked! thank you so much!!![/QUOTE]

Glad it worked ?
 

metropical

Senior Member
Sep 23, 2011
1,026
37
78
New York
in post #14 of this thread by Ryü[email protected]
HTC Dev info tool doesn't see phone. "No device detected"
I can get minimal adb/fastboot to see the phone and it will adb reboot botloader or download mode.
But fastboot getvar all / fastboot devices does nothing.
I am running W7 from VirtualBox 5.xxx on a Sierra Mac.
 

myolgiden

Member
Nov 22, 2016
10
4
0
30
Aydın
downgrade from pie to oreo

Hello,
I am using official pie rom for 2 months, and it really has many bugs. Also my battery life considerably reduced. That's why I want to downgrade my phone to official stock Oreo.
I didn't root my phone, and I don't know what I have to do for this operation. I got my CID, it says "HTC__622 / Asia-HK-CHT".
Please help me about downgrade my phone to good old Oreo.
Thank you!
 
Last edited by a moderator:

hammered58

Senior Member
Nov 4, 2017
218
46
38
Wisconsin
Hello,
I am using official pie rom for 2 months, and it really has many bugs. Also my battery life considerably reduced. That's why I want to downgrade my phone to official stock Oreo.
I didn't root my phone, and I don't know what I have to do for this operation. I got my CID, it says "HTC__622 / Asia-HK-CHT".
Please help me about downgrade my phone to good old Oreo.
Thank you!
What worked for me was I had to install twrp, then root and then I followed the guide provide by Ryug at
https://forum.xda-developers.com/u11/help/htc-u11-downgrade-pie-to-oreo-t3962791/page2
Hth
 

metropical

Senior Member
Sep 23, 2011
1,026
37
78
New York
fixed my issue where HTC DevTool didn't see the phone by installing and granting permissions with Magisk.
Made the change in "misc ROM version" and applied.
But step 11 in #14 this thread. There is no "hosd_signed.img".
 

MHD-MHD

Member
Apr 2, 2018
12
2
3
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 change the misc version to the rom misc version which you downloaded for downgrade 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 bootloader mode or not, if yes then proceed to next step otherwise reboot your phone to bootloader mode by typing "htc_fastboot reboot bootloader" (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
I'm getting this error any fix for it?


C:\Android\com>htc_fastboot flash hosd hosd_signed.img
sending 'hosd' (43705 KB)... FAILED (status read failed (Unknown error))
Execution time is 6(s)
 

sekret999

New member
Jan 22, 2008
3
1
0
Sucessfully downgraded to Oreo from Pie

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 change the misc version to the rom misc version which you downloaded for downgrade 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 bootloader mode or not, if yes then proceed to next step otherwise reboot your phone to bootloader mode by typing "htc_fastboot reboot bootloader" (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
Thanks a lot for your detailed guide. It is indeed very helpful and I had successfully downgraded my HTC U11 back to oreo from pie :)
 
  • Like
Reactions: doomscooter

lilrice

Member
Sep 14, 2012
44
2
28
HTC DevInfo has some error about .NET framework on PC, can someone help me clarify this error. Thank you

Could not load type "System Value Tuple '2' from assembly 'mscorlib, Version= 4.0.0.0

Thank you
 

MSMC

Member
May 5, 2017
46
6
0
I keep getting this:

c:\Android\com>htc_fastboot flash hosd hosd_signed.img
htc_fastboot v3.0.9.2 (2015-05-29)
sending 'hosd' (42397 KB)...
FAILED (remote: Requested download size is more than max allowed
)
finished. total time: 0.001s
htc_fastboot finished. total time: 0.225s


And before you say it, yes I am in bootloader not download or recovery. It wont check what size it's allowed to use so anything over 0 bytes fails. I am bootloader unlocked, s-on, and no access to the system at all. Still have custom recovery so I COULD flash a backup if I had one, but I have none. Hopefully this comes in handy. Great guide OP, but sadly this step of flashing the hosd is failing. Any help is HUGELY appreciated. Need my phone working as soon as possible.

EDIT:

I got it to work. I sent the command without the phone plugged in so fastboot was waiting for a device, then I plugged in the device while it was in bootloader mode already, and then i used teh menu to reboot to bootloader and voila, it figured it out. Hopefully this helps someone out.

EDIT 2:

The final step where u boot to RUU mode and flash it doesn't work, I get this when I try that:

target reported max download size of 1560800000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2184887382 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2184887382 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2184887382 is not a multiple of the block size 4096
OKAY [ 1.008s]
writing 'zip'...
(bootloader) HOSD CL#1002308
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_o
(bootloader) 2d32x
FAILED (remote: 99 RU_UNKNOWN_FAIL terrible mishap with original ret: 0)
finished. total time: 3.058s


So I figured, well since I flashed that hosd file to trick it into thinking it is a different version, wouldn't that mean I can flash straight from SD card? Sure enough, I could, and it worked! No error 12 or anything. Thank you so much for your help. This phone is a nightmare to get to work if u screw it up, though, it's amazing that it is apparently hard to accidentally brick. Thank you again.
 
Last edited:

Sumit Khuha

Senior Member
Sep 29, 2013
245
20
48
Edited the post and forgot to add changing the version number check from step 2 again. If that too not work run this command "adb shell dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=1 seek=2208 count=16" it will blank out misc version and follow the instructions i posted above.
After giving this command, it says permission denied
And also, in dev info tool, there is only one option that i can use - "get adb device". All other options are blacked out
 
Last edited:

Sumit Khuha

Senior Member
Sep 29, 2013
245
20
48
HTC DevInfo has some error about .NET framework on PC, can someone help me clarify this error. Thank you

Could not load type "System Value Tuple '2' from assembly 'mscorlib, Version= 4.0.0.0

Thank you
Download latest microsoft .net framewor, then try, it worked for me