yashsingh1/xdaforums huggingface dataset:
[Sprint HTC EVO 4G LTE] om4:
Try different port?
[Sprint HTC EVO 4G LTE] JT man:
Did that too
[Sprint HTC EVO 4G LTE] zeroth:
After those comments I'm afraid to try lol!. :(
[Sprint HTC EVO 4G LTE] lilbeast:
i did what u said i typed sudo apt-get install ia32-libs still get the same error

i go into synaptic package and i get the same thing held broken packages

should i reinstall linux?
[Sprint HTC EVO 4G LTE] waverlyt:
I was getting that error when I tried a 12.10 livecd; try grabbing a 12.04 image instead.
[Sprint HTC EVO 4G LTE] JT man:
Anymore suggestions,the phone is completely brick at this point even when I pull it off the computer to charge it nothing

edit:Using chunksize 24576

Ok, ready to flash

Filesize:	1047808

Chunksize is:	24576

Cycle count is: 43.135417

Ready to write 24576 bytes

Resetting device

Reset command sent

I'm stuck please help
[Sprint HTC EVO 4G LTE] om4:
If you took the time to install synaptic it has the option to fix broken packages in the menu somewhere

For back releases Ubuntu Alternative Downloads
[Sprint HTC EVO 4G LTE] kf2m:
Have you tried holding the power button down for longer than 30 seconds? Had to do that a several times to get the phone to finally respond. Had to do it both emmc_recover steps.
[Sprint HTC EVO 4G LTE] scottspa74:
Om4, I still think you're good.

hurled from my AOKP'd Evo LTE. Enjoy.
[Sprint HTC EVO 4G LTE] kf2m:
Well after 4 hours of farting around with Fedora I was finally able to downgrade. I think I kind of hosed myself using an old ThinkPad T43p and Fedora 17. IIRC it has USB 1.0 (or 1.1). But I am happy.

One thing worth noting on the final step I have to change the drive from sdc4 to sdb4. Found that out with unbricker.sh

To the Dev's who put this together my hat is off to you.

As for going S-OFF, well I'm gonna hold off for a while... I have too many white hairs already...
[Sprint HTC EVO 4G LTE] yarrimapirate:
Ubuntu has used multiarch for 32 bit libraries since 11.something.

sudo apt-get install ia32-libs-multiarch
sudo apt-get -f install # If needed

This is in the FAQ.
[Sprint HTC EVO 4G LTE] yarrimapirate:
Since you've unplugged the USB cable during this step, you will need to complete the process manually now. Ctrl-C out and start at step 11.

(ignore the brickdetect.sh step, read the screen output to get the /dev/sdX you need.)
[Sprint HTC EVO 4G LTE] om4:
Ack... How did I forget that? Wait I use synaptic that's why lol
[Sprint HTC EVO 4G LTE] JT man:
Do I have to download any additional files?

---------- Post added at 08:11 AM ---------- Previous post was at 08:04 AM ----------

Step 12 permission denied

---------- Post added at 08:17 AM ---------- Previous post was at 08:11 AM ----------

I'm confused which manual steps11?
[Sprint HTC EVO 4G LTE] EVOMIKE025:
Ok here is where I am getting stuck doing it manually from step 11 and so on.

ubuntu@ubuntu:~/Android$ sudo ./emmc_recover -f ./hboot_1.12.0000_signedbyaa.nb0 -d /dev/sdb12 -c 24576

================= emmc_recover 0.3 alpha 2 ==========================

Using chunksize 24576

Messing up with device /dev/sdb12, ARE YOU SURE?

CTRL+C if not, ENTER to continue

Please connect device

ubuntu@ubuntu:~/Android$ sudo ./emmc_recover -f ./hboot_1.12.0000_signedbyaa.nb0 -d /dev/sdb12 -c 24576

================= emmc_recover 0.3 alpha 2 ==========================

Using chunksize 24576

