How to Root Transformer Prime on Mac or Linux!

If you want to root your Transformer Prime on a Mac or Linux, no worries as I wrote a simple bash script that automates the process.

First, you will need a Mac or Linux computer/laptop.  For Windows, see How to Root Transformer Prime on Windows.

Step 1. Go to Settings->Developer Options and make sure USB Debugging is checked ON.  Connect your Transformer Prime to your Mac or Linux computer.

Step 2. Download TransformerPrimeRootICSMacLinux.zip and unzip to your desktop:

Transformer Prime ICS on 9.4.2.11 and later:

Download TransformerPrimeRootICSNew.zip

Transformer Prime ICS on 9.4.2.7 and earlier:

Download TransformerPrimeRootICSMacLinux.zip

Step 3. Open up a terminal.

Browse to the directory you unzipped the TransformerRootICSMacLinux.zip by typing:

cd Desktop/TransformerPrimeRootICSMacLinux

Then type:

For Mac:

./adb-mac devices

For Linux:

./adb-linux devices

If you get a combination of numbers and letters with “device”, you are ready to go.   If you don’t get this, double-check USB Debugging is checked ON and you have connected your Transformer Prime to your computer via the USB cable.

Next, type:

For Mac:

sh runmemac.sh

For Linux:

sh runmelinux.sh

This will start the rooting process.  You can go get some coffee or do some exercises for the next 5 minutes while the script roots your Transformer Prime.

Step 4. After 3 reboots, your Transformer Prime should be rooted.

Step 5. Verify that you have Superuser app on your rooted Transformer Prime.  If so, congratulations, you’ve just rooted your Transformer Prime.  Don’t forget to tell your friends about it and go celebrate at the bar.

Want to stay updated on latest Transformer Prime Root news?
Sign up for our Transformer Prime Root Newsletter here so you don't miss a single tip and get personal help via e-mail!
First time to rooting and custom ROMs? Please see our Root Guide FIRST!
Want to contact me?
Add me on:
GooglePlus
Facebook
Twitter
Categories: Transformer Prime Root.

Recent Android News from HighOnAndroid.com

