Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,562 Members 37,649 Now Online
XDA Developers Android and Mobile Development Forum

Simple Guide for Rooting (Tweaks Coming Soon)

Tip us?
 
Neotelos_com
Old
(Last edited by Neotelos_com; 5th June 2010 at 09:33 PM.)
#1  
Senior Member - OP
Thanks Meter 61
Posts: 317
Join Date: Jul 2008
Location: Seattle

 
DONATE TO ME
Default Simple Guide for Rooting (Tweaks Coming Soon)

I owe much credit to toastcfh, none of this would be possibly without his work on originally rooting the EVO.


Getting Root & Recovery Mode
(My version, dumbed down even more)

You have three options with rooting:
1) Toasts Rooted ROM - Missing Apps in Market
2) Rooted Stock ROM - No 4G Support
3) Unrevoked Root Patch - No system access in recovery (can't remove sprint apps, etc)


To get a rooted stock ROM, you have to start with Toasts, instructions below; you can find details after.
If you want the Unrevoked Root patch, install a file browser on your EVO and install this.

1. Copy this to the root folder of the SD card, you can do this by syncing the Evo as a disc and just copying in windows.

2. Shut off the Evo, and hold the "volume down" button while powering it on until you see a white screen. Every question it asks, just answer yes. DO NOT UNPLUG, let it finish at all costs, no matter how long it takes.

3. Rename the file you copied to the SD card. (to avoid accidental re-flash and save it for later)

4. Download this and unzip to anywhere of you liking on your desktop. Run the setup, if it asks to accept and install a bunch of stuff, hit cancel, you wont be needing most of it. Select available packages and it will show a repository url, the actual url is irrelevant and will be google's be default...we want to expand the list and select SDK Platform 2.1. Accept an install the selection.
What you just did is installed the Android SDK which includes adb, a shell connector for your phone that we need to operate in recovery mode.

5. Hold the Windows key and press "R", type CMD in the run box. (Run the task with Administrative privileges if there is an option)
Type "cd " in the CMD window, do not forget the trailing space, it is important and DO NOT HIT ENTER yet.
Now, with that CMD windows open, go to the folder you installed the android sdk. There will be a "tools" folder, drag the tools folder into the cmd window.
Press enter, this will set your working directory to the tools folder.

6. If you have not installed drivers for your Evo, there is a folder that comes of the sd card called "HTC-Sync", run the setup in there and it will install sufficient drivers automatically.
After drivers are setup sync the phone using the HTC Sync mode, this will ensure we can control the phone using adb.
Go to your CMD window and type "adb reboot recovery", you will see your phone reboot...it will show a red warning icon on the screen afterwards, this is perfectly normal and good to see such.

7. Your phone should not be in recovery mode, but the filesystem will be offline. Download this to setup the shell for us before we can mount the filesystem. Run "recovery-windows.bat", if you are using Vista or Win7, make to sure right click the file and "Run as Administrator"...you will see another CMD window popup and do some work, just leave it open. You should now have the shell setup in Recovery Mode on your Evo.

8. Go back to your original CMD window we setup, type "adb shell" and hit enter, this will set all commands to work right on the phone. You should see a line with just "#", that is what we want.
Now type "mount /dev/block/mtdblock4 /system" and hit enter.
You should now have your Evo in recovery mode with a shell setup and filesystem mounted. This is where we can begin making changes.

Now that this has all been setup, you may want to go back after making some changes.
Repeat steps 5-8 to re-enter recovery mode with the filesystem mounted.


If you want to continue and do the stock update, check here.
Basically, copy that file to the SD and do steps 5-7.
Then use the onscreen (on the EVO Recovery Mode) to "Flash from ZIP" and select the rooted stock rom update.
WARNING: You must clear user data if the update creates issue, you will know right away.
 
thorpe24
Old
#2  
Senior Member
Thanks Meter 16
Posts: 813
Join Date: Feb 2010
so this is a third way of rooting, if i used a different way how do i get rid of it and use yours, i'm so tired and confused.
 
Neotelos_com
Old
(Last edited by Neotelos_com; 5th June 2010 at 09:09 PM.) Reason: Removed to maintain consistancy
#3  
Senior Member - OP
Thanks Meter 61
Posts: 317
Join Date: Jul 2008
Location: Seattle

 
DONATE TO ME
Post Removed to maintain consistancy, see 1st post in thread.
 
mj41374
Old
#4  
mj41374's Avatar
Member
Thanks Meter 2
Posts: 65
Join Date: Nov 2007
Location: Michigan
Default root rom and activesync?

I'm a complete noob here but: By using this method do I still retain the ability to run ActiveSync/Exchange support? (Didn't think this was in the SDK Platform 2.1)
What about Sense?
 
