yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] EyeslikeOlives:
Pull battery and restart phone. Its fine, start up regularly. OP says to run Unrevoked3 as Admin (it's an option when you right click) and as Compat XP SP3
[EVO 4G Android Development] reallango:
ok well I read that after I made my post and tried it right away but doesn't seem to have changed anything. If someone could atleast tell me how it's supposed to act at that point when it's done right maybe that would help. Like is it supposed to go into a recovery mode or is it supposed to boot into the os?
[EVO 4G Android Development] Rsloan:
Im having a hard time doing this its not native to me do I hit enter after each command push? I need more um..Exact instructions to this part of process..Please.

ype these commands in cmd prompt from your adb tools directory.

Code:

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/

Note: the PC36IMG.zip will take longer than expected to transfer to the sdcard. It is a BIG file.

Now we chmod a few things

Code:

adb shell

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

chmod 0755 /data/local/flash_image

Ok now for the root shell.

On your phone, go to Settings > Wireless & Networks

After you do these next 2 commands, start toggling Airplane Mode over and over until you acheive the desired results mention in a few steps.

*

(still in adb shell)

Code:

cd /data/local/tmp

Code:

./rageagainstthecage-arm5.bin

(This is where you start toggling airplane mode)

You will now see some text on your cmd prompt screen explaining the exploit.

Wait for the adb shell to go away, and it will dump you into your windows command prompt again (no shell) should look something like this:

C:\android-sdk-windows\tools>

If it dumps you to a $ instead, repeat those 2 commands again, toggling airplane mode again.

Once that dumps you out of the shell, type

Code:

adb shell

and you will see you now have a

Code:

#

instead of

Code:

$

now type

Code:

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 #.

If you get an "Out of memory error" with a huge list of weird lines, here's how to fix it.

Reboot your phone normally.

Open a command prompt and go backwards in this guide until you see the big red * and start from there.

Once it is flashed correctly, move on:

Type

Code:

reboot bootloader
[EVO 4G Android Development] suprano:
about to get my ROOT on..=]

Sent from ANDROIKAY EVO using xda app =]
[EVO 4G Android Development] EyeslikeOlives:
Yeah. Once you have the cmd window open, just type in the commands and press Enter after each command. Make sure to type them exactly as they're written.
[EVO 4G Android Development] Rsloan:
What is said to confirm I have enter each line correctly?
[EVO 4G Android Development] dirtyernie:
Both of those were done (at first go) as per instructions (at Admin XP3).
[EVO 4G Android Development] brushrop03:
Volume Up + Power to get out doesnt work?
[EVO 4G Android Development] EyeslikeOlives:
I forgot what they say but you'll type in, for example, adb push blah blah /sdcard/ and after hitting enter a line will come up under what you type showing the file size 12141 bytes and it'll have another line after that to which you can type in again. Then just keep typing in those commands.
[EVO 4G Android Development] jiqqaman:
For those that are stuck on Flashing Recovery Screen with Unrevoked, try uninstalling HTC Sync. Then retry Unrevoked. :cool:
[EVO 4G Android Development] dirtyernie:
I am reverted to 2.1-update 1. Where would I go from there? It's a little unclear (although very grateful I have gotten this far with the instructions).
[EVO 4G Android Development] Pupator:
Thanks for all the hard work on this - really well done.

Now I will reveal my noobness.

I've got everything done (downgrade to 2.1, unrevoked) but now I'm not sure what the best next step is for me. I really liked the stock 2.2 and am only rooting because I want wifi tether. If I take the OTA upgrade will I still be able to install the tethering app? If not, which ROM should I install that will be the most like stock?

Thanks!
[EVO 4G Android Development] brushrop03:
Can't get unrevoked 3 to reboot into Recovery. Just sits there saying to hit HBOOT USB
[EVO 4G Android Development] ekokinex:
I just finished everything in the guide and now am running rooted 2.2 on my EVO for the first time ever. My questions is can I install Cyanogen Mod 6 or do I need to do anything further. The thread for CM6 says it requires NAND unlock and I'm not sure if the root method unlocks NAND. Any help? and how do I install CM6?
[EVO 4G Android Development] ceez561:
Following each steps and it was perfect !!! Thank you so so so soooooo much !!!!!!:d
[EVO 4G Android Development] wickidninja:
outstanding! thanks to all who got this working.
[EVO 4G Android Development] BorisDDS:
Need Help with the USB driver

