• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Downgrade H-boot 1.15 or 1.19 for S-OFF

Rxpert83

Dr. Feelgood
Aug 30, 2011
17,908
13,152
MN
I've always said not to take the OTA from 1.15 to 1.19 (mainly over on XDA, we don't seem to have people taking it here :)), and those that didn't take it just had it pay off :D!!!!

You can now downgrade H-boot 1.15 or 1.19 to 1.12 and gain S-OFF

Details:
http://forum.xda-developers.com/showthread.php?t=1932914



I wouldnt try it just yet, wait for it to be worked over with a fine tooth comb by the devs
 
I've always said not to take the OTA from 1.15 to 1.19 (mainly over on XDA, we don't seem to have people taking it here :)), and those that didn't take it just had it pay off :D!!!!

You can now downgrade H-boot 1.15 to 1.12 and gain S-OFF

Details:
http://forum.xda-developers.com/showthread.php?t=1932914



I wouldnt try it just yet, wait for it to be worked over with a fine tooth comb by the devs
Wow, that's pretty cool. I'm glad I'm already S-OFF seeing how much havoc it's creating for people. But who knows if I'll end up needing a refurb and hopefully it wouldn't be worse than 1.15
 
Upvote 0
Updated instructions: I would still recommend waiting for an automated solution
Confirmed working for 1.19

I just downgraded successfully again. Mac_Gyver, you may want to add this to the OP for easy reference... and THANKS for getting the ball rolling on this. You gave me enough information to take this and run with very little experience messing with low-level Android (but a little bit of Linux under my belt) :p

Here are some highlights:

  • SU/Root is not needed for this to work. TWRP Recovery is needed however, so you need to unlock your bootloader.
  • You will get the *** TAMPERED *** flag when you load the bootloader after doing this.

What I did before repeating this process:
  • Relocked my bootloader (fastboot oem relock)
  • Flashed Sprint 2.13 RUU with 1.12 Radio and 1.19 HBoot (and verified that it did indeed update HBoot again)

None of this is required, as I originally downgraded with Fresh 5.3.1 loaded. I just wanted to see if root was needed, and it isn't.

This was done on Kubuntu Precise (12.04) x64 but should work on any flavor of *buntu, Fedora, Debian, etc.

You will need:

  • EDIT: I've attached a file to this post with everything needed.

Standard disclaimers about this procedure possibly wiping out your entire extended family apply.

What to do:

Preparation: Unzip all the attachment files into a folder in your home directory. Open xterm/konsole/your favorite shell. CD to the folder you dumped everything into. Then:
Code:
$ chmod +x adb
$ chmod +x fastboot
$ chmod +x emmc_recovery_new
$ chmod +x brickdetect.sh


