yashsingh1/xdaforums huggingface dataset:
[Sprint HTC EVO 4G LTE] bivrules:
Finally!

After two days of the computer not seeing my phone, I finally got my phone to 1.12 hboot thanks to everybody that helped me, thanks to Yarrimapirate. I figured out what I was doing wrong...I did not put the correct "/dev/sdX" when flashing the hboot, so it didn't target my phone. When my phone finally came to life from its two day coma, the phone was completely out of battery so I'm recharging it now. I have the 2.13 RUU stock ROM flashed on my phone right now, has anyone tried using Panda with this RUU flashed? I know it says only use panda with 1.13 RUU but I think mine will work.
[Sprint HTC EVO 4G LTE] benny3:
I used the 2.13 firmware but flashed a stock rooted 1.13 rom.the main thing is not to have a modified build prop, you need a stock one
[Sprint HTC EVO 4G LTE] Punk9:
I am a HTC EVO 3D user. I had to do the downgrade from hboot 1.5 to 1.4 to use rEVOlutionary to s-off. A friend of mine asked me to s-off his HTC EVO LTE (on hboot 1.19). So I looked at this thread and though "it's pretty much the came concept why not?"

So today we get Ubuntu on a live Cd (12.04). Download all the files and I let the tool do it's thing. It got to a point where it was like "Writing 24567 (not the same number, but it said a number) bytes to offset x(again, random things here). and it did this over and over and over again.

So reading the thread, I was like "okay, just leave it here" so we did. Then the computer just shut down right in the middle of it. It was on the school lab computers so i have no idea what happened.

So, since it was a live CD, it crashed and poof, the backup that the tool made was gone and his phone was bricked. (stuck in the Q mode I assume)

So we booted back up and tried the recovery commands (-u, -r etc) but it said "FATAL NO P4 FOUND" or something along those lines.I looked over at LazyPanda's "Unbricker" (found here http://unlimited.io/lteunbricker.htm ) (sorry if I'm not suppose to link him, just trying to point out what I'm talking about)

So we gave it a try, found out the the "x" in the dev/sdX was g. So we did it and it went through just fine. It was saying "Panda eating bamboo 1/11, 2/11, 3/11 etcetc. until it finished.

It finished. So we tried to boot on the device but it didn't want to boot. Still at the black screen. So we ran it again, it saw the device and did 1-11 again just fine. Tried to boot, it didn't. Tried a third time and now it hangs on the tool. It sees the device and finds one file or partion or one something so I'm thinking the brick is still recoverable.

I looked all over the thread and I'm stuck now. Anything I can do?
[Sprint HTC EVO 4G LTE] benny3:
Go HERE This is the manual steps

try this

$ chmod +x adb

$ chmod +x fastboot

$ chmod +x emmc_recover

and then start from step 11
[Sprint HTC EVO 4G LTE] om4:
This is why users need a persistent install, a flash drive with a persistent install will allow you to use the live distro and save all files
[Sprint HTC EVO 4G LTE] yarrimapirate:
You will need to generate a new bakp4 file. You can do this by hex editing the file blankp4 and adding in the phone's MEID at offset 0x21c, or if you feel comfortable with it, PM me the MEID and I will make one for you.

I have code which will automatically do this that I need to merge into the current script. I just haven't gotten to it yet.
[Sprint HTC EVO 4G LTE] fltinstructor:
yarrimapirate,

I have found that your manual method is pretty forgiving. In doing some testing of the Boot CD closeone is developing, I have had several non complete writes where it wouldn't load P4. I have even changed computers and USB ports and still recovered the device.

If you go back to step 11 in your OP and start over all will be forgiven. I have even wrote the H-bott 1.12 and not found the P4 (bakP4) sopped there and just ran steps 16 - 18 and it boots right up!! I have to make sure I use the drive assigned and change it in the script highlighted in red here $ sudo ./emmc_recover -f ./bakp4 -d /dev/sdc4 -c 24576 (mine was "d"). The bakP4 file is still on the phone from step 6. After a reboot and setting the phone to USB disk drive you will see it on the internal and external SD card. It doesn't go