Messing up with device /dev/sdb12, ARE YOU SURE?

CTRL+C if not, ENTER to continue

Please connect device

ubuntu@ubuntu:~/Android$

And here is what I get while trying to run the auto script, any ideas??? Been at it for a day and a half now trying to get this thing unbricked. I am running Ubuntu 12.04 32 bit LiveCD.

This script will put backup critical partition data and then put your phone

into Qualcomm download mode (AKA Brick).

Before running this script, you should have TWRP loaded onto your phone.

Plug your phone in via USB and ensure both USB debugging and

fastboot are enabled.

Press Enter to continue...

Preparing...

Phase 1

This phase backs up /dev/block/mmcblk0p4 from your phone to this machine. In

addition, we will fetch your IMEI from the phone and use it to create an

additional partition 4 replacement to use as a failsafe. In the

event something goes wrong, you'll have a way to unbrick manually.

Please stand by...

Rebooting to bootloader...

error: device not found

Getting IMEI value...
[Sprint HTC EVO 4G LTE] JT man:
Where did you get the steps from?
[Sprint HTC EVO 4G LTE] EVOMIKE025:
See the other Hboot downgrade thread.
[Sprint HTC EVO 4G LTE] JT man:
Do you have to download any additional files?

---------- Post added at 09:58 AM ---------- Previous post was at 09:00 AM ----------

Where did you put your Android folder?
[Sprint HTC EVO 4G LTE] EVOMIKE025:
You download the files that are in the API in the original post. I ran linux, unzipped the folder it created and renamed it to "android" for easier command.

---------- Post added at 05:01 AM ---------- Previous post was at 05:00 AM ----------

HOLY S@&&#&#T! That was stressful. After two days of having something for a paper weight, I am officially up and running again with hboot 1.12!! You guys are genious! /happpppyyyyy dance!!!!
[Sprint HTC EVO 4G LTE] JT man:
Link to the API please

---------- Post added at 10:19 AM ---------- Previous post was at 10:12 AM ----------

I'm getting command not found any ideas?
[Sprint HTC EVO 4G LTE] EVOMIKE025:
Look at the first post in this thread, under credits, it's the second link that says manual downgrading. Command not found is either you don't have the files in the right working directory or you're typing the command incorrectly. Go to that link, download the zip file, start from step 11. Make sure you correct emmc_recovery_new to "emmc_recover". If you don't, it will say command not found because the file is called emmc recover, that was a typo. And follow every step exactly to the tee.
[Sprint HTC EVO 4G LTE] JT man:
Really appreciate you!!!!!
[Sprint HTC EVO 4G LTE] EVOMIKE025:
No problem, good luck... I finally was successful after much stress. One more thing, now I don't know how this worked for me without editing in a hex editor, bit you may want to get a hex editor and unzip the backup bakp4 file into the working directory folder as well. You will have to edit your meid number into it if the terminal can't pull the one backed up for you before..

---------- Post added at 06:26 AM ---------- Previous post was at 06:10 AM ----------

I don't know why it says API in my post, I don't even know what that means lol.. I think something autocorrected when I said link..
[Sprint HTC EVO 4G LTE] yarrimapirate:
Updated. Now has command line options to force recovery modes for people with phones that wouldn't unbrick the first time around.

See the OP for details.
[Sprint HTC EVO 4G LTE] bgduece22:
Brick

Phone will not unbrick...

Run options manually from line 11 to the 18...on both writing the HBOOT and emmc recover had to hold down power button, but flash does complete, but charging light never comes back after emmc recover?

help please
[Sprint HTC EVO 4G LTE] SouL Shadow:
I see you bumped up the version # and added a var, but forgot to change the comment on line 3.

Also, it might be good to include the ver # in the zip filename. So ppl can check that they have the latest before trying to run the script.

