yashsingh1/xdaforums huggingface dataset:
[Sprint HTC EVO 4G LTE] long_tall_texan:
This was so easy. I have had ZERO experience with Linux until today. Downloaded and made Ubuntu 12.04 LiveCD and then used this tool.

Got it all done. HBOOT 1.15 downgraded to 1.12 in about 15 minutes.

LazyPanda S-Off -> Brick -> UnBricker -> LazyPanda S-Off again -> PASSED - about 20 miutes

All good on S-OFF again with my replacement LTEvo.

Now to update firmware, and restore MeanROM 5.5.
[Sprint HTC EVO 4G LTE] bivrules:
Alright... I downloaded the package, installed Ubuntu 12.04 32bit , cd to the folder, did the first two commands and stuck on the part where it says.....

[sudo] password for bivrules :

Then nothing happens, I tried waiting forever, changing ports and usb cables. Can anyone help? My debugging is on.
[Sprint HTC EVO 4G LTE] Captain_Throwback:
Did you type in your password and press the enter key?
[Sprint HTC EVO 4G LTE] bivrules:
The keyboard stops working when it's on this message, only the enter key works, sends me to the next line and says password incorrect. I brought up the virtual keyboard as well on my screen to see if maybe it was something wrong with my keyboard but still no cigar.
[Sprint HTC EVO 4G LTE] SouL Shadow:
When you get to that, just type in your password then hit enter. Just cus you don't see your password doesn't mean it's not there.

-SLS-

---------- Post added at 05:09 PM ---------- Previous post was at 04:56 PM ----------

Ok, first, after all this your battery might be pretty low or dead. Plug the phone in to the wall for half an hour or more.

Once you've got some juice plug it back in to the computer.

Then turn the phone on (by holding only the power button, possibly for a minute or so) and run:

./dg112.sh -r

If that doesn't work, post again. Save any screen output from the script in case we have any more questions.

-SLS-
[Sprint HTC EVO 4G LTE] benny3:
did you hit the caps lock by chance? you can chang your password also
[Sprint HTC EVO 4G LTE] Matstarr:
well Im bricked and stuck on step 11 this is what im getting

3387.471178] qcserial: Unknown symbol usb_wwan_write (err 0)

[ 3387.471192] qcserial: Unknown symbol usb_wwan_suspend (err 0)

[ 3387.471204] qcserial: Unknown symbol usb_wwan_close (err 0)

[ 3387.471218] qcserial: Unknown symbol usb_wwan_release (err 0)

[ 3387.471231] qcserial: Unknown symbol usb_wwan_chars_in_buffer (err 0)

[ 3387.471243] qcserial: Unknown symbol usb_wwan_write_room (err 0)

[ 3387.471255] qcserial: Unknown symbol usb_wwan_disconnect (err 0)

[ 3387.471268] qcserial: Unknown symbol usb_wwan_startup (err 0)

[ 3387.471285] qcserial: Unknown symbol usb_wwan_resume (err 0)

[ 3387.471303] qcserial: Unknown symbol usb_wwan_open (err 0)

HELP!!! :crying: LOL
[Sprint HTC EVO 4G LTE] benny3:
Edit: ok i see pirate is helping you in the other thread

Have you tried a different usb port and start from step 12
[Sprint HTC EVO 4G LTE] SouL Shadow:
Hmm, looks like kernel module compiled for a different kernel version. Weird, what distro are you using and have you changed kernel's? If so, you just need to update the modules to match the kernel.

-SLS-
[Sprint HTC EVO 4G LTE] SouL Shadow:
You got 2 replys AND it fixed itself. Must be your lucky day!

