Home > Android, Linux, Rockchip RK30xx, Rockchip RK31xx, Ubuntu > How to Root Rockchip Devices in Linux

How to Root Rockchip Devices in Linux

September 27th, 2013 Leave a comment Go to comments

Rooting methods for devices based on Rockchip RK3066 and Rk3188 are usually only provided for Windows, so if you run Linux as your main operating system, you would either need to find a Windows based devices, or run Windows in a virtual machine.  Luckily, Linux users may not have to switch to Windows anymore thanks to the instructions provided in one article that I’ll summarize below. The steps below are for Ubuntu / Debian based systems, but should be easily adaptable to other distributions.

Set up ADB access to the device

  1. Install adb:
    sudo apt-get install android-tools-adb
  2. Edit/create /etc/udev/rules.d/51-android.rules with the following line in order to let standard users connect to the device:
    SUBSYSTEM=="usb", ATTR{idVendor}=="2207", MODE="0666", GROUP="plugdev"
  3. Make sure that the Linux user is part of group “plugdev”:
    groups user
  4. Reload of the USB access rules to get the latest one on:
    sudo udevadm control --reload-rules
  5. Add your device USB Vendor ID to adb list. e.g.:
    echo "0x2207" >> ~/.android/adb_usb.ini
  6. Restart the adb server:
    adb kill-server; adb start-server
  7. Verify adb is working with your device by listing the connected devices:
    adb devices

Configure your Rockchip device for ADB access.

This part is exactly the same as for the Windows methods, so I’ll be prompt. You first need to enable “Mass Storage” USB connection, enable “Unknown source”, and finally enable “USB debugging” in the “Developer Options” in Android.

Rooting the Rockchip device from a Linux terminal

  1. Download TPSarky-VonDroid-Root.rar with su, SuperSU, busybox, and RootExplorer binaries, extract the files, and go to the directory in a terminal window.
  2. Download the rooting script, and save it as rkroot.sh
  3. Make the script executable:
    chmod +x rkroot.sh
  4. Run rkroot.sh, and follow the instructions. It will take a while as a few reboot of your Android device are needed, as is the case in Windows too with TPSparky method.

Your Rockchip device should now be rooted from a Linux PC. I haven’t tried it myself, but the method is known to work at least on RK3066 devices, if you’ve also tried successfully or not with RK3188 devices, do let us know in the comments’ section. Please be aware that with this type of procedure things can go bad, data be lost, and worse case, you may even brick your device.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

  1. September 27th, 2013 at 16:09 | #1

    oh… nice
    gonna try that on my archos gamepad sometime that weekend. :-)

  2. onebir
    September 27th, 2013 at 16:15 | #2

    I hope this works with RK3188s too :)

    Notes for noobs:
    1) you need to put your login name in place of the word user in “groups user”, then check the output includes plugdev (which I guess is the list of users with access to USB devices?).

    2) >> in echo “0×2207″ >> ~/.android/adb_usb.ini just appends “0×2207″ to the end of the adb_usb.ini file. (I mention this cos I’d forgotten what >> does – yep, still a noob – and googling >> is very unhelpful :)

  3. September 28th, 2013 at 03:32 | #3

    I wrote that page because it took me a while how to get ADB shell running on my RK3066 tablet:

    http://linux-rockchip.info/mw/index.php?title=ADB_shell_with_RK3066

  4. hamgom95
    November 2nd, 2013 at 01:57 | #4

    worked nice with my QC802 – thank you very much

  5. Chezzy
    January 20th, 2014 at 10:36 | #5

    Good Work.

    I finally managed to root my Zoostorm Playtab 3305-1030

    Much appreciated

  1. No trackbacks yet.