You are on page 1of 17

[GUIDE] How to root Android 2.

2 on the EVO 4G Outdated - xda-developers Page 1 of 17

xdadevelopers
Devices by OS or Manufacturer

 All Windows Mobile Devices


 All Android Devices
 HTC Devices »
 All
 Android
 Windows Mobile
 Acer Devices »
 All
 Android
 Windows Mobile
 All Dell Devices
 All LG Devices
 All Motorola Devices
 Samsung Devices »
 All
 Android
 Windows Mobile
 All Toshiba Devices
 Sony Ericsson Devices »
 All
 Android
 Windows Mobile

Search

find your device...

Home

 XDA Portal
 Wiki
 Device Database
 Donate
 Today's Posts

 Register

Home

HTC Supersonic: EVO 4G


EVO 4G Android Development
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated

User Name Remember Me? Log in

twi

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 2 of 17

fac

rul

ne

Page 1 of 244 1231151101

Closed Thread

 Thread Tools
 Display Modes

[GUIDE] How to root Android 2.2 on the EVO 4G Outdated


Retweet Thread

regaw_leinad
26th August 2010, 08:44 AM

 ReTweet this post


 #1

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 3 of 17

[GUIDE] How to root Android 2.2 on the EVO 4G Outdated

The rooting method for the EVO 4G is close to the same as the Droid 2, just recently created by Sebastian
Krahmer at http://c-skills.blogspot.com/, but with a little variation.

Here is the step-by-step I just did on my brother's (dwizzy130) EVO 4G that came with 2.2 from Sprint.

I am NOT responsible for any damages (bricking, not working, basically anything that goes wrong) This has been
tested and works. Over the next few days, I will be cleaning this post up and making the steps more clear.

Special thanks to:


Sebastian Krahmer for the exploit
dwizzy130 (my brother) for letting me test on his EVO (since I don't have one)
The unrevoked team for their methods
Toastcfh for his mtd-eng.img
Topgun966 over at evo4g.me for hosting the files

djR3Z over at TheDroidDemos.com just made a GREAT video walkthrough that should make
this MUCH easier for all of you. He spent a TON of time making it yesterday, so please give
him lots of thanks!

VIDEO WALKTHROUGH (2 parts)

Make sure your phone is unplugged from your computer until I tell you to plug it in!
If you already have the Android SDK and HTC Sync set up on your computer, skip to Step 4 now

Step 1: Download the Android SDK here

Step 2: Extract the Android SDK zip. Move the contents of the extracted zip to C:\
Your Android tools folder path should now be C:\android-sdk-windows\tools

Step 3: Download HTC Sync 2.0.40 here


Run the installer. Move on once installed. If reboot is required, do so and then move on.

Windows 7 Users:

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 4 of 17

Go to your start menu, then control panel. When that is open, (if you are in category view mode) click on
"Uninstall a program" and then choose HTC Sync to uninstall. If you are in Icon view mode choose "Programs
and Features" and then click on HTC Sync to uninstall. This will load the proper drivers needed for unrevoked3.

Other Windows Version Users:


Go to your start menu, then control panel. When that is open, select Add/Remove Programs, and then choose
HTC Sync to uninstall. This will load the proper drivers needed for unrevoked3.

Next,

Download my evo-root.zip.

It contains a few files necessary to root the EVO.


Unzip the contents of the zip to your android sdk tools folder.

Download the unrevoked-forever.zip

Place this zip in your tools folder as well, as a zip, not extracted.

Download this PC36IMG.zip || Mirror(This is the same as running an RUU, so it will delete all of your user data
when we use it later in the guide, so backup everything you want to save on your phone first)
MD5: e52f6ec4f8f5fd6dc251ef19ee19750b

Put this zip in your sdk tools folder as well, as a zip, not extracted.

After unzipping the contents of evo-root.zip to your android sdk tools folder and placing the PC36IMG.zip and
unrevoked-forever.zip in the folder, move on.

Step 4: Make sure USB Debugging is ON (checked) on your EVO. Go to Settings > Applications > Development
> and make sure it is checked.

Step 5: Plug your phone into the computer via USB, Make sure that the connection type in the Notification Pull-
Down Bar is "Charge Only", not "Disk Drive" or else this won't work.
If your computer asks you to restart after the new drivers were installed, do that now.

Step 6: Open up a command promt from your android-sdk/tools folder.


Windows 7 users:
Open up the android sdk folder and hold shift and right click on the tools folder. You will see an option that says
"Open command window here" Choose that one and you will be set. the command prompt should read something
like C:\android-sdk-windows\tools>

Other Windows Version Users:


Go to the start menu, go to All Programs, then Accessories, and click on command prompt. Once open type
Code:
cd C:\android-sdk-windows\tools

Once ready, type these commands in cmd prompt from your adb tools directory. After every line press enter.

Code:

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 5 of 17

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. After every line press enter. It should repeat what you typed in and then return you
to a blank line with an $ for everything in adb shell

Code:
adb shell
chmod 0755 /data/local/tmp/rageagainstthecage-arm5.bin
chmod 0755 /data/local/flash_image

Ok now for the root shell.

*
(still in adb shell)

Code:
cd /data/local/tmp

Code:
./rageagainstthecage-arm5.bin

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>

Once that dumps you out of the shell, type

Code:
adb shell

and you will see you now have a


Code:

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 6 of 17

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

Remember how you pushed that huge PC36IMG.zip to your sdcard earlier? This is where that comes in handy.
Once you booted into hboot, Select "bootloader" with your volume up/down buttons and hit the power button.
Let it sit for a little bit while it loads the PC36IMG.zip. This can take up to 5 minutes. When it finally asks if you
want to apply this zip, choose YES. (Remember, this is the same as running an RUU, so it will delete all of your
user data).

If this doesn't work (ie the PC36IMG.zip does NOT load) backup all of your sdcard contents onto your computer,
reformat your sdcard to FAT32, redownload the PC36IMG.zip, and drag and drop it onto the sdcard, then reboot
into the bootloader and try again. This should fix the issue.

Once it is finished, select restart. You now are on the stock 2.1 build of Android.

Next step, mount your sdcard on your computer, and delete the PC36IMG.zip from it. This is because the next
step requires using hboot, and you don't want to sit and wait while it loads up again, just for you to say "no" to the
install. Please follow this step, for it saves 5-10 minutes of waiting ahead.

I worked extensively with Matt Mastracci, so this rooting guide will use the unrevoked method to root 2.1. This is
what worked for me testing on my brother's EVO, so if you do end up trying something else to root 2.1 with,
PLEASE do not post it here or ask questions, for I will only support the unrevoked team.

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 7 of 17

Now open up your web browser on your computer and navigate to Unrevoked

Choose the correct operating system to download for.

*
Make sure you install the modified android usb driver that comes with the unrevoked3 install (see the html
file included when you extract the exe)

Once downloaded and extracted, run the program on your computer.


Make sure your EVO is plugged in with USB DEBUGGING ON!
It will reboot to the bootloader, and it will wait for you to use volume down to select HBOOT USB. (the last
option)

After you have selected it (by pressing the power button) let the unrevoked3 program handle the rest of the
flashing.

If you have had any trouble with the bootloader freezing or not moving for over 3 minutes, you most likely forgot
to uninstall HTC Sync (as directed at the beginning of this guide), or you need to install the modified hboot
drivers that come with the unrevoked3 program, OR a nasty combination of the both.

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 *

As soon as it is booted into recovery, you are done with that.

Next in recovery go to

Code:
install zip from sdcard

then
Code:
choose zip from sdcard

and choose the


Code:
unrevoked-forever.zip

This will flash the unrevoked forever hboot unlock.

__________________________________________________ ___________________
Part 2
Note: This section would not have been possible without the amazing testing and help of cilio87. He earns a gold

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 8 of 17

star *
Now it's time to finish up the process and flash the stock 2.2 build of Android. You need to do this before any
custom ROM in order to re-update the partitions we downgraded in the rooting process.

Step 1: Download either the update zip with

ClockWorkMod recovery included

or

Amon_RA's recovery included


This is the most up-to-date version of Amon_RA recovery that allows you to back up WiMAX partition.

(Either zip contains the final touches to the root process, one flashes clockworkmod recovery, and the other
respectively, Amon_RA's recovery)

Extract the 3 files inside the zip to your desktop.

If you are still in recovery (from part one or the guide) go back to the main menu of recovery on your phone (if
you aren't already at the main menu, hit vol up & down at the same time) Select
Code:
Reboot System Now

Let the Rom load, and when it gets to the sign in screen for Google, just skip everything and let the ROM boot.

If you are already on a custom rom, boot into it and follow from here.
Once It is fully booted, mount your sdcard onto your computer, and copy the 3 files you extracted from the zip to
the sdcard.

Once copied, Unmount your sdcard from the computer.

Step 2: Unplug your phone from the computer. Power it off completely. Now while holding VOLUME DOWN
turn on the phone with the power button, continuing to hold volume down. This will boot into hboot. You can
release the buttons once you get to the hboot menu. Then use the power button to click on bootloader. This will
scan the sdcard for the new PC36IMG.zip you just copied to the sdcard. When it asks "Do you want to start
update?" Hit Volume Up for Yes. It will reload the zip and then start the flash. Once the flash is complete (may
take 5 or so minutes) Choose NO when it asks you to reboot.

Step 3: After choosing NO to the reboot, you will see a menu again. Select Bootloader from the menu, then use
the Volume Down button to hover over "Recovery" and press Power to click on it.
If your phone gets stuck at the White EVO 4G screen, pull your battery, and then power on while holding volume
down again. It should boot to the bootloader again, where you can select recovery.
Once you are booted into this custom recovery, go to
Code:
Install Zip from sdcard / Flash zip from sdcard (Amon_RA)

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 9 of 17

and then (clockworkmod only)


Code:
choose zip from sdcard

You will then see the 2.2-root.zip. Click on that and accept the flash.

Once that flash is complete, return to the main menu of recovery and Select
Code:
Reboot System Now

You now have stock Android 2.2 with root and all updated partitions!

If you would like the flash_image binanry so you can flash new recovery images quickly from adb shell, flash the
zip that is attached below as a normal zip in recovery AFTER you have completed this entire guide.

IN ORDER TO FLASH CM6 OR DAMAGE CONTROL, YOU NOW NEED TO FLASH THE ENG SPL.
LOOK FOR IT IN THE EVO 4G ANDROID DEVELOPMENT FORUM.
Here is the ENG SPL

Good Luck!

Dan Wager

Attached Files
add-flash_image.zip (14.4 KB, 1042 views)

__________________
I don't believe in impossible.

--->>Click HERE to see all of my helpful threads <<---

if you like my work

Last edited by regaw_leinad; 20th September 2010 at 03:36 AM.

Thanks Meter 1

reg
Ava

Senior Member |OP|

Posts: 2,426

Join Date: Jan 2010

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 10 of 17

Location: Miami, FL

Flag

The Following User Says Thank You to regaw_leinad For This Useful Post: Show/Hide
Sprint Official Site Introducing Sprint's HTC EVO™ 4G. Own It First. Available Now! www.Sprint.com/First

Nexus S By Google Loaded with The new Gingerbread. Be the First to Own. Order Here! www.google.com/nexus

Vandam500
26th August 2010, 08:49 AM

 ReTweet this post


 #2

Awesome! Good job on everyone that worked on it. Finally no more people asking about it

__________________
Phone: HTC Vision G2
ROM: CyanogenMod-6.1.1
Kernel: G2-Fast

Follow me on Twitter: @Vandam500

History: Nexus One > Evo 4G > G2

Thanks Meter 13

Vandam5
Avatar

Senior Member

Carrier

Posts: 749

Join Date: Apr 2010

Location: Stone Mountain,Georgia

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 11 of 17

Flag

investinwaffles
26th August 2010, 08:55 AM

 ReTweet this post


 #3

Yes! I look forward to the rest of your post

Sent from my PC36100 using XDA App

Thanks Meter 0

Member

Posts: 52

Join Date: Dec 2007

bisby
26th August 2010, 09:00 AM

 ReTweet this post


 #4

Great news everyone!

Eagerly awaiting.

Thanks Meter 0

Junior Member

Posts: 27

Join Date: Aug 2010

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 12 of 17

jkinnison90
26th August 2010, 09:00 AM

 ReTweet this post


 #5

Awesome xD

Sent from my HTC Evo 4G using XDA app.

Thanks Meter 3

jkinnison9
Avatar

Senior Member

Carrier

Posts: 650

Join Date: Jun 2009

Location: Nelsonville

Flag

timothy.heckman
26th August 2010, 09:01 AM

 ReTweet this post


 #6

Oh thanks! Gonna be watching this all night! This is gonna be AWESOME!!

Thanks Meter 0

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 13 of 17

Junior Member

Carrier

Posts: 11

Join Date: May 2010

Location: Reading, PA

Flag

nebenezer
26th August 2010, 09:03 AM

 ReTweet this post


 #7

Originally Posted by Vandam500

Finally no more people asking about it

if only you were right...

__________________
Q: Has anyone really been far even as decided to use even go want to do look more like?

A: You’ve got to be kidding me. I’ve been further even more decided to use even go need to do look more as anyone can. Can you really be far even as decided
half as much to use go wish for that? My guess is that when one really been far even as decided once to use even go want, it is then that he has really been far
even as decided to use even go want to do look more like. It’s just common sense.

Thanks Meter 0

nebeneze
Avatar

Senior Member

Carrier

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 14 of 17

Posts: 2,484

Join Date: Dec 2009

Location: Louisville, KY

Flag

arkshel
26th August 2010, 09:04 AM

 ReTweet this post


 #8

I love the xda forums, good job to everyone involved, another reason I love my evo.

Sent from my PC36100 using XDA App

Thanks Meter 0

Junior Member

Posts: 14

Join Date: Jun 2010

xcodesterox
26th August 2010, 09:05 AM

 ReTweet this post


 #9

I wish I didn't just take my xanax. Ughhhh

Thanks Meter 0

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 15 of 17

xc
A

Member

Carrier

Posts: 50

Join Date: Jul 2010

Location: Chicago

Flag

cerbera8
26th August 2010, 09:05 AM

 ReTweet this post


 # 10

Originally Posted by Vandam500

Awesome! Good job on everyone that worked on it. Finally no more people asking about it

I'll add with another question that will "end"

Will this allow me to have PRI 1.40?

__________________
Greatest singer ever! Here!

Thanks Meter 0

cerbera8'
Avatar

Member

Posts: 37

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 16 of 17

Join Date: Dec 2007

Closed Thread

Page 1 of 244 1231151101

Tags
(.y.), awesomesauce, downgrade 2.1, evo 2.2 root, evo 2.2 stock root, froyo, regaw, rootastic, titties!!

 Previous Thread
 [GUIDE] How to root Android 2.2 on the EVO 4G Outdated
 Next Thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Rules

Forum Jump
EVO 4G Android Development Go

All times are GMT +1. The time now is 08:50 PM.

-- XDA 2010

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011
[GUIDE] How to root Android 2.2 on the EVO 4G Outdated - xda-developers Page 17 of 17

Powered by vBulletin®
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.

Follow us on Twitter - Contact Us - Have an iPhone?


XDA-Developers Home - Members List - View Forum Leaders - Legacy Devices - Top

http://forum.xda-developers.com/showthread.php?t=765496 1/4/2011

You might also like