1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

[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
    Offline

    iSecks New Member

    Joined:
    Nov 26, 2009
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    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]
  2. psufan5
    Offline

    psufan5 New Member

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

    Thanks
  3. pcandroid
    Offline

    pcandroid New Member

    Joined:
    Nov 28, 2009
    Messages:
    252
    Likes Received:
    0
    Trophy Points:
    0
    Yea step 3 and 4 make no sense if you are not familiar with adb.
  4. psufan5
    Offline

    psufan5 New Member

    Joined:
    Dec 17, 2009
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    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.
  5. pcandroid
    Offline

    pcandroid New Member

    Joined:
    Nov 28, 2009
    Messages:
    252
    Likes Received:
    0
    Trophy Points:
    0
    got it thanks
    Last edited: Dec 31, 2009
  6. iSecks
    Offline

    iSecks New Member

    Joined:
    Nov 26, 2009
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    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.
    Last edited: Dec 31, 2009
  7. GrandMasterB
    Offline

    GrandMasterB New Member

    Joined:
    Dec 25, 2009
    Messages:
    262
    Likes Received:
    3
    Trophy Points:
    0
    VERY COOL, many thanks!
  8. psufan5
    Offline

    psufan5 New Member

    Joined:
    Dec 17, 2009
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0

    Good to know!
  9. freddroidhead
    Offline

    freddroidhead New Member

    Joined:
    Dec 21, 2009
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Akron, OH.
    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.
    Last edited: Jan 10, 2010
  10. AdamZ
    Offline

    AdamZ Premium Member Premium Member

    Joined:
    Dec 24, 2009
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    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..
  11. tktouch12
    Offline

    tktouch12 New Member

    Joined:
    Nov 17, 2009
    Messages:
    1,242
    Likes Received:
    0
    Trophy Points:
    0
    This is really great to know, but doesn't every rom pretty much have root?
  12. freddroidhead
    Offline

    freddroidhead New Member

    Joined:
    Dec 21, 2009
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Akron, OH.
    it's saying chmod: command not found
  13. freddroidhead
    Offline

    freddroidhead New Member

    Joined:
    Dec 21, 2009
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Akron, OH.
    I just had to reinstall 2.1 from the backup file in nandroid. Somehow the system got messed up from trying to use the wifi tether which is not working right with 2.1.
  14. Wrenbjor
    Offline

    Wrenbjor New Member

    Joined:
    Nov 6, 2009
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    0
    I'm getting the same thing, chmod: command not found, I have 2.1 on there now and I want to goto sholes 2.0.1 1.2
  15. vpshockwave
    Offline

    vpshockwave New Member

    Joined:
    Dec 15, 2009
    Messages:
    164
    Likes Received:
    0
    Trophy Points:
    0
    Do you guys have busybox installed? I think chmod needs busybox to work.
  16. rooted_default
    Offline

    rooted_default New Member

    Joined:
    Jan 29, 2010
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Denver, Colorado
    Ok guys, chmod does not require busybox to work UNLESS you are in recovery working through ADB. In this case, with the system partition mounted the command line is #busybox chmod 755 /system/bin/su

    I have been using this method since the end of last year to mod my Droid in various ways and never had any issues. I rooted from the command line using adb before the easier methods became available. I had a superuser.apk and an su script that I pushed to my device without benefit of SPR being flashed first. If you are using RSD lite you would be better off to just flash a rooted rom .SBF and an SPR .SBF
  17. Dj blare
    Offline

    Dj blare New Member

    Joined:
    Aug 22, 2010
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    0
    ok so do this work for droid 1 with 2.2?
  18. rooted_default
    Offline

    rooted_default New Member

    Joined:
    Jan 29, 2010
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Denver, Colorado
    I don't know, but I'm willing to find out right now. I'll DL the Verizon Froyo update and let it install and then I'll try and root it with adb w/o SPR being flashed first. Then I'll post my result for you.
  19. rooted_default
    Offline

    rooted_default New Member

    Joined:
    Jan 29, 2010
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Denver, Colorado
    Alright, the results are in. In order to make it work on 2.2 you must have a recovery that allows mounting /system from the recovery menu. I flashed SPR and because the .sbf flashes a 2.1 kernel also I had to use SPR to flash a 2.2 kernel so the phone would boot. That done I was able to use adb to push su and superuser.apk onto the phone. It does work on 2.2. If your recovery is stock you need to replace it with Clockworkmod or SPR
  20. Dj blare
    Offline

    Dj blare New Member

    Joined:
    Aug 22, 2010
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    0
    You make it sound so easy but im a newbie at all of this rite now im gona start studing all the terminologies and ill let you know when im ready to trick my phone thanks for your help man a++ for u
Search tags for this page
adb push 4.0.3 su binary
,

adb push to system without root

,
chmod su binary
,

how to push file without su

,
how to push su binary adb
,

how to push su binary with adb

,
push rom using adb mount system ?
,
push su binary with adb
,
root without rom#gsc.tab