HTC U11 downgrade from Pie to Oreo

eharvey

Senior Member
Feb 17, 2010
61
8
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 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
Ok, I need to raise my hand for help. I have an S-on, unlocked, HTC U11 with no OS and TWRP recovery on board that was up to 3.37.617.1 before I formatted and deleted the OS - pls let's not go there :). I've flashed the 2.42.617.7 ROM I have, which matches my CID and MID before, to go back to stock OREO and take an OTA up to Pie so I know the setup is valid. Now that I am deducing I won't find an RUU OS at the Pie level to flash and you cannot go easily down to Oreo from Pie to do my old trick, I am here. When I try your instructions I can't get the MISC change to stick in step #5 - rebooting to download mode shows the OS at 3.37.717.1 still. I'm changing the MISC value to the 2.42.617.7 RUU I want to flash. Looking ahead, another issue I am having is when I do step #11, I get an CRC error on a zip folder and the sequence aborts. Please help if you can....
 

DHorseman

Member
Aug 11, 2016
31
5
0
Ok, I need to raise my hand for help. I have an S-on, unlocked, HTC U11 with no OS and TWRP recovery on board that was up to 3.37.617.1 before I formatted and deleted the OS - pls let's not go there :). I've flashed the 2.42.617.7 ROM I have, which matches my CID and MID before, to go back to stock OREO and take an OTA up to Pie so I know the setup is valid. Now that I am deducing I won't find an RUU OS at the Pie level to flash and you cannot go easily down to Oreo from Pie to do my old trick, I am here. When I try your instructions I can't get the MISC change to stick in step #5 - rebooting to download mode shows the OS at 3.37.717.1 still. I'm changing the MISC value to the 2.42.617.7 RUU I want to flash. Looking ahead, another issue I am having is when I do step #11, I get an CRC error on a zip folder and the sequence aborts. Please help if you can....
First: if stock RUU of your phone is android 8, please using tool to decrypt, don't using winRAR or winZIP. If still get error, please check your RUU file to make sure it not corrupt
Second: when you change version by htc devinfo tool, version in download mode will not change (in my case), don't worry, try to flash RUU.
Third: if you can't change mid or version by your phone has no os. You can flash custom room, and try to root with magisk. After that, you can using htc devinfo tool
 
Last edited:
  • Like
Reactions: eharvey

eharvey

Senior Member
Feb 17, 2010
61
8
0
First: if stock RUU of your phone is android 8, please using tool to decrypt, don't using winRAR or winZIP. If still get error, please check your RUU file to make sure it not corrupt
Second: when you change version by htc devinfo tool, version in download mode will not chang (in my case), don't worry, try to flash RUU.
Third: if you can't change mid or version by your phone has no os. You can flash custom room, and try to root with magisk. After that, you can using htc devinfo tool
Thank you so much for the nudge. All set!! I had to download another RUU, I just went back one version and stayed at OREO, and updated all the values throughout the process accordingly. I noticed the MISC changed when I ran the fastboot command even though in download mode it said it was still he PIE value. Thanks again!!
 

quattro527

Senior Member
Aug 3, 2012
58
14
0
I would like to add that these instructions are ON-POINT.

