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
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.
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!
i got everything working up until step 8, the adb and everything worked fine, and was detected i got this [Jayson-Kleins-MacBook-Pro:tools jaysonk411$ runinlinuxfromtools.sh
-bash: runinlinuxfromtools.sh: command not found]
and
[Jayson-Kleins-MacBook-Pro:tools jaysonk411$ sh runinlinuxfromtools.sh
sh: runinlinuxfromtools.sh: No such file or directory]
im using a mac, what do i do very frustrated
i got everything working up until step 8, the adb and everything worked fine, and was detected i got this [Jayson-Kleins-MacBook-Pro:tools jaysonk411$ runinlinuxfromtools.sh
-bash: runinlinuxfromtools.sh: command not found]
and
[Jayson-Kleins-MacBook-Pro:tools jaysonk411$ sh runinlinuxfromtools.sh
sh: runinlinuxfromtools.sh: No such file or directory]
im using a mac, what do i do very frustrated
jayro11,
Did you extract your files to the Android SDK's tools directory and change (cd) to that directory?
The hack-v4.zip files need to be placed in the SDK tools dir.
Pending responses from our resident Mac guys (surgeon0214 and doogald), of course .
i got everything working up until step 8, the adb and everything worked fine, and was detected i got this [Jayson-Kleins-MacBook-Pro:tools jaysonk411$ runinlinuxfromtools.sh
-bash: runinlinuxfromtools.sh: command not found]
and
[Jayson-Kleins-MacBook-Pro:tools jaysonk411$ sh runinlinuxfromtools.sh
sh: runinlinuxfromtools.sh: No such file or directory]
im using a mac, what do i do very frustrated
Quote:
Originally Posted by scary alien
jayro11,
Did you extract your files to the Android SDK's tools directory and change (cd) to that directory?
The hack-v4.zip files need to be placed in the SDK tools dir.
Pending responses from our resident Mac guys (surgeon0214 and doogald), of course .
Let us know.
Just a guess, but when you double-click the hack-v4.zip file in the tools directory, it creates a folder called hack-v4. Open the Finder and navigate to your tools directory; if there is a folder called hack-v4 there, drag the files from that directory up to the tools directory and try the command again.
i got onto my phone reboot and ive done every thing now im up to the choose zip to apply and i found the kaosfroyo, but theres so many subfolders what do i choose?
i got onto my phone reboot and ive done every thing now im up to the choose zip to apply and i found the kaosfroyo, but theres so many subfolders what do i choose?
Apparently, your browser is automatically unpacking the downloaded .zip files. That is definitely not desirable - Amon_RA recovery works with the complete (packed) .zip file only.
This has been reported before with Safari on Macs, so... either figure out how to get Safari to stop doing that - or use Firefox for the Mac to download the ROM file again.
eu1
PS For anyone else reading this thread - it is ancient, and there are easier ways to root than this. (It still works correctly, but is practically the hardest way to root.)
__________________
Please don't send me PMs - post your questions so others may benefit from any answers given.
This has been reported before with Safari on Macs, so... either figure out how to get Safari to stop doing that - or use Firefox for the Mac to download the ROM file again.
In Safari, Preferences, General pane. Turn off the "Open safe files after downloading". Don't let Safari decide what is safe.
That said, even though Safari with this setting will automatically expand downloaded zip files, the original .zip file remains - it is not erased. You can simply copy that file to your SD card. And then delete the stuff that was expanded.
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.
and this is what i did on the terminal window....
Quote:
daniel-chant-macbook:~ Daniel$ ./adb devices
-bash: ./adb: No such file or directory
daniel-chant-macbook:~ Daniel$ ./adb devices
-bash: ./adb: No such file or directory
daniel-chant-macbook:~ Daniel$
my phone is plugged in, checked debugging, charge only....why isn't this working?
my phone is plugged in, checked debugging, charge only....why isn't this working?
Not a Mac expert by any stretch of the imagination, but you need to be in the Android SDK's tools directory. Did you do step #5?:
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.
Let us know. Cheers!
By the way, there is also jcase's 1-click app that you can run right on your phone without needing to use the Android SDK...
i've also tried the android sdk directory, how can I get the 1 click app for rooting my Eris?
Quote:
Last login: Sun Dec 26 10:45:06 on ttys000
daniel-chantloss-macbook:~ Daniel$ cd /Users/Daniel/Desktop/android-sdk-mac_86/tools
daniel-chantloss-macbook:tools Daniel$ ./adb devices
-bash: ./adb: No such file or directory
daniel-chantloss-macbook:tools Daniel$
no idea why this isn't working
Last edited by tacotruck88; December 26th, 2010 at 11:16 AM.
i've also tried the android sdk directory, how can I get the 1 click app for rooting my Eris?
no idea why this isn't working
The only thing I can think of is that you installed the new r08 version of the SDK which I've heard does not contain the adb.exe utility in the tools directory (actually, I just downloaded the r08 .zip and can't find the adb utility at all in the .zip; it must be required to download / install it from elsewhere).
Perhaps one of the other thread posters will have a version of the r07 .zip that you could use? (I only have the Windows versions).
Please pay attention to where its say to reboot (you should do a controlled (regular) shutdown (power off) of your phone and then a power-up / restart [some folks get a little confused by this...its really just a power off and power on].
I'm kind of new to rooting...so I want to try the 1 click root but how do I "run" the apk? Do I put the file on my phone or do I run it on the computer because it wont let me open the file on my computer.
I'm kind of new to rooting...so I want to try the 1 click root but how do I "run" the apk? Do I put the file on my phone or do I run it on the computer because it wont let me open the file on my computer.
you would install it on your phone and run it. APK's are programs for android only. your computer wouldnt know what to do with it
__________________
“The only true wisdom is knowing that you know nothing.”
Scary alien is right: you are not in the directory that has the adb command.
If you open the finder, go to your home folder, and type adb in the search box in the upper right, there will be a task bar that pops up under the search box - select the item that says "File name" and it will find the location of the adb file. If you click on it once (do not double-click) it will tell you on the bottom of the finder window the location of the adb file. You need to change the directory using the "cd" command to that directory in a terminal window.
If you don't know what all of this means, use the 1-click app to root the phone.
I followed steps 1-6 of the mac/linux setup to the letter, however, I get the following:
-bash: ./adb: No such file or directory
when i try to test the adb, i know this is a very broad prob. but does anyone have any tips, btw im new to rooting and i dont want to do 1-click root
I followed steps 1-6 of the mac/linux setup to the letter, however, I get the following:
-bash: ./adb: No such file or directory
when i try to test the adb, i know this is a very broad prob. but does anyone have any tips, btw im new to rooting and i dont want to do 1-click root
I think that the new Android SDK puts the adb command in a different folder, but I don't have the new SDK myself. You can use the search in a Finder window to search for adb, tell it to search for a file with that name (as opposed to Contents) and tell it to search the disk. It should find it, from terminal, use the cd command to change to that directory before you issue the ./adb command.
BTW, Universal root for dummies or 1 click is so much easier (and, I think, better) than this old procedure. I'd do that anyway. Not that learning to use adb isn't useful...
So when i find the adb file can i just drop it in the tools folder of the sdk folder and proceed with step 5 as normal?
P.S. The only reason Im doing it this way is to familiarize myself with adb
thnx
Honestly, what I would do is leave the adb file where it is and drop any files that you want to transfer to the Eris using adb in that directory. There is nothing magical about a folder called "tools"; it's just where the adb ccommand used to be in the older SDK.
It's also possible to run adb using a relative or absolute path; so, for example, if you installed the SDK in a folder called "android-sdk" in your Documents folder in your home folder, you could go to any folder (or directory, whatever you want to call them) where you have files to install and start the adb command from the terminal with this command string:
~/Documents/android-sdk/platform-tools/adbetc.
(where ~, on the mac, represents your home folder.)
The other cool thing about the terminal is that you can start typing out the path like that and press tab to auto-complete the rest. So, you can type "~/Docu", press tab, and it will autofill "~/Documents' (or, it should.)
I'm trying this on my Mac and it just isn't working. I get this output from Terminal:
tools dillonsmith$ sh runinlinuxadb.sh
runinlinuxadb.sh: line 2: adb: command not found
runinlinuxadb.sh: line 3: adb: command not found
runinlinuxadb.sh: line 4: adb: command not found
runinlinuxadb.sh: line 5: adb: command not found
runinlinuxadb.sh: line 6: adb: command not found
runinlinuxadb.sh: line 7: adb: command not found
Files copied and permissions set, rebooting HTC Andriod 2.1
runinlinuxadb.sh: line 9: adb: command not found
Your phone will now reboot into normal mode, then reboot into recovery mode. If it does not reboot the second time, wait 10 minutes and manually reboot and begin again.
Your phone is now rebooting in Rooted Recovery mode, do a backup and load your ROMs
runinlinuxadb.sh: line 12: adb: command not found
runinlinuxadb.sh: line 13: adb: command not found
runinlinuxadb.sh: line 14: adb: command not found
dillon-smiths-macbook:tools dillonsmith$ sh runinlinuxfromtools.sh
runinlinuxfromtools.sh: line 2: ./adb: No such file or directory
runinlinuxfromtools.sh: line 3: ./adb: No such file or directory
runinlinuxfromtools.sh: line 4: ./adb: No such file or directory
runinlinuxfromtools.sh: line 5: ./adb: No such file or directory
runinlinuxfromtools.sh: line 6: ./adb: No such file or directory
runinlinuxfromtools.sh: line 7: ./adb: No such file or directory
Files copied and permissions set, rebooting HTC Andriod 2.1
runinlinuxfromtools.sh: line 9: ./adb: No such file or directory
Your phone will now reboot into normal mode, then reboot into recovery mode. If it does not reboot the second time, wait 10 minutes and manually reboot and begin again.
Your phone is now rebooting in Rooted Recovery mode, do a backup and load your ROMs
runinlinuxfromtools.sh: line 12: ./adb: No such file or directory
runinlinuxfromtools.sh: line 13: ./adb: No such file or directory
runinlinuxfromtools.sh: line 14: ./adb: No such file or directory
dillon-smiths-macbook:tools dillonsmith$
But the phone doesn't reboot. I don't know anything about using Terminal, but I get the feeling there's a lot to read between the lines in these instructions. Help!
Looks like you might not have installed the Android SDK...
You know, there are easier ways to root your Eris (this thread will certainly work and is very instructive, but if you are not comfortable or familiar with the concepts or tools, it might not be the best choice for you).
You might trying having a look at probably the best documented and instructive method out there:
Thanks Scary Alien, but I tried the Universal Root earlier and the File Manager did not unzip the GScript into the two shells it was supposed to. That's why I turned to this approach.
I'll try again when I figure out how to ensure that I've installed SDK. Thanks again!
Thanks Scary Alien, but I tried the Universal Root earlier and the File Manager did not unzip the GScript into the two shells it was supposed to. That's why I turned to this approach.
I'll try again when I figure out how to ensure that I've installed SDK. Thanks again!
Seriously, this method is so much harder than using the Universal Root for Dummies or the 1-click root app. Though I have to say that perhaps you missed this post: Universal Eris Root for Dummies!
It looks to me like you were trying to unzip the wrong file. Try reading through that procedure more carefully.
The HTC Droid Eris launched for Verizon Wireless on November 6th in part as the carrier's first Android Phone. However it was overshadowed by the other member of the inaugural Verizon Droid duo - the Motorola Droid. The Droid Eris might look fa... Read More