I have followed all the steps in the video - successfully

When I got to the Reflash_Package and I got the ERROR that was described in the post. I have read the hboot driver.htm file and I could not find the USB Driver described in the file.

I checked in:

c:\Android\

I don't have any other files or folders on computer that named USB_Driver.

Please Help.
[EVO 4G Android Development] backdown:
I got this all working and such, and i did it to where it says "You are now running 2.2 rooted stock..blahblahblah." But when i try to flash another rom, it stays on its bootscreen forever? But i can flash to the PC36IMG.zip and it goes to the stock rom?
[EVO 4G Android Development] rajas_evo:
For the modified drivers and explanation on how to install them, open the "hboot driver.htm" file that gets extracted when you extract the reflash_package.exe. It will explain everything. You will have to reboot your phone after you install the drivers. Once you have repaired this go back to the big blue

check and see where you extracted the reflash_package.exe

there you will find the "hboot driver" html file

when you open that file in your browser, you will see the link where you need to download the usb drivers from. you cant miss it.. its the first line.. and it says...

Download the unrEVOked modified USB driver and expand it somewhere you will remember.

once you download that, you can extracted it. then you can use that to complete your steps.
[EVO 4G Android Development] rajas_evo:
on my machine.. it extracted it into my mozilla folder by default.. but of course you can choose the location when you run the extractor/unzipper.

i found the drivers at: C:\Program Files (x86)\Mozilla Firefox\reflash_package
[EVO 4G Android Development] hapticchaos:
hey regaw

;)

so im all the way up the having arooted 2.2 booted. but when i go to flash a rom, i get an error. how do i know if i have nandroid unlocked? when i do root activities i get superuser alerted...doesnt this mean im nandroidedout?

yes i wipe before an flash...
[EVO 4G Android Development] backdown:
I am having a similar problem. I get my ROM flashed, and it stays on the bootscreen forever. It sat there for 20 minutes before i pulled the battery.. (i have tried two different roms)

Just went to download wifi tethering from the market and it says i am not rooted?
[EVO 4G Android Development] hapticchaos:
i dont think our issues are similiar. i think you need to make sure your wiping, and even go in for a redownload of the rom.

i cant get past rooted 2.2...i can flash the 2.2 rom but not the cyn? i know im rusty, please help a brother out
[EVO 4G Android Development] rajas_evo:
i believe if you completed the entire guide.. you should be nand unlocked.

what error are you getting?

did you check this: http://xdaforums.com/showpost.php?p=7900507&postcount=1525

something about having to flashing a bootloader..
[EVO 4G Android Development] rajas_evo:
and i found the answer from the man himself...

http://xdaforums.com/showpost.php?p=7893652&postcount=1488
[EVO 4G Android Development] rajas_evo:
just to clarify.. you completed the guide... and now you are trying to get wifi tethering? correct?

if so, the app in the market didnt work for me either. i had to download it off of google at this location: http://code.google.com/p/android-wifi-tether/downloads/list

using pre8 and wifi tethering is working great.

as for custom rom.. i think you will have to first flash the recovery image, and this might also involve flashing a new bootloader depending on the custom rom you are wanting to use.
[EVO 4G Android Development] backdown:
I got mine working..and i didn't do anything different. Very Strange indeed.

Thanks for the write up and finding a root exploit OP, i appreciate it.
[EVO 4G Android Development] rajas_evo:
yes, it is nand unlocked.
[EVO 4G Android Development] Andy S:
To get SU, I was missing the superuser pop up on the phone when I tried from cmd line adb shell. So when you do the SU command, look at your phone and see if it's asking for permission.

I'm basically at the same place here. I can flash the PC36IMG.zip that's in the Amon_RA zip at the end of the OP, but anything else flashed sticks on the hboot screen, or gets to the 4G logo in the boot animation only to loop back to the first of the animation (depends on the rom how far it gets I think).

And I still can't do the flash_image.

So I think several of us have the same thing screwed up.

Might go back tomorrow and do the second half with clockwork and see if that makes a difference for me.
[EVO 4G Android Development] tmixmn:
I'm looking to root my brothers EVO with this method, yet he doesn't want to lose all the apps he has downloaded. Any suggestions on how to accomplish this?
[EVO 4G Android Development] KiddUriel:
Dude you are THE MAN !
[EVO 4G Android Development] Andy S:
Install the app brain marketplace, sync the phone so that it knows what he has, then it will let you just download them all again in batches when you're done.