Unless you have other plans, I was going to add some logging, error checking and handling, along with a debugging mode. Probably work on that over the next few hours.
[Sprint HTC EVO 4G LTE] bgduece22:
What command option, which commands do you use them with...if your phone is bricked and you have to start at # 11

you can not run script, since your phone has no activity...recovery or bootloader

??????????????
[Sprint HTC EVO 4G LTE] eck0728:
Worked 100% only issue I ran into was having to wake my phone up a few times during the hboot writing process.. stupid HTC and their 25kb limit.. great work guys I'm fully s off with no problems
[Sprint HTC EVO 4G LTE] bgduece22:
After step 18, it goes back to the $ prompt, but no light on phone...still bricked
[Sprint HTC EVO 4G LTE] kf2m:
Just a FYI you should make sure that you have no extra USB devices connected to the computer that you are using. Had a flash drive, CAT controller, and a Serial-USB adapter. Each caused it own form of grief. But I am using an installed Linux distro.
[Sprint HTC EVO 4G LTE] bgduece22:
This a Ubuntu laptop that I only use for situations like this, it has nothing connected to it...the only thing plugged is the phone.

I am pretty sure that it is up to date...I thought I installed all required updates...
[Sprint HTC EVO 4G LTE] EVOMIKE025:
Are you able to flash your bakp4 that was backed up?
[Sprint HTC EVO 4G LTE] bgduece22:
yes...but no lights on phone, can not boot, can not boot to bootloader
[Sprint HTC EVO 4G LTE] yarrimapirate:
I ripped that version out pretty quickly last night while baby was sleeping, since there were enough people having trouble and not being able to follow the directions in the other post.

I have plans for more features, but you're welcome to add code. Make a fork on github and we'll work on a merge.

I'll credit you in the OP for anything merged in.

Edit: Fixed.
[Sprint HTC EVO 4G LTE] yarrimapirate:
Hold your power button for more than 30 seconds. If you've successfully flashed both hboot 1.12 and your P4 file, it just need a pbl_reset.
[Sprint HTC EVO 4G LTE] bgduece22:
I have run steps 12-18 and each step successfully gets back to the $ prompt, I have to assume that each stepped finished.

But no matter how long I hold the power button it will not come on...I am going to charge the battery for awhile to see if this helps, since it has not been charged except for being on the Linux laptop, not sure how much of a charge is in phone...do you have to be charged at a certain level to get into bootloader?
[Sprint HTC EVO 4G LTE] yarrimapirate:
Doing the steps manually, you'll see output from emmc_recover that will tell you if they were successful. You need to read this output.

Try downloading/unzipping (to the same directory) the new version of this tool from the OP and using:

chmod +x ./dg112.sh
sudo ./dg112.sh -r
[Sprint HTC EVO 4G LTE] roundaway:
Wrote the hboot but terminal is sitting at "Restoring /dev/block/mmcblk0p4" and has been for about 5 minutes.

Should I press and hold the power button for 30 seconds?
[Sprint HTC EVO 4G LTE] yarrimapirate:
Yep.

You're almost there! ;)
[Sprint HTC EVO 4G LTE] roundaway:
Yup, that did it. To run LazyPanda can I just leave the stock rooted 2.13?

Thank you for the scripting. It took a long time to write the hboot and I had to use "sudo ./emmc_recover -r" 14 times from a second terminal. Using Ubuntu 12.04 LTS 32-bit and a stock HTC USB cable.
[Sprint HTC EVO 4G LTE] bgduece22:
says error flashing HBOOT 112!

and continues to run
[Sprint HTC EVO 4G LTE] SouL Shadow:
hmm, never used git or github before, guess i'll have to learn.

so far i've created a log file (so users can post that if they need help) and added a couple functions (PrintScreen, PrintLog, PrintBoth) to output to the screen and/or the log. the added functions may seem like over kill, but will help clarity, debugging, and allows for screen or log output to be disabled without adding tons of conditionals throughout the script.

next up is a debugging mode, a "dry run" mode, and then an auto-resume feature.
[Sprint HTC EVO 4G LTE] yarrimapirate:
Github takes about 5 mins to set up. Then just fork it and clone your fork (push the button on the page). Drop your modified script in the folder it makes. Open the client and commit changes.
[Sprint HTC EVO 4G LTE] EVOMIKE025:
Are we to 1.13 RUU back to stock to run LP after downgrading?
[Sprint HTC EVO 4G LTE] yarrimapirate:
I've had the best luck with Fresh 3.1.1.
[Sprint HTC EVO 4G LTE] roundaway:
Fresh 5.1.1??
[Sprint HTC EVO 4G LTE] EVOMIKE025:
You got a link to that? I'm only seeing updated versions. I have an older firmware Viper rom?
[Sprint HTC EVO 4G LTE] Captain_Throwback:
I wouldn't necessarily RUU. I've just been using the 1.13.651.1 stock rooted ROM, and it's worked fine.
[Sprint HTC EVO 4G LTE] roundaway:
goo.im/devs/flipz/FreshLTE

5.1.1 is based on 1.13
[Sprint HTC EVO 4G LTE] lilbeast:
so we have to be in fastboot to start this process ?
[Sprint HTC EVO 4G LTE] EVOMIKE025:
Thank you!
[Sprint HTC EVO 4G LTE] benny3:
No from recovery
[Sprint HTC EVO 4G LTE] btbamzao:
"resetting qcserial module...

creating block device...

waking qdl device..."

"using chunksize 24576

please connect device

error flashing hboot 112!"

it has been doing this for about 10 minutes. normal?
[Sprint HTC EVO 4G LTE] lilbeast:
stuck on

resetting qcserial module....

creating block device....

waking QDL device....

???
[Sprint HTC EVO 4G LTE] jgebis:
The first post talks about this: it's trying to get the right timing, but not working. Here, I'll just copy the text from the first post itself:

A: This is a timing issue. If the tool can't get a good lock on your phone, it will give and error and then try again. It will keep trying until it locks onto the phone and can flash. If you're not getting past this step, you can try the solutions for the above question. In addition, it is safe to unplug and replug the USB cable during this step, even to another USB port. Worst case scenario, you have all the files needed to restore manually from step 11 in the manual post.

---------- Post added at 06:06 PM ---------- Previous post was at 05:40 PM ----------

Success! Although the automated part never got past "Failed to flash HBoot 1.12" for me. I was using a full install of Ubuntu on my desktop machine. After letting it do many, many attempts, with different USB ports, quick press of power button, longer press of power button, I had to kill the script, and then run the manual steps -- that worked (on the first try).

First of all, thanks for the tools. A few small suggestions (feel free to ignore) --

1) The script failed for me the first time because it didn't have an sdcard installed. I know Lazy Panda requires one, but I didn't see anywhere in the info for this automated tool that said that (although I might have missed that...)

2) Very minor point: I would suggest cleaning up the messages when it doesn't find a file to make them consistent

3) I think your test for arguments prints an error message if none are specified -- no real problem, but you can clean that up by doing a test like "$#" -eq 1 or something -- it doesn't like the current test against the empty string (at least on my bash)

4) The first post requirements list says "Fastboot turned on" -- don't you want the Settings->Power->"Fast boot" disabled?

5) I had to kill the tool and do the manual steps. In the first post, it says: "restore manually from step 11 in the manual post" -- may I suggest linking to the post directly to make it easier to find: http://xdaforums.com/showpost.php?p=32761598&postcount=107

6) While I was running the tool, I had another terminal open where I had a "tail -f /var/log/syslog" running -- made it really easy to see when it was stuck.

7) Just as a reference to anyone else so they can estimate progress: when it's doing all of its writes, the last offset before it finishes is 0x000FC000.

