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

514 Comments

  1. I’m in awe of the author’s capability to make complicated concepts approachable to readers of all backgrounds. This article is a testament to his expertise and dedication to providing valuable insights. Thank you, author, for creating such an engaging and enlightening piece. It has been an unforgettable experience to read!

  2. Hmm is anyone else encountering problems with the images on this blog loading? I’m trying to find out if its a problem on my end or if it’s the blog. Any suggestions would be greatly appreciated.

  3. Hey there! I’ve been following your blog for a long time now and finally got the courage to go ahead and give you a shout out from Austin Texas! Just wanted to tell you keep up the fantastic work!

Leave a Reply

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