-SLS-
[Sprint HTC EVO 4G LTE] benny3:
Glad you got it!! Enjoy
[Sprint HTC EVO 4G LTE] filmaker:
Hey, I'm probably doing something wrong, but I unzipped the archive (in the same folder I downloaded it) then navigated to it, chmod, and ran the SH file, but after that it can't reboot to the bootloader. It says "error: device not found" I do have USB debugging enabled.
[Sprint HTC EVO 4G LTE] corcgaigh:
Maybe have fastboot disabled in power settings. Try a diifferent USB port
[Sprint HTC EVO 4G LTE] evoforevo:
ok not a Linux user getting stuck on #5.cd to working directory. how do i get it to work I have my files unzipped on my desktop.
[Sprint HTC EVO 4G LTE] filmaker:
Thanks, changing the USB port fixed it, that's strange that it would cause the problem. So I ran the script, and just my luck that Ubuntu froze during the process, so anyhow I had to use the manual method (starting from step 11) to get everything back up and running. I'm actually surprised, it wasn't as difficult as I thought it would be. Great documentation!! :)
[Sprint HTC EVO 4G LTE] benny3:
when you type cd drag the folder containing the files into the terminal
[Sprint HTC EVO 4G LTE] filmaker:
Type in

cd Desktop/foldername
[Sprint HTC EVO 4G LTE] evoforevo:
so just leave my phone hooked up to the usb pc and the files will do the work automatically?
[Sprint HTC EVO 4G LTE] DisplacedMic:
Hi guys - i just rooted my phone use the regaw rooter so i'm now S-on, unlocked, hboot 1.15.

I see some people flashed a rom to upgrade their radios between unlocking and running this downgrade tool. is that necessary/advisable or can i get straight to it?

thanks!
[Sprint HTC EVO 4G LTE] corcgaigh:
Pretty much. You just need to cd to the working directory , run the 2 commands and the script does the rest

If it stalls at all press and hold the power button for 30 seconds
[Sprint HTC EVO 4G LTE] {ParanoiA}:
Flashing a Rom will not upgrade your radios. Just get s-off first, then u can flash a newer radio. Captain throwback has a thread with everything firmware related.
[Sprint HTC EVO 4G LTE] bivrules:
On the command like type cd then drag and drop the file into the command Window and it will list the correct directory
[Sprint HTC EVO 4G LTE] EVOMIKE025:
When you first did LP, does it brick your device as you posted and then you had to run unbricker? Just trying to see what you meant at that part
[Sprint HTC EVO 4G LTE] scottspa74:
Looks like he means lazy panda bricked him the first time, (as it sometimes does), but second time was successful.

hurled from my AOKP'd Evo LTE. Enjoy.
[Sprint HTC EVO 4G LTE] EVOMIKE025:
Successful downgrade for a second time!! This time made sure to do it right, Unlocked Bootloader, Fresh 5.1.1 rom already flashed then downgraded! Ready to feed some pandas!!! Couldn't be happier although only could use the auto script to brick the phone, never detects my device so had to step 11 restart, no problems though :cool:
[Sprint HTC EVO 4G LTE] evoforevo:
Hey evomike if you use ubuntu post step by step from terminal and so on I try it but just open up terminal and then after I'm stuck. so what's next cuz I never used ubuntu on Linux with livecd.
[Sprint HTC EVO 4G LTE] closeone:
I'm sorry for crossposting, but I figured that there might be some people that are looking at this thread who might be interested.

I have a test version of the HBOOT Downgrade Toolkit ready. I just need a few people to test. More details are here.

Thank you,

~co~
[Sprint HTC EVO 4G LTE] EVOMIKE025:
If you are using a Ubuntu Live CD, you will need to first make sure to unzip the files of the script package to a writable folder (ex. home or create a folder in home folder). Extract all files of the script package and whatever folder you put the files in is now called your working directory. Open terminal, then you will want to command to your working directory folder so you would type in "cd /home/ubuntu/created folder/"..created folder being whatever the name of the folder you created in home and extracted the files to. Proceed after you cd to working directory with the steps that are in the original post after FAQ.
[Sprint HTC EVO 4G LTE] benny3:
Also in your terminal you can type cd then a space and drag your folder into the terminal and saves a little typing
[Sprint HTC EVO 4G LTE] scottspa74:
I Haven't used it yet. Once you boot the live CD, how do you get the zip into the folder? Meaning, while in Ubuntu, can you access files/folders residing on your hard drive? Or do you have to transfer the file onto desktop from phone after booting Ubuntu?

Hope that makes sense. Sorry for stupid question. I just haven't booted Ubuntu yet, but trying to visualize how this would all work.

TIA

(I'm already S-off, still would like to understand. )

hurled from my AOKP'd Evo LTE. Enjoy.
[Sprint HTC EVO 4G LTE] Will32:
Transfer them with the phone or download them once your in ubuntu, you'll want a window open with the guide anyway. Or wait on a livecd from closeone, it'll have everything.
[Sprint HTC EVO 4G LTE] :
Resetting Device

Reset command sent

waiting device /dev/sdc12

Timeout! Resetting Device...

Timeout! Resetting Device...

(hold power for 30+ seconds)

cannot reset device

Timeout! Resetting Device...

Timeout! Resetting Device...

(separate window) sudo ./emmc_recover -r

Timeout! Resetting Device...

Timeout! Resetting Device...

Using ubuntu 12.10 32 bit, should I try 12.04?

edit: trying to do unbrick instead.

restoring /dev/block/mmcblk0p4 for about 5 minutes and holding power did nothing :\
[Sprint HTC EVO 4G LTE] EVOMIKE025:
Have you tried from step 11 in the manual procedures. If not, I believe you have to chmod +x as well with adb, fastboot, and emmc_recover and then start step 11.
[Sprint HTC EVO 4G LTE] DisplacedMic:
looks like it's time to change your signature!
[Sprint HTC EVO 4G LTE] :
I'll do the chmods and start at step 11. Thanks, I'll report back soon

edit: I think that should work, i tried 'lsusb' yesterday and it recognized the phone. I will indeed start with step 11!
[Sprint HTC EVO 4G LTE] :
Manual method.

Timeout! Resetting Device.

Cannot reset device

repeat x5
[Sprint HTC EVO 4G LTE] fltinstructor:
Did you press and hold the power button for more than thirty (30) seconds?
[Sprint HTC EVO 4G LTE] :
yea, but the script says your device is at /dev/sdc and then the manual method keeps saying

Resetting Device

Cannot reset device

reset command sent

waiting device /dev/sdc...

it did something finally

Ready to write 1024 bytes

Resetting device

cannot reset device

reset command sent

waiting device /dev/sdc.......

found device

writing 1024 bytes to offset 0x00000000

waiting mode-switch

device changed mode

detected mode-switch

cannot reset device
[Sprint HTC EVO 4G LTE] fltinstructor:
:good:

It's running the script now. Just keep holding down the power button for more than thirty seconds every time it stalls. You are almost there. I forgot to say after you let the button go it might take almost 30 seconds for it to restart writing.
[Sprint HTC EVO 4G LTE] :
If I just want to rewrite mmcblk0p4, would I change it to this?

sudo ./emmc_recover -f ./bakp4 -d /dev/sdc4 -c 24576 ?
[Sprint HTC EVO 4G LTE] fltinstructor:
Yes that is the last step in the process after it finishes writing the Hboot.
[Sprint HTC EVO 4G LTE] :
So I can use this method to fix a dead p4? even on a diff hboot?
[Sprint HTC EVO 4G LTE] fltinstructor:
I think you are asking about restoring the phone back to where you had it before attempting this?
[Sprint HTC EVO 4G LTE] :
Uh kind of. Partition 12 is intact

Partition 4 is dead, so the hboot is already written

sudo ./emmc_recover_new -f ./bakp4 -d /dev/sdc4 -c 24576

ready to write 1024 bytes

Resetting Device

cannot reset device

reset command sent

waiting device /dev/sdc4.....

power for 30+ seconds does nothing
[Sprint HTC EVO 4G LTE] fltinstructor:
Try resetting the qcserial driver again.

$ sudo modprobe -r qcserial

$ sudo mknod /dev/ttyUSB0 c 188 0

$ sudo ./emmc_recover -f ./bakp4 -d /dev/sdc4 -c 24576
[Sprint HTC EVO 4G LTE] :
no go.

emmc mode isn't even happening

sudo -s

cd /dev

ls sd*

nothing shows up besides sda, sda1, sda2, sda3, sda4 and sdb

I'll try again another day
[Sprint HTC EVO 4G LTE] EVOMIKE025:
Haha exactly! I'm gonna be doing some testing with my device for closeone so afterwards when I get it setup and all ill change it. :D

---------- Post added at 04:57 PM ---------- Previous post was at 04:53 PM ----------

I had the same problem. I restarted my computer, changed USB ports and it kept the script going. Try that, def worked for me. Also, may want to plug it in for a bit on an outlet and then try the above.
[Sprint HTC EVO 4G LTE] yarrimapirate:
/dev/sdc* won't actually show up when you ls, as they only appear for a very short time.

Silly question, but have you tried charging your phone on an AC charger for awhile?
[Sprint HTC EVO 4G LTE] :
Well I was spamming the command while trying to reset into emmc mode, and I believe the battery was fully charged, because i'd been at this for over an hour with it plugged in

it's just weird how it tried to work

writing mmcblk0p4

sudo ./emmc_recover -f ./bakp4 -d /dev/sdc4 -c 24576
Ready to write 1024 bytes
Resetting device
cannot reset device
reset command sent
waiting device /dev/sdc4.......
found device
writing 1024 bytes to offset 0x00000000
waiting mode-switch
device changed mode
detected mode-switch
cannot reset device
linux@xps:~$
[Sprint HTC EVO 4G LTE] yarrimapirate:
It LOOKS like it successfully wrote the partition. Assuming the phone doesn't boot after a sudo ./emmc_recover -r then you may need to manually load hboot again.

EDIT: I'm reading your sig....you ARE using this on an EVO 4G LTE (jewel) not a One XL (evita) correct?
[Sprint HTC EVO 4G LTE] :
I've been using it on both, and neither work actually

It's alright though, thanks for trying to help out :)
[Sprint HTC EVO 4G LTE] yarrimapirate:
I can't see how this tool would do anything but brick a One XL... which it sounds like it did. Working as intended? :p
[Sprint HTC EVO 4G LTE] :
The tool should work on the One XL. I dd'ed a working mmcblk0p4 from my phone, and we have a signed hboot that we used to replace yours.

For our phone, when we wiretrick into qdl mode, we can't write anything to the phone.

If the phone has a broken partition, you can access emmc mode from qdl and write to the phone for about 5 seconds

The problem here. p12 is write protected - so its intact, and p4 is dead. (an already bricked phone before using your tool)

The phone isn't booting into the emmc window like it should be. So if we (the one x guys) can figure out how to get emmc started, your tool should work for us. (this is using the 2.20 firmware, on the 1.85 firmware the phone does activate emmc when we flash an international ROM, which breaks p4 and p12. For some reason this isn't happening on 2.20)

