• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root DETAILED Leak Root Tutorial

surgeon0214

Android Enthusiast
Apr 14, 2010
699
76
Texas
MAC/LINUX ROOT TUTORIAL

Many people have said that they are having difficulties understanding the root process, so I typed up a complete tutorial exactly the way I rooted my phone. All credit goes to wag3slav3 over at XDA, Root for ERIS LEAKERS! - xda-developers, I just expanded on the instructions :)

1. Download the Android SDK from here: Android SDK | Android Developers

2. Download hack-v4.zip from here: Multiupload.com - upload your files to multiple file hosting sites!

3. When the hack-v4.zip is done downloading put the files of the folder into the tools folder of the already extracted android sdk. The tools folder can be found at /where ever you put the sdk/android-sdk-86_mac/tools.

4. Download a custom ROM, I recommend KaosFroyo, but you can choose whatever one you want. Place the .zip file on the root of the SD Card (ie. Not in a folder). PS. If your mac automatically decompresses the .zip, you can find the original .zip file in the trash. For this plug your phone into the computer, pull down the notification bar at the top of the screen on your phone and tap the USB connection notification, then tap Mount as Disk Drive. Copy the .zip onto the phone.
LIST OF ROMS: Known Droid Eris Roms, Patches and Hacks - UPDATED 05-11-2010 - xda-developers

5. To change directories to sdk/tools folder:

1. Open a new terminal window and type cd [space]

2. Find the android sdk in a finder window

3. Drag the folder that says tools to the terminal window and press [ENTER]

4. There now should be the word “tools” in front of the computer name/your name in terminal.

6. On your phone go in to Applications->Development->USB Debugging and make sure it is checked. Plug your phone into your computer, select “charge only” not Disk Drive mode

7. To test if your ADB is working run “ ./adb devices ” . If you get an alphanumeric code that starts with HTXXXXXXXXXX and says device then you are all set.

8. Once your phone is plugged in run “ sh runinlinuxfromtools.sh ”
It takes a while to load, but you should be in Amon’s recovery after its done. If you don’t see Amon’s recovery than try step 9.

9. If you get “adb: command not found, try “ sh runinlinuxadb.sh “

10. Your phone will now boot into recovery. From there select “Backup/Restore” > and NAND Backup. Let it load, it takes a minute or two, then return back to main menu. Then select “Wipe” > choose Wide data/factory reset. Return to menu and select “Flash zip from sdcard” > find your .zip file that you downloaded (the ROM). It should have the name of the ROM somewhere in the zip name. Let it do its thing, then select reboot option.

11. Congrats, you have successfully rooted your phone! If your ROM does not already include “SuperUser.apk”, download and install the app as soon as possible.

12. [OPTIONAL] If you want to change the boot loader to the engineering bootloader (ie. S-OFF) then follow these instructions How To Install Engineering bootloader FOR LEAK ROOTERS - xda-developers
But I have found a change that will make this much more hassle-free. On the last step when you see you have successfully changed the HBOOT, do a battery pull, and start the phone back up again. You do not have to do those commands for the final step. Then complete the root instructions above and you will have a changed boot-loader and root.

SCROLL DOWN TO SEE HOW TO FLASH CUSTOM ROMS

ANY AND ALL QUESTIONS WILL BE ANSWERED!


Windows ROOT TUTORIAL -- Thanks Alprazolam!!!

1. Download Android SDK from here:Android SDK | Android Developers Follow the instructions (1-11) that were written by GrdLock in order to properly install the SDK package in Windows. Click the link and scroll down to A. Pre-requisite: Android SDK: http://androidforums.com/all-things-root-eris/53963-guide-stock-1-5-latest-root-2-1-a.html

2. Download and Install HTC Sync from here: http://www.htc.com/us/support/droid-eris-verizon/downloads/

3. Download hack-v4.zip from here: Multiupload.com - upload your files to multiple file hosting sites!

4. Unzip the hack-v4.zip is into the tools folder of the already installed android sdk folder. The tools folder can be found at /where ever you put the sdk folder/android-sdk-windows/tools.

5. Download a custom ROM from this forum or one of the other popular Android forums (see the link below). Do not upzip the ROM file. Instead, place the .zip file on the root of the SD Card (ie. Not in a folder). To do this, plug your phone into the computer, pull down the notification bar at the top of the screen on your phone, and tap the USB connection notification, then tap Mount as Disk Drive. Copy the .zip onto the phone.
LIST OF ROMS: Known Droid Eris Roms, Patches and Hacks - UPDATED 05-11-2010 - xda-developers (I hope to be able to update this soon).

6. To open a command window in the tools directory:
[VISTA and WIN7] Navigate to your Android-sdk-Windows folder and open the Tools folder. Find a blank spot in the window and hold down the shift key + right mouse click. Choose the option, “Open Command Window Here.”
[XP] Click Start>Run and type "cmd". This will bring up a command window and from there type " cd C:\android-sdk-windows\tools "

7. On your phone go in to Applications->Development->USB Debugging and make sure it is checked. Plug your phone into your computer and select “Charge Only” (not Disk Drive mode).

8. To test if your ADB is working type “adb devices ” and hit enter . If you get an alphanumeric code that starts with HTXXXXXXXXXX and says device then you are all set.

9. With your phone still plugged in type “runindos.bat” (at the end of the string in the command window on your PC) and hit Enter
Your phone will reboot, sit a while, and then reboot again into Amon’s recovery.

10. In Recovery, select “Backup/Restore” > and NAND Backup. Let it load, it takes a minute or two, then return back to main menu.

11. Select “Wipe” > choose Wipe data/factory reset. Return to menu and select “Flash zip from sdcard” > find your .zip file that you downloaded (the ROM). It should have the name of the ROM somewhere in the zip name. Let it do its thing, then select reboot option.

12. Congrats, you have successfully rooted your phone!
--Thanks to v941726. Just needed to clean up some of his steps to be more readable by beginners. Much of what Surgeon0214 wrote could be copied and pasted with a few words changed into Windows language.

FLASHING CUSTOM ROM's (Once Root is gained) -- Thanks Alprazolam
In order to flash a new ROM after obtaining root you simply:
1. Find and download the ROM that you want to use.

2. Mount your PC and copy the .zip file over to your SD card like you did for root.

3. Turn off your phone and power it back up while holding down the up volume key.

4. After booting into Recovery, go to Wipe and wipe factory data along with Dalvik Cache.

5. Back out of the Wipe menu and go to Install from SD. Your ROM will be there. Hit install and it will put the new ROM that you want, on your phone.

6. Reboot and you will see a boot animation screen for several minutes before it loads your new ROM.

7. Repeat this procedure with a Nand Backup each time you get a new ROM set up.


AGAIN ALL QUESTIONS WILL BE ANSWERED, THIS THREAD IS HERE TO HELP EVERYONE IN THE COMMUNITY!



IF YOU LIKE THIS DONATE TO WAG3SLAV3
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=M9WE9A4CMP4A8&lc=US&item_name=Wag3Slav3%27s%20sanity%20fund&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
 
heres the WINDOWS version of above:

create a directory called tools or copy the tools directory from the sdk folder(this makes it easier) to yor c: drive. OR OPEN YOUR TOOLS DIRECTORY, HOLD DOWN SHIFT & RIGHT CLICK ON A BLANK SPOT IN THE WINDOW AND CLICK "OPEN COMMAND WINDOW HERE".

In #5 above click start(orb for vista win7), click run and type cmd and press enter(make sure you are administrator) OR OPEN YOUR TOOLS DIRECTORY, HOLD DOWN SHIFT & RIGHT CLICK ON A BLANK SPOT IN THE WINDOW AND CLICK "OPEN COMMAND WINDOW HERE".
. this will be your "terminal" window. you should have c:\users\your username. type cd.., then cd.. again. should bring you to c:\. type cd tools.

do step 6 above.

for step 7 just type adb devices and press enter. copy over runindos.bat or type it in and press enter.

