yashsingh1/xdaforums huggingface dataset:
[Sprint HTC EVO 4G LTE] yarrimapirate:
did you chmod +x both of them?
[Sprint HTC EVO 4G LTE] pspunderground:
Good to hear you guys worked on it. I successfully S-Off'd on elementaryOS, but RUU'd to stock to test the tool. Just waiting on seeing if bugs are fixed.

EDIT: Congrats!
[Sprint HTC EVO 4G LTE] alucke:
yes I did and it says those commands cannot be found
[Sprint HTC EVO 4G LTE] louched1:
Along with the chmod lines mentioned above, I ended up creating a superuser password and doing the following to ensure that adb and fastboot were able to talk to my phone before taking the plunge.

$ chmod +x adb

$ chmod +x fastboot

$ chmod +x emmc_recovery_new

$ chmod +x brickdetect.sh

$ sudo passwd root (you'll be prompted to create a password)

$ su

# ./adb kill-server

# ./adb start-server

# ./adb devices (you should see "HT***** device" listed now instead of "???????? no permissions")

# ./adb reboot bootloader (the light will turn off and the phone will boot to bootloader)

# ./fastboot reboot (phone will reboot to normal)

# exit (exit su)
[Sprint HTC EVO 4G LTE] waverlyt:
So that I'm absolutely sure: this method requires a full reset if I'm stock 1.15 -- part of the process will be using HTCDev to unlock the device?

Also: congrats on making it to the front page!
[Sprint HTC EVO 4G LTE] dragon042:
I was successfully able to do this with an Ubuntu installation on my macbook air (dual-boot).

Haven't tried it on OS X though.
[Sprint HTC EVO 4G LTE] lawnguy:
Wanted to thank yarrimapirate and close one for fixing my phone and even finished the downgrade. Thank you guys.
[Sprint HTC EVO 4G LTE] yarrimapirate:
For people having issues with brickdetect.sh giving them the wrong drive to flash to, I've attached a new script to the instructional post that will work on dual boot and livecd systems. I've updated the instructions accordingly.

Find it here: http://xdaforums.com/showpost.php?p=32761598&postcount=106
[Sprint HTC EVO 4G LTE] evoforevo:
I'm dying to try it but I don't want to brick my jewel. maybe I'll wait for some thing more easily for me.
[Sprint HTC EVO 4G LTE] closeone:
I appreciate all the PMs for people wanting to test. Thanks for your interest. I've closed applications for the first Alpha. The first round of testing is still going through. When the next round starts, I will post again.

Thank you,

~co~
[Sprint HTC EVO 4G LTE] dragon042:
When you run commands like adb or fastboot (or any binary for that matter), you need to run it with "./adb" (without quotes). Remember to have the dot-slash before the name of the binary!
[Sprint HTC EVO 4G LTE] alucke:
help I am stuck at restoring the original mmcblk0p4:

when i did this command:

$ sudo ./emmc_recovery_new -f ./bakp4 -d /dev/sdc4 -c 24576

it is stuck at waiting for device /dev/sdc4

any help would be appreciated
[Sprint HTC EVO 4G LTE] louched1:
Just in case it's an easy one:

- Have you tried holding the power button for 30 seconds and letting go?

- Have you been using /dev/sdc* successfully in the previous steps as opposed to /dev/sdb* or /dev/sdd*?
[Sprint HTC EVO 4G LTE] lawnguy:
Hold power button for 1 whole minute and realease. DO NOT UNPLUG OR DO ANYTHING DIFFERENT!!

Edit,,,, sorry didn't see the above post. Im so excited after recovering this brick from last night. I was babysat and walked through. These guys are really great.
[Sprint HTC EVO 4G LTE] bathanr:
I am using Ubuntu 12.04 and I took all the files and dumped them into a folder called lte.. I cd'd to the LTE dir and ran the CHMOD commands listed. When I type ./adb push ./spoofpartitions/mmcblk0p4 /sdcard/spoofp4, it says cannot execute binary file. Is there something else I need to install? I am in TWRP main screen and I have my phone plugged into the usb port
[Sprint HTC EVO 4G LTE] louched1:
I tried recreating the problem and can't manage to pull if off. I can get the "error: insufficient permissions for device" message that kept popping up for me. The lines of code above about entering super user and killing and starting the adb server are what got me around that. When I hadn't ran chmod I got a "permission denied" message.

Have you ever gotten adb to talk to your phone? Does ./adb devices show HT********** device?

I'm on 32-bit Ubuntu and I installed the Android SDK and went in and got the platform-tools beforehand. I also had JDK 6 on my machine but I'm not sure if any of that matters.
[Sprint HTC EVO 4G LTE] jdmsohc22:
happy to see progress..!! but i'll def one for a one click method =)
[Sprint HTC EVO 4G LTE] wwjoshdew:
Holy freaking smokes... That's what I get for being confused about "android development" and "original android development" threads... It was THIS POST by bigdaddy619 that got me to even come here...

This is freaking amazing. Leave it up to XDA to figure all of this stuff out... I've read EVERY SINGLE POST so far, and man you guys are awesome. I'm already S-OFF, as I know HTC very well, and updates are bad!

Of course I'd see Closeone kicking ass with this live cd. I'm a Evo 3D owner and sent my Evo 3D to Unknownforce for further development on the Virgin Mobile downgrade thing! :)

