Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,416 Members 39,230 Now Online
XDA Developers Android and Mobile Development Forum

[DOWNGRADE HBOOT/UNBRICK] HBOOT 1.50 -> 1.40 for S-OFF/Root

Tip us?
 
Unknownforce
Old
(Last edited by Unknownforce; 9th May 2012 at 04:12 PM.)
#1  
Unknownforce's Avatar
Recognized Developer - OP
Thanks Meter 4,284
Posts: 2,033
Join Date: Nov 2008

 
DONATE TO ME
Default [DOWNGRADE HBOOT/UNBRICK] HBOOT 1.50 -> 1.40 for S-OFF/Root

Firstly, I want to thank the guys that made it all possible...
MOVZX
RussianBear
Fuses
Dexter93
TrevE
Crackanug
closeone
USSENTERNCC1701E
jcase
The entire Revolutionary team

Now on to the goodies...

UPDATE 3/21/12

DO NOT BRICK YOUR DEVICE IF YOU ARE S-OFF, THE DEVICE WILL NOT GO INTO EMMC MODE AS EXPECTED, AND YOU WILL HAVE A TRUE BRICK IN YOUR HANDS!!!

If you're already S-OFF, but on 1.50, you can do one of two things... I have attached the PG86IMG.zip with the 1.40 bootloader on it, download it copy to sd card and flash via bootloader.

The other option is to simply re-run 1.13 RUU, this will downgrade it as well, but this will also erase all data in the process.

For S-ON... Things you'll need...
  • A linux PC and some very basic linux knowledge...
  • The 2.17 RUU ZIP image
  • You'll also need the 1.13 RUU EXE (All the RUU's can be found here -> http://www.filefactory.com/f/4ef0ef536face67a/)
  • Download the downgrade.zip in the attachment (includes downgrade tool, hboot 1.40.0000(hboot.img), and misc.img)
  • Backup your apps/data if you need to, this process will wipe EVERYTHING

(If you're already bricked, start from Step 2)

closeone has posted a "all in one" Tool to do much of the following. (No, it's not a one click, there likely won't be a one click using this method, don't ask about it)
I have not personally tested it, but the idea is sound and if he's done it correctly it should work just fine, If you wish to try it, it is here (Yes, it still uses Linux, but on a bootable CD) -> http://forum.xda-developers.com/show....php?t=1563342

First Step

VIDEO OF STEP 1 (video says Step 2, but just start here)



BRICK (Yes, I said brick) your device. BUT in a CERTAIN way.

You need to brick your device by corrupting the HBOOT during the HBOOT Update.

(MAKE SURE YOU ARE TRULY S-ON, IF YOU BRICK YOUR DEVICE WHILE S-OFF, THIS IS PERMANENT and CANNOT BE RECOVERED FROM)
(MAKE SURE YOU ARE TRULY S-ON, IF YOU BRICK YOUR DEVICE WHILE S-OFF, THIS IS PERMANENT and CANNOT BE RECOVERED FROM)
(MAKE SURE YOU ARE TRULY S-ON, IF YOU BRICK YOUR DEVICE WHILE S-OFF, THIS IS PERMANENT and CANNOT BE RECOVERED FROM)

(If you are HTC Unlocked, you MUST RELOCK BEFORE starting)

1.) Take your 2.17 ZIP image, put it on the root of your SDCard, call it PG86IMG.zip.

2.) With the phone on Battery power alone, Reboot to BootLoader, let it detect the zip and read and get to the point where it wants you to press Vol-Up to update.

3.) LET THE DEVICE SIT FOR AT LEAST a Minute or Two.

4.) Pull off the battery cover (careful not to let the battery fall out) and plug the device into AC power. (HTC Power charger, other chargers have been known not to work for this, the reason for this is that the HTC's power adapters output more power than the standard ones.)

5.) Pull the battery out. (The device should stay on, if it doesn't, start over and try again) Also, leave the battery out through the REST OF THIS GUIDE until told to put it back in.

6.) Here's the tricky part, Read this a couple times, be ready to pull the ac cable out at the right time... press the vol up key in, Give it approximately 5 seconds from the START of it saying the word "Updating" next to Bootloader (The very first one it flashes) Then Pull the charger cord promptly, and plug it right back in, if this worked right, you'll see the red charge light be VERY(VERY VERY) DIM, and it should stay solid for the most part. (See the FAQ in post 2 for more info on this step, if you're having issues.)

The device is now bricked and ready for the next part.

Second Step

VIDEO OF STEP 2 (Removed for now, it's outdated)

The next step is the linux part. Do not plug your phone in to the linux box until you are told to do so. Very important.

1.) Boot up to Linux (I used Ubuntu, but I am guessing that any Linux OS will work)

2.) Extract your downgrade.zip file to the linux PC, Home folder is the best spot and is the easiest to work with.

3.) Open up Terminal, gain root, (su, or sudo -s)(give it your password)

4.) Run the command chmod 755 downgrade (if it's not in your home folder, add the full path to it)

5.) Type ./downgrade and press Enter.

You will see the below output:

Code:
==== Original emmc_recover tool written by Fuses ==== 
==== Downgrade v 1.0, written by Unknownforce ==== 

Ready to Downgrade?
Press ENTER for yes, or Press Ctrl+C for no.
Press Enter here, then you'll get the following:

Code:
Step 1... Plug in Device while holding down Volume Down key... 

Waiting for device...
Now... Hold down the Volume Down key, (and keep holding it down) and plug the phone in, you should see something similar to the below:

Code:
Found the Correct Device!
Writing image file!
511+1 records in
511+1 records out
1047808 bytes (1.0 MB) copied, 0.36689 s, 2.9 MB/s
SUCCESS!
Step 2... Unplug the device now.
AFTER device is removed, press Enter to proceed to next step.
Unplug the device, and press Enter again, you will see the following:

Code:
Step 3... Plug the device back in
while holding the Volume Down key again.

Waiting for device...
Plug the device in again holding down the Volume Down key the entire time again, you should see the following:

Code:
Writing image file!
511+1 records in
511+1 records out
1047808 bytes (1.0 MB) copied, 0.36689 s, 2.9 MB/s
SUCCESS!
From there, pull your SD Card out (so it doesn't try to update from the PG86IMG.zip...) throw your battery back in, boot up to bootloader. 1.40.0000

(Some people have said that they needed to "let the device sit" for a few minutes here, mine works immediately every time, YMMV)

To get back to a bootable rom and revolutionary, select FASTBOOT, connect it to the PC and run the 1.13 RUU EXE all the way through, (NOT the zip) then just revolutionary (a few times) and have a beer.

A few side notes:
When you run Revolutionary, you might have to do it a few times... I also didn't get to the point where it asked to flash a recovery... so I did this via fastboot, and simply used TWRP 2.0 .img file.

Use fastboot flash recovery blahblahblah.img -- this did NOT work when it was just regular 1.40.0000 S-OFF, only when it was revolutionary 1.40.1100 S-OFF

DISCLAIMER This is NOT a guarantee... because I'm sure it could come back... But in basic terms... I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR DEVICE, I have given you a method that worked for me, and SHOULD work for you, but if your house burns down, your car gets a flat tire, or your phone stops working... You are responsible for any and all of those things.
Attached Files
File Type: zip downgrade.zip - [Click for QR Code] (618.3 KB, 5062 views)
File Type: zip PG86IMG.zip - [Click for QR Code] (351.6 KB, 5601 views)


Developer of the Ultimate Recovery Tool for the EVO 3D CDMA and GSM

Current Phone: Samsung Galaxy S4
Current ROM: TriForceROM 5.4


People can't seem to find the Donate button as I get messages asking where to donate to, so you can buy me a beer here.
The Following 271 Users Say Thank You to Unknownforce For This Useful Post: [ Click to Expand ]
 
Unknownforce
Old
(Last edited by Unknownforce; 2nd May 2012 at 09:23 PM.)
#2  
Unknownforce's Avatar
Recognized Developer - OP
Thanks Meter 4,284
Posts: 2,033
Join Date: Nov 2008

 
DONATE TO ME
FAQ's

Can I do this on Windows?

Currently there is no way to do this on Windows. It's unlikely that there will be a way to do it on windows, Windows USB is too slow and doesn't detect the device the same as Linux does.

Can I do this in (Insert virtual PC software)?

The only one I've heard that works is VMWare, however You're again relying on Windows to pass the device to a virtual machine, which isn't ideal. I know for a fact that VirtualBox does not work, and Cygwin also does not work.

Common Errors

I can't get my phone to brick, I've tried a million times!

Patience is a virtue. This step is the hardest part of all, HTC Designed their phone to be brick proof for a reason. I believe the trick here is to let the device sit on the update screen for a minute or two, then do the update and count out 5 seconds. Also there's the update bar that appears in the upper right hand corner, much like the bar that is there when it's checking the zip file before the update prompt. The INSTANT you see that, pull the power. This is typically 5-6 seconds after it says updating, but only after it's been sitting for a bit... I believe the trick is to let it sit for a bit before pressing Volume up to update.

My PG86IMG.zip is not detected or the phone checks it and it doesn't prompt me to update it

There are several possibilities:
  • The phone is HTC Unlocked - You must re-lock.
  • The phone is S-OFF - Don't even try to brick it because you'll permanently brick it.
  • The phone is Re-locked, but still has a custom rom/recovery on it. - This will show a security warning and not allow the PG86IMG.zip to be flashed. - You must put the phone in FASTBOOT USB and run the RUU exe that matches your software version.
  • The File is not named correctly, it's PG86IMG.zip (Make sure it's not PG86IMG.zip.zip)
  • The PG86IMG.zip is either corrupt, not signed properly, or modified in some way. - Download another one.

I press Volume up to Update, and my phone shuts off
  • First make sure you're using a standard HTC A/C Adapter and cable. These are designed to charge at 1000 mA, other manufacturer's chargers typically only hit 900 mA. The phone needs it all to stay on and update properly without the battery in.
  • Second, make sure you're not using a higher end SD Card. This will draw too much power and not let the phone update when it comes to that time because the power drain to have the screen on, the sd card powered and the update running is more than what the A/C adapter can output. - My 16GB Class 10, shuts the phone off, my Class 4, 2 GB, does not. YMMV.
  • Third, if you're stuck with the high end SD card, or think it could be the cause, simply pull it after you pull the battery and BEFORE you press volume Up to update. The phone will still update. However, I don't know if this affects the speed of the update at all... so just watch it the first time and time it, then time your pull accordingly.

I'm getting Permission Denied when trying to run the linux commands

You don't have root, either type su or sudo -s, your prompt should have a # at the end and not a $.
Or, you didn't set the chmod correctly on the downgrade file. This is again chmod 755 downgrade (or /path/to/downgrade)

I get Misc image is missing!!! or HBOOT image is missing!!!

The hboot.img and misc.img files must be in the same location as the downgrade file, they are hard coded into the downgrade tool to be in the same location, their names are also hard coded, so don't rename them.


Developer of the Ultimate Recovery Tool for the EVO 3D CDMA and GSM

Current Phone: Samsung Galaxy S4
Current ROM: TriForceROM 5.4


People can't seem to find the Donate button as I get messages asking where to donate to, so you can buy me a beer here.
The Following 68 Users Say Thank You to Unknownforce For This Useful Post: [ Click to Expand ]
 
bmtdan
Old
#3  
bmtdan's Avatar
Senior Member
Thanks Meter 249
Posts: 1,746
Join Date: Apr 2010
Location: cincinnati
Whoa!

Sent from my PG86100 using xda premium
The Following User Says Thank You to bmtdan For This Useful Post: [ Click to Expand ]
 
Crackanug
Old
#4  
Crackanug's Avatar
Senior Member
Thanks Meter 521
Posts: 272
Join Date: May 2010
Location: South Central, while drinking my juice in the hood

 
DONATE TO ME
Good job man, glad to see you did it!
-In Tyler We Trust
 
Bairdog35
Old
#5  
Bairdog35's Avatar
Senior Member
Thanks Meter 248
Posts: 552
Join Date: Sep 2011

 
DONATE TO ME
Erg, Why so complected! I must now download virtual machine -_-... Its ok IM SUPER EXCITED IF THIS TURNS OUT TO NOT WORK I WILL KILL something.. Great work buddy, you deserve lots of attention <3
 
bobbinferbears
Old
#6  
Member
Thanks Meter 2
Posts: 43
Join Date: Jul 2010
Location: Kalamazoo, MI
Holy sh*t! Great job team!
Any chance of seeing a guide for a PC?
"I'm like a hunter of Peace, one who chases the elusive mayfly of love... or something like that" - Vash the Stampede
 
ElJimmy
Old
#7  
Senior Member
Thanks Meter 46
Posts: 116
Join Date: Apr 2011
Location: Raleigh
Excellent work!!
 
xHausx
Old
(Last edited by xHausx; 15th March 2012 at 04:34 AM.)
#8  
xHausx's Avatar
Forum Moderator / Recognized Developer
Thanks Meter 4,520
Posts: 6,771
Join Date: Jul 2010
Location: Central Florida

 
DONATE TO ME
Well done everyone

I'll see about making something a little bit more automated this weekend if nobody beats me to it.

Sent from my PG86100 using xda premium
The Following 15 Users Say Thank You to xHausx For This Useful Post: [ Click to Expand ]
 
EGOvoruhk
Old
#9  
Senior Member
Thanks Meter 49
Posts: 411
Join Date: Mar 2007

 
DONATE TO ME
Quote:
Originally Posted by Bairdog35 View Post
Erg, Why so complected! I must now download virtual machine
Just use a Live CD. No VM needed
 
klept0
Old
#10  
klept0's Avatar
Senior Member
Thanks Meter 206
Posts: 263
Join Date: Nov 2006
Location: Tampa, FL
saw ya guys did it on the Sensation...thanks and good job on bringing it to us 1.5 E3D users!
What Im currently rockin:

PHONE: HTC EVO4G LTE w/ CM 10.x



Please follow us on our social networks below for news:



Tags
if you're scared say you're scared, man up and do it, the bees knees
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes