Skip to content

Manual Android root

Hello,

This article explain how to manually root your Android. To use it, you must have Android SDK installed. The necessary posts are in the end of the post, I recommend you to read all instructions first.

PS: ROOT YOUR PHONE CAN BREAK YOUR WARRANTY! Responsibility is yours!

Verify if adb recognizes your phone

$ adb devices

Copy the files to the phone

$ adb push rageagainstthecage /data/local/tmp/rageagainstthecage
$ adb push Superuser.apk /data/local/tmp/Superuser.apk
$ adb push busybox /data/local/tmp/busybox
$ adb push su /data/local/tmp/su

Change file permissions

$ adb shell
$ chmod 700 /data/local/tmp/rageagainstthecage
$ chmod 755 /data/local/tmp/busybox

Run the exploit

cd /data/local/tmp
./rageagainstthecage

Your adb shell will close, restart the adb, and reopen the shell

adb kill-server
adb start-server
adb shell

Your adb shell should change from $ to #. If this not happens, retry the steps.

Mount your file system with read/write permissions

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

Install busybox

cd /data/local/tmp
./busybox cp busybox /system/bin
chmod 4755 /system/bin/busybox

Use busybox to copy and install the other files

busybox cp Superuser.apk /system/app
busybox cp su /system/bin
chmod 4755 /system/bin/su

Mount your system files to read only

mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system

Done. Your phone is rooted. To try it, reopen adb shell, and type “su”. Then check you phone screen.

Android manual root files.

Best Regards.
Matheus

References:
http://www.nexusoneforum.net/forum/nexus-one-development-hacking/10940-simple-sdk-setup-manual-root-guide-windows.html

Published inAndroid

70 Comments

Leave a Reply

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