# [how-to] root humancyborg's 2.1 [and any other rom without root]

Discussion in 'Android Hacks and Help' started by iSecks, Dec 31, 2009.

1. ### iSecks Member

Joined:
Nov 26, 2009
Messages:
108
0
Trophy Points:
16
Ratings:
+0
Step-by-step instructions:
1. Reboot into recovery.
2. Using the recovery menus, mount /system
3. Through adb, push the su binary from http://magicandroidapps.com/su.zip to /system/bin/ [NOT the zip file, the file inside of the zip file. It will just be named "su" without a file extension.]
4. chmod su to 6755
Code:
chmod 6755 /system/bin/su
5. unmount /system
6. reboot!

Oh, and this will only work on other roms without root if you have a custom recovery that allows root access to the device through adb. [Such as SirPsychoS' recovery menu]

#1
2. ### psufan5 Member

Joined:
Dec 17, 2009
Messages:
43
0
Trophy Points:
6
Ratings:
+0
could you post the commands for the adb part? Im assuming you mean on my computer? could you type the commands?

Thanks

#2
3. ### pcandroid Member

Joined:
Nov 28, 2009
Messages:
249
0
Trophy Points:
16
Ratings:
+0
Yea step 3 and 4 make no sense if you are not familiar with adb.

#3
4. ### psufan5 Member

Joined:
Dec 17, 2009
Messages:
43
0
Trophy Points:
6
Ratings:
+0
Ok this is what i did - put su in your tools folder in your android SDK...

/ # mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
/ # busybox cp -R sdcard/su /system/bin
/ # chmod 6755 /system/bin/su
/ # reboot

Worked for me and I didnt need to boot into recovery.

#4
5. ### pcandroid Member

Joined:
Nov 28, 2009
Messages:
249
0
Trophy Points:
16
Ratings:
+0
got it thanks

#5
Last edited: Dec 31, 2009
6. ### iSecks Member

Joined:
Nov 26, 2009
Messages:
108
0
Trophy Points:
16
Ratings:
+0
Do NOT mount /system as mtdblock3. This is not the correct way to mount on the droid. It could brick if you do it that way. The reason I said to boot into recovery is because there is a mount submenu that lets you mount and unmount all of the partitions, so you don't have to type any long commands and risk messing up.

I'm REALLY in a hurry right now and I've got to go, I'll post the commands from my phone in the car. brb.

EDIT: Okay, if you don't know how to use ADB, there's a thread on how to use it on the first page in this forum. Now, to push su to your phone, open a command prompt on your computer and change directories to your android sdk tools folder. From here, runthis command:
(/system must be mounted or this will do nothing! Its easy to mount in recovery if you don't know how. If you think you do, make sure you don't mount on /mtdblock3 as that CAN BRICK your phone)
Code:
adb push C:\path\to\su /system/bin/su
After that, run these commands one line at a time.
Code:
adb shell
chmod 6755 /system/bin/su
exit
Good luck.

#6
Last edited: Dec 31, 2009
7. ### GrandMasterB Member

Joined:
Dec 25, 2009
Messages:
262
3
Trophy Points:
18
Ratings:
+3
VERY COOL, many thanks!

#7
8. ### psufan5 Member

Joined:
Dec 17, 2009
Messages:
43
0
Trophy Points:
6
Ratings:
+0

Good to know!

#8

Joined:
Dec 21, 2009
Messages:
43
0
Trophy Points:
6
Location:
Akron, OH.
Ratings:
+0
This is not working for me. I mounted the system, I did get su copied over but the chmod 6755 thing is not working. I don't know what to do.

#9
Last edited: Jan 10, 2010

Joined:
Dec 24, 2009
Messages:
76
0
Trophy Points:
6
Ratings:
+0
As iSecks mentioned... you need to have your /system partition mounted... If you are performing these commands inrecovery via ADB: DO NOT MOUNT MTDBLOCK 4 WITH ADB IN RECOVERY... MTDBLOCK 4 IS NOT /SYSTEM PARTITION IN RECOVERY... I believe it is mtdblock6 for /system in Recovery mode...

Navigate to "Mounting options" in SPRecovery... from there select "Mount /system" and "Mount /sdcard"

Now perform the commands from the original post..

#10
11. ### tktouch12 Active Member

Joined:
Nov 17, 2009
Messages:
1,240
0
Trophy Points:
36
Ratings:
+0
This is really great to know, but doesn't every rom pretty much have root?

#11

Joined:
Dec 21, 2009
Messages:
43
0
Trophy Points:
6
Location:
Akron, OH.
Ratings:
+0

#12

Title
Replies Views
Last Message

Replies:
7,395
Views:
235,778

Replies:
2
Views:
29

Replies:
5,057
Views:
156,050

Replies:
102
Views:
7,798

Replies:
13
Views:
5,400

Replies:
1
Views:
174

Replies:
0
Views:
42

Replies:
30
Views:
4,378
,
,
,
,
,
,

,
,
,