Notices



local root on droid without adb

Tutorial

Post New ThreadReply
 
Thread Tools Search this Thread
  #1  
Old 12-10-2009, 03:07 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline   Thread Starter  
OG Member
Mobile Model: Pixel 7 Pro
Mobile Carrier: Metro PCS
Mobile OS: Android

Country:  
 
Join Date: November 8th, 2005
Location: Philadelphia
Posts: 5,187
Thanks: 8
Thanked 10,859 Times in 2,859 Posts
Downloads: 26
Uploads: 152


View puertoblack2003's Profile   Edit Options Edit Profile Picture View puertoblack2003's Photo Album Add puertoblack2003's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
local root on droid without adb

spj do not take credit for this tutorial, all support questions should be asked at the authors site here

Code

http://alldroid.org
and from this post

Code

http://alldroid.org/viewtopic.php?f=210&t=572
all credits goes to them


There is a new way to do this which doesn't require the SDK, doesn't require ADB, and results in local root with an escalation mechanism. Details can be found in he second post here:

Code

http://alldroid.org/viewtopic.php?f=210&t=567
Essentially, do the following:

1) download this:

Code

http://alldroid.org/download/file.php?id=659
2) rename it to "update.zip" (or just "update" if you have file extensions hidden) and put that in the root of your SD card
3) reboot the phone and go into recovery mode (hold down "X" while holding power until you get the "/!\", then press VOL+ and Camera)
4) update with the update.zip
5) reboot

That's it.

===== DEPRICATED (although still functional) =====

Being able to get a root shell using ADB is great, but it requires a computer and a USB cable, and doesn't help very much with running apps as root on the phone (ex: an app that requires root from the Market). The following steps will get you the 2.0.1 update (if you don't have it, skip that download and go directly to the root download) and the ability to run `su` in a terminal app on the Droid resulting in a local root shell.

1) setup the Android SDK on your system:

Code

http://developer.android.com/sdk/installing.html
2) get familiar with using ADB:

Code

http://developer.android.com/guide/developing/tools/adb.html
[The following will update your phone to 2.0.1 if you don't have it already]

3) download the 2.0.1 update file:

Code

https://android.clients.google.com/updates/voles/signed-voles-ESD56-from-ESD20.84263456.zip
4) once you've downloaded that file, rename it to "update.zip" (or just "update" if you have your computer set to hide file extensions)
5) plug your Droid into your computer via USB. on the Droid go to the Notifications area and select the option to mount the device
6) once the device is mounted, you should be able to access the device's SD card from your computer
7) at the root (top) directory of the SD card, copy the update.zip file
8) unmount the device from your computer, and turn the Droid off
9) hold down the "X" key on the physical keyboard and while doing so press the power button. Hold both of them down until you see a Triangle with an !
10) press the Vol+ and the Camera button together until you get a menu
11) using the D-pad on the physical keyboard, select the option to update with the update.zip file
12) this should take a little bit. once it's done select the option to reboot the phone
13) once the phone comes back up, go to Settings -> About Phone and make sure the version is 2.0.1

[The following will install the droid-root update]

14) download the droid-root.zip file:

Code

http://alldroid.org/download/file.php?id=643
15) rename it to update.zip
16) follow steps 5-12 above
17) open a command prompt or terminal and browse to the "tools" directory of the SDK installation you performed in step 1
18) on the Droid, go to Settings -> Application -> Development and check all three boxes
19) connect the Droid to your computer
20) at the command prompt, type "adb devices" and make sure it shows a serial number (it should be the one for your Droid, but as long as it shows one, you should be fine)

[The following will allow you to run `su` on the device in a terminal application and get a root shell]

21) download this:

Code

http://www.magicandroidapps.com/su.zip
22) unzip that file. you should see a file called "su" in it. copy that file into your tools directory in the SDK
23) at the command prompt, type "adb push su /data/local". you should see something like this if it's successful:

595 KB/s (76200 bytes in 0.125s)

24) at the command prompt, type "adb shell" - it should drop you to the following prompt:

$

25) type "su" and it should drop you to the following prompt:

#

26) type the following, in order (don't include the #):

# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/bin
# mv su osu
# cat /data/local/su > su
# chmod 6755 su

27) type "ls -l *su" to verify that you have two files: the original "su" that came with the phone is now named "osu", and the new one you just put in place. You should see something like this:

-rwsr-sr-x root root 76200 2008-08-01 05:00 osu
-rwsr-sr-x root root 76200 2009-05-30 11:28 su

28) finish by running a sync, and then executing "reboot" to reboot the phone:

# sync
# reboot

29) once the phone is back up, go to the Market and download a terminal emulator if you don't have one already (search for "terminal" in the Market, there's "Android Terminal Emulator, Better Terminal Emulator Pro, Terminal Emulator in that list - you can choose which one you want. I am using Better Terminal Emulator Pro)
30) launch your terminal program. at the prompt, type "su" and hit enter. you should get the following:

$ su
su: access granted, courtesy of