It's easier to use than the google marketplace, anyway. Also, their "fast web installer" is nice because you can just push new apps straight from the web to the phone.
[EVO 4G Android Development] timwoj:
Alright, I got to the very last step. Installed the update, pressed no for reboot, then navigated and clicked Recovery. It got stuck at the white Evo screen, so I followed the instructions to pull the battery and reboot it. Now I get nothing. None of the buttons work at all, even the power button without holding Volume Down. Any ideas? Brick? Pull the battery overnight and try again in the morning?
[EVO 4G Android Development] jdmsohc22:
I've tried to download from both locations and when I try to open them with WinZip I get an error message...

error [C:\Users\Shane\Desktop\PIC36IMG.zip]: start of central directory not found; Zip file corrupt. Possible cause: file transfer error.

But when I try to open with WinRAR, it opens and shows me all the files listed.. WTF..!?!

android-info.txt

boot.img

hboot_0.79.0000.img

ect, ect, ect...

anyone else experience this..?

Edit: Also, is there a chance that a Simple Root will ever be released for the OTA 2.2 Froyo..??
[EVO 4G Android Development] :
Just curious but why are you trying to open up the PIC36IMG.zip? The only reason you would want to get inside that file is to edit it. You don't need to do nothing with it but Flash it as is a zip.
[EVO 4G Android Development] jtec:
jtec

