Method to install root for Honeycomb

Search This thread

altimax98

Senior Member
Nov 7, 2008
2,227
676
Florida
From term
$/sdcard/locationofsu/su
#remount
#chmod 6755 /system/bin/su

Sent on papertape

Edit: sorry just noticed you did a mv and not a cat or cp


Ive still got the original file but following your commands i get cannot execute permission denied and operation denied errors...:-( looks like ill just have to push the file from my pc


Sent from one of those missing Droids
 

nik_boom

New member
Jun 12, 2008
2
0
Hey can Any 1 explain in brief as to how this rooting is working in comparision to cf-root (exploit used)??
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Check this thread for updated and improved information, many thanks to j4mm3r

    http://xdaforums.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
    3
    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
    2
    I hope this helps

    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.


    I hope this improves the situation a bit. Here are two versions of su attached.

    USE WITH CAUTION
    su_unsecure.zip contains the completely unsecured su binary which can be used instead of the one in OP's post. Root explorer works because now this one is silent.

    WARNING, this is for advanced users only
    su_secure.zip contains a version which consults the file /etc/su.allow for a list of uid's for which root access is allowed. Find the uid of your favorite application (RootExplorer, Busybox etc) by looking at the output of the following command:

    Code:
    # adb shell ls -l /data/data
    ...
    ...
    drwxr-x--x app_36   app_36            2011-02-12 04:00 com.google.android.apps.reader
    drwxr-x--x app_32   app_32            2011-02-09 01:26 com.google.android.gsf
    drwxr-x--x system   system            2011-02-09 01:17 com.google.android.location
    drwxr-x--x app_46   app_46            2011-02-12 04:00 com.google.android.street
    drwxr-x--x app_32   app_32            2011-02-09 00:42 com.google.android.syncadapters.calendar
    drwxr-x--x app_32   app_32            2011-02-09 00:42 com.google.android.syncadapters.contacts
    drwxr-x--x app_37   app_37            2011-02-12 04:00 com.google.android.youtube
    drwxr-x--x app_44   app_44            2011-02-12 04:00 com.metago.astro
    ...
    ...

    So if for example if you wanted to get root access for ASTRO, then its uid is 10044 (app_44). First create the su.allow file:
    Code:
    (to mount /system in r/w)
    # adb remount
    
    # adb shell echo 10044 >> /etc/su.allow
    # adb shell chmod 644 /etc/su.allow
    
    (For subsequent apps)
    # adb shell echo 100XX >> /etc/su.allow
    # adb shell echo 100YY >> /etc/su.allow
    ...
    ... 
    (and so on)

    If the su.allow file is not present then the su binary defaults to the stock behavior i.e it only allows root access if the uid = AID_SHELL (2000).
    2
    busybox-1.18.2.tar.bz2 does this downloaded directory require a build of some kind..

    busybox does not exist in the directories...

    TIA
    :confused:


    dont worry about it

    download ti backup. run it, click problems?. install busybox that way
    1
    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.