FORUMS

Android 5.1 for the Nvidia Shield Tablet is Out!

Nvidia is quite good at delivering updates in a timely fashion. The producer of famous … more

Other than XDA (of Course), What’s Your Favorite Site That Covers Android?

There is a number of other great sites that cover … more

Introducing Voices of XDA: Have Your Ideas Heard

By far the greatest assets we have at XDA-Developers are you, the developers, the eager … more

Unofficial Xposed For Lollipop Touchwiz With Flashable Zip

XDA Recognized Developer arter97 has released an unofficial build … more
Post Reply Subscribe to Thread Email Thread

Method to install root for Honeycomb

4th February 2011, 04:01 PM |#1  
chhaggerty's Avatar
OP Senior Member
Flag Minnesota
Thanks Meter: 234
 
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 08:50 PM. Reason: Updated information.
The Following 8 Users Say Thank You to chhaggerty For This Useful Post: [ View ]
 
 
4th February 2011, 04:06 PM |#2  
Senior Member
Thanks Meter: 25
 
More
really? That simple? Root was the only reason i haven't jumped on the Honeycomb train. This may change my mind.
4th February 2011, 05:36 PM |#3  
Junior Member
Thanks Meter: 1
 
More
I tried this on the 2gb sd image got root. But after I rebooted root was gone.
4th February 2011, 06:05 PM |#4  
Senior Member
Thanks Meter: 60
 
More
I noticed su is in /system/bin rather than /system/xbin on the Froyo image. Any reason?

Homer
4th February 2011, 06:16 PM |#5  
chhaggerty's Avatar
OP Senior Member
Flag Minnesota
Thanks Meter: 234
 
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, 06:18 PM |#6  
chhaggerty's Avatar
OP Senior Member
Flag Minnesota
Thanks Meter: 234
 
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 06:48 PM.
4th February 2011, 06:30 PM |#7  
Senior Member
Thanks Meter: 58
 
More
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, 06:52 PM |#8  
NuroSlam's Avatar
Senior Member
Flag Hell aka Phoenix
Thanks Meter: 41
 
Donate to Me
More
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, 07:06 PM |#9  
Senior Member
Flag Palo Alto, CA
Thanks Meter: 52
 
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 07:09 PM.
The Following User Says Thank You to nswenson For This Useful Post: [ View ]
4th February 2011, 07:22 PM |#10  
chhaggerty's Avatar
OP Senior Member
Flag Minnesota
Thanks Meter: 234
 
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