http://xdaforums.com/showpost.php?p=27742735&postcount=860

I'm out of words... This is just amazing.
[Sprint HTC EVO 4G LTE] bathanr:
I think my issue is I did not install the android sdk on ubuntu.. I just dropped the files yar mentioned onto the drive in ubuntu. just the adb, fastboot, emmc_recover_new and the getbrick file. I will find and download the android sdk.. Is that an actual install or can I place the files in the same folder?
[Sprint HTC EVO 4G LTE] eXplicit815:
Hope I can get in the next round of LiveCD beta testing. I love doing tests. I'm definitely a risk taker. I wish I knew what all is needed to do the work myself, cause I'd contribute a whole lot.
[Sprint HTC EVO 4G LTE] louched1:
You can get the sdk here: http://developer.android.com/sdk/index.html

Unzip the tar file and you can put the files anywhere.

If you want to install the platform-tools as well you can do the following:

1) Go to Ubuntu software center and search for "java"

2) Install OpenJDK 6 (7 would probably work too)

3) in the terminal go to where you put the Android SDK

4) Enter ./android (this won't work if you don't have java installed)

5) The Android SDK Manager that pops up will let you install the platform-tools
[Sprint HTC EVO 4G LTE] sullivan7221:
I've been following this as closely as I can, I've never ran unbuntu or any linux in and shape or fashion. I have a older, slow windows 7 laptop....it sucks. I do have the SDK, the jdk, and I am knowledgeable of adb to the point I can push and pull and what not, but not too much more.

What are the chances this will ever work from windows? What are the chances some one with my level of knowledge could even do this with the cd?? Thanks in advance for any help and to avoid cluttering this fine thread feel free to PM me instead.
[Sprint HTC EVO 4G LTE] bathanr:
downloading now..I ran wget http://dl.google.com/android/android-sdk_r20-linux.tgz command from terminal
[Sprint HTC EVO 4G LTE] jre1981:
From HBoot 1.19 back to S-Off, you guys are awesome. Took me roughly 4 hours because I'm an idiot but it was worth it to me to be s-off again after "the accident." Hitting thanks on everyone I can til I run out.
[Sprint HTC EVO 4G LTE] phreezex:
im 1.19, htc dev unlocked, twrp 2220... running native ubuntu 11.04

this is what im getting:

root@brett-Satellite-L505D:/home/brett/Desktop# cd EVO4GLTE112DG

root@brett-Satellite-L505D:/home/brett/Desktop/EVO4GLTE112DG# chmod +x adb

root@brett-Satellite-L505D:/home/brett/Desktop/EVO4GLTE112DG# chmod +x fastboot

root@brett-Satellite-L505D:/home/brett/Desktop/EVO4GLTE112DG# chmod +x emmc_recovery_new