I was on-the-fence on Pie, but the recent "stay-at-home" order also made Google update their Google Pay and Play Store where my phone would no longer pass Verity/CTS check rendering my Google Pay USELESS. I've tried everything--but realized I'm better-off back on Oreo due to the wider range of ROMs and support--but spent the weekend trying to S-Off (which won't work with Pie) so I can flash an old Oreo RUU.

I was stuck at using the HTC DevInfo Tool to change the CID/MID, as well as the current version (this value is what the RUU checks, so downgrade to a version that is older than the RUU you're planning on installing). RUU flash came back with a signature ERR (132 if I recall)--this caused a signature "mismatch" on validating the actual firmware that was on the phone.

What did the trick for me was the extracting and flashing the hosd_image file--flashing this was which allowed the RUU to detect the older/same version allowing it to proceed. However--I had issues flashing in oem RUU mode, so I simply grabbed the extracted *.zip file from the RUU decryption, renamed it to 2PZCIMG.zip, put it on a ZIP card, then rebooted into Download mode, pressed VOL+ to proceed, and it did the rest. I am now back on Oreo.

Thanks again, I can now again be "contactless". :)
 
  • Like
Reactions: Fearreality

Fearreality

New member
Nov 14, 2007
1
0
0
I would like to add that these instructions are ON-POINT.

I was on-the-fence on Pie, but the recent "stay-at-home" order also made Google update their Google Pay and Play Store where my phone would no longer pass Verity/CTS check rendering my Google Pay USELESS. I've tried everything--but realized I'm better-off back on Oreo due to the wider range of ROMs and support--but spent the weekend trying to S-Off (which won't work with Pie) so I can flash an old Oreo RUU.

I was stuck at using the HTC DevInfo Tool to change the CID/MID, as well as the current version (this value is what the RUU checks, so downgrade to a version that is older than the RUU you're planning on installing). RUU flash came back with a signature ERR (132 if I recall)--this caused a signature "mismatch" on validating the actual firmware that was on the phone.

What did the trick for me was the extracting and flashing the hosd_image file--flashing this was which allowed the RUU to detect the older/same version allowing it to proceed. However--I had issues flashing in oem RUU mode, so I simply grabbed the extracted *.zip file from the RUU decryption, renamed it to 2PZCIMG.zip, put it on a ZIP card, then rebooted into Download mode, pressed VOL+ to proceed, and it did the rest. I am now back on Oreo.

Thanks again, I can now again be "contactless". :)
All of this was exactly what I had to do to get mine flashed. As a side note, I also had to use an older RUU as the latest one from the google spreadsheet seemed to be broken.
 

Adkun

New member
Apr 22, 2020
1
0
0
Error

PS D:\htc> fastboot flash hosd hosd_signed.img
Sending 'hosd' (9728 KB) OKAY [ 0.375s]
Writing 'hosd' FAILED (remote: 'verify HOSD fail')
fastboot: error: Command failed

Im flash hosd fail with mode bootloader, please help me
 

Htcu11user

Member
Feb 16, 2019
22
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 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
Hi, im getting this error. I've tried different ruus but it isn't working. Please help. My phone is 100% charged. Still it's showing this error.


C:\Android\com>htc_fastboot flash zip rom.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 1.27.400.21
found large-zip header, file count: 26
processing file 1/26...
sending 'zip' (211221 KB)...
OKAY [ 8.939s]
writing 'zip'...
(bootloader) HOSD CL#952087
FAILED (remote: 4 RU_BATTERY_LOW please connect charger (0% < 30%))
finished. total time: 9.958s
htc_fastboot finished. total time: 12.767s

UPDATE : so i solved this issue by flashing different hosd_singed,img

Now im having problem with htc deviceinfo tool.im not able to get device info in htc deviceinfo tool. I open the tool then click on get adb devices then on get device info but nothing shows up. I tried in recovery mode as well as in system mode with magisk installed then it says cannot get root permission and sometimes it says a dialogue will appear for root permission please accept that but nothing appreas in my phone. I checked adb isconnected properly and all commands are working but this tool isn't working for me. Please help.
 
Last edited:

Time2Design

New member
Jun 2, 2020
4
0
0
@Htcu11user did you decrypt your system with TRWP before using the windows htc info tool by wiping the system, going back to main menu of twrp and rebooting to recovery? don't know if it helps

I successfully downgraded from Android 10 to 8 with s-on and vodafone phone (changed cid to htc)
 

Htcu11user

Member
Feb 16, 2019
22
0
0
@Htcu11user did you decrypt your system with TRWP before using the windows htc info tool by wiping the system, going back to main menu of twrp and rebooting to recovery? don't know if it helps

I successfully downgraded from Android 10 to 8 with s-on and vodafone phone (changed cid to htc)
Yes tried that many times but now i got the device info then typed the new misc version but after apllying changes nothing happens. It just got stuck after i click on apppy changes
 

Time2Design

New member
Jun 2, 2020
4
0
0
do you mean the os version with misc version? you can also change the os version by using a hex editor (better than text editor) on pc to edit the file called "sde1" (located in root/dev/block on your phone, I guess phone needs to be rooted and TWRP ist required) where the os version is written in - see here for more info
 

Htcu11user

Member
Feb 16, 2019
22
0
0
do you mean the os version with misc version? you can also change the os version by using a hex editor (better than text editor) on pc to edit the file called "sde1" (located in root/dev/block on your phone, I guess phone needs to be rooted and TWRP ist required) where the os version is written in - see here for more info
so i solved the isuue with adb shell. Beacause htc_devinfo_toool did not work for me.
here is what worked
setup adb in pc and go to twrp recovery in android
then on pc open powershell in the adb folder and type adb shell
then follow these commands :
check misc version
dd if=/dev/block/bootdevice/by-name/misc bs=1 skip=2208 count=11

then clear the misc version that is set to 0
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=1 seek=2208 count=11

then check again if the misc version is cleared or not
dd if=/dev/block/bootdevice/by-name/misc bs=1 skip=2208 count=11

now flash your RUU
 

HsHTCsen

Senior Member
Apr 26, 2012
465
66
58
Townsville
Hi

I'm trying to run htc_fastboot flash hosd hosd_signed.img but keep gettin htc_fastboot.exe error that MSVCR100.dll is missing.

I've tried reinstalling the Batch Tools and also installing the applicable Microsoft Visual C++ 2010 SP1 Redistributable Package (x64) for that .dll but still getting the error.

If i try with the Google htc_fastboot i get:

c:\Android\com>htc_fastboot flash hosd hosd_signed.img
sending 'hosd' (42397 KB)... OKAY
writing 'hosd'... FAILverify HOSD fail
FAILED (remote: verify HOSD fail)
Execution time is 1(s)

Any suggestions please?
 

aristidis_halk

Senior Member
Dec 28, 2016
105
27
28
30
Athens
Hi

I'm trying to run htc_fastboot flash hosd hosd_signed.img but keep gettin htc_fastboot.exe error that MSVCR100.dll is missing.

I've tried reinstalling the Batch Tools and also installing the applicable Microsoft Visual C++ 2010 SP1 Redistributable Package (x64) for that .dll but still getting the error.

If i try with the Google htc_fastboot i get:

c:\Android\com>htc_fastboot flash hosd hosd_signed.img
sending 'hosd' (42397 KB)... OKAY
writing 'hosd'... FAILverify HOSD fail
FAILED (remote: verify HOSD fail)
Execution time is 1(s)

Any suggestions please?
try downloading only that exact .dll

i did it recently and i also had this same error. I also installed the c++ 2015-2019 version just in case. I dont remember what exactly solved this sorry.

As for the other error search to see if anyone also had this error or try google it and see what the cause is.
 

Moondroid

Senior Member
Feb 12, 2015
215
82
58
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
For posterity, if anybody else comes across this error, I fixed it by updating the .Net Framework on my Windows 7 Pro x64 to version 4.7.2. Download the Runtime version of 4.7.2 here. (It did not require a reboot on my machine, just FYI.)
 
  • Like
Reactions: Golv