Anyway, like I said, most of those are small suggestions that you should feel free to ignore. And, thanks again!
[Sprint HTC EVO 4G LTE] benny3:
Good info and feedback
[Sprint HTC EVO 4G LTE] lilbeast:
ok since my phone got stuck with the script i ended then i when into the Manual steps.

i open another terminal with "tail -f /var/log/syslog" keep saying "last message repeated 61 times" is the process stuck again?
[Sprint HTC EVO 4G LTE] jgebis:
"tail -f" just shows any new lines added to the file. To see what that less message is, try something like "tail -100 /var/log/syslog" (which will show the last 100 lines -- you can use different numbers).
[Sprint HTC EVO 4G LTE] lilbeast:
i kept getting that cuz Linux wont detect qualcomm usb modem converter as the last line of the output when i run sudo dmesg | grep "qcserial"

i replugging usb and ran sudo modprobe qcserial and i get this
[Sprint HTC EVO 4G LTE] EVOMIKE025:
If you look within all that it detects it. Move forward with the steps after where you're at... It will pick it up later in the steps. Mine said the same thing "disconnected" at the end, but it will detect it. Remember what dev/sd_ you have as well. That's a key step.
[Sprint HTC EVO 4G LTE] benny3:
it looks like it detected it
[Sprint HTC EVO 4G LTE] fltcaptriker:
The information provided in post 161 seems to be where I am at, I had to kill the script and I tried to follow the steps from 11 but when I run the command in step 15 I hit enter to continue and then it says "Please blacklist qcserial module" and quits any ideas?
[Sprint HTC EVO 4G LTE] benny3:
thats what happened to me and pirate had me run these cmds again

chmod +x emmc_recover

sudo modprobe -r qcserial

sudo mknod /dev/ttyUSB0 c 188 0

sudo ./emmc_recover -f hboot_1.12.0000_signedbyaa.nb0 -d /dev/sdd12 -c 24576
[Sprint HTC EVO 4G LTE] lilbeast:
i id the next step sudo modprobe -r qcserial

this what i keep seeing in my screen ?
[Sprint HTC EVO 4G LTE] yarrimapirate:
$ sudo modprobe -r qcserial
$ sudo mknod /dev/ttyUSB0 c 188 0

Then try step 15 again.
[Sprint HTC EVO 4G LTE] fltcaptriker:
That fixed that problem thanks! How long should I wait before I decide its stalled at "Waiting device /dev/sde12" ?
[Sprint HTC EVO 4G LTE] benny3:
i had to keep holding the power down for 10 seconds or so every now and then when it seemed to stall
[Sprint HTC EVO 4G LTE] fltcaptriker:
I've tried holding the power button for 10 seconds every now and then as well as the more than 30 seconds said in the list still seems stalled, any other ideas?
[Sprint HTC EVO 4G LTE] lilbeast:
i type ./getbrickdrive.sh no such file or directory?
[Sprint HTC EVO 4G LTE] benny3:
are you in that directory?
[Sprint HTC EVO 4G LTE] lilbeast:
i didnt download the file that why
[Sprint HTC EVO 4G LTE] benny3:
pirates zip includes everything you need

http://xdaforums.com/showpost.php?p=32886713&postcount=1
[Sprint HTC EVO 4G LTE] fltcaptriker:
figured it out was useing /dev/sde12 because getbrickeddevice script said it was /dev/sde but using sdc12 worked for me
[Sprint HTC EVO 4G LTE] lilbeast:
im stuck on waiting device /dev/sdc4

forgot to change to /dev/sdb

what should i do?
[T-Mobile Samsung Galaxy S II SGH-T989] hazmattt:
Hi guys,

After my phone being through GB, ICS, and JB, stability hasn't been something I haven't worried about. I want my entire phone - secure, internal, EMMC, SD - everything to start from square one.

What's the best way to start fresh before loading the next ROM? I already have SuperWipe, but it doesn't seem like enough. I'm on TWRP 2.3

