Pages

Saturday, 18 January 2014

Tutorial: How to root an Android device

I recognized, that a lot of users ask us, how to root their device. There is no universal method!, but if there are no measures taken by the manufacturer, chances are not that bad to get root by doing the following steps:

Everything is on YOUR OWN RISK!
 I’m not responsible, if your device doesn’t work or has some malfunctions.
 Feedback is welcome.

Lines with a # are just comments. You don’t do something here, just read them.

# Get root access:
 Menu -> System settings -> Security -> Unknown Sources -> Enabled
 Menu -> System settings -> Developer options -> USB debugging -> Enabled

donwload and install 7-zip: http://www.7-zip.org/
 download: http://www.android-hilfe.de/odys-forum/187726-adb-connecten.html
 download: http://f-droid.org/repository/browse/?fdfilter=superuser&fdid=org.fdroid.superuser
 download: http://f-droid.org/repository/browse/?fdfilter=terminal%20emulator&fdid=jackpal.androidterm

extract adb-*.7z with 7-zip
 install driver from folder usb_driver in adb-* (manually after device pluged-in). At least ADB drivers must work or we can’t access the device. If you already have ADB drivers, fine! If you need device specific ADB drivers, fine!
 rename org.fdroid.superuser*.apk to org.fdroid.superuser*.zip
 extract org.fdroid.superuser*.zip with 7-zip or similar programm
 copy “su” from org.fdroid.superuser_*\assets\armeabi to adb-* (your ADB folder)
 open your shell (CMD.exe on Windows, Bash on Linux) and change directory to adb-* and type:

adb kill-server
 adb root
 adb remount
 adb push su /system/xbin/su
 adb shell
 chown 0:0 /system/xbin/su
 chmod 6755 /system/xbin/su
 ln -s /system/xbin/su /system/bin/su
 adb reboot

copy org.fdroid.superuser*.apk to sd-card and install it
 copy jackpal.androidterm_53.apk to sd-card and install it
 open “Terminal Emulator” on your Android device and type “su”, then permanently allow root
 if a # appears in the beginning of the line, you now have root.

Note: Busybox is not in F-Droid so far, so no link. You can try whether Busybox is already on the device by typing “busybox”
 in Terminal Emulator. It should give you a long list of commands.

No comments:

Post a Comment