Again though, our phone thinks its in 'wiretrick' mode, which is why it isn't writable, when infact, something is broken. So it should be writable

TL;DR

The phone was already bricked, so we though, what the heck. Let's have a go at it.

Using our own hboot image and mmcblk0p4

I do appreciate you trying to help and not looking at me like im 100% crazy :)
[Sprint HTC EVO 4G LTE] yarrimapirate:
Link? I need to come visit. I may learn something. :D
[Sprint HTC EVO 4G LTE] :
I'll link you what I can find.

A thread about downgrading the bootloader (which originally linked us here)

http://xdaforums.com/showthread.php?t=1958093

threads about flashing IceColdJelly on 2.20 (international ROM, which breaks p4 and p12(hboot), however p12 is write protected on 2.20, so p4 is broken instead)

http://xdaforums.com/showthread.php?t=1959497

http://xdaforums.com/showthread.php?t=1953975

http://xdaforums.com/showthread.php?t=1960022

If there's any other threads/info you want, just let me know

So you can see my question. the partitions are not showing up, because the phone doesn't realize its in QHSUSB_DLOAD because of a messed up partition. It thinks its there from the wiretrick method

---------- Post added at 08:47 PM ---------- Previous post was at 08:20 PM ----------

we were about to try the unlimited.io reset tool, hoping that would show the partitions, but we didn't get that far before our bricked user had to go to work
[Sprint HTC EVO 4G LTE] cfbauer:
Happy dance, this worked for me. I did get a "device not found" error which I fixed by switching usb ports. Always a good idea to use a direct usb port, often the best ones are in the back of the tower.
[Sprint HTC EVO 4G LTE] scottspa74:
@absolutelygrim

Are you the guy from the one X thread that I pointed to come here to ask questions, since you were posting questions there about block4?

hurled from my AOKP'd Evo LTE. Enjoy.
[Sprint HTC EVO 4G LTE] bivrules:
Sigh......

I don't know what to do anymore, I'm still on QDL mode or w/e (when you're a bricked). I've read all the posts, done all the commands that are supposed to help but when I do, I am confronted with "Cannot reset deviceTimeout! Resetting Device.Timeout! Resetting Device.

Cannot reset device." Every single time. Someone please help me, I've changed ports. Don't know what to do.

EDIT: When I try to get out of QDL mode, it shows...

HTC EVO 4G LTE HBOOT Downgrade Tool v0.2beta

**Unbrick Mode**

Resetting qcserial module...

Creating block device...

Waking QDL device...

Took 630 tries...

Restoring /dev/block/mmcblk0p4...

And that's it...I've waited for a bit and it still hangs there, then I go back and do the steps manually from 11 and on and I get the Cannot reset device message. I've also tried the full recovery command and that leads me to cannot reset device.
[Sprint HTC EVO 4G LTE] scottspa74:
What Linux version you using?

hurled from my AOKP'd Evo LTE. Enjoy.
[Sprint HTC EVO 4G LTE] bivrules:
I'm using Ubuntu 12.04 32 bit, I'm still trying everything right now
[Sprint HTC EVO 4G LTE] EVOMIKE025:
Have you tried restarting your comp? Also, I had the same issue so what I did was because I was dual booting windows and ubuntu on live cd, I went ahead and booted into windows and plugged the USB in, it made the chime and then error chime obviously because it was in qcdl mode, so I then hurry up'd and booted back into linux, unzipped everything, held power down for 30 seconds and viola it found device and started writing.

Let me add that I did this while doing manual method after I let the script brick my phone.
[Sprint HTC EVO 4G LTE] slimpyman:
im going to boot into ubuntu real quick and see if i can give this a shot.

after i did htc unlock, and installed twrp, my phone wont boot past the white htc screen. in twrp, i clicked factory wipe, and now i Have no OS!!!

I also am on 1.15 hboot. so how would i start the process? this tool has the nessecary utilities to downgrade, even if i cannot use an RUU?
[Sprint HTC EVO 4G LTE] :
I think that may have been 18th.abn, who pointed me here
[Sprint HTC EVO 4G LTE] skennedy843:
Thank you everyone who worked in this. I will now enjoy having S-off.
[Sprint HTC EVO 4G LTE] corcgaigh:
boot into bootloader by holding power + volume down , from there chose recovery and mount usb and copy/paste a rom from your pc to your phone. Probably mean rom would be a good choice because it has a kernel installer integrated.

i don't know if you need a rom on the phone to run the script but that is 1 way you can do it

good luck
[Sprint HTC EVO 4G LTE] yarrimapirate:
Technically the tool can be run while the phone is in recovery mode, as ADB is available in TWRP. There will be one reboot in the sequence where it will be necessary to manually put the phone into recovery mode (via power-voldn) if you can't boot a ROM.
[Sprint HTC EVO 4G LTE] DisplacedMic:
i just wanted to publicly say thank you again to closeone, yarr, and of course Mac_Gyver for making this possible! i just had a chance to test closeone's amazing liveCD downgrade tool and with his help was able to downgrade my device!

i am so happy my device is finally mine and we are all very lucky to have such a great community of innovators and (more importantly) what can only be described as philanthropists!

thanks again and congrats to everybody who made this happen and to all of us who benefited from it!

happy days:laugh:
[Sprint HTC EVO 4G LTE] :
I came back to let you know we got the partitions to show up on Tinycore during eMMC mode. If he can recreate this, I'm going to try your tool again.
[Sprint HTC EVO 4G LTE] yarrimapirate:
I've been reading about success in TInycore and the fact that it may be possible to flash in larger chunks than 24K. Very interesting.

I think closeone's LiveCD is built around Tinycore.
[Sprint HTC EVO 4G LTE] DisplacedMic:
Confirmed
[Sprint HTC EVO 4G LTE] brandoncastleman:
Downgrade then LazyPanda Question

Hi,

I was hoping someone might help me with a question... I tried asking for help over at LazyPanda but was told this really isn't their problem to answer.

I am currently DevUnlocked running 1.5 and running Jewel_2.13.651.1_OTA_odexed_rooted_signed ROM. I am wanting to run the downgrade tool, and then LazyPanda but I am confused. I think (but feel I might be misunderstanding) that the newer firmware/hBoot has issues with the older ROMs and vice versa.

As such, what ROM should I be running prior to using the downgrade, preferably one that I can also use to go straight into the LazyPanda tool? Many of the posts I've read are from or for people who are not running the newer firmware so I'm just trying to avoid bricking by asking questions now, versus after I'm bricked.

Any ideas?

Thanks!
[Sprint HTC EVO 4G LTE] yarrimapirate:
Your current ROM isn't relevant as far as the downgrade tool is concerned. As long as USB debugging is turned on you are set. I would use something known to work well with LazyPanda like Fresh 5.1.1.

Make sure you have a fairly recent version of TWRP loaded though. I've tested all the way back to 2.1.8 and had success.
[Sprint HTC EVO 4G LTE] brandoncastleman:
...So I can downgrade with whatever I'm on now, then flash the Fresh 5.1.1 and then run the LazyPanda tool and I should be set? Of course, that's all in theory as we all know that it's not always so simple, LoL.
[Sprint HTC EVO 4G LTE] yarrimapirate:
Correct.
[Sprint HTC EVO 4G LTE] Talamor:
I used the 10/24 version, via a LiveCD version of Ubuntu 10.04 Desktop booted from a USB drive on my Laptop. Everything seemed to work without a hitch. After using LazyPanda to gain S-Off, I noticed that my phone wasn't connecting to 3G/4G anymore (though calls and texts worked fine). I don't know if this was a result of YarrImAPirate's HBOOT roll-backer, or a result of LazyPanda (which also seemed to work without incident), or if it was a freak thing and unrelated to both. In any case, it was a fairly painless fix.

If anyone else runs into the issue, you can call Sprint Customer Service (from a phone other than the one having the issues) and they'll give you a few steps to do to make your phone forget it's been activated, at which point you can restart it, and as soon as it boots up it will go through the activation steps from scratch, which fixed my issue. I think you may need a sense rom in order to do the steps, but I'm not certain (if you had just done LazyPanda, you should have one handy). For someone that doesn't want to call someone to have them read something to you that you could have easily read yourself, here is a link to what I think might actually be the Sprint Customer Service playbook. It should put you right at the relevant section. Note that you'll need to know your MSL. (If you don't already know it, a quick Google search should help you figure out how to find it, if you are on the phone with Sprint Customer Service, they will just tell you the MSL when it is time to enter it),

Hopefully no one else runs into the same issue, but just in case anyone does, this should get you back up and running.

And thanks, Yarr! Awesome work.
[Sprint HTC EVO 4G LTE] yarrimapirate:
Thanks for the kudos! What you experienced is a product of LazyPanda. You can fix it by doing what you did or using the Activate This Device option in the settings menu of a Sense ROM.
[Sprint HTC EVO 4G LTE] brandoncastleman:
I just wanted to say THANK YOU! I also clicked the 'Thank You' button. This is the first time I've ever tried something like this and been able to go from start to finish without any bumps. I have a dual-boot via WUBI for Ubuntu. I installed the 64bit version and then the 32bit libraries. I downloaded the file to the desktop, and just used the steps listed in the OP. Took just slightly over 10 minutes but worked perfectly! I didn't have to do anything beyond the steps in the script.

I could have avoided this step all together if I would have just done some research before I took all the updates; and I should know better since this is my 4th or 5th device that I've mod'd in some way.

Thank you thank you thank you thank you!

PS: Thank you also for the help with the LazyPanda question. I ran that process as well with no bumps, which means I must have some luck tonight. LoL.