away

, the phone is still sleep in Qualcomm Loader status.

I have restored and "bricked" this phone over the last week too many times to count. This method is pretty good if you follow the basic commands. Am I certainly am no expert but can follow directions. :good:

Something else I discovered by accident, I ran a 1.13 ruu to restore my phone to locked status for another test session with closeone. I was on 2.13 software though with Hboot 1.12. The tool recognized the software on the phone as 2.13 which I had Hboot downgraded from 1.19. The ruu ran and put the phone back as "locked" bootloader. with 1.13 software. NO BRICK!
[Sprint HTC EVO 4G LTE] yarrimapirate:
So Sprint got my new phone in today.

I've had it since this afternoon. I haven't even put my gmail accounts in yet, I've spent all night flashing and reflashing bootloaders onto it. :eek:

The script is working very consistently here. I need to hear back from a couple more testers with their results and I think we may be ready!

/happydance
[Sprint HTC EVO 4G LTE] dimqs153:
so tempted to try this
[Sprint HTC EVO 4G LTE] sunilromy:
Thanks bro.

I am on viper rom.

I m trying to Soff from the day your script is out but till yet not succeeded.

I have downloaded both ruu, 1.12 and 1.19.

I had a copy of 64 bit ubuntu, which i downloaded for downgrading evo 3d.Its gives adb directory or file not file error. ****. For that again you need to download ia32.lib and openjdk, both around 700 to 800mb.

if anyone planning to download ubuntu please go only for 32 bit or you will stuck with other and need to download library to make it run which is huge 530mb approx.

Instead of downloading ia32.lib, I have downloaded ubuntu 12.0 32 bit.

I tried to install from virtual cd but its doesnt work. I am burning it on real CD.

Hope in couple of hours i will be Soff. thanks again.
[Sprint HTC EVO 4G LTE] Ladicx:
Me too, holding out just a tad bit longer. I've seriously read every single post related to this topic in the last week or so.

I'm a novice linux user (spent 6 months playing with a few distros, loved linux mint) and I'm 99% sure I could pull this off. I've had 2 bricked EVOs already since the phones release and last time it took about a week to get my second replacement.

These guys are soooo close to making the process A TON easier for us. I'd just wait a little longer. Hell I've waited a few months on hboot1.15. A little longer won't kill me....I hope :p

Sent from Mars on Badseed Customs
[Sprint HTC EVO 4G LTE] ASAPSEVEN:
I used the windows installer method I Dont know if it gave me 32 or 64 bit how can I check?

My dell xps is 32 and 64 bit compatible and I'm running windows vista home premium if that helps....
[Sprint HTC EVO 4G LTE] benny3:
Open a terminal window and then enter and run the command file /sbin/init

Note: You can use the keyboard shortcut CtrlAlt+T to open a terminal window.

If you have the 32-bit version of Ubuntu the result should contain ELF 32-bit as in the example below.

/sbin/init: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV) ...

If you have the 64-bit version of Ubuntu the result should contain ELF 64-bit as shown below.

/sbin/init: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV)
[Sprint HTC EVO 4G LTE] jdcasino:
DeleTeD
[Sprint HTC EVO 4G LTE] sunilromy:
If OP would specify this on main thread, abt 32bit would really save time for linux novice or first time installer. Once live cd is up then no need.
[Sprint HTC EVO 4G LTE] kf2m:
I cannot wait to try this, getting my replacement phone in a couple of hours...
[Sprint HTC EVO 4G LTE] om4:
Silly people and your complicated command line, just hit super (windows key) and type system info, it's on the main page :D
[Sprint HTC EVO 4G LTE] kjcmusic17:
If you can pm me the dropbox link, I'll test it again now that I have a little more experience with Linux and getting the libraries downloaded.
[Sprint HTC EVO 4G LTE] xlxcrossing:
So I am currently flashed to Boost mobile and want to upgrade my firmware because I am having battery issues. I did the downgrade method on my EVO3d and didn't realize if you have a flashed phone it resets the data profile to sprint stock meaning its no longer "flashed" to boost. I had to pay someone to flash it because I don't know how to do it but I've heard in bits and pieces you can copy all the info before you brick for the downgrade and restore this information after downgrading. If I felt confident with enough info about it I would try but I'm not entire sure about it at this point. I'd be stoked if anyone could whip up a short guide on how to.
[Sprint HTC EVO 4G LTE] KEYofR:
Hmm, didn't do squat for me. But that's no surprise, keyboard bindings and desktop environments are variable. Yet commands, at least the right ones, work the same for everyone.