Code

http://www.magicandroidapps.com
#

And that's it. Now you have local root on the phone and you no longer need to plug it into your computer to get a root shell.

As far as "what you can do" with the root shell, I'll be honest...not a lot right now. The reason I say that is because most, if not all applications out there in the Market that say "requires root access" were written for non-Droid phones. But now that we have root, it is only a matter of time for developers to update their code and push out newer versions. Keep up on the forums and I'm sure as we make progress, it will be noted.

If you are not a developer, or do not know what the word "root" means as far as computers go, this is probably not very advantageous for you - yet. I understand your frustration while the lot of us are running around screaming praise about having root and seem overly excited, and I'm sure you think you need to be as well. It's not the case for the time being. We're probably the ones you are waiting on to get the device doing cool stuff that it couldn't do before This is a *huge* step for everyone in the Droid community who has put in a lot of time exploring our options. We hope you can hold out a little longer while we find ways to expand on this root shell and really start to make some neat stuff happen.

For now, you can read this article:

Code

http://lifehacker.com/5342237/five-great-reasons-to-root-your-android-phone
It is *NOT* up-to-date with what we're doing, but at least it has some insight to things you can do with a rooted phone, and the reason why we're trying to do this.

Enjoy!!
Reply With Quote
The Following 2 Users Say Thank You to puertoblack2003 For This Useful Post:
  #2  
Old 12-10-2009, 07:43 PM
iamdasht19's Avatar
iamdasht19 iamdasht19 is offline    
Member
Mobile Model: TP, TP2, soon Hero
Mobile Carrier: SPJ
Mobile OS: 6.5

 
Join Date: February 7th, 2007
Location: Grand Rapids, MI
Posts: 40,537
Thanks: 0
Thanked 42,425 Times in 15,688 Posts
Downloads: 0
Uploads: 0


View iamdasht19's Profile   Edit Options Edit Profile Picture View iamdasht19's Photo Album Add iamdasht19's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
Re: local root on droid without adb

very nice pb and i doubt this will work on the droid eris.... man i wish they would get that sucker done.... doesnt seem like it is too popular though to tell the truth.
Reply With Quote
  #3  
Old 12-10-2009, 09:35 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline   Thread Starter  
OG Member
Mobile Model: Pixel 7 Pro
Mobile Carrier: Metro PCS
Mobile OS: Android

Country:  
 
Join Date: November 8th, 2005
Location: Philadelphia
Posts: 5,187
Thanks: 8
Thanked 10,859 Times in 2,859 Posts
Downloads: 26
Uploads: 152


View puertoblack2003's Profile   Edit Options Edit Profile Picture View puertoblack2003's Photo Album Add puertoblack2003's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
Re: local root on droid without adb

“ Originally Posted by D/\SH View Post

very nice pb and i doubt this will work on the droid eris.... man i wish they would get that sucker done.... doesnt seem like it is too popular though to tell the truth.
yea its not a big hits device like the droid and others, but i kinda like it myself.I'm at the age that simple things works for me now...lol

Reply With Quote
  #4  
Old 12-10-2009, 09:40 PM
iamdasht19's Avatar
iamdasht19 iamdasht19 is offline    
Member
Mobile Model: TP, TP2, soon Hero
Mobile Carrier: SPJ
Mobile OS: 6.5

 
Join Date: February 7th, 2007
Location: Grand Rapids, MI
Posts: 40,537
Thanks: 0
Thanked 42,425 Times in 15,688 Posts
Downloads: 0
Uploads: 0


View iamdasht19's Profile   Edit Options Edit Profile Picture View iamdasht19's Photo Album Add iamdasht19's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
Re: local root on droid without adb

“ Originally Posted by puertoblack2003 View Post

yea its not a big hits device like the droid and others, but i kinda like it myself.I'm at the age that simple things works for me now...lol
just because of the no kb thing as well as no tv or radio time compared to the motorola version... all is good and i woudl rather have a htc device than a motorola to tell the truth... all that matters is that the user is happy and i am.
Reply With Quote
Post New ThreadReply

Tags
adb, droid, local, root


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install ADB on Windows, macOS, and Linux phillynewsnow AVN News Feed 0 10-28-2022 07:35 AM
[NEWS] ARTICLE: Software updates coming next month for Droid and Droid Eris? phillynewsnow Random Community Topics 1 11-10-2009 06:55 PM
[NEWS] Verizon's Droid is a series, not just a phone; Droid Eris coming from HTC iamdasht19 Random Community Topics 1 11-09-2009 04:21 AM
[NEWS] ARTICLE: Motorola Droid and Droid Eris to launch on November 6th? phillynewsnow Random Community Topics 0 10-27-2009 03:30 PM
Help local college student Mandingo Random Community Topics 6 08-15-2008 06:41 PM


All times are GMT -5. The time now is 04:52 PM.

Layout Options | Width: Fixed
Contact Us - SPJ Bulletin - Archive - Privacy Statement - Terms of Service - Top