DETAILED Leak Root Tutorial


Last Updated:

  1. surgeon0214

    surgeon0214 Well-Known Member This Topic's Starter

    Joined:
    Apr 14, 2010
    Messages:
    699
    Likes Received:
    76
    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
     

    Advertisement
  2. v941726

    v941726 Well-Known Member

    Joined:
    Jun 2, 2010
    Messages:
    357
    Likes Received:
    4
    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?
     
  3. Scynthetic78

    Scynthetic78 Well-Known Member

    Joined:
    Jan 26, 2010
    Messages:
    210
    Likes Received:
    10
    Shouldn't that just be "type cd c:\android-sdk-windows\tools. Hit enter" ?
     
  4. willdogs

    willdogs Well-Known Member

    Joined:
    Dec 7, 2009
    Messages:
    665
    Likes Received:
    211
    Good Try I guess?

    But why couldn't you make it nicer to read? Compare the OP's to yours.
     
  5. xAusTiN

    xAusTiN Well-Known Member

    Joined:
    Jan 5, 2010
    Messages:
    224
    Likes Received:
    14
    Not type and no period
     
  6. Scynthetic78

    Scynthetic78 Well-Known Member

    Joined:
    Jan 26, 2010
    Messages:
    210
    Likes Received:
    10
    Damn my grammatically correct ways and improper placement of quotation marks :(
     
  7. v941726

    v941726 Well-Known Member

    Joined:
    Jun 2, 2010
    Messages:
    357
    Likes Received:
    4
    you can. just thought it would be easier and faster this way. i hate to type. you can just put the tools folder in the root of c:. thats all you need
     
  8. v941726

    v941726 Well-Known Member

    Joined:
    Jun 2, 2010
    Messages:
    357
    Likes Received:
    4
    i hate to type i guess. lol. but really, just follow his and change a few steps is all. plus i wanted to be looking at his while i typed mine, so i had to do a quick reply
     
  9. xliderider

    xliderider Well-Known Member

    Joined:
    Jan 28, 2010
    Messages:
    1,232
    Likes Received:
    192
    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?
     
  10. surgeon0214

    surgeon0214 Well-Known Member This Topic's Starter

    Joined:
    Apr 14, 2010
    Messages:
    699
    Likes Received:
    76
    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.
     
  11. xliderider

    xliderider Well-Known Member

    Joined:
    Jan 28, 2010
    Messages:
    1,232
    Likes Received:
    192
    Well, I just booted into Hboot and I still have 1.49.000 S=On :(

    I am rooted and have the superuser icon though. I had to reinstall busybox when I ran Titanium Backup for the first time though.

    Trying to flash the Engtools.zip file again to get the engineering bootloader.
     
  12. surgeon0214

    surgeon0214 Well-Known Member This Topic's Starter

    Joined:
    Apr 14, 2010
    Messages:
    699
    Likes Received:
    76
  13. Kaessa

    Kaessa Well-Known Member

    Joined:
    Apr 29, 2010
    Messages:
    654
    Likes Received:
    222
    :eek: It works! Went from leak v3 to rooted, from rooted 1.49 s-on to engineering bootloader 1.49 s-off. Now running KaosFroyo v23 overclocked to 710mhz.

    I love it. :cool:
     
  14. EricB

    EricB Well-Known Member

    Joined:
    Mar 8, 2010
    Messages:
    268
    Likes Received:
    30
    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
     
  15. kamots

    kamots Well-Known Member

    Joined:
    Mar 9, 2010
    Messages:
    152
    Likes Received:
    3
     
  16. EricB

    EricB Well-Known Member

    Joined:
    Mar 8, 2010
    Messages:
    268
    Likes Received:
    30
    OS 10.6.4, Snow Leopard. Mac OSX, that is. If you have a Mac you know what a Finder window is.
     
  17. kamots

    kamots Well-Known Member

    Joined:
    Mar 9, 2010
    Messages:
    152
    Likes Received:
    3
    ah! thats why. Im on widows xp It all makes sense now lol
     
  18. EricB

    EricB Well-Known Member

    Joined:
    Mar 8, 2010
    Messages:
    268
    Likes Received:
    30
    Yup, that would explain it!
     
    kamots likes this.
  19. v941726

    v941726 Well-Known Member

    Joined:
    Jun 2, 2010
    Messages:
    357
    Likes Received:
    4
    i put that in for the people that didnt want a mod rom and wanted to keep their stock rom and not have to do a wipe
     
  20. midnight assassin

    midnight assassin Well-Known Member

    Joined:
    Feb 1, 2010
    Messages:
    104
    Likes Received:
    8
    You flashed the wrong image. Flash the one that says overclock update v3.zip NOT overclock zimage.
     
    xliderider likes this.
  21. midnight assassin

    midnight assassin Well-Known Member

    Joined:
    Feb 1, 2010
    Messages:
    104
    Likes Received:
    8
    read post above.
     
  22. v941726

    v941726 Well-Known Member

    Joined:
    Jun 2, 2010
    Messages:
    357
    Likes Received:
    4
    Install from sd card...
    Finding update package...
    Opening update package...
    Verifying update package...

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

    i never have this problem. didnt have to run the engineering bootloader. maybe clear cache and data in the checkin service too
     
  23. mikey517

    mikey517 Well-Known Member

    Joined:
    Nov 19, 2009
    Messages:
    91
    Likes Received:
    9
    Stupid question #1...re: hack-v4.zip. Is that placed into the tools folder as is, or after un-zipping (de doo dah!).
    Told ya I have no clue...
     
  24. kamots

    kamots Well-Known Member

    Joined:
    Mar 9, 2010
    Messages:
    152
    Likes Received:
    3
    I though I read somewhere in the xda forum that you un zip it to desk top and then move files to sdk tools file
     
  25. Toolanddiemaker

    Toolanddiemaker Well-Known Member

    Joined:
    Apr 8, 2010
    Messages:
    149
    Likes Received:
    20
    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.
     

Share This Page

Loading...