for his step 10, use his only if you want a mod rom. if you want stock rom left alone and keep your data intact, then flash engtools and the overclock kernel(DON'T USE ZIMG FILE), (the link is in this thread: http://androidforums.com/all-things-root-eris/121660-root-without-rom-yet.html) instead of a rom. this will give you root and overclock capability w/o wiping your data. do the nand backup 1st either way.

overclock file for windows: http://forum.xda-developers.com/attachment.php?attachmentid=324420&d=1273525541 use this one: kernel-overclock-update-v3.zip
Better?
 
Upvote 0
heres the win version of above:

create a directory called tools or copy the tools directory from the sdk folder(this makes it easier) to yor c: drive. In #5 above click start(orb for vista win7), click run and type cmd and press enter(make sure you are administrator). this will be your "terminal" window. you should have c:\users\your username. type cd.., then cd.. again. should bring you to c:\. type cd tools. do step 6 above. for step 7 just type adb devices and press enter. copy over runindos.bat or type it in and press enter. for his step 10, use his only if you want a mod rom. if you want stock rom left alone and keep your data intact, then flash engtools and the overclock kernel, (the link is in this thread: http://androidforums.com/all-things-root-eris/121660-root-without-rom-yet.html) instead of a rom. this will give you root and overclock capability w/o wiping your data. do the nand backup 1st either way.

Good Try I guess?

But why couldn't you make it nicer to read? Compare the OP's to yours.
 
Upvote 0
heres the win version of above:

create a directory called tools or copy the tools directory from the sdk folder(this makes it easier) to yor c: drive.

In #5 above click start(orb for vista win7), click run and type cmd and press enter(make sure you are administrator). this will be your "terminal" window. you should have c:\users\your username. type cd.., then cd.. again. should bring you to c:\. type cd tools.

do step 6 above.

for step 7 just type adb devices and press enter. copy over runindos.bat or type it in and press enter.

for his step 10, use his only if you want a mod rom. if you want stock rom left alone and keep your data intact, then flash engtools and the overclock kernel, (the link is in this thread: http://androidforums.com/all-things-root-eris/121660-root-without-rom-yet.html) instead of a rom. this will give you root and overclock capability w/o wiping your data. do the nand backup 1st either way.

Better?

I got all the way through this and flashed engtools; however, I get the following error when I try to flash the overclock kernel:

Install from sd card...
Finding update package...
Opening update package...
Verifying update package...

E: No signature (2 files)
E: Verification failed

Installation aborted.

Do I need to reboot the Eris first to get rid of the 1.49 Hboot bootloader, then flash the OC kernel?
 
Upvote 0
I got all the way through this and flashed engtools; however, I get the following error when I try to flash the overclock kernel:

Install from sd card...
Finding update package...
Opening update package...
Verifying update package...

E: No signature (2 files)
E: Verification failed

Installation aborted.

Do I need to reboot the Eris first to get rid of the 1.49 Hboot bootloader, then flash the OC kernel?

I didn't have to flash the OC Kernal because the ROM I flashed already had it, but I believe rebooting your phone should help.
 
Upvote 0
Upvote 0
THAT WORKED!!!! After trying again, I found that I was skipping this step:
"5. To change directories to sdk/tools folder:
1. Open a new terminal window and type cd [space]
2. Find the android sdk in a finder window
3. Drag the folder that says tools to the terminal window and press [ENTER]
4. There now should be the word
 
Upvote 0
I got all the way through this and flashed engtools; however, I get the following error when I try to flash the overclock kernel:

Install from sd card...
Finding update package...
Opening update package...
Verifying update package...

E: No signature (2 files)
E: Verification failed

Installation aborted.

Do I need to reboot the Eris first to get rid of the 1.49 Hboot bootloader, then flash the OC kernel?

read post above.
 
Upvote 0
4. Download a custom ROM, I recommend KaosFroyo, but you can choose whatever one you want. Place the .zip file on the root of the SD Card (ie. Not in a folder). PS. If your mac automatically decompresses the .zip, you can find the original .zip file in the trash. For this plug your phone into the computer and select disk drive mode, and copy the .zip onto the phone.
LIST OF ROMS: Known Droid Eris Roms, Patches and Hacks - UPDATED 05-11-2010 - xda-developers

5. To change directories to sdk/tools folder:

1. Open a new terminal window and type cd [space]

2. Find the android sdk in a finder window

3. Drag the folder that says tools to the terminal window and press [ENTER]

4. There now should be the word “tools” in front of the computer name/your name in terminal.



First off thanks for doing this, with this set of instructions I think I'm ready to give this a shot. I just don't understand #5, how do you open a terminal window? And I didn't see the KaosFroyo rom in the link provided, where can I find it?

I found the rom never mind on that question.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones