yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] pdaddy:
you will still have the s-off flag from unrevoked forever, so you can flash a custom recovery from the bootloader using

Code:

fastboot flash recovery /sdcard/recovery.img

assuming that you are booted in the bootloader and have the recovery image on your sdcard as recovery.img.

Does this mean download a rom, put on sd card, and keep the original recovery.img also?
[EVO 4G Android Development] kellyrx8:
shift right click on the tools folder in your SDK folder then open in command

if not just make sure your SDK folder i somewhere accessible and start>run>cmd and use cd to navigate to it...
[EVO 4G Android Development] Ocscott:
I went ahead and selected "no" to the update, was that the correct thing to do?
[EVO 4G Android Development] SAlpIche:
Since I do not have a Windows box near by I am trying this on Ubuntu as I did before with my Hero, and I am getting "adb: command not found" can someone tell my what am I missing? (aside from the WinBox)

:D
[EVO 4G Android Development] kudosmog:
did u install the hboot usb drivers from the reflash_package extract? There is an html doc in there that walks you through it
[EVO 4G Android Development] bsnyder217:
ok i got it to work but instead of an # i get an $
[EVO 4G Android Development] kudosmog:
and you did follow the instructions and toggled airplane mode on and off until it threw you out of the shell correct?
[EVO 4G Android Development] regaw_leinad:
Are you on the step to flash the PC36IMG.zip? If so, you needed to press yes to flash it, as my guide says.
[EVO 4G Android Development] Trident:
I'm in the same position, except I haven't tried to press the PWR button while Recovery is selected. The indicator of what is selected is HBOOT USB PLUG.

Pic is fuzzy, but I don't want to do anything else that might screw it up. Please help.
[EVO 4G Android Development] carguy4471:
For the folks that tried simpleroot with this. At what step # did you stop after and use simpleroot. I have used simpleroot a few dozen times and will continue with that but glancing at the instructions couldn't easily determine where to stop and use it.

Thanks all!! Cheers!!

And fantastic job OP, bravo!!
[EVO 4G Android Development] Jbroad572:
Went through it all again. this time it worked... Whew.. now to finish up.
[EVO 4G Android Development] regaw_leinad:
Ok, you are having driver errors with HTC Sync if it stays on the bootloader for more than a minute. You need to uninstall HTC sync, pull the battery, and try unrevoked again, after HTC sync is uninstalled. Hope this helps. Directions for uninstalling are in the post under the install.
[EVO 4G Android Development] Shadeoblac:
You are amazing!!! Thanks soooo much!!!
[EVO 4G Android Development] riz_o:
I tried "adb push PC36IMG.zip /sdcard/" and it is giving me "adb: permission denied"

Anyone have ideas as to why this happens?
[EVO 4G Android Development] bsnyder217:
same thing here
[EVO 4G Android Development] kudosmog:
Is the phone in charge only mode?
[EVO 4G Android Development] superguyyy:
Make sure you have the zip in the same folder as adb.exe and that you have sufficient space on your sd card.. Also refer back to the steps that involved chmod to correct the error with flash_image.
[EVO 4G Android Development] Trident:
HTC Sync is uninstalled from my PC... Am I going to uninstall it from the EVO as well?
[EVO 4G Android Development] novanosis85:
Yes
[EVO 4G Android Development] regaw_leinad:
Yeah what he said... but most importantly, DO NOT JUST SKIM the guide. You have to read everything if you want to get it right on the first try.
[EVO 4G Android Development] riz_o:
Yes, it is in Charge Only Mode. I also have HTC Sync (v. 2.0.40) installed. Does that matter? Running windows XP SP3
[EVO 4G Android Development] regaw_leinad:
verify that the PC36IMG.zip is in fact in the C:\android-sdk-windows\tools\ folder
[EVO 4G Android Development] mr_joe:
THANKS! Now i can wait in peace while my phone comes in. i was worried i couldn't flash Root 2.2 and use it with Cricket.

back to waiting for ups man/woman.
[EVO 4G Android Development] x_cell3217:
[QUOTE

Once that dumps you out of the shell, type

adb shell

and you will see you now have a

#

instead of

$

now type

cd /data/local
./flash_image misc /sdcard/mtd-eng.img

that will flash your misc partition with Toast's mtd-eng.img.

This should return you to a blank line with #.

Dan Wager[/QUOTE]

Hey guys i am having a problem rooting this evo when abd dumps and i type adb sheel it doesnt show # it shows $ and then when i continue

C:\android-sdk-windows\tools>adb shell

# chmod 0755 /data/local/tmp/rageagainstthecage-arm5.bin

chmod 0755 /data/local/tmp/rageagainstthecage-arm5.bin

# chmod 0755 /data/local/flash_image

chmod 0755 /data/local/flash_image

# cd /data/local/tmp

cd /data/local/tmp

# ./rageagainstthecage-arm5.bin

./rageagainstthecage-arm5.bin

[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={3317, 3317}

[*] Searching for adb ...

[+] Found adb as PID 24570

[*] Spawning children. Dont type anything and wait for reset!

[*]

[*] If you like what we are doing you can send us PayPal money to

[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.

[*] If you are a company and feel like you profit from our work,

[*] we also accept donations > 1000 USD!

[*]

[*] adb connection will be reset. restart adb server on desktop and re-login.

#

C:\android-sdk-windows\tools>adb shell

$ adb shell

adb shell

adb: permission denied

$ adb shell

adb shell

adb: permission denied

$ cd /data/local

cd /data/local

$ ./flash_image misc /sdcard/mtd-eng.img

./flash_image misc /sdcard/mtd-eng.img

error writing misc: Permission denied

$

if anyone can help me i will really appreicate it thanks
[EVO 4G Android Development] bsnyder217:
wtf now its saying that "no such file or directory exists"
[EVO 4G Android Development] regaw_leinad:
you were already on a rooted custom rom it looks like.
[EVO 4G Android Development] Spurs_Redskins:
ROM Manager says SU not found.

Ok, I did the root procedure to go from stock Froyo to 2.1, so after downloading ROM Manger it says Superuser was not found. I thought SU (I'm assume "root") was built-in after following: "Guide to root Anroid 2.2 on the EVO 4G"

I wanted to load Skyraider 3.0

Help?
[EVO 4G Android Development] kudosmog:
nevermind! useless post. sry!
[EVO 4G Android Development] riz_o:
Yes, the files are all in the "C:\android-sdk-windows\tools\" directory
[EVO 4G Android Development] flyboy188:
for those of ya who have sucessfully done this procedure when pushing the the files in step 5 how long is it suppose to take?
[EVO 4G Android Development] kudosmog:
The evo-root.zip. should be extracted, the other two files get placed in there as the .zip

That's how they were put in there right?
[EVO 4G Android Development] kudosmog:
PC36IMG.zip is the longest. it took me a minute or three by itself.
[EVO 4G Android Development] josercoaster:
After I type in .flash_image misc /sdcard/mtd-eng.img I get .flash image not found
[EVO 4G Android Development] Trident:
It's now step #6. And it's very quick. The last one takes about about a minute. Others are a few seconds at most.
[EVO 4G Android Development] kudosmog:
Did you extract the evo-root.zip file into the tools folder?
[EVO 4G Android Development] doolittle2010:
process worked

The process you described worked fine for my evo. Thanks for your hard work!
[EVO 4G Android Development] flyboy188:
ok then something is wrong ive been waiting for more than 20 mins and it still stuck in the last one hasent told me it sucessfully pushed it yet -_- should i retry it ?? would it brick my phone??
[EVO 4G Android Development] josercoaster:
yes i can see the flash _img 26kb

and the mtd-eng 640kb

but the zip has 12kb for flash and 1kb for the mtd-eng
[EVO 4G Android Development] jiqqaman:
Pushing the file to your phone won't brick
[EVO 4G Android Development] flyboy188:
all right gonna retry it to see what happens -_-
[EVO 4G Android Development] regaw_leinad:
Ok, open up a new cmd promt in the tools directory, so C:\android-sdk-windows\tools

then try

adb push PC36IMG.zip /sdcard/

make sure your sdcard is not mounted to the hard drive.

Yeah that one is ~190mb or something

it's

./flash_image misc /sdcard/mtd-eng.img

notice the . and the / before flash image
[EVO 4G Android Development] Trident:
OK. Made sure that HTC Sync was uninstalled from PC. Rebooted PC.

Removed battery and rebooted EVO. Put it on Charge ONLY, USB Debugging mode ON. Ran reflash.exe after decompressing reflash_package.exe again.

Still stuck on that white bootloader page.

Suggestions?
[EVO 4G Android Development] nfinitefx45:
see if this helps if you are on sdk 5 then your files need to be in the tools folder, If you are sdk 6 then your files need to be in the android folder if I am not mistaken this was changed from between 5 and 6
[EVO 4G Android Development] superguyyy:
Hey guys i am having a problem rooting this evo when abd dumps and i type adb sheel it doesnt show # it shows $ and then when i continue

C:\android-sdk-windows\tools>adb shell

# chmod 0755 /data/local/tmp/rageagainstthecage-arm5.bin

chmod 0755 /data/local/tmp/rageagainstthecage-arm5.bin

# chmod 0755 /data/local/flash_image

chmod 0755 /data/local/flash_image

# cd /data/local/tmp

cd /data/local/tmp

# ./rageagainstthecage-arm5.bin

./rageagainstthecage-arm5.bin

[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={3317, 3317}

[*] Searching for adb ...

[+] Found adb as PID 24570

[*] Spawning children. Dont type anything and wait for reset!

[*]

[*] If you like what we are doing you can send us PayPal money to

[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.

[*] If you are a company and feel like you profit from our work,

[*] we also accept donations > 1000 USD!

[*]

[*] adb connection will be reset. restart adb server on desktop and re-login.

#

C:\android-sdk-windows\tools>adb shell

$ adb shell

adb shell

adb: permission denied

$ adb shell

adb shell

adb: permission denied

$ cd /data/local

cd /data/local

$ ./flash_image misc /sdcard/mtd-eng.img

./flash_image misc /sdcard/mtd-eng.img

error writing misc: Permission denied

$

if anyone can help me i will really appreicate it thanks[/QUOTE]

Are you toggling the Airplane mode while executing rageagainstthecage-arm5.bin? Try toggling Airplane mode right before executing the bin, and back again until the bin finishes and adb resets.
[EVO 4G Android Development] Elvesofdarkness:
I am getting stuck at the unrevoked 3 part. Everything working great but I get to the part after you select hboot and then it starts to work reboots the phone normally and then unrevoked 3 is sitting on Waiting for Reboot and wont do anything anyone have any ideas how to get past this?

Edit: Just a note I got the drivers and all installed correctly
[EVO 4G Android Development] josercoaster:
Thanks Im an idiot and need glasses, thanks forgot that backslash

Danke
[EVO 4G Android Development] savior1974:
just chiming in to say thanks, and it worked great for me :D
[EVO 4G Android Development] Tiffany84:
so do i remove htc sync before i try any of the first prompts?
[EVO 4G Android Development] sharonpta:
how did you get past /local directory

do you have to change permissions on this directory? Right now its set at Directory only
[EVO 4G Android Development] Tiffany84:
hey regaw, is there any way you could help me? I will donate money. what ever ive got to do to get some help.
[EVO 4G Android Development] kudosmog:
HTC sync only gets in the way when trying to run Unrevoked. It should be uninstalled or killed in processes before running the unrevoked exe
[EVO 4G Android Development] flyboy188:
the process freezes when is pushing the pc36img.zip file the cmd dont freeze but it just dosent confirm its pushed it after 10 mins or more of waiting.... =/ any help??
[EVO 4G Android Development] Tiffany84:
when i type in any prompt it doesn't repeat it back and give me a $. It just fills the whole screen up with a bunch of stuff. Am i doing it wrong?
[EVO 4G Android Development] Elvesofdarkness:
I got it working. What worked for me was rebooting my pc I tried killing HTC sync and ADB processes and it still wouldn't work right. I rebooted pc killed HTC then worked like a charm.
[EVO 4G Android Development] regaw_leinad:
I sent you a pm a while back, check your messages. I can help out, but lets do it on gtalk or something so we can keep the thread cleaner.
[EVO 4G Android Development] kudosmog:
A bunch of stuff?

I'd start over from the beginning if I were you, and take extra time and confirm each step first.

It's not supposed to kick out a "bunch of stuff" after you type each command.
[EVO 4G Android Development] jdr6382:
Almost...

I'm trying to root via this method for my buddy, My phone is already full root 2.2, just trying to spread the love, and I'm running into an issue. So if anyone can help, greatly appreciated.

I'm getting all the way up to the PC36IMG read in hboot. It finds the PC36IMG and the blue progress bar starts and completes. However, after it completes I do not get an update option, there is not a "yes" or "no" option at all. Nothing happens, it just sits there. I tried booting up then down to try again and same results.

note: all files are in C:\android-sdk-windows\tools, and all the cmd prompt entries went through and were successful with no errors.

anyone got any suggestions?
[EVO 4G Android Development] Trident:
I know that happened to me when I had one character typed incorrectly. Did it twice. :o

Looks like it's pushing, but then just stops. Just try again, make sure you have all the characters and spaces correct. It will work.

Meanwhile..... I'm still stuck. Thinking about just going back to OEM2.2. I need this thing working... soon.
[EVO 4G Android Development] t.o.m.:
Method successful.
[EVO 4G Android Development] regaw_leinad:
Well, if the blue bar went and loaded all of that, it does mean that the PC36IMG.zip IS on your sdcard, because it verified the image. Try rebooting into hboot again and trying it one more time. hit the power button on bootloader, then select update, or yes, or whatever the option is to update.

Just make sure to follow the guide EXACTLY as I have written it.
[EVO 4G Android Development] rubsal70:
how do you do gtalk? cause I want to do it, but I have never done this. It's much harder then hacking my old iPhone, when I had it
[EVO 4G Android Development] Spurs_Redskins:
Am I understanding this correctly? We downgrade to 2.1 in order to get root or SU access, then upgrade back to Froyo 2.2 to while keeping root?

My in all of this was simply to load Skyraider 3.0 ... an ROM that allows me to watch Hulu over 4G. Now that I'm at 2.1, ROM Manager states that SU is missing.

I'm a novice to this. HELP!
[EVO 4G Android Development] josercoaster:
method worked great rooting now , but steps flashed the phone to 2.1.

note in system settings i saw that i had pri 1.40_003

and PRL 60670
[EVO 4G Android Development] Ocscott:
So, you just restarted the PC, and then ran unrevoked again without HTC sync running in the background?

I don't have sync running at all, and it's still stuck where you were stuck.. hm
[EVO 4G Android Development] kudosmog:
The process still might be running even though HTC sync is closed down though.
[EVO 4G Android Development] Ocscott:
Yep, that was happening. I closed it in the task bar, but it was still running in the back ground. Just had to go into the task manager and kill it there. Thanks! :)
[EVO 4G Android Development] grrrrrant:
I don't think any of these files:

adb push unrevoked-forever.zip /sdcard/

adb push flash_image /data/local/

adb push rageagainstthecage-arm5.bin /data/local/tmp/

adb push mtd-eng.img /sdcard/

adb push PC36IMG.zip /sdcard/

are being pushed...

I enter 1 command at a time EXACTLY as you have it and hit enter. It never gives me the $ sign. Example: On the "adb push unrevoked-forever.zip /sdcard/" line, i hit enter and it says this under it...

"2673 KB/s <0 bytes in 213877.000s>"

What am I doing wrong? I followed ALL of the previous steps to a T including downloading all the files and putting them into the tools folder you specified. Please help. I've been waiting for root, for what seems like forever! lol.

P.S. thank you so much for your time and hard work on this!

Thanks, Grant
[EVO 4G Android Development] Trident:
I've been following... although it looks like you've made some changes since I started, but not sure what you changed, or if it was something that I already did & need to do over or need to fix a particular item.

I've tried everything I can think of once I get that big gray unrevoked window.

How do I, "Make sure driver is installed!"?

The instructions say, "Once downloaded, run the program on your computer. Make sure your EVO is plugged in with USB DEBUGGING ON! Do not touch your phone while this process is going. It will reboot to the bootloader, and pause for a little while and then do some reboots.

As soon as it is booted into recovery, you are done with that. " I've gotten into bootloader, but then it just sits there.

If I can't get this working, can I just let it do a FROYO update and try again later? Or am I stuck here now?

Oh, and after the last attempt, when I plugged the EVO back in, it crashed my PC. Not pretty.
[EVO 4G Android Development] brucejg:
I originally had quite a bit of difficulty rooting the phone because I had 1.47.651.1. Since then I installed bakedsnack and then today tried the recipe above while trying to find my way to the factory 2.2 and then rooting it.

I get as far as trying to reboot into recovery. At that point, I get a picture of an EVO with a red triangle with an exclamation point in it. Apparently unrevoked3 is not getting installed. I have to remove the battery to reboot the phone. At this point I have a stock 2.1 system and am unable to move forward from here.

Any suggestions?
[EVO 4G Android Development] Ocscott:
You need to pull up the windows task manager and actually end the HTC sync process and then it should go ahead and work.
[EVO 4G Android Development] jiqqaman:
UnInstall HTC sync when using unrevoked! !!!!!!
[EVO 4G Android Development] cilio87:
Reload Bootloader is end of the road for me

I've done every single thing properly 99.9 percent correctly... whenever i reload bootloader i press power button and phone scans sd card for PC36IMG well i get about 5 different errors as well as PC36DIAG.zip and no image file or something like that... can anybody help me?
[EVO 4G Android Development] Ocscott:
And one last question for me, and I'm done!

I've rebooted and all with unrevoked working, according to the first post I just wanted to double check that I can indeed update now to Froyo 2.2 (or whatever) and it won't affect my root, or do we have to stay at 2.1?

I know this was mentioned in the OP, my OCD just wants to double check.
[EVO 4G Android Development] regaw_leinad:
When you run the unrevoked3 reflash_package.exe it expands all the nessecary files to where ever you choose. Double click on the "hboot driver.htm" file and read/download the information there on the modified hboot driver. then try running the program again.
[EVO 4G Android Development] Trident:
Been there, done that.

There is no trace of HTC Sync on my PC.
[EVO 4G Android Development] HeckNoTechnO:
I keep getting permission denied when trying to push the files? What am I doing wrong?
[EVO 4G Android Development] rizzo:
confirmed working

Followed steps EXACTLY. Worked like a charm on my Evo from an OTA 2.2 I got stuck with.

If you're having problems, RE-READ and SLOW DOWN.

To the OP, thanks again. And hats off to the UnRevoked team as well.
[EVO 4G Android Development] djR3Z:
This will be released tonight
[EVO 4G Android Development] sharonpta:
No $ or #, permission denied, and chmod errors

I don't understand why after hitting enter within the command prompt, I am not getting # or $. In addition, some of the commands failed with a permission denied and in addition, on my phone, I noticed that the permissions on the /local directory is only D, so it won't be able to write without drw. What do I do? I haven't seen any of these problems addressed as of yet.

Sharon
[EVO 4G Android Development] sharonpta:
Same here

Mine is doing the exact same thing. I'm on Windows 7, are you? I wonder if its is this OS?
[EVO 4G Android Development] jdr6382:
ok, booted up, and started over with the cmd commands directly after the push section. I did not redo the push file commands (which were successful the first time), but Im getting the same results. reads it and the progress bar completes, then just sits there with no update "yes" or "no" option.

wait: just noticed something, I did not uninstall htc after installing it!!

let me try it again after uninstalling. I'll report my results.
[EVO 4G Android Development] bjb_nyj101:
EDIT: Scanned the thread again, gonna try something.
[EVO 4G Android Development] sharonpta:
USB Debugging connected discrepancy

One thing i noticed is in the guide, you say to turn on USB debugging. But also to make sure "Charge only" is selected. But with USB debuggin on, and when plugging in USB, mine says "USB debugging connected" Which does it say on your device?
[EVO 4G Android Development] kellyrx8:
try unrevoked again or if you want try simpleroot OTA or some other method...however like mentioned in the first post, if another method is used then there will be no support for it.
[EVO 4G Android Development] sharonpta:
How did you fix

How did you get past this?
[EVO 4G Android Development] awrnsmn:
Thank you!!

Thanks to everyone involved with this!! It worked like a charm.
[EVO 4G Android Development] Trident:
It will say "USB debugging connected"whether you have Charge Only or Disk drive selected.

Right now, I have both icons for Charging Only and "USB debugging connected" on the top bar.

And I'm exceptionally frustrated. I can't even get back to the option to update to Froyo that I saw when I first booted here. It keeps failing to update the VM app. :eek:
[EVO 4G Android Development] sharonpta:
Did you get past it yet?

I agree, that we should keep this to instructional and help threads and I am receiving the same error message you got. Did you get past it yet?
[EVO 4G Android Development] skydeaner:
thank god i can trade my phone in now lol. I am sick of the light spot over the processor.
[EVO 4G Android Development] lonlawrence:
Thanks, but most rooters will wait until you get it perfected and a heck of a lot more simple.
[EVO 4G Android Development] mezkal24:
This worked flawlessly for me, thank you so much for taking the time to write it!
[EVO 4G Android Development] cbo02:
End results

Ok I thinks I am all done now. Version 2.1 update-1 is this correct.

Thanks for all the hard work that went into this.
[EVO 4G Android Development] clim84:
update to 2.2 first?

Dan and all,

Can someone entertain a juvenile question for me? I'm on a rooted 2.1 using toast's method, but have put off updating to OTA 2.2 until this sort of fix has been done. Now, should I start by accepting the 2.2 update, and THEN start this guide from the beginning? Or should I start somewhere partway through this guide from where I'm at right now? Or does this guide only apply to Evos that already came loaded with 2.2 from Sprint?

Thanks in advance -- donating very happily tonight!
[EVO 4G Android Development] tomh1979:
yeah i'll be waiting, i just don't feel that comfortable with this method yet, so i'm hoping unrevoked does come out with a easier method for those who choose to stay with the ota 2.2 for now, i mean i've waited almost a month now, what's it going to hurt by waiting a little longer for now right.

FYI: big thanks to them for coming out with this current method though, your efforts to please the mass's is greatly appreciated.

however if someone live's near York PA and would be willing to do it for me, i'll buy some beer for you.
[EVO 4G Android Development] Daft Punk:
so um.......i did everything step by step, got 2.1, rooted with Unrevoked3, did unrevoked forever.......i reset the phone (power off, power on). Now it wont turn on.....!!! ****.