Myself I would have said to run "uname -a" , because answering this kind of question is exactly what that utility is for, guaranteed to exist on any box, old as the hills, works on any unix-like not just linux, etc.

But checking the file type of /sbin/init is interesting.

The command itself is less obvious or direct, but the output from that is more consistent across different versions and distributions and easier to tell the unfamiliar what to look for out of it than what uname puts out. It even says literally "32-bit" or "64-bit". uname only says a range of possible things like i386, i586, i686, x86_64, and it's up to you to know that i686 is 32bit.
[Sprint HTC EVO 4G LTE] bartcrusades:
Thanks pirate ol' buddy ol' pal!
[Sprint HTC EVO 4G LTE] {ParanoiA}:
http://xdaforums.com/showthread.php?t=1932914
[Sprint HTC EVO 4G LTE] yarrimapirate:
Public Beta is up. I dare you to break it.
[Sprint HTC EVO 4G LTE] popper668:
dg112.sh where is it?

root@CPU:/home/m/EVO4GLTE112DG# chmod +x dg112.sh

chmod: cannot access `dg112.sh': No such file or directory
[Sprint HTC EVO 4G LTE] yarrimapirate:
Linked older archive by mistake. Apologies.

Download the new attachment.
[Sprint HTC EVO 4G LTE] popper668:
root@CPU:/home/m/evo4glte_hboot# /home/m/evo4glte_hboot/dg112.sh

bash: /home/m/evo4glte_hboot/dg112.sh:

/bin/sh^M: bad interpreter

any clue?

i figured it out the file is saved as windows format, i just save it as linux/unix and it works...
[Sprint HTC EVO 4G LTE] EVOMIKE025:
Damn it, I wanna try it so bad.. just afraid of running into error and not having a net connection for troubleshooting... Should I give it a go??!!
[Sprint HTC EVO 4G LTE] yarrimapirate:
I have a way to build a P4 backup on the fly after the phone is bricked, which will alleviate the need for a backup being saved.

It will show up on the next code commit, and I will update the package in the OP when it's there.
[Sprint HTC EVO 4G LTE] LinkDJ:
I'm on Stock 2.13 firmware and I'm trying to flash the 1.13 stock rom provided on the LazyPanda page, but after following the directions:

Step 1. fastboot oem lock

Step 2. fastboot erase cache

Step 3. fastboot oem rebootRUU

Step 4. fastboot flash zip PJ75IMG.zip

On the 4th step I get the following:

C:\android-sdk\platform-tools>fastboot flash zip PJ75IMG.zip
sending 'zip' (593349 KB)...
OKAY [ 22.853s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) checking main version...
FAILED (remote: 43 main version check fail)
finished. total time: 93.801s
[Sprint HTC EVO 4G LTE] benny3:
All you need is the stock rom , copy it to your scard and flash in recovery

Here is a link to a stock rooted 1.13 rom

http://xdaforums.com/showthread.php?t=1677264
[Sprint HTC EVO 4G LTE] SouL Shadow:
I take it you got my message the other day :)

Sorry I seem to have missed all the excitement, but Sandy did a number on us here in New England. Spent all day cutting up downed trees. (I love my chainsaw)

-SLS-
[Sprint HTC EVO 4G LTE] yarrimapirate:
Actually I totally missed it! But great minds think alike at least. I did mine a little differently, I'll send you a message about it later.
[Sprint HTC EVO 4G LTE] SouL Shadow:
ah, ok. well it IS fairly simple :)

anyway, i'm off for a 3rd day now because of hurricane Sandy, so i'll be around.
[Sprint HTC EVO 4G LTE] DisplacedMic:
i got the exact same message. when i tried talking to their support people about it they told me that i didn't really downgrade...not sure what's up - i've sent a pm to closeone to let him know.

it's weird - my phone definitely says hboot 1.12
[Sprint HTC EVO 4G LTE] yarrimapirate:
Despite what some well meaning (but misinformed) people may have said, if your HBOOT version says 1.12 then you have successfully loaded the signed HBOOT 1.12. Downgrading firmware versions via RUU can be problematic however. I recommend you grab a copy of Fresh 5.1.1 and flash that before attempting LazyPanda. I haven't heard of a case yet where that ROM didn't work smoothly and it is on their recommended list in the thread here on XDA.
[Sprint HTC EVO 4G LTE] DisplacedMic:
roger that - will do.

i can't do it right now because my wife is in labour!

but it is encouraging that fresh 5.1.1 is the way to go.

so today i get my Son and my S-off? best day ever!!!
[Sprint HTC EVO 4G LTE] yarrimapirate:
Congrats! My wife had our 3rd child on the 20th of this month.
[Sprint HTC EVO 4G LTE] benny3:
Congrats! and Congrats!. I do have to say that i'm glad my youngest is almost 21...lol
[Sprint HTC EVO 4G LTE] scottspa74:
@fltinstructor

You're saying you successfully downgraded firmware and didn't perma brick?

And congrats to the Son and S-off guy :thumbup::beer:;)

hurled from my AOKP'd Evo LTE. Enjoy.
[Sprint HTC EVO 4G LTE] fltinstructor:
That's right. I don't know why anyone would want to go back. I did it because i had the wrong RUU selected. Since the Hboot was 1.12 I suspect it was compatible and allowed the "downgrade" to the RUU. The RUU command clearly said "Current software 2.13" and the upgrade block below had "1.13". In the past if you tried to change software it would tell you to select an RUU that was compatible and stop.

I do not recommend this. I did it mistakenly and then did it on purpose yesterday again to see if it was an aberation.
[Sprint HTC EVO 4G LTE] SouL Shadow:
After running lazypanda the software will allow doing that. However, as observed in one of the firmware threads, some firmware works fine regardless of version, but other firmware will cause a brick if combined wrong. So far it's not yet clear which combo's are good or bad. Very little testing of that has been done mainly because we don't yet have a way to recover from such a brick. Although it *might* soon be possible.

The biggest problem is that not every firmware package contains all the images. So downgrading firmware doesn't always replace everything that was previously upgraded.

That being said, the safest way to downgrade would be via ruu, as this usually contains the most complete set of firmware. But even these might be missing an image or 2.

-SLS-
[Sprint HTC EVO 4G LTE] cfbauer:
I got an error running LazyPanda on Fresh 5.1.1. Could very easily have been user error as I'm still learning this stuff.

Had a heck of a time figuring things out. I visited the Unlimited IRC chat, they had me re-lock my bootloader to RUU to 1.13. They were upset with me for using Fresh Rom, which I had done since the XDA Lazy Panda thread has a ton more documentation than theirs which says to RUU to 1.13. They had me try to RUU, which I did, but couldn't, got stuck, and was unable to boot. They ad me re-flash stock, which upgraded me back to HBOOT 1.15. :/ Then they said to wait for "something new" rather than downgrade HBOOT again.

The whole thing was a bit of a nightmare. This time I'm going to do everything again but run LazyPanda from my Windows partition as that method is a lot more documented.
[Sprint HTC EVO 4G LTE] yarrimapirate:
If you have trouble with Fresh 5.1.1, you can try 5.3.1 which is based around the 2.13 firmware. That's what I used (with no trouble), however I figured I'd refer to what the XDA thread for their stuff has said.

Alternately, there's always the SuperCID trick. http://xdaforums.com/showthread.php?t=1771069 Since your Hboot is already downgraded, it's a nonissue in RUUing older firmware.

I've also heard the Windows LP works better than the Linux version.

Shoot me a PM if you get stuck again.
[Sprint HTC EVO 4G LTE] yarrimapirate:
Actually, read the OP. The tool will do SuperCID for you now, even if you already downgraded.
[Sprint HTC EVO 4G LTE] fltinstructor:
Just keeps getting better. ;)
[Sprint HTC EVO 4G LTE] SouL Shadow:
Also, you don't need to use the ruu. Simply make your backups (titanium, nandroid, sdcard), flash the rooted stock rom, if on windows double check your drivers are all correct, then run lazypanda.

I wonder if we could add this as an automated process? Of course the lazypanda tools must be download separately.

-SLS-
[Sprint HTC EVO 4G LTE] yarrimapirate:
All true, but people are still going to # for support, and they are apparently making people RUU.

Zapping in a rooted 1.13 package could be done, since LP is the last step in the process.
[Sprint HTC EVO 4G LTE] cfbauer:
Ok, I re-unlocked the bootloader, downgraded hboot, flashed fresh 5.1.1, now getting a "cannot find the panda" error when running LazyPanda.

Going to try Fresh 5.3.1 before the Unlimited's recommended stock since it requires relocking the bootloader and it didn't go all that well last time.

edit: Well LazyPanda ran with Fresh 5.3.1, but once again, this time in Windows, it's stuck "Waiting for device..."

I know you're supposed to let it run for awhile, but it's at 500 seconds now when it was supposed to be 30 seconds. Guess it's back to Linux to unbrick...not sure what I'm doing wrong.

edit2:950 seconds, I think I'm down for the count

edit3: Unbricked, went back to Windows to try Unlimited's supplied 1.13. Having been unable to fastboot flash the 1.13 firmware last time, I tried the .exe version, which failed about halfway through and said "unable to update". Now it's almost 3 am, have been working on this for about 3 hours, and I have to go to work in 6 hours, so I'm going to give up for the night.
[Sprint HTC EVO 4G LTE] thoughtlesskyle:
is it normal for the script to repeat the following over and over

waiting for device /dev/sdXXX......

Found Device!

writing 24576 bytes at a offset (this number always varies)

waiting mode-switch

device changed mode

detected mode-switch

ready to write 24576 bytes

resetting device

reset command sent

then just repeating this over and over?

sometimes i will get a Timeout! Resetting Device.

am i screwed?
[Sprint HTC EVO 4G LTE] lawnguy:
kyle, this is the script writing hboot!!!! Success!!!
[Sprint HTC EVO 4G LTE] thoughtlesskyle:
**** it went on endlessly so i closed the terminal can i get it back?
[Sprint HTC EVO 4G LTE] lawnguy:
-r or the -u command from the op will get you there

-r
[Sprint HTC EVO 4G LTE] thoughtlesskyle:
what would the line in terminal look like
[Sprint HTC EVO 4G LTE] lawnguy:
hold on a sec and I'll find it

I think Its just -r
[Sprint HTC EVO 4G LTE] thoughtlesskyle:
nvm i get it going

now its saying please connect device

error flashing hboot 1.12!

i did unplug my usb cord after i closed terminal whats the best way to get it up again
[Sprint HTC EVO 4G LTE] lawnguy:
Here's yarrimapirates quote:

If you go back to step 11 in your OP and start over all will be forgiven. I have even wrote the H-bott 1.12 and not found the P4 (bakP4) sopped there and just ran steps 16 - 18 and it boots right up!! I have to make sure I use the drive assigned and change it in the script highlighted in red here $ sudo ./emmc_recover -f ./bakp4 -d /dev/sdc4 -c 24576 (mine was "d"). The bakP4 file is still on the phone from step 6. After a reboot and setting the phone to USB disk drive you will see it on the internal and external SD card. It doesn't go away, the phone is still sleep in Qualcomm Loader status

You will need to do ls USB? to find drive
[Sprint HTC EVO 4G LTE] thoughtlesskyle:
im not sure if i know what that means i assume this is talking about the manual downgrade thread
[Sprint HTC EVO 4G LTE] lawnguy:
yes its the manual thread. sorry...
[Sprint HTC EVO 4G LTE] thoughtlesskyle:
so even though i unplugged my usb cable my phone is still alive in this dead state?

wait got it going again thanks for all your help, now i am going to stop touching it
[Sprint HTC EVO 4G LTE] lawnguy:
Yes it's totally recoverable. The bakp4 was made before brick. Then you'll lsusb and once you run the chmod commands you just do the $ sudo ./ emmc_recover command in the quote earlier form pirate. You must lsusb since you unplugged.
[Sprint HTC EVO 4G LTE] thoughtlesskyle:
yea i did -u to do the unbrick

then ran -r and was able to start the hboot writing process again first try

it did crash my linux installation though haha
[Sprint HTC EVO 4G LTE] lawnguy:
Report back and let me know, plus these guys in here are super helpful anyways. I have tried this thing out with someone else holding my hand and i totally trust this method 100%. I am not really the guy to ask but, its all in here.
[Sprint HTC EVO 4G LTE] thoughtlesskyle:
thanks man, i'm not a noob when it comes to this stuff but anytime the term "brick" is used i get worried, also when i ran the script the first time it never warned me of the redundant output or else i would have just left it alone
[Sprint HTC EVO 4G LTE] lawnguy:
BRICK!!!! totally make me a nervous person, especially when you can't get a charging light. But, I was bricked repeatedly and everyone was fixed and downgraded everytime. I know you develope here so I know you are not new to this. It's just that word that makes it scary.
[Sprint HTC EVO 4G LTE] thoughtlesskyle:
hboot 1.12 just seen on my phone and i am currently back in userspace, thank you for all of your help
[Sprint HTC EVO 4G LTE] lawnguy:
My Pleasure!:cowboy: I'm glad i coould help!!! Have fun:good:
[Sprint HTC EVO 4G LTE] yarrimapirate:
I missed all the excitement. Glad to see you're back on track.

It's rather silly how forgiving this method is.

Thanks to the guys in this thread who chip in with support as well. This community is pretty amazing.
[Sprint HTC EVO 4G LTE] lawnguy:
I wanted to compliment you for this tool. Also, I wanted to say thank you for maintaining professional conduct when you easily might not have.

Your additions to emmc_recover are really something. I did a bit of testing with closeone early on and he got me back multiple times with that tool. Very impressive. Good job sir. I've learned something new from this. Thank you. Sent you a donation early on as well as Mac too. You guys made a significant discovery and tool.
[Sprint HTC EVO 4G LTE] thoughtlesskyle:
Yea especially because it's like the best kind of brick to have, the one where it's in a mode to accept anything flashed to it, thank you for the tool to do so

Also for the record, my distro of choice was mint and it performed flawlessly
[Sprint HTC EVO 4G LTE] DisplacedMic:
hey guys - i successfully ran LP but ended up with an unactivated phone - similar to Talamor in post #371 of this thread.

Phone connected to 3g and everything worked except for mobile networks.

I just wanted to confirm both what Talamor and Yarr said that you can just either have Sprint activate it for you, or run the activation command in the settings of your sense rom.

LP will leave you in the bootloader so that you can confirm that you are indeed s-off.

My phone tried to activate automatically when i first booted up - but that never worked.

If that happens to you just do it manually from settings.

My phone is up and running - S-off, Fresh 5.3.1

briefly

After downgrading, I flashed fresh 5.3.1

then I ran lazy panda in linux mint 13

then i activated

all is well!

Thanks again to Closeone and Yarr for all their help

and thanks to Talamor for keeping me from panicking over the activation issue.