1. Unlock your bootloader with HTCDev Unlock (If you haven't already, So we can load TWRP)

2. Reboot to Bootloader (power+vol dn). Enter Fastboot. Plug your phone into the computer. (Duh)

3. Flash the TWRP Recovery image. This gives us ADB Shell ability before the ROM loads. (Maybe there's another way to do this?)
Code:
$ ./fastboot flash recovery openrecovery-twrp-2.1.8-jewel.img

4. Reboot the phone again. Enter Recovery. Just leave it at the main screen of TWRP.

5. Now we need to push the broken block 4 file onto the phones internal storage.
Code:
$ ./adb push ./spoofpartitions/mmcblk0p4 /sdcard/spoofp4

5. Enter ADB shell.
Code:
$ ./adb shell

6. Now we backup our current block 4 to internal storage so we can restore it later.
Code:
shell> dd if=/dev/block/mmcblk0p4 of=/sdcard/bakp4

7. Then we flash the broken block 4 in its place.
Code:
shell> dd if=/sdcard/spoofp4 of=/dev/block/mmcblk0p4

8. Now we EXIT shell. It is VITALLY IMPORTANT not to reboot the phone yet! You are kinda boned if you do.
Code:
shell> exit

9. Grab the backup block 4 from internal storage.
Code:
$ ./adb pull /sdcard/bakp4 ./bakp4

10. NOW we reboot.
Code:
$ ./adb reboot

*POOF* Your phone is now a brick. Hooray!
It won't even appear to turn on, nor will you have a charging light. This is normal.

11. Let's see if Linux sees the phone.
Code:
$ sudo dmesg | grep "qcserial"

You should see "Qualcomm USB modem converter detected" as the last line of the output. If not, you can unplug and replug the USB cable or run...
Code:
$ sudo modprobe qcserial
...to reload the driver.

12. Reset the driver, which removes any old block devices associated.
Code:
$ sudo modprobe -r qcserial

13. Now create the block device that emmc_recovery needs.
Code:
$ sudo mknod /dev/ttyUSB0 c 188 0

14. Emmc_recovery needs to know what disk to write to. An easy way to find this out is to run
Code:
$ sudo ./brickdetect.sh
Which will tell you if it sees your bricked phone, and also give the proper disk. Mine was /dev/sdc and so I use that in the following instructions. Replace /dev/sdc* with /dev/sdb* or /dev/sdd* or whatever yours is.

15. Now we load the 1.12 HBoot (how exciting!)
Code:
$ sudo ./emmc_recovery_new -f ./hboot_1.12_0000_signedbyaa.nb0 -d /dev/sdc12 -c 24576

You can hit enter at all of the prompts here. If it stalls at "Waiting for /dev/sdc12, hold the power button down on your phone for more than 30 seconds, then release it. 10 seconds or less after you do this, emmc_recovery will see your phone and proceed. Flashing Hboot will take several minutes, as it has to load data in ~23K chunks followed by a reset after each.

16. Once that is finished. We have to reset the qcserial driver again.
Code:
$ sudo modprobe -r qcserial

17. And then recreate the block device.
Code:
$ sudo mknod /dev/ttyUSB0 c 188 0

18. Now we restore our original block 4.
Code:
$ sudo ./emmc_recovery_new -f ./bakp4 -d /dev/sdc4 -c 24576
Again, if it hangs, hold your phone's power button for more than 30 seconds then release. This file will flash very quickly (it's only 1K) and once it completes, you'll immediately notice that your chargin light turns back on.

19. Unplug your USB cable and hold the power button to hard reset the phone. In a few seconds you'll be greeted by the familiar HTC screen. Enter bootloader and check out your HBoot version. 1.12!

20. Look for some pandas to feed.

I['m sure someone will boil this process down even further or script it. Hopefully this lets folks willing to brave a Linux shell accomplish this now though.
 
Upvote 0
And that automated tool should be soon :D

This is what happens when I sleep though a lot of the day. Oops.

Thanks to yarrimapirate for the confirmation of partitions that have to be "zapped," you can expect a release of the new HBOOT Downgrade Toolkit by the end of the day (or soon thereafter). ;)

~co~
 
Upvote 0
going to get s-off on mine tonight (i'm hboot 1.12, went s-on 3 days after recieving my phone). Ive been watching this avadily the last couple days though, this is amazing work! I was going to root my wifes phone to s-on, now i think I'll wait for a scrited version of this. why go s-on and have to fart around with recovery to flash roms, when I can roll back to 1.12 and get s-off! 3 cheers for RXpert :D:beer:
 
  • Like
Reactions: Rxpert83
Upvote 0
going to get s-off on mine tonight (i'm hboot 1.12, went s-on 3 days after recieving my phone). Ive been watching this avadily the last couple days though, this is amazing work! I was going to root my wifes phone to s-on, now i think I'll wait for a scrited version of this. why go s-on and have to fart around with recovery to flash roms, when I can roll back to 1.12 and get s-off! 3 cheers for RXpert :D:beer:

Thanks for the three cheers,:D but I am just alerting you guys here that someone was able to do it. The real devs at xda are hard at work getting this simplified.

In my excitement to post I forgot to do my usual "this is not my work" at the top, so let me be clear that I had nothing to do with this discovery, just reposting it here to keep everyone n the loop. :cool:
 
Upvote 0
Reminds me of the night Ocn posted the Revolutionary method for the OG Evo!

that was cool! :)

cool for you, crazy for me:(:eek::D i was bombarded with soooooo many peeps on that day. i even called in sick so i can get the grasp of revolutionary and help folks get their root on. it was pretty crazzzzzy day for me that is for sure. and big thanx for granite and others who finally stepped in to help those few days after revolutionary was released.

this looks super cool. once the automated tool gets released i will add this in to the guide.
 
Upvote 0
I'm seriously tempted to try out the newest method. It's getting really hard to hold out. There are step by step instructions. But if any tiny thing goes wrong I have no clue how to fix it. Every day I cross my fingers while this site is loading just hoping to see an update saying "easy one click downgrade method".
 
Upvote 0
cool for you, crazy for me:(:eek::D i was bombarded with soooooo many peeps on that day. i even called in sick so i can get the grasp of revolutionary and help folks get their root on. it was pretty crazzzzzy day for me that is for sure. and big thanx for granite and others who finally stepped in to help those few days after revolutionary was released.

this looks super cool. once the automated tool gets released i will add this in to the guide.

And we thank you SO MUCH! :p Even if i didn't get to sleep myself that night til 2 or 3 hours later than I was planning on! :D
 
Upvote 0
Now the downgrade is automated! Check it out: http://forum.xda-developers.com/showthread.php?t=1940512

Unfortunately I just get "FATAL: Failsafe P4 size mismatch"

But it has apparently worked great for others.

oh nice. gonna read this now. maybe sat or sun i will add this into the guide. i just need to figure out where and how to put it in.

thanx windsorclarenc

edit:so i might wait until there is a live cd version for this. but i'm looking to add it in to the guide at some point.
 
Upvote 0
Yeah I got way too impatient. But it worked! I'm now on hboot 1.12 from hboot 1.15! It was terrifying INTENTIONALLY bricking my phone, but worth it. Now to feed the panda...

NICE!!!!!!!!!!!!!!!!

so what happened with this?
Now the downgrade is automated! Check it out: http://forum.xda-developers.com/showthread.php?t=1940512

Unfortunately I just get "FATAL: Failsafe P4 size mismatch"

But it has apparently worked great for others.
just so that we can help others when trying this.
 
Upvote 0
Oh I thought I was on 32 bit Ubuntu, but I turned out I was using 64 bit Ubuntu. I had to install the 32 bit libraries. Then fairly smooth sailing from there. I hit a few bumps, but if I can overcome them you guys certainly can. I know some people have had it just go perfectly.


Buuuuuut, I messed something else up. I successfully downgraded to hboot 1.12. But then I tried to run Lazy Panda and it tried to reboot my phone. The screen went black and Lazy Panda just kept waiting and waiting. Then I read you should downgrade to a 1.13 based ROM. I didn't do that before hand. Now my phone is bricked. Is there a way to check and see if it's able to be saved?

(On Ubuntu) when I type the command "lsusb" it shows up as: Bus 001 Device 069: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode). I think this means it's bricked, but can be saved?

I just tried to use the LazyPanda unbricker and it acts as if everything went fine, but my device is still a brick. And Ubuntu sees it as a brick. I'm beginning to fear this may be the end for this Evo.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones