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

Status
Not open for further replies.
Search This thread

noodle0506

Senior Member
Aug 13, 2010
75
1
so is the hardest part of this trying to get the 1.13 ruu to download? lol i have been trying for 2 days lol. will any 1.13 ruu work or do i have to have this one
 
  • Like
Reactions: Datguy_n_Disguy

ridleyj329

Senior Member
Oct 12, 2008
448
29
im having trouble getting my ubuntu to recognize my phone. How can i tell tell if my phone is actually bricked or not? Or maybe if there is an issue with my connection or my linux box.
 

Unknownforce

Retired Recognized Developer
Nov 18, 2008
2,044
4,268
im having trouble getting my ubuntu to recognize my phone. How can i tell tell if my phone is actually bricked or not? Or maybe if there is an issue with my connection or my linux box.

It's bricked if the device no longer boots at all (No power) and when you put the battery back in and plug it into the wall, it does NOT indicate that it's charging. (Only the dim light shows up)
 

ridleyj329

Senior Member
Oct 12, 2008
448
29
It's bricked if the device no longer boots at all (No power) and when you put the battery back in and plug it into the wall, it does NOT indicate that it's charging. (Only the dim light shows up)

thanks! i tried last night and tried the battery pull method. I got the dim red light and when I plugged my phone in i got no response. i put the battery in while plugged into my linux box and i got the bright light as if it were charging. maybe i pulled batter too soon. i was able to boot into fast boot installed the the PG86IMG i had which allowd me to get back up and running. I'll have to try again when I get off work tonight.
 
Last edited:

Unknownforce

Retired Recognized Developer
Nov 18, 2008
2,044
4,268
thanks! i tried last night and tried the battery pull method. I got the dim red light and when I plugged my phone in i got no response. i put the battery in while plugged into my linux box and i got the bright light as if it were charging. maybe i pulled batter too soon. i was able to boot into fast boot installed the the PG86IMG i had which allowd me to get back up and running. I'll have to try again when I get off work tonight.

Yeah, Bright light means not bricked. Give it another shot. :)
 

sniperkill

Senior Member
Sep 27, 2010
1,648
320
Maryland
for anyone that knows, what ever happened to the origional first couple of steps where you have to put the "misc_version" to /data/local? There was another file also, but I cant remember what it's called. Do we still need to push the "misc_version" file?
 

Unknownforce

Retired Recognized Developer
Nov 18, 2008
2,044
4,268
for anyone that knows, what ever happened to the origional first couple of steps where you have to put the "misc_version" to /data/local? There was another file also, but I cant remember what it's called. Do we still need to push the "misc_version" file?

Nope, this is not necessary anymore. The downgrade tool flashes the misc partition and the hboot now, so temproot is not even required at all. just brick it and downgrade.
 

sniperkill

Senior Member
Sep 27, 2010
1,648
320
Maryland
Nope, this is not necessary anymore. The downgrade tool flashes the misc partition and the hboot now, so temproot is not even required at all. just brick it and downgrade.


So now the only option we have is to use the tool kit cd/usb thing? What happens if we already have Ubuntu installed, and we dont need to run it off of a usb drive or a live cd? How do we use the tool kit in this case?
 

closeone

Senior Member
Jan 11, 2012
1,098
1,463
So now the only option we have is to use the tool kit cd/usb thing? What happens if we already have Ubuntu installed, and we dont need to run it off of a usb drive or a live cd? How do we use the tool kit in this case?

No. You can always grab the downgrade.zip from Unknownforce's OP. The CD is designed to make it easier for the user who isn't familiar with Linux. :)

~co~
 
  • Like
Reactions: sniperkill

closeone

Senior Member
Jan 11, 2012
1,098
1,463
Okay, but I'm wondering if I can just boot into ubuntu and use your toolkit still? Or do I HAVE to install the linux on the usb drive to be able to use it?

You would have to install it onto a flash drive. It's a lot smaller (~40MB) than it used to be though, so it's not a huge pain to download anymore. :)

But, I'm assuming you use Linux as your main OS? If that's the case, writing it to the USB Flash Drive using the method in my guide won't work (it's Windows-only). You should be able to use Unetbootin if you don't mind renaming a few files (it's the nature of the base OS). Information here. Unetbootin here.

Edit: If you have a Windows install or another machine with Windows, I would highly recommend using the Core2USB software mentioned in post #3 of the Toolkit thread.

~co~
 
Last edited:
  • Like
Reactions: sniperkill

sniperkill

Senior Member
Sep 27, 2010
1,648
320
Maryland
Something is going on here, I'm trying to run the "chmod 755 downgrade" command but end up having to run it like this "chmod 755 downgrade/downgrade" to get the correct permissions, then the next command goes "./downgrade" but I also end up having to "./downgrade/downgrade" but then it says it's missing the misc img??? I checked the downgrade.zip and IT DOES contain the file "misc.img". So what is going on here?

---------- Post added at 06:16 PM ---------- Previous post was at 06:10 PM ----------

You would have to install it onto a flash drive. It's a lot smaller (~40MB) than it used to be though, so it's not a huge pain to download anymore. :)

But, I'm assuming you use Linux as your main OS? If that's the case, writing it to the USB Flash Drive using the method in my guide won't work (it's Windows-only). You should be able to use Unetbootin if you don't mind renaming a few files (it's the nature of the base OS). Information here. Unetbootin here.

Edit: If you have a Windows install or another machine with Windows, I would highly recommend using the Core2USB software mentioned in post #3 of the Toolkit thread.

~co~


No, I dont use linux a lot. I'm usually running windows 7 32bit. I tried the Core2USB and installed it on my usb flash drive, then rebooted my system, but it just booted me back into windows 7 OS. It didnt even give me the option to choose the usb flash drive.. So I'm just doing it all the manual way, I think...
 

closeone

Senior Member
Jan 11, 2012
1,098
1,463
Something is going on here, I'm trying to run the "chmod 755 downgrade" command but end up having to run it like this "chmod 755 downgrade/downgrade" to get the correct permissions, then the next command goes "./downgrade" but I also end up having to "./downgrade/downgrade" but then it says it's missing the misc img??? I checked the downgrade.zip and IT DOES contain the file "misc.img". So what is going on here?

It's looking for the two image files from the directory that you started the ./downgrade script from. ./downgrade/downgrade. Move the downgrade script up one directory or change directories and then run the script.

That should work.

~co~
 
  • Like
Reactions: sniperkill

sniperkill

Senior Member
Sep 27, 2010
1,648
320
Maryland
It's looking for the two image files from the directory that you started the ./downgrade script from. ./downgrade/downgrade. Move the downgrade script up one directory or change directories and then run the script.

That should work.

~co~

Yeah, thank you. I just figured that out RIGHT before I read your post, lol... Well here goes the rest! I'll hit you guys back if I run into anymore problems, lol...
 

Unknownforce

Retired Recognized Developer
Nov 18, 2008
2,044
4,268
So now the only option we have is to use the tool kit cd/usb thing? What happens if we already have Ubuntu installed, and we dont need to run it off of a usb drive or a live cd? How do we use the tool kit in this case?

Only option? It's made easier now...

Just follow the directions, just extract to ubuntu homefolder, chmod the downgrade file and ./downgrade

It's quite simple..
 

KL45SiiK

Senior Member
Dec 30, 2011
209
16
Can someone help me... when i put the PG86IMG on the sd card and go into bootloader it says if i want to update... and when i press vol up to update the phone turns off instantly.. am i doing aything wrong?
 

.Elite_The_King.

Senior Member
Sep 26, 2011
892
203
Los Angeles
Can someone help me... when i put the PG86IMG on the sd card and go into bootloader it says if i want to update... and when i press vol up to update the phone turns off instantly.. am i doing aything wrong?
Its probably the powersource not enough maybe try pressing the update with the battery in then count 4 sec to take the battery out to brick it work for me but let it sit for 2 mins before pressing the update.
 
Last edited:
  • Like
Reactions: closeone
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 269
    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://xdaforums.com/showthread.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.
    67
    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.
    17
    OK, so the whole "bounty" thing needs to be addressed, cause there's still some controversy here. (I will be posting this in both the downgrade thread and the bounty thread)

    First thing... I started this whole shebang simply self motivated, I refused to use HTC Unlock and I wanted root... so I manned up, focused on the light at the end of the tunnel and we're here now.

    With that said... I'm not going to "demand" a collection on this "bounty"... you guys chose to sign up for it of your own free will, you have the choice to do what you want whether you choose to honor that agreement or not, I don't really care as I have a far greater prize in my hands that says 1.40.1100 S-OFF.

    Secondly, there have been comments made that it should go to other individuals as well, I have spoke with these people directly, via PM's. And they have all came back with the same thing, in basic terms... it was I that found the method for OUR device. They are not looking to collect on this, but obviously if you feel like donating to them anyways, more power to you. I PERSONALLY will be sending THEM donations for giving me the tools that I needed to accomplish this task.

    So I say again, I am NOT going to hound people for this bounty that was created, nor am I going to list out those that have and haven't donated, I feel that's tasteless, and accomplishes nothing.

    I will, though, take this time to thank each and every person who HAS donated and/or will be donating, as this was a painfully long process to get accomplished, and these beers are gonna be great :)
    15
    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
    14
    Well, I'm back on 1.50.0000 and S-ON. Ready for when I get home... Hopefully all goes well tonight... should have an update in like two-three hours.