Thanks
[T-Mobile Samsung Galaxy S II SGH-T989] VoiD_Dweller:
Hmm.. I think it would be best to boot into recovery, go to the wipe menu and do Factory reset, System, internal, external, cache, dalvik then go to Mount USB storage, copy your ROM over to SD and flash it fresh like new.

I might be missing something but I think that covers pretty much everything, right?
[T-Mobile Samsung Galaxy S II SGH-T989] blackangst:
As a correction, mount your storage, copy your SD card (pics, vids, etc) then wipe internal and external storage. Otherwqise everything else is correct.
[T-Mobile Samsung Galaxy S II SGH-T989] VoiD_Dweller:
I would have assumed they'd done that already ;)
[HTC One X] Maximus78:
:good:
[HTC One X] ChriKn:
Watch out for the "lock"

EDIT : It would be good to put a little explanation notice at the beginning, just that people actually don't need to scroll to see an english part, as this forum is english-only normally ;)
[HTC One X] dragonesdenano:
English:)

SkyDragon Sense Rom V1
[HTC One X] zopostyle:
English added
[HTC One X] 71nh0:
Brigadoo!

Thanks!
[HTC One X] zopostyle:
Updated

Added new CWM

Added NCX Kernel
[HTC One X] dragonesdenano:
Bragado, gracias, ty, but at all... Thanks bro for the English Part. :thumbup:

SkyDragon Sense Rom V1
[HTC One X] -Koze-:
Hboot

need update version Hboot for flash rom?
[HTC One X] zopostyle:
For those roms no! Only new version of HTC Rom or HTC Based rom needs it...

There are some roms using the new base 3, for that the new hboot is required also, but it's not our case...
[HTC One X] zopostyle:
Updated

Files updated!
[HTC One X] zopostyle:
Updated!

New file versions and a new tool to follow changes!
[HTC One X] zopostyle:
Updated!
[HTC One X] Whiskey103:
Oke guys, thread cleaned from non English language.

If you want to speak your own language please post translation.

Whiskey

Forum Moderator
[HTC One X] zopostyle:
New files, do you also want to include android 4.2.1 files ?
[HTC One X] wiltgen:
Cara, which one should I use???

aokp_endeavoru-ICJ-V3.5.1.zip

aokp_ICJ421-V0.8.zip

Thanks
[HTC One X] zopostyle:
I suggest 3.5.1 less bugs it's android 4.1.2...

Sugiro a 3.5.1 menos bugs é android 4.1.2...

Tomorrow I'm gonna update the files...
[HTC One X] wiltgen:
I'm already on IceColdJelly 4.1.2 working fine in my phone... looking for 4.2. If this one is buggy, I'll wait a little longer.

Obrigado
[HTC One X] zopostyle:
I updated the files...I particularly use cm10_421_endeavoru-ota-eng.noeri-006 it's stable enough for daily use..and GPS is really fast to get your position... So I recommend that one..but if you prefer AOKP you can get 0.9.5...

If you flash aokp you need to flash gapps also..if you flash cm10 its not necessary..
[HTC One X] zopostyle:
Android version 4.2.1 - Working!

Files updated!
[HTC One X] zopostyle:
Update

Files updated!
[HTC One X] nazfalas:
So is the AOKP build your own build from source? Just updated ICJ 1.3.1 with it and everything is working perfectly fine. What was changed between the releases?
[HTC One X] zopostyle:
Yes, sometimes I build... Sometimes I get the oficial release..

This has a different ril, its much faster, it will be included in the next version...

In this one I changed nothing, but in the next version, I'm gonna replace MMS.apk by the one from cm10 untill the one from AOKP be good and optimized as the cm is..

Also I want the opinion of you to decide which bootanimation I use to replace it, the one from aokp doesn't make my style. Im planning to use the one from NVIDIA.
[HTC One X] nazfalas:
Okay thanks for the reply.

I'm using the bootanimation from the Galaxy Nexus (I think...). Just that regular Nexus X that glows.