root@brett-Satellite-L505D:/home/brett/Desktop/EVO4GLTE112DG# chmod +x getbrickdrive.sh

root@brett-Satellite-L505D:/home/brett/Desktop/EVO4GLTE112DG# ./adb push ./spoofpartitions/mmcblk0p4 /sdcard/spoofp4

error: insufficient permissions for devices

any clue?

also ./adb devices shows ?????????

EDIT - START ADB AS ROOT (SUDO)
[Sprint HTC EVO 4G LTE] closeone:
Trust me. You'll be able to use the CD just fine when it's out and public, no special Linux install required. ;)

~co~
[Sprint HTC EVO 4G LTE] bathanr:
I think this will work from another post..

$ sudo passwd root (you'll be prompted to create a password)

$ su

# ./adb kill-server

# ./adb start-server

# ./adb devices (you should see "HT***** device" listed now instead of "???????? no permissions")

# ./adb reboot bootloader (the light will turn off and the phone will boot to bootloader)

# ./fastboot reboot (phone will reboot to normal)

# exit (exit su)
[Sprint HTC EVO 4G LTE] louched1:
$ sudo passwd root (you'll be prompted to create a password)

Once you've set a password, you can get adb to recognize your device with the following from now on:

$ su

# ./adb kill-server

# ./adb start-server

# ./adb devices (you should now see "HT***** device" listed now instead of "???????? no permissions")

# exit

then proceed as normal. If you close the terminal you'll probably have to do this again (without the creating a password step)
[Sprint HTC EVO 4G LTE] phreezex:
WOOT WOOT-----!!!!!!!!!!!!!!!!!!!!!!!!!!!

Another 1.19 CONFIRMED downgrade for ya..

i have hardly any linux experience, ive had 9 shots of crown, and im stoned..

i followed pirates updated guide.. installed ubuntu on a extra laptop i had, simply used pirates provided files..

JUST READ AND FOLLOW Instructions!!!

only hicup i had was the sudo ADB part which i googled and was past b4 replys :)

Also.. on the waiting for device part it hung like 4 times, I just held power for 10 to 15sec and released and it picked right back up!

awesome work, feels good to be on the darkside again!!!

EDIT: i also did all this from MeanROM 4.8 , only thing i hadda do after i feed the hungry mofo panda was call sprint to activate yada yada.. very easy instructions!!!!!!!!!

s-off FTW
[Sprint HTC EVO 4G LTE] bathanr:
Stuck at Waiting device /dev/sdd12 after typing $ sudo ./emmc_recovery_new -f ./hboot_1.12.0000_signedbyaa.nb0 -d /dev/sdc12 -c 24576. I have held power for 30 sec, 1 min, etc.. still sitting at the same spot. Any suggestions??

---------- Post added at 02:52 AM ---------- Previous post was at 02:42 AM ----------

if my bricked device is /dev/sdd, I need to put the 12 after it correct?

It says,

ready to write 24576 bytes

Resetting device

Cannot reset device

Reset command sent

waiting device dev/sdd12

---------- Post added at 03:18 AM ---------- Previous post was at 02:52 AM ----------

Changed USB cables and port, and held power for 1 min and it started writing..phew!

---------- Post added at 03:35 AM ---------- Previous post was at 03:18 AM ----------

Yet another success story.. I am showing hboot 1.12..Woot! Time to feed some pandas..Thanks to all of you guys and your exceptional intelligence and sacrificing of time
[Sprint HTC EVO 4G LTE] yarrimapirate:
Glad to see people are able to get this done.

I've completed a script that does the first half on the process automagically and was working on part two. The idea was to give closeone some relief so he could focus on getting thing integrated with his LiveCD.

Well I was trying out a different way of corrupting p4 (writing 1k of nulls to it instead of flashing the wrong file) and I MAY have permanently bricked this phone. It's not happy with me right now that's for sure.

At any rate, my development on the script is stopped until I fix my phone. I do know closeone has a good chunk of the unbricking portion of his script already done. The only real difference I think it that mine does some additional error checking, but he's had a day to work on things so that may have changed.
[Sprint HTC EVO 4G LTE] bathanr:
Fed the panda lots of bamboo! He is feeling really satisfied and I have s-off. Thanks a bunch everyone, especially Mac and Yar who provided great instructions
[Sprint HTC EVO 4G LTE] alucke:
downgrading hboot 1.19 to hboot 1.12 worked!!!!!

Thank you, very much for this. now I am s-off.

alucke
[Sprint HTC EVO 4G LTE] il Duce:
Not sure if this is of use but when unknownforce did this on the shooter, part of the process was having a few terminals open with commands typed in, for when you get to the part where sda/b/c/d was needed. That way depending on how the device showed up you could press enter in the correct terminal, taking advantage of your 8 second window.
[Sprint HTC EVO 4G LTE] doitda:
Question for the Linux gurus..

I want to get this done but I only have a Windows laptop and Windows desktop at the moment. Is there a free Linux OS that you can recommend were I can burn and iso and boot up into a temporary Linux environment to complete the tasks without overwriting my Windows platform?

Thanks a bunch.
[Sprint HTC EVO 4G LTE] klept0:
seriously?
[Sprint HTC EVO 4G LTE] flashinglights:
Just Google "wubi", that let's you dual boot Ubuntu on your pc. You can uninstall like a regular program if you don't want it afterwards
[Sprint HTC EVO 4G LTE] lawnguy:
Kubuntu was what I ended up on
[Sprint HTC EVO 4G LTE] doitda:
Serious.

While it may be familiar to you, last time I touched a Linux install was back in 2000.

I was hoping to find out if there is a download-able pre-configured environment that could boot from a memory stick or burnable, similar to a WINPE type deal that gives the normal set of commands and doesn't touch the existing OS at all.
[Sprint HTC EVO 4G LTE] bog3nator:
you can install ubuntu with windows using wubi. it will auto partition your hdd so you can dual boot
[Sprint HTC EVO 4G LTE] doitda:
Ah, I was hoping there was a fully contained OS that might boot into memory and run from there without needing to make changes to the boot partitions of the host PC, just for the purpose of running the steps.

My desktop is a pristine gaming rig and laptop is a Windows 8 Pro OS with their native Hyper-V for evaluating the new 2012 Win server OS's and server apps.

I'll do some more searching, thanks.
[Sprint HTC EVO 4G LTE] closeone:
Hey there doitda. You can always use a live CD. Boots up straight to a full Linux environment, and doesn't make any changes to your drive. I had lawnguy over there on Xubuntu for a while. The other alternative is the HBOOT Downgrade Toolkit that I'm working on. I'm still going over some code with yarr and Mac... and we're all comparing notes. As soon as it's available, you'll know. :)

