GUIDE - Single SIM WHL Downgrade with RUU Decrypt Tool - HTC U11 Guides, News, & Discussion

Disclaimer:​I do not take responsibility for your bricked device. Try it at your own risk.
Notice:​This guide is written mainly with these references:
Golv's Reply under Thread "NEW link add ...HTC U11 RUU 3.31.401.1 Dual sim"
paulpier007's GUIDE for Downgrading using HTC DevInfo Tool
Jason10246's Thread for Downgrading using hosd.img with RUU Decrypt Tool
Captain_Throwback's Thread for RUU Decrypt Tool
Introduction:​
HTC started to use hosd partition to verify version number when you try to flash RUU since I do not know when for that I have been fairly unaware on HTC devices. A signature error 132 is returned when you try to downgrade with only a changed version number after reading Golv's downgrade guide. Which as a result I decided to write a new guide with a more general but not detailed guide for those with basic understandings of how to do this.
Requirements:​
You have read those four threads above
RUU Decrypt Tool and Internet connection
RUU file that you would like to downgrade to
TWRP recovery
HTC adb and fastboot drivers installed and you have no issue finding your device in adb & fastboot
htc_fastboot
Steps:​
Use RUU Decrypt Tool to decrypt your RUU using firmware option -f. You need internet connection to do this.
After completed, look for hosd.img in the output folder.
Change version number using Golv's method with HTC Version Tool. You can find it as the attachment.
Flash hosd.img file in bootloader, not download mode.
htc_fastboot flash hosd [pathToHosd.img]
Reboot to Download mode. If successful, the OS version will be the same as your RUU file that we would like to downgrade to.
Flash RUU in Download mode and it is done.
However, if your HTC U11 is the same as mine, Single SIM US Unlocked (WHL), you can just grab the 2.42.617.7 hosd.img that I extracted earlier which is in the attchments.

Related

[Q] HTC Magic 32A (No recovery only flash mode enabled almost bricked)

Hi,
I almost killed my HTC Magic when trying to upgrade it, Its locked with loop boot unable to enter recovery mode all i can do is just to get into fastboot mode
Help me to completely wash out the remaining stuff and write an new ROM to Magic
through flash boot i believe my usb drivers are detected in flash boot
Pls walk me through
Help me thx!!!!!!
You should go to fastboot and flash another recovery and then you can go to recovery.
hanntbk said:
You should go to fastboot and flash another recovery and then you can go to recovery.
Click to expand...
Click to collapse
Thanks for your support
It will be great if you can provide me the files required & tutorial it will be really helpfull
vijay2network said:
Thanks for your support
It will be great if you can provide me the files required & tutorial it will be really helpfull
Click to expand...
Click to collapse
Here: http://forum.xda-developers.com/showthread.php?t=1059911
this is the tutorial and files to flash recovery
danger_tweaker said:
Here: http://forum.xda-developers.com/showthread.php?t=1059911
this is the tutorial and files to flash recovery
Click to expand...
Click to collapse
Hey I'm seriously noob when its coming to HTC.
I dnt even know how fast boot mode works, If you can guide me through brief tutorial that should help me
Seriously dnt understand that tutorial, All i have done is boot phone to flash boot mode and waited PC to detect it, I dnt know what exactly should i do after connecting it
First open CMD.exe (command/ black box)
type cd and the go to were the files are located so if you put them in the map android on your c: drive it's cd c:\android
then connect your phone and copy/paste the codes from that post.
PowerPlop said:
First open CMD.exe (command/ black box)
type cd and the go to were the files are located so if you put them in the map android on your c: drive it's cd c:\android
then connect your phone and copy/paste the codes from that post.
Click to expand...
Click to collapse
Hey thanks for the quick post
I'm also wondering all the post abt flasboot has some tools like "SDK" "adb"
Do i need similar tools to proceed with this ??!!
Follow this tutorial to install what you need.
It's for installing ADB and Fastboot.
PowerPlop said:
Follow this tutorial to install what you need.
It's for installing ADB and Fastboot.
Click to expand...
Click to collapse
Do i need to install adb or flashboot to work on this scenario?
If anyone can guide me remotely it would be great.
vijay2network said:
Do i need to install adb or flashboot to work on this scenario?
If anyone can guide me remotely it would be great.
Click to expand...
Click to collapse
of course, guidance it already exists on the link provided by PowerPlop
I tried to flash the CWM recovery from my PC through CLI, Below is the error poped when i tried to boot or flash from image
C:\Downloads\Browser Download>fastboot boot recovery-clockwork-3.0.2.8-bravo.img
downloading 'boot.img'... FAILED (remote: not allow)
finished. total time: 0.002s
C:\Downloads\Browser Download>fastboot flash recovery-clockwork-3.0.2.8-bravo.im
g
unknown partition 'recovery-clockwork-3.0.2.8-bravo.img'
error: cannot determine image filename for 'recovery-clockwork-3.0.2.8-bravo.img
I tried downloading recovery img from "http://forum.xda-developers.com/showthread.php?t=1059911" thread but the link has expired
Hence i download this image from 4shared, Not sure this is the correct rom or not.
Help me after this
This happened because you flashed bravo recovery and not the 32a recovery.
follow the link provided by danger_tweaker post no. 4
everything is properly explained in and download your recovery "carz-clockworkmod-3.0.2.8-recovery.zip" only or if you are able to turn on device then download ROM Manager and flash recovery because htc magic are legacy(old,outdated) devices so file are removed from most of the sites.
BTW have you ever flashed the recovery???
I had searched for your recovery but all links are expired. View attachment 1161540 See if this recovery works for you. I had downloaded it long back and currently I don't have any previous version of carz mod :angel:, neither I remember its source link . It is the same clockwork mod-carz-recovery only version is different v4.0.1.4 see if it flashes through fastboot :fingers-crossed:.
vijay2network said:
C:\Downloads\Browser Download>fastboot flash recovery-clockwork-3.0.2.8-bravo.im
g
unknown partition 'recovery-clockwork-3.0.2.8-bravo.img'
error: cannot determine image filename for 'recovery-clockwork-3.0.2.8-bravo.img
Click to expand...
Click to collapse
That's not working because your command is wrong, you forgot one "recovery". He's telling you that there is no partition named "recovery-clockwork-3.0.2.8-bravo.img" because the correct name is "recovery". The correct command would be
Code:
fastboot flash [COLOR="Red"]recovery[/COLOR] recovery-clockwork-3.0.2.8-bravo.img
But i think you'll also get "FAILED (remote: not allow)".
I think you need to tell us what's written in your fastboot screen on the phone. Also a
Code:
fastboot getvar version-main
would be helpful.
C:\Android>fastboot flash recovery clockwork-3.0.2.8.img
sending 'recovery' (3806 KB)... FAILED (remote: not allow)
finished. total time: 0.001s
C:\Android>fastboot getvar version-main
version-main: 3.05.720.3
finished. total time: 0.002s
As u said i got the same error
I worked on gold card mode and try updating using "sappimg.zip"
I get "Incorrect CID" as error even after me making an exact gold card asper the tutorial @ http://wiki.cyanogenmod.com/wiki/Howto:_Create_a_Goldcard
Help me ASAP
You get this error "FAILED (remote: not allow)" because of your SPL-version - it seems to be a perfect one, you can't flash your phone with commandline.
Show us what's written in your fastboot-menu (everything, radio, hboot and so on, everything you can see).
Also give us the output of
Code:
fastboot getvar cid
please.
When did you get this error "Incorrect CID"?
Do you have some other Android-phone? Then create your Goldcard with GoldCardTool (for example as explained here).
Which sappimg.zip did you try? Don't just take one without knowing if you can take it!
1. Output for command
C:\Android>fastboot getvar cid
cid: HTC__038♦
finished. total time: 0.001s
2. Attached the screen shot of HBoot & Fastboot mode
3. I have an S2 i managed to fetch the CID using SimpleGoldCard_v1.zip from http://dl.xda-developers.com/attach...d6/4ff07379/5/2/8/8/9/6/SimpleGoldCard_v1.zip
4. I slected mmc1 in the tool to detect my MMC CID to be changed to gold card
5. I used ROM v2.16.707.3 (NON-Perfected stock SPL v1.33.0009 from this http://forum.xda-developers.com/showthread.php?t=548218
I believe i have provide u all information i have got. Please provide me support ASAP :highfive:
Snapshots
http://www.image-share.com/ijpg-1592-111.html
http://www.image-share.com/ijpg-1592-112.html
http://www.image-share.com/ijpg-1592-113.html
I can't open the screenshots you attached, sorry.
edit: You posted while i did - ok!
---------- Post added at 04:15 PM ---------- Previous post was at 03:52 PM ----------
As i said, because of the SPL-version you can't flash with commandline. You have to use sappimg.zip or nbh. To flash those, the rom needs to have a higher version than the installed one.
Your main-version is 3.05.720.3, as you see here a higher version would be "3.05.861.2 Hutchinson Australia". To flash this you need the Goldcard - it lets you install roms of different providers.
Download that rom, copy it to your SD-card (Goldcard) and rename it to SAPPIMG.zip and try to flash it. If it still tells you "CID incorrect" your Goldcard isn't created correct or the SD-card doesn't work as Goldcard.
If you finished this we're going on. Just short:
When you're done your phone should boot the normal way. Now you need to get the correct rom for your CID on it - 39) 3.05.720.3 1.76.0009H 6.35.08.29 N HTC__038 is for your phone, it's that one 3.05.720.3 India.
You can't flash this as sappimg.zip because the version of this rom is lower than the installed one. You need to install a custom-recovery on your phone to be able to install any rom-version - to install this you need to root your phone (there are some tutorials on XDA). With the custom-recovery you're going to install the stock-rom and you're done. If you like to you can also install custom-roms on your phone - you just need to install a custom-recovery again to install that.
I'm not an expert - i just know what i read and experienced when i debricked my HTC magic. If somebody thinks i'm wrong with my suggestions, just tell! :laugh:
matzehtc said:
I can't open the screenshots you attached, sorry.
edit: You posted while i did - ok!
---------- Post added at 04:15 PM ---------- Previous post was at 03:52 PM ----------
As i said, because of the SPL-version you can't flash with commandline. You have to use sappimg.zip or nbh. To flash those, the rom needs to have a higher version than the installed one.
Your main-version is 3.05.720.3, as you see here a higher version would be "3.05.861.2 Hutchinson Australia". To flash this you need the Goldcard - it lets you install roms of different providers.
Download that rom, copy it to your SD-card (Goldcard) and rename it to SAPPIMG.zip and try to flash it. If it still tells you "CID incorrect" your Goldcard isn't created correct or the SD-card doesn't work as Goldcard.
If you finished this we're going on. Just short:
When you're done your phone should boot the normal way. Now you need to get the correct rom for your CID on it - 39) 3.05.720.3 1.76.0009H 6.35.08.29 N HTC__038 is for your phone, it's that one 3.05.720.3 India.
You can't flash this as sappimg.zip because the version of this rom is lower than the installed one. You need to install a custom-recovery on your phone to be able to install any rom-version - to install this you need to root your phone (there are some tutorials on XDA). With the custom-recovery you're going to install the stock-rom and you're done. If you like to you can also install custom-roms on your phone - you just need to install a custom-recovery again to install that.
I'm not an expert - i just know what i read and experienced when i debricked my HTC magic. If somebody thinks i'm wrong with my suggestions, just tell! :laugh:
Click to expand...
Click to collapse
Hi thx for ur quick reponse, The latest image what u said "3.05.861.2 Hutchinson Australia" is in ".exe" format
how do i proceed with it :-/

[FIRMWARE] Stock AT&T 1.32.502.31 RUU

Directly from the HTC Website:
http://www.htc.com/us/support/htc-one-m9-att/news/
PLEASE BE SURE TO READ THE POST FIRST. THIS FIRMWARE WILL WIPE YOUR PHONE.
Direct link to download full RUU file here:
http://dl3.htc.com/application/RUU_...21_62.05.50320G_F_release_426950_signed_2.exe
UPDATE 4/23/15
Converted firmware update files in .zip format for other platforms courtesy of clsA to be found in post 7
clsA said:
RUU_HIMA_UL_L50_SENSE70_ATT_Cingular_US_1.32.502.3 1.rom.zip
htc_fastboot.exe >> https://www.androidfilehost.com/?fid=96042739161891970
fastboot-mac.zip >> https://www.androidfilehost.com/?fid=96042739161891971
I have not tested the fastboot-mac so I'm not sure it works with the above Ruu or not
Flash with
htc_fastboot oem rebootRUU
htc_fastboot flash zip RUU.zip
htc_fastboot flash zip RUU.zip <this may not be needed it might restart on it's own>
htc_fastboot reboot
Click to expand...
Click to collapse
I can confirm that the RUU downloaded from the HTC site (link above) at 2.1G works correctly.
You will NOT lose Unlock or S-off if you have done so already. However, the process WILL wipe your system, so you will need to reinstall TWRP 2.8.6.4 (unofficial), SuperSU beta and any custom ROM you want.
Have at it!
BillTheCat said:
I can confirm that the RUU downloaded from the HTC site (link above) at 2.1G works correctly.
You will NOT lose Unlock or S-off if you have done so already. However, the process WILL wipe your system, so you will need to reinstall TWRP 2.8.6.4 (unofficial), SuperSU beta and any custom ROM you want.
Have at it!
Click to expand...
Click to collapse
Hey, so right now I'm still running Sense. I understand that this will remove root and the custom recovery but will this also reset the device back to factory default settings and data? I know, dumb question, but I just want to make sure I'm able to keep all my messages, apps, data, ect. If not, then I'll just make a backup with HTC sync manager.
Thanks
anbrine said:
I just want to make sure I'm able to keep all my messages, apps, data, ect. If not, then I'll just make a backup with HTC sync manager.
Click to expand...
Click to collapse
Nope. They'll get blown away. You should ALWAYS have a backup saved to your PC.
BillTheCat said:
Directly from the HTC Website:
http://www.htc.com/us/support/htc-one-m9-att/news/
PLEASE BE SURE TO READ THE POST FIRST. THIS FIRMWARE WILL WIPE YOUR PHONE.
Direct link to download file here:
http://dl3.htc.com/application/RUU_...21_62.05.50320G_F_release_426950_signed_2.exe
Click to expand...
Click to collapse
are you going to upload the rom.zip from the RUU and the htc_fastboot for MAC and Linux users ? If not I'll add them to my thread
clsA said:
are you going to upload the rom.zip from the RUU and the htc_fastboot for MAC and Linux users ? If not I'll add them to my thread
Click to expand...
Click to collapse
I have no clue how to do that. I was hoping someone else would. If you're able, I'll NE happy to update my op with the corresponding links.
BillTheCat said:
I have no clue how to do that. I was hoping someone else would. If you're able, I'll NE happy to update my op with the corresponding links.
Click to expand...
Click to collapse
I'm uploading them now ..I'll post here
RUU_HIMA_UL_L50_SENSE70_ATT_Cingular_US_1.32.502.31.rom.zip
htc_fastboot.exe >> https://www.androidfilehost.com/?fid=96042739161891970
fastboot-mac.zip >> https://www.androidfilehost.com/?fid=96042739161891971
I have not tested the fastboot-mac so I'm not sure it works with the above Ruu or not
Flash with
htc_fastboot oem rebootRUU
htc_fastboot flash zip RUU.zip
htc_fastboot flash zip RUU.zip <this may not be needed it might restart on it's own>
htc_fastboot reboot
The other method to flash is to rename the RUU.zip to 0PJAIMG.zip and copy it to a fat32 sdcard and flash it in download mode
clsA said:
I'm uploading them now ..I'll post here
Click to expand...
Click to collapse
Works for me, or you could pm the links and I'll credit you in the 1st post.
Anyone has instruction to decrypt the ROM.zip on windows ?
yardi4life said:
Anyone has instruction to decrypt the ROM.zip on windows ?
Click to expand...
Click to collapse
sure do >> http://forum.xda-developers.com/one-m9/development/dev-how-to-extract-one-m9-rom-dump-image-t3062808
Stuck with 155 errors on the .exe RUU Utility from HTC. clsA, i tried the manual update using htc_fastboot zip RUU.zip and getting a FAILdata too large error.
Now I'm stuck locked and can't update or unlock my current version. Any ideas?
gnomish said:
Stuck with 155 errors on the .exe RUU Utility from HTC. clsA, i tried the manual update using htc_fastboot zip RUU.zip and getting a FAILdata too large error.
Now I'm stuck locked and can't update or unlock my current version. Any ideas?
Click to expand...
Click to collapse
are you sure you are doing it right and using htc_fastboot? Make sure you are not using fastboot or any mac ver of fastboot. You must be in download mode
htc_fastboot.exe oem rebootRUU
htc_fastboot.exe flash zip ruu.zip
htc_fastboot.exe flash zip ruu.zip
htc_fastboot.exe reboot
I have confirmed this working on my at&t m9
or if you have a 32gig or smaller sd card, rename file to 0PJAIMG.ZIP and put it in the root of your sd card and go to download mode, MUST be formatted in fat32 from a computer first.
btw for the op, I have confirmed the fastboot-mac nor fastboot for mac work with this. They have to be decrypted in order for it to work with plain old mac fastboot. It was like this on m7 and m8 too. wish someone would port the htc_fastboot to mac then I could take off this darn parallels
Yes, unfortunately can confirm I followed the above steps and am using htc_fastboot.exe. I continue to get the same error below.
I will continue trying as I don't have a small enough sd card for the other method.
C:\adb>htc_fastboot.exe flash zip ruu.zip
sending 'zip'... (2141801 KB) FAILdata too large, 2193204239 > 1430073344
FAILED (data size is too large(2141801 KB) for device to download ZIP file 'ruu.
zip'
Click to expand...
Click to collapse
gnomish said:
Yes, unfortunately can confirm I followed the above steps and am using htc_fastboot.exe. I continue to get the same error below.
I will continue trying as I don't have a small enough sd card for the other method.
Click to expand...
Click to collapse
This is the htc_fastboot from the AT&T RUU
https://www.androidfilehost.com/?fid=96042739161891970
If you using a different one try that one
Are you md5 checking your download ? are you starting the flash in download mode (black screen not the white bootloader)
try it without the htc_fastboot oem rebootRUU
just boot to download mode and flash it
fastboot flash zip RUU.zip
if the phone reboots during the process hold volume down to enter download mode again and let it finish

(Tool)Htc Smart Tool for fastboot features.

HELLO friends,
I want to share this tool for easily use fastboot features to new users, which are not aware of fastboot commands.
Credits :- Habeeb Kambrath.
Features:-
All Models Supported
All in a Single click
HTC CID List
Reboot Download Mode For New Handsets Like M9,X9
Factory Reset In Fastboot
Mode Write Super CID For S-OFFed handsets
S-ON for S-OFFed Handsets
Read All Info via Fastboot Mode
Firmware Downloading Procedure
Flashing Tutorial
Unlock Bootloader
Lock Bootloader
Flash Custom/Stock Recovery ZIP File Flashing via RUU
Notes:-For Flash Unlock Token,Recovery,Zip File You Want To Copy And Past Your File to hTC Smart Tool Folder.Put Your Files By Name*
Unlock Token File = Unlock_code.bin*
Recovery File = recovery.img*
ZIP File = update.zip
Download :-
https://mega.nz/#!RswQjRaD!ebUDx65an26BdhoqTN9qvIX3bvnXfBClXFxhFtfuGac
Sent from my HTC Desire 820 dual sim using xda premium
Hmm

[RUU+GUIDE] A5_DUG HTC__622 Asia_HK Lollipop | Guide to flashing the RUU

I managed to track down the RUU for A5_DUG with CID: HTC__622 (Asia_HK version). The filename is:
0P9CIMG_A5_DUG_L50_DESIRE_SENSE60_MR_hTC_Asia_HK_2.34.708.1_Radio_1.13.3230.27.0303_13.19.3230.00D_F_release_443977_combined_signed_2_4.zip
I have uploaded it to MEGA here: [url]https://mega.nz/#!28QiwDqA!NovlOSELHcoW7D8LgT2UdYVfQn07QDtmhvC7AMEJz-4[/URL]
Please note that this RUU is of the Lollipop version. It is possible downgrade to it from marshmallow, and then update via OTA (and I recommend that you do so for more memory space. I have done this myself).
How to flash an RUU:
NOTE: This guide is relevant to all variants and CIDs of the device. However, the RUU that I linked above ONLY works for the specific variant+CID mentioned above! If you have a different variant OR CID you will need to find the correct RUU for your device. You can get your CID with:
Code:
fastboot oem readcid
NOTE 2: This guide is formatted incorrectly, and does not display correctly in the XDA app...
If you have unlocked the bootloader, you need to lock it. Run this command in FASTBOOT (ignore any errors that appear):
Code:
fastboot oem lock
Copy the RUU file to a MicroSD card. You must use a MicroSD card, it does NOT work on the internal storage! (I haven't tested with OTG but it might work)
Rename the file to 0P9CIMG.zip
Insert the MicroSD card into the device. Now boot to the bootloader (if you are in FASTBOOT choose HBOOT) and after a few seconds it will ask you if you want to update.
Choose yes. The process will take a while and the device will reboot at least once.
At the end it will tell you to press power to reboot. That means you are done and the device is restored to stock conditions.

Downgrading US Unlocked Pie to Oreo with TWRP

Downgrading From Pie 3.37.617.1_R2 to Oreo 2.42.617.7 US Unlocked
Must have TWRP installed
All data will be erased and back to Oreo stock
Required files
hosd_signed.img
HTC Dev info tool
RUU from HTC site
RUU decrypt tools
a- Download the Oreo RUU from HTC website and drag the files to RUU Decrypt tools
b- Let it run with all the default setting.
c- Grab the hosd_signed.img from the OUT_2PZC_2.42.617.7 - firmware folder
1. Connect the phone into computer and boot the phone into bootloader
2. flash hosd_signed.img "fastboot flash hosd hosd_signed.img"
3. once its done boot into TWRP and run the HTC dev info tools.
4. Change the version number into 2.42.617.7 and hit Save apply all changes
5. Run the Oreo RUU downloaded from HTC website
Your phone back to Oreo

Categories

Resources