johnsongrantr
Old
#5  
johnsongrantr's Avatar
Senior Member
Thanks Meter 40
Posts: 754
Join Date: Aug 2007
Location: Indianapolis
What the crap is up with the title of this thread? How us this a tweak or an optimization?

Good noob friendly guide, kinda tldr, but what I did readlooked good!

Change ur title
 
adeyo
Old
#6  
adeyo's Avatar
Senior Member
Thanks Meter 10
Posts: 369
Join Date: Mar 2008
Location: Lynchburg, VA
Quote:
Originally Posted by Neotelos_com;

[B
You have two options with rooting:
1) Toasts Rooted ROM - Missing Apps in Market
2) Rooted Stock ROM - No 4G Support[/B]

....
Any thought about the third option (i.e. unrevoked, new sticky, apk??) will it do the same things? i read users aren't losing full market, 4g etc.? Someone much smarter than me please weigh in.
 
Neotelos_com
Old
#7  
Senior Member - OP
Thanks Meter 61
Posts: 317
Join Date: Jul 2008
Location: Seattle

 
DONATE TO ME
Quote:
Originally Posted by adeyo View Post
Any thought about the third option (i.e. unrevoked, new sticky, apk??) will it do the same things? i read users aren't losing full market, 4g etc.? Someone much smarter than me please weigh in.
Yes, adding in right now...just tested and it works well.
I need to check if it allows things to be changed in recovery mode (which is important for removing the Sprint bloatware)
 
Neotelos_com
Old
#8  
Senior Member - OP
Thanks Meter 61
Posts: 317
Join Date: Jul 2008
Location: Seattle

 
DONATE TO ME
Quote:
Originally Posted by johnsongrantr View Post
What the crap is up with the title of this thread? How us this a tweak or an optimization?

Change ur title
I have plans for adding in tweaks, which will be delayed a bit...
Sorry for any inconvenience.
 
Jus10o
Old
(Last edited by Jus10o; 5th June 2010 at 09:47 PM.)
#9  
Jus10o's Avatar
Senior Member
Thanks Meter 5
Posts: 1,431
Join Date: Mar 2010
Quote:
Originally Posted by Neotelos_com View Post
Yes, adding in right now...just tested and it works well.
I need to check if it allows things to be changed in recovery mode (which is important for removing the Sprint bloatware)
If you have root at all, and you have "rw" permissions for "system". You should be able to remove sprint apps when the phone is booted, assuming you dont have root while in recovery.

Is something different on the Evo that im missing?

can you not do this

adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
ls

Then remove the apps like so

rm NameOfApp.apk
rm NameOfApp.odex

Not saying this will all work.. But if you have root, shouldnt this work to remove sprint apps.
 
Neotelos_com
Old
#10  
Senior Member - OP
Thanks Meter 61
Posts: 317
Join Date: Jul 2008
Location: Seattle

 
DONATE TO ME
Quote:
Originally Posted by Jus10o View Post
If you have root at all, and you have "rw" permissions for "system". You should be able to remove sprint apps when the phone is booted, assuming you dont have root while in recovery.
You can make changes like that but it will not actually save to the NAND.
So...you can remove, but it will come back after reboot.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Navigate to Your Favorite Places with LocationDetector

If you’re enjoying an active way of life, you probablytravel a lot, go fishing, … more

LifeStats Automatic Journal Keeps Tabs of Your Day

Most of us live very active lives. This is after all why we’re fans of mobile … more

Android App Review: Hide Your Files with Androignito – XDA Developer TV

Stop right now, look at your phone, and see how many pictures, … more

BrightNotes Makes Cloud Notes Simple and Easy

There are literally thousands of note taking apps available on Android, with practically every … more