~co~
[Sprint HTC EVO 4G LTE] ahecht:
You mean a LiveCD? If you burn Ubuntu to a CD and then boot your computer from that CD, it will do exactly what you want (run from RAM without installing anything on your hard drive). You can run several flavors of linux (including Ubuntu) from a USB flash drive with the USB installer from pendrivelinux.com
[Sprint HTC EVO 4G LTE] Spyderekz:
I ran my root straight from a USB drive using Ubuntu 12.04. Its possible to do it with out actually installing linux
[Sprint HTC EVO 4G LTE] KEYofR:
There are many many. Ubuntu desktop install disk is probably the easiest, most up to date, most hardware supporting, most supported by others.

And the wubi install option is particularly good in your case because it installs, meaning you can install more packages and make settings changes and keep them over reboots, but it doesn't reformat or resize partitions. The entire ubuntu filesystem is just a big file on your windows filesystem. You can simply delete it any time you want. It's not a vm, you reboot into that system.

It DOES add an entry in the widows bootloader menu, but that's relatively harmless. It doesn't replace the mbr or bootloader with grub the way traditional dual boot does.

So either run the ubuntu desktop install cd in livecd mode or get the wubi installer are your best bets.

There's also practically countless other live CD's if ubuntu is no good for some reason, but since most people use ubuntu for desktops these days, that will be the best supported by other people's experience.
[Sprint HTC EVO 4G LTE] alucke:
unable to receive phone calls and text messages after s-off

After I downgraded back to hboot 1.12. I have been unable to receive phone calls and text messages. any ideas why???

alucke
[Sprint HTC EVO 4G LTE] yarrimapirate:
http://www.ubuntu.com/download/desktop

Just download the LiveCD image, burn the image to CD, stick it in your PC and boot. It boots to a fully working desktop without having to install...

...Though in your case I think installing Linux may be an upgrade over your current OS. :p
[Sprint HTC EVO 4G LTE] NaterTots:
Did you S-Off it?

If on calls it says error 16 or something just stay on the line and a Sprint rep will pick up. Then they will reprovision your phone.

It is common after S-off and may be the same thing after downgrading Hboot.

Naters
[Sprint HTC EVO 4G LTE] alucke:
i downgraded to hboot 1.12 then s-off'ed.
[Sprint HTC EVO 4G LTE] yarrimapirate:
Could also try Activate Device from the settings menu.
[Sprint HTC EVO 4G LTE] Spyderekz:
just reactivate your phone under settings. towards the bottom. let it do its thing, if you need to update profile and PRL as well.
[Sprint HTC EVO 4G LTE] {ParanoiA}:
For anyone reading, after you s-off, try activation through settings like already mentioned. I didn't do that and had no out or in calls for 2 days b4 I realized it. I had to call sprint to fix it.
[Sprint HTC EVO 4G LTE] sullivan7221:
Here is a post of mine from another thread after I experienced the same issue.....
[Sprint HTC EVO 4G LTE] Tilde88:
hey guys... need a hand... im running as root on Ubuntu PP (through VMWare ESXi host). Also, you have a typo (yarripirate): your directions say emmc_recovery_new, the tile is emmc_recover_new

trying to flash the Bootloader @ sdd12

gives me

df - h =

Oh and

EDIT::UPDATE

>.> turns out it didn't brick... i just went to the ESX, and looked at the phone, it was booted up... gonna try rebricking, though i followed all the steps... heres a looksee

Sigh... nvm, ignore all the clutter... i nevver DD'd the 2nd file...derp :-p
[Sprint HTC EVO 4G LTE] yarrimapirate:
sudo modprobe -r qcserial
sudo mknod /dev/ttyUSB0 c 188 0

I'll fix the typo...thx :)
[Sprint HTC EVO 4G LTE] Tilde88:
ok this time my problem is legit :\... cant get passed Waiting... i have tried USB cable swap, ive done 10sec,15sec,30sec,and 1minute holds on power button... help?

edit:

did a ctrl c on the waiting, ran the modprobe and mknod (mknod says File Exists)... now i get the Please Connected Device again

update: to fix the above edit, power cycle your brick, and rerun sudo modprobe -r qcserial (i ran it like 10 times to be sure lol) then recreate the node (mknod blahblah) then emc recover again... still stuck on waiting however :\

i can see that the phone is cycling, i know because on the terminal the cursor stays solid while trying to access sdd12 (after holding power button for a bit)... but after about 10 seconds it begins to blink and nothing happens (as if its trying to discover again...) ive also switched the the port its plugged into as well as the cable.

i hope i finish this before i leave work.... lol, I've done nothing at all today at the office

gonna grub-install my laptop... fix my dual boot, do this on physical rather than virtual... shouldnt matter i know, but sheesh
[Sprint HTC EVO 4G LTE] mmhama2:
YES! Hopefully this helps development on our device.
[Sprint HTC EVO 4G LTE] cgrimm9:
where do you plug your phone into your computer. I noticed flashing my phone both the droid x and the evo lte I have to plug my phone in the back of the of the computer. the front usb ports are never suggested to flash any anything from. always use the usb ports that are attached to the motherboard, not through extensions

I also noticed that when I was bricked I had to use a newer ubuntu I tried to unbrick my phone and ubuntu 9.10 which I was would not work

---------- Post added at 08:46 PM ---------- Previous post was at 08:44 PM ----------

yeah should of caught that yesterday yarr jk
[Sprint HTC EVO 4G LTE] yarrimapirate:
Actually it matters on this process. Windows USB stack is slow to detect USB devices... and it takes a couple seconds to assign them to the guest OS once it does. Since we are dealing with a time window of 7-8 seconds when the phone will accept a flash, it most likely explains your difficulty.

Remember to hold down the power button for more than 30 seconds as well. There's been a 100% success rate with that moving the process along (once everything else was set up properly).
[Sprint HTC EVO 4G LTE] Tilde88:
cgrimm9, i was using a server machine, only has ports on the back... but that sounds like your mobo is a bit screwy, and is just routing extra USB devices, rather than have actual physical USB ports. im on my laptop now, and still stuck on waiting :(, laptopt is @ sdc12... gonna do some more cycles and try the other 2 ports on the lappy

lol UPDATE:

Laptop progressed where the server couldnt... lol those damned 2CPU quadcore machines (8cores)... too STRONQ... then again... linux doesnt give a **** about drivers and whatnot (unless its legacy) so i guess, it is because of the virtual machine...

here is the weird part... the VM i was using was a P2V from the SAME exact laptop im flashing with atm...weiiiird
[Sprint HTC EVO 4G LTE] lawnguy:
@PIRATE,

got s-off yesterday, my problem now is this:

C:\Users\Mikie1\Downloads\Evo4GLTERoot>fastboot devices

HT278S405301 fastboot

C:\Users\Mikie1\Downloads\Evo4GLTERoot>fastboot flash recovery recovery.img

sending 'recovery' (7356 KB)...

OKAY [ 1.131s]

writing 'recovery'...

FAILED (remote: partition is not allowed to be flushed!)

finished. total time: 1.165s
[Sprint HTC EVO 4G LTE] yarrimapirate:
Interesting.

Why are you reflashing recovery BTW? Just out of curiosity.

Have you flashed a new ROM since running LazyPanda?
[Sprint HTC EVO 4G LTE] lawnguy:
Its crashing on twrp 2.2.2.0

Flashed superlte, started getting bugs, flashed different build won't complete flash. Recovery flashed kinda funky on me this morning...
[Sprint HTC EVO 4G LTE] yarrimapirate:
So you are on a physical Linux machine now, yes? Read my earlier post about VMs and USB.

---------- Post added at 01:05 PM ---------- Previous post was at 01:03 PM ----------

Can you boot to your ROM still? Try flashing TWRP via GooManager.
[Sprint HTC EVO 4G LTE] lawnguy:
Can you boot to your ROM still? Try flashing TWRP via GooManager.[/QUOTE]

I have done both, think I'm gonna load it into a PJ zip and try that way...no dea what causes that?
[Sprint HTC EVO 4G LTE] xHausx:
The "SHIP" hboots don't allow directly flashing to partitions, you'll need to use the PJ75IMG.zip from RUU mode.

fastboot oem rebootRUU
fastboot flash zip PJ75IMG_twrp.zip
[Sprint HTC EVO 4G LTE] {ParanoiA}:
Edit: questions answered. Delete me
[Sprint HTC EVO 4G LTE] DNarsingh:
After running LazyPanda and achieving S-OFF, did you flash the updated LazyPanda HBOOT from their website, it will enable fastboot commands, which is why I think you are having problems installing the recovery via fastboot.
[Sprint HTC EVO 4G LTE] lawnguy:
I'm s-off, so I'm not shhipped hboot, correct?

---------- Post added at 03:17 PM ---------- Previous post was at 03:15 PM ----------

I didnt flash an additional hboot, I'll go back and grab it...thanks... I'd bet that's it!!!
[Sprint HTC EVO 4G LTE] xHausx:
It's something htc started blocking in the past year or two. Now only the engineering hboots and modded ones like Lazy Panda's will allow it.
[Sprint HTC EVO 4G LTE] alucke:
it was an error code 16, I tried to make a call and a sprint rep picked up and fixed the problem.
[Sprint HTC EVO 4G LTE] lawnguy:
Well, I flashed the additional bootloader\hboot I'm sure that was the problem... Again thanks. I was brainfried after yesterday...

edit that fixed it flashed like its supposed to...