41 Responses to How to Root Transformer Prime on Mac or Linux!

  1. Piotr says:

    Hi,

    Do you have to backup everything before preformming the rooting process? BTW are you planning toutorial on chrooting into ubuntu on Asus Prime?

  2. rpm says:

    didn’t quite work for me as is, i had to make changes… (Ubuntu linux server)

    make a temp directory as the zip files extract to the current dir
    > mkdir /tmp/TFP; mv TransformerPrimeRootICSMacLinux.zip /tmp/TFP; cd /tmp/TFP; unzip TransformerPrimeRootICSMacLinux.zip

    now make adb-linux an executable
    > chmod u+x adb-linux

    adb needs to be run as root! Otherwise, we get errors like,

    > ./adb-linux devices
    List of devices attached
    ???????????? no permissions

    so stop it, and restart as root
    > ./adb-linux kill-server
    > sudo ./adb-linux start-server

    now, ./adb-linux devices lists my TFP and the rooting works!

    • Reda says:

      HELLO
      I have an Asus TF101G transformer , ICS 4.0.3, TW 9.2.2.3, Do you think this method will work and if does can you please send me the modified file as i keep getting permission denied when I run sh runme….sh it says./ adb-linux permission denied. THANK YOU

  3. Jimmy says:

    i keep getting ” -bash: ./adb-mac: cannot execute binary file “

  4. patrick says:

    Rooting…
    Start Rooting…
    reboot #1 – DO NOT DISCONNECT YOUR DEVICE!
    reboot #2 – DO NOT DISCONNECT YOUR DEVICE!
    remount failed: Operation not permitted
    failed to copy ‘su’ to ‘/system/bin/su’: Read-only file system
    Unable to chmod /system/bin/su: No such file or directory
    Unable to chmod /system/bin/su: No such file or directory
    rm failed for /system/xbin/su, Read-only file system
    link failed Read-only file system
    failed to copy ‘Superuser.apk’ to ‘/system/app/./Superuser.apk’: Read-only file system
    1191 KB/s (1075144 bytes in 0.881s)
    mount: permission denied (are you root?)
    /system/xbin/busybox: cannot open for write: Read-only file system
    Unable to chmod /system/xbin/busybox: No such file or directory
    Unable to chmod /system/xbin/busybox: No such file or directory
    /system/bin/sh: /system/xbin/busybox: not found
    rebooting
    All Done rooting Transformer Prime, check out TransformerPrimeRoot.com for more cool stuff!

    • Carlitos says:

      Same result as patrick here. any ideas on how to make this work?

      • Robert Hasna says:

        Most probably you have a firmware newer than 9.4.2.10 and using the wrong archive.
        Download TransformerPrimeRootICSNew.zip and try the same process.

        • Denis Dimick says:

          After the OTA update to 9.4.2.21 the script no longer allows for a remount of /system as rw. Looks like there is some problem with the New zip file and Asus’s ICS update.

          Lion and adb-mac is still not working, :(

          Anyone figure this out yet?

  5. Denis Dimick says:

    I found on OSX Lion that even while running under sudo, the application adb-mac would not run. I used the SDK installed adb and after modifying the runmemac.sh script it worked fine

    The two changes I had to do are:

    Change the location that the script is looking foe adb

    #varadb=adb-mac
    varadb=/Users/denisdimick/Android/android-sdk-mac_x86/platform-tools/adb

    also I had to delete all the path references that where looking in the startup directory; as an example

    ./$varadb shell “/data/local/mempodroid 0xd9ec 0xaf47 chown root.shell /system/xbin/busybox” needed to be changed to
    $varadb shell “/data/local/mempodroid 0xd9ec 0xaf47 chown root.shell /system/xbin/busybox”

    the “./” was all I deleted

    I’m running ICS 4.0.3 and the latest firmware 9.4.2.13

    I hope this helps

    • will clark says:

      how exactly do you do this i am kinda new to this and am stuck

      • Denis Dimick says:

        Will,

        Sorry for not seeing your post sooner.

        Here’s what you need to do:

        Place your Android into USB Debug Mode: Settings -> Developer options -> USB Debugging. Now ADB should see your android when you run “adb start-server” and then “adb devices”. If not, re-check to make sure your in USB Debug mode.

        I’m assuming you already downloaded and untared/zipped the files.

        Just try to run the script and let me know what happens.

    • appbauer says:

      Thank you!

      Now its working

  6. Will Rogers says:

    I’m doing all I can on my schools osx computers. Anyway, im being told that adb wasn’t in the sdk i downloaded and im just really stuck. Steps I took: 1. Downloaded the Transformerprimerooticsmaclinux, saved it to desktop. 2. Read your mac part about adb and I went to download it, downloaded the sdk. Inside the sdk should be adb but theres a note that its been moved to platform tools(dunno what that is) and it says to find it I need to start the sdk and avd manager? I’m so lost aha. I added you on google+ maybe you could give better detail? Thanks bud for doing all the hard work

  7. Will Rogers says:

    GOT IT. update you soon

  8. Will Rogers says:

    “Change the location that the script is looking foe adb

    #varadb=adb-mac
    varadb=/Users/denisdimick/Android/android-sdk-mac_x86/platform-tools/adb

    also I had to delete all the path references that where looking in the startup directory; as an example

    ./$varadb shell “/data/local/mempodroid 0xd9ec 0xaf47 chown root.shell /system/xbin/busybox” needed to be changed to
    $varadb shell “/data/local/mempodroid 0xd9ec 0xaf47 chown root.shell /system/xbin/busybox”

    the “./” was all I deleted”

    You have answered it, but im not good at this like the other will :P . So anyway you can post an update with the fix on youtube?

  9. Chris Conlee says:

    No matter what I do, I cannot get my Transformer Prime to show up as a device. Any suggestions? I’ve got debug mode enabled, etc., but when I try to list devices, it simply comes up blank.

  10. RobReilly says:

    Worked great for me. Had to switch USB from storage to camera in Developer Options. After that, recvd the device name and everything went smoothly from there. Only took about 10 seconds. Be sure to load “System Tuner”, from the market, so you can run the Prime on Performance setting. Speeds up everything.

  11. Paul says:

    I unrooted to install the new OTA 9.4.2.21. I did not unlock bootloader I was just rooted. It keeps failing to install the update. The red exclamation point comes up over the android man. I have to hard reboot and it just returns back to last OTA. Any fixes?

  12. Ash says:

    Managed to install clockwork recovery, so I know the pad is connected to Mac OK, but ./adb-mac devices doesn’t list any devices at all. It does appear to run as it gives a message of ” List of devices attached ” but that’s all.

    I checked that USB debug is on, but still wont list the device.

    I have unlocked the bootloader, with no problems. I am running Lion, so not sure if that’s the issue.

    any idea’s ?

    A>

  13. thomas says:

    not getting rooted.
    No reboots or anything.

    any ideas?

    thomas@thomas-laptop:~/Skrivebord/TransformerPrimeRootICSNew$ sudo ./adb-linux devices
    List of devices attached
    C3OKAS157211 device

    thomas@thomas-laptop:~/Skrivebord/TransformerPrimeRootICSNew$ sh runmelinux.sh
    —————————————————————
    Easy rooting toolkit for Transformer Prime!
    Script by Max Lee from TransformerPrimeRoot.com
    Credits go to saurik and Jason A. Donenfeld for exploit.
    —————————————————————
    [*] This script will:
    (1) root your Transformer Prime on ICS
    (2) install Busybox
    (3) install SU files
    [*] Before u begin:
    (4) Make sure to read full instructions at TransformerPrimeRoot.com!
    —————————————————————
    CONFIRM ALL THE ABOVE THEN
    Rooting…
    Start Rooting…
    712 KB/s (37273 bytes in 0.051s)
    438 KB/s (22364 bytes in 0.049s)
    1170 KB/s (1075144 bytes in 0.896s)
    1324 KB/s (843503 bytes in 0.621s)
    16 KB/s (669 bytes in 0.040s)
    ROOTED! Check out TransformerPrimeROot.com for more cool stuff!

    this only takes about 5 seconds

    • thomas says:

      Seems its at problem everyone with 9.4.2.14 or later has. Guess i’ll just have to wait and see.

      • HippoMan says:

        Has anyone found a way to get a version of this to work on 9.4.2.14 or later? I have unlocked my bootloader on my TF201, but I get the same 5-second dialog as mentioned above, which doesn’t root the device.

        Actually, I’m looking for _any_ linux-based way to root the TF201. Vipermod still seems to not have a linux version. Any other ideas?

        Thanks in advance.

  14. REDA says:

    HELLO
    I have an Asus TF101G transformer , ICS 4.0.3, TW 9.2.2.3, Do you think this method will work and if does can you please send me the modified file as i keep getting permission denied when I run sh runme….sh it says./ adb-linux permission denied. THANK YOU

    • BrunoJCM says:

      I”ve run it on my SL101 and it didn’t work.

    • Denis Dimick says:

      REDA,

      Did you fix this problem? It sounds like there is one of two problems:

      1. the file does not have the proper permission to run,

      2. Your user account does not have the proper permissions to run.

      if you have “root” access try this:

      sudo ./ adb-linux

      if it’s user permissions it should run

  15. henriavelabarbe says:

    Just rooted the Transformer Prime with latest version available today (2012/06/14) from Centos using the package referenced here but using all the adb-linux instructions translated from the latest windows chroot on http://forum.xda-developers.com/showthread.php?t=1706588
    The debugfs and debugfsinput need to be copied from Windows package.
    Then just execute instructions from RootDebugfs.bat (section :ROOT), replacing @adb with ./adb-linux.

    • Tom Saleeba says:

      Followed what you said henriavelabarbe and it worked, I achieved root. Titanium backup complained about su not evaluating to root (didn’t note the exact wording sorry) so I installed the Superuser.apk that came with the linked Windows package to try to fix it but got the same error. I decided to restart the tablet (should’ve done this anyway, I know) and it all works a treat now so I suspect either apk would work, just be sure to restart. Regardless, updating the superuser app and binary is a good idea.

  16. Callipso says:

    Will it survive OTA to JB using Voodoo ota rootkeeper?

  17. Dez Litten says:

    i didn’t find out about this till way later aka i’m s.o.l to late.
    my boot loader is unlocked..
    but i can’t get root.
    i’m on official j.b.
    never rooted my tablet before.
    prime time don’t work.
    and an xda multi root tool don’t either.
    what is the deal??
    can jelly bean running some 10 point o build not able to be rooted or what?? i want my tablet to be in transformer beast mode.

  18. UrbanDroid says:

    Can we get an update on when the transformer prime with jellybean will be rootable again? I’m at that point where i would like to start experimenting with different roms, but can’t because of an unrootable device.

  19. Hey there, You’ve done a great job. I’ll certainly digg it and personally suggest to my friends.
    I’m confident they will be benefited from this web site.

  20. Latrice says:

    I like the valuable information you provide in your articles.
    I will bookmark your weblog and check again here frequently.
    I am quite sure I’ll learn a lot of new stuff right here! Best of luck for the next!

  21. Right here is the perfect blog for everyone who wants to understand this topic.

    You understand a whole lot its almost tough to argue with you (not that I really would want
    to…HaHa). You definitely put a brand new spin
    on a subject which has been discussed for a long time.
    Wonderful stuff, just excellent!

  22. I am sure this article has touched all the internet users,
    its really really pleasant article on building up new website.

  23. Thanks for one’s marvelous posting! I actually enjoyed reading it,
    you could be a great author.I will ensure that I bookmark
    your blog and will eventually come back someday. I want to encourage continue your great work, have a nice
    evening!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Related News and Resources