I 'm having an issue with the PC36IMG.zip file not being recognized when i reboot into fastboot. I have read all the instructions and seen all the videos. I believe I followed procedure but it tells me file is to old or won't recognize it at all any help, PLEASE!!!!!!!!! I thought this was supposed to work for froyo as well?:confused:
[EVO 4G Android Development] Karadorde:
You will need the engineering bootloader (hboot 76 if I'm not mistaken) to flash CM6. However, several of us who flashed this bootloader have hit a brick wall. It works for some but not for others. Enter at your own risk. I asked regaw about this and am waiting to hear back from him. I will definitely follow up in this thread if there is an easy solution. You can get the file through a link on page 141 I believe.

Yes you are NAND unlocked.

To install CM6 I would check out the main thread for the ROM on the first page of the Android Development forum, download the Clockwork Recovery App from the market, or simply Google "How to Flash A Custom ROM on an EVO."

Sent from my regaw rooted EVO.
[EVO 4G Android Development] Karadorde:
I would say try to redownload it. People had been having this problem earlier. You might also trying formatting your card to FAT32. Make sure all of the correct files get put back in their respective locations.

Sent from my regaw rooted EVO.
[EVO 4G Android Development] :
I did this as an experiment and found it more trouble than it's worth. It was easy to flash the PC36IMG.zip that had the 0.76 HBOOT but it was hell trying to get back. Pretty much had to start all over and re-root. So good luck with that...:eek:
[EVO 4G Android Development] Karadorde:
Yea several people that used regaw's method tried it. It isn't his guide that cause the issue by any means because it works for some but not others. Really not sure what the issue is. Getting back from it isn't terribly hard. Just flash a full/different PC36IMG image and you are back in business.

Sent from my regaw rooted EVO.
[EVO 4G Android Development] marvin526:
$ chmod 0755 /data/local/tmp/rageagainstthecage-arm5.bin no such file or directory

what is wrong please help im a noob at this I was using the video
[EVO 4G Android Development] Karadorde:
Can you verify that the file did in fact get pushed to proper place? This would've been part of those first few lines of code that you did.

Edited: To fix my eff up for trying to sound like I know what I am talking about.

Sent from my regaw rooted EVO.
[EVO 4G Android Development] edge00:
wifi tether doesnt connect to the laptop

first thnk for all you hard work, everything work fine......now am trying to used android wireless tether it work but doesnt connect to my laptop any ideas what I need to do.............it connect b4 I upgrade to 2.2 I have the HTC EVO
[EVO 4G Android Development] newbapotamous:
Mac Version

any chance of getting a mac-user, newb (as the name implies) version of this tutorial up? i'd really like to start changing themes and so forth, but feel pretty locked down just having sense and no abilities to modify it. Please and Thank you.
[EVO 4G Android Development] marvin526:
Microsoft Windows [Version 6.0.6001]

Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Marvin>cd C:\android\tools

C:\android\tools>adb push unrevoked-forever.zip /sdcard/

* daemon not running. starting it now *

* daemon started successfully *

555 KB/s (213877 bytes in 0.376s)

C:\android\tools>adb push flash_image /data/local/

304 KB/s (26172 bytes in 0.084s)

C:\android\tools>adb push rageaginstthecage-arm5.bin /data/local/tmp/

cannot stat 'rageaginstthecage-arm5.bin': No such file or directory

C:\android\tools>adb push mtd-eng.img /sdcard/

755 KB/s (655360 bytes in 0.847s)

C:\android\tools>adb push PC36IMG.zip /sdcard/

1315 KB/s (175848953 bytes in 130.511s)

C:\android\tools>adb shell

$ chmod 0755 /data/local/tmp/rageaginstthecage-arm5.bin

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

Unable to chmod /data/local/tmp/rageaginstthecage-arm5.bin: No such file or dire

ctory

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

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

Unable to chmod /data/local/tmp/rageagainstthecage-arm5.bin: No such file or dir

ectory

$ chmod 0755 /data/local/Flash_image

chmod 0755 /data/local/Flash_image

Unable to chmod /data/local/Flash_image: No such file or directory

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

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

Unable to chmod /data/local/tmp/rageagainstthecage-arm5.bin: No such file or dir

ectory

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

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

Unable to chmod /data/local/tmp/rageagainstthecage-arm5.bin: No such file or dir

ectory

$

$

this is what i have so far im not really sure what your asking for dude im such a noob at this my bad but can some one help please
[EVO 4G Android Development] Karadorde:
We need to make sure that rageagainstthecage is in the proper place. You can see when you try to push it at the beginning of your code that you get an error and it looks different than all of the other pushed files. That is why when you try to chmod it it says it doesn't exist, because well it doesn't. If all else fails, download the file again and push it to the phone again. I believe it came zipped in the EVO root file towards the beginning of the guide.

edit once again because I don't understand this all as well as is like to think and I don't want some one to mess up because of my misinformation.

Sent from my regaw rooted EVO.
[EVO 4G Android Development] :
Looks like your files did not get pushed in this step;

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

you see this part?

C:\android\tools>adb push rageaginstthecage-arm5.bin /data/local/tmp/

cannot stat 'rageaginstthecage-arm5.bin': No such file or directory

this file did not get pushed...backup and retry it.

I would just redo that step all over...and see.
[EVO 4G Android Development] marvin526:
can i just drag the file onto my card because its not in there but it is in the evo root zip
[EVO 4G Android Development] Karadorde:
Deleted/edited due to improper information.
[EVO 4G Android Development] marvin526:
after if i do manage to root it i will be able to use the wifi tether right
[EVO 4G Android Development] Karadorde:
Certainly. I can verify this 100%. Follow everything in the guide. Once complete: download the app, grant it SU permission, tether till your heart is content.

Sent from my regaw rooted EVO.
[EVO 4G Android Development] :
I think I know whats up. The Evo-root.zip you are supposed to unzip it to the tools folder. The other 2 zips are not to be unzipped. Unzip evo-root one only...
[EVO 4G Android Development] marvin526:
Should I just start from scratch and download everything again tomorrow.
[EVO 4G Android Development] :
uh...I guess but the only thing you did not do was unzip that one file. You already have all the downloads.

here are the files you should see in the tools folder: first 3 were in the evo-root.zip

flash_image

rageagainstthecage-arm5.bin

mtd-eng.img

PC36IMG.zip

unrevoked-forever.zip
[EVO 4G Android Development] regaw_leinad:
when you pushed rageagainstthecage-arm5.bin to /data/local/tmp you missed an "a" you typed rageaginstthecage-arm5.bin.

make sure it got pushed to /data/local/tmp NOT the sdcard

Make a folder named PC36IMG, put any android-info.txt in the folder, then put the hboot image you want to flash in there named hboot.img, then zip it up (don't sign it), put it on your sdcard, then go to the bootloader and hit bootloader, then flash the PC36IMG.zip. You'll have whatever bootloader you put in the zip. Thats how you flash images now that you used unrevoked forever.

NO, not on the sdcard. on the phone in the correct directory.
[EVO 4G Android Development] :
hahaha good catch...maybe I should clean my glasses
[EVO 4G Android Development] Karadorde:
Went back and edited some earlier posts. Forgive the misinformation on my part. :x

Sent from my regaw rooted EVO.
[EVO 4G Android Development] marvin526:
FastBoot

Revovery

Clear Storage

SImlock

HBootUsb

wwhat do i pick please help please please im nervous
[EVO 4G Android Development] marvin526:
Bootloader

Reboot

Reboot Bootloader

Powerdown

What do I pick please help please
[EVO 4G Android Development] Karadorde:
What part of the process are you on? It tells you rather explicitly which one to select depending on where you are in the process.

Sent from my regaw rooted EVO.
[EVO 4G Android Development] EnViiDisLoCo:
First off i want to thank the man who created the root process a breeze....Evo is my first android phone Nd to just jump in it with root access its priceless....but i do have a question 'unrevolked forever' does it nand unlock ?
[EVO 4G Android Development] Karadorde:
Yes it does.

Sent from my regaw rooted EVO.
[EVO 4G Android Development] edfernandez2:
Awesome! Thanks fellas I got it to root successfully.
[EVO 4G Android Development] jsdr78:
guys you are great, thanks for making this possible. I know most of us were desparate waiting for way to root this new software update. question how do you tether using bluetooth via wireless_tether_2_0_5-pre8. i have try all posibilities but no goo results. any help thanks in advance
[EVO 4G Android Development] rdboyce:
You are spelling the rage file wrong every time. You use it. This a a syntax error.
[EVO 4G Android Development] Andy S:
The problem is some of us are using files that work for others that when we flash this way, get us stuck at the boot screen. Not sure packaging ourselves will make much difference if files that others have work are not working for us.

I suspect some of us (me included) have missed something or something didn't complete properly in the process. We have functional root and can do things in general that require root, but some other file or something isn't in the proper place.
[EVO 4G Android Development] timwoj:
Pulled the battery overnight and the phone started right up this morning. I can't get it to boot into the bootloader though. If I hold down volume up and press the power button, the phone vibrates three times then goes back to acting like it's dead.
[EVO 4G Android Development] Andy S:
Volume down+power, not up.
[EVO 4G Android Development] 77vices:
So eh, is are you guy already working on a simplified version of this root? (i.e. one click root :rolleyes: )
[EVO 4G Android Development] thadirty:
Thanks guys....worked great
[EVO 4G Android Development] rajas_evo:
u might wanna keep an eye on this... http://twitter.com/unrevoked
[EVO 4G Android Development] fireflight19:
to jsdr78 i used the pre7 version and it works great
[EVO 4G Android Development] torankusu:
Hi All,

hey andy s, thanks for your help but i already granted allow permission to the applications i mentioned before, it just doesn't seemed to be working i even upgraded to superuser 2.3.5 to see if it fixes that issue but no i still have the same problem. i know I'm rooted because i can delete APKs directly from the rom by using root explorer, it's just that the reboot command gives me a "not permited" message as if it is not fully rooted or allowed permission. i also need to figure out why flash_image doesnt work as if it is not included in this rom.

anyone else have a answer for this.

Thanks in advance.

Update: so i fixed the flash_image issue just by putting a copy of the Flash_image file used in the guide onto /system/Bin/ directory on the phone. now the issue is as to why reboot command is not permitted if i'm fully rooted and allowed permission through superuser 2.3.5.
[EVO 4G Android Development] Andy S:
To clarify: It wasn't a specific application on the phone I granted access to, when I typed "SU" in the shell, the phone at that moment popped a superuser request on the phone. It's an "unknown" application, and it only stays on the screen for a few seconds before it denies the rights. You might see it in the superuser app log (start the app and look at the middle tab. It will be logged as "unknown" there as well.

May not your problem, it was just a bit obscure to me. Thought I'd see if what I was doing wrong would help. GL.
[EVO 4G Android Development] torankusu:
Hi all,

understood your post but i dont think it applies to me because as soon as i open terminal emulator and type SU, i get a toast popup saying permission granted for terminal emulator but then i type reboot or reboot recovery and i get not permited. i also checked the log on superuser and it shows TU as permission allowed. so yes this is the issue that is buggin me LOL