Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Method to install root for Honeycomb

OP chhaggerty

4th February 2011, 05:01 PM   |  #1  
chhaggerty's Avatar
OP Senior Member
Flag Minnesota
Thanks Meter: 79
 
150 posts
Join Date:Joined: Sep 2010
More
Check this thread for updated and improved information, many thanks to j4mm3r

http://forum.xda-developers.com/showthread.php?t=953110




Credit goes to NuroSlam for coming up with a working method. This requires a functioning adb connection. Using this version of su is not as secure because it will not activate Superuser for your permission to grant root access. In fact, it can work without Superuser.apk installed at all. Hopefully we will soon have an updated su or maybe the next version of Honeycomb will be prerooted. First download the following files:

1. su http://www.magicandroidapps.com/su.zip
2. Superuser.apk http://bit.ly/su2361ef
3. busybox http://busybox.net/downloads/busybox-1.18.2.tar.bz2

Extract the above files using your favourite program

Using adb, install all three files to /data/local:


adb push su /data/local
adb push Superuser.apk /data/local
adb push busybox /data/local

Use adb remount to open the /system directory

adb remount

Use adb shell to move files

adb shell
cd /data/local
cat Superuser.apk > /system/app/Superuser.apk
cat su > /system/bin/su
cat busybox /system/xbin/busybox

Symlink su and set permissions:

ln -s /system/bin/su /system/xbin/su
chmod 06755 /system/bin/su

Typing su should now work

su
su: access granted, courtesy of www.magicdroidapps.com

Install busybox

exit from adb shell and using a terminal application (i.e Root Explorer or Better Terminal Emulator) on the nook,

su
busybox --install -s /system/xbin

That should do it, works with Root Explorer, Titanium Backup, LCD Density, Quick Boot and SetCPU.

Good Luck
Last edited by chhaggerty; 13th February 2011 at 09:50 PM. Reason: Updated information.
The Following 8 Users Say Thank You to chhaggerty For This Useful Post: [ View ]
4th February 2011, 05:06 PM   |  #2  
Senior Member
Thanks Meter: 22
 
407 posts
Join Date:Joined: Oct 2007
really? That simple? Root was the only reason i haven't jumped on the Honeycomb train. This may change my mind.
4th February 2011, 06:36 PM   |  #3  
Junior Member
Thanks Meter: 1
 
10 posts
Join Date:Joined: Nov 2010
I tried this on the 2gb sd image got root. But after I rebooted root was gone.
4th February 2011, 07:05 PM   |  #4  
Senior Member
Thanks Meter: 60
 
411 posts
Join Date:Joined: Dec 2010
I noticed su is in /system/bin rather than /system/xbin on the Froyo image. Any reason?

Homer
4th February 2011, 07:16 PM   |  #5  
chhaggerty's Avatar
OP Senior Member
Flag Minnesota
Thanks Meter: 79
 
150 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by anbradle

I tried this on the 2gb sd image got root. But after I rebooted root was gone.

Check your steps, especially permissions and the symlink. Works consistently on reboot for me.
The Following User Says Thank You to chhaggerty For This Useful Post: [ View ]
4th February 2011, 07:18 PM   |  #6  
chhaggerty's Avatar
OP Senior Member
Flag Minnesota
Thanks Meter: 79
 
150 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by Homer_S_xda

I noticed su is in /system/bin rather than /system/xbin on the Froyo image. Any reason?

Homer

I couldn't get it to work for me without installing in /system/bin and using a symlink to /system/xbin
Last edited by chhaggerty; 4th February 2011 at 07:48 PM.
4th February 2011, 07:30 PM   |  #7  
Senior Member
Thanks Meter: 58
 
566 posts
Join Date:Joined: Oct 2009
Quote:
Originally Posted by chhaggerty

It wouldn't work for me without installing in /system/bin and using a symlink to /system/xbin

It should work anywhere in the default PATH as long as it's got the full permissions (7655) set. I've only got one in xbin wih no symlink and all has been well for the superuser app...

root@android:/system/bin # echo $PATH
echo $PATH
/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
root@android:/system/bin # ls -l su
ls -l su
su: No such file or directory
root@android:/system/bin # ls -l /system/xbin/su*
ls -l /system/xbin/su*
-rwSr-sr-t root root 76232 2011-02-04 09:08 su
-rwSr-sr-t root root 76232 2009-07-31 19:08 su-magic
-rwSr-sr-t root root 26264 2010-08-10 06:52 su-new
-rwSr-sr-t root root 68340 2011-01-31 11:22 su-org
4th February 2011, 07:52 PM   |  #8  
NuroSlam's Avatar
Senior Member
Flag Hell aka Phoenix
Thanks Meter: 41
 
106 posts
Join Date:Joined: Feb 2010
Donate to Me
Quote:
Originally Posted by chhaggerty

Credit goes to NuroSlam for coming up with a working method. This requires a functioning adb connection. First download the following files:

1. su http://www.magicandroidapps.com/su.zip
2. Superuser.apk http://bit.ly/su2361ef
3. busybox http://busybox.net/downloads/busybox-1.18.2.tar.bz2.

Good Luck[/B]

i might take credit for gaining root, but the rest is all you
The Following 3 Users Say Thank You to NuroSlam For This Useful Post: [ View ]
4th February 2011, 08:06 PM   |  #9  
Senior Member
Flag Palo Alto, CA
Thanks Meter: 49
 
261 posts
Join Date:Joined: Jan 2008
More
Thanks! I couldn't really follow the part with installing busybox. Was I supose to make the busybox binary? Anyway, I just let titanium backup install busybox for me by clicking the "Problems?" button.

Just tried Root Explorer and it's working great. Nice being able to quickly edit the build.prop file. Upped the dalvik heap size to 64mb and messing with LCD density.

Thanks again!
Nathan
Last edited by nswenson; 4th February 2011 at 08:09 PM.
The Following User Says Thank You to nswenson For This Useful Post: [ View ]
4th February 2011, 08:22 PM   |  #10  
chhaggerty's Avatar
OP Senior Member
Flag Minnesota
Thanks Meter: 79
 
150 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by nswenson

Thanks! I couldn't really follow the part with installing busybox. Was I supose to make the busybox binary? Anyway, I just let titanium backup install busybox for me by clicking the "Problems?" button.

Just tried Root Explorer and it's working great. Nice being able to quickly edit the build.prop file. Upped the dalvik heap size to 64mb and messing with LCD density.

Thanks again!
Nathan

Running busybox from terminal will install all the busybox commands in /system/xbin which should make them available when using adb.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes