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 without using ADB

Discussion in 'Droid X Hacks' started by qoncept, Jul 22, 2010.

  1. qoncept
    Online

    qoncept Guest

    Update: This guide is for Android 2.1 and is now obsolete.
    Try this guide:http://www.droidforums.net/forum/droid-2-hacks/80080-much-simpler-guide-rooting-no-pc-required.html

    Now that root is available for the Droid X, there is going to be a swarm of people installing the Android SDK to have access to ADB. But you don't need to do this. You can install a terminal emulator from the Android Market and root your Droid X without using a PC. We'll be using a modified version of the guide on Alldroid.org to do this. Thanks to birdman and everyone else involved! Here's how:

    Get a terminal emulator and Astro
    There are a few available on the Market. Any of them should work fine. I recommend Better Terminal Emulator ($1.99 I believe) but there are free options available.

    Then download Astro file manager. There's a free and pay version, either will work.

    Download the files you need
    You'll need to register on Alldroid.org to download the files. Then download the attachment (using your Droid X) in the first post of this thread:

    DROID X IS ROOTED! (ADB and Shell as SU with System mounted as R/W, NO Flashing or bootloader yet) - Motorola Droid X Rooting - AllDroid Public Board - DROID X IS ROOTED! (ADB and Shell as SU with System mounted as R/W, NO Flashing or bootloader yet)

    The Android browser likes to make the filename goofy, so we'll need to change it. Open Astro.
    Press Menu -> More -> Preferences -> Look and Feel and make sure "Hide File Extensions" is disabled. Press back till you're at the file list again.

    Open the download folder and then long press on the file "resource.ashx" and rename it to "update.zip", then long press again to extract it, and "Extact To This Directory".

    Gaining temporary root access
    First make sure you have a Power Control widget on your homescreen and wifi is turned on. You're going to need to access this widget very quickly after you type the following commands.

    Now open your terminal app and type the following commands:
    Code:
    cd /sqlite_stmt_journals
    cp /sdcard/download/exploid ./exploid
    chmod 755 exploid
    ./exploid
    After typing the last command, quickly press your Home button and turn wifi off and then back on with the power control widget. You'll know if you did it fast enough after you type the next command:
    Code:
    rootshell
    If you are prompted for a password, you were fast enough. If not, type ./exploid and do the wifi thing over again. When you are prompted for a password, enter secretlol

    Copy superuser files
    You now have temporary root access and need to copy all of your files in to place to make it permanent. Type the following commands:

    Code:
    cp /sdcard/download/Superuser.apk /system/app/Superuser.apk
    cp /sdcard/download/su /system/bin/su
    cp /sdcard/download/busybox /system/bin/busybox
    chmod 4755 /system/bin/su
    chmod 4755 /system/bin/busybox
    rm /system/bin/rootshell
    exit
    You now have root. I needed to close my terminal emulator (in Better Terminal, you need to actually click the menu button and exit) and reopen it. After this, type su

    If anything other than your prompt changing from $ to #, something went wrong. Otherwise, you can start using apps that require root!
  2. JFDroid
    Offline

    JFDroid New Member

    Joined:
    Oct 31, 2009
    Messages:
    226
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Ohio
    Omg. I need this. please hurry! :)
  3. qoncept
    Online

    qoncept Guest

    Ugh.. on a conference call, it'll be a little bit.
  4. ClarkRU
    Offline

    ClarkRU New Member

    Joined:
    Jul 17, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Don't sweat it. In on this, great stuff so far.
  5. JFDroid
    Offline

    JFDroid New Member

    Joined:
    Oct 31, 2009
    Messages:
    226
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Ohio
    Bah. Well, at least you are willing to help with root without having to use ADB. Adb isn't working for me, at all. It's extremely frustrating. I'll keep refreshing this thread all day at work. Hopefully you have it up within an hour :)

    Thank you so much for starting this... hopefully it pans out and works.

    Edit: I'm at work, so I can understand what it's like to be interrupted.
  6. qoncept
    Online

    qoncept Guest

    Finished. Enjoy. :) If you have any problems post questions here.
  7. littlerick
    Offline

    littlerick New Member

    Joined:
    Nov 13, 2009
    Messages:
    266
    Likes Received:
    0
    Trophy Points:
    0
    i keep getting cant cd to /sqlite_stmt_journal

    edit: also dont have the resource.ashx file but i changed the file it downloaded to update.zip and unzipped it in the same file
  8. JFDroid
    Offline

    JFDroid New Member

    Joined:
    Oct 31, 2009
    Messages:
    226
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Ohio
    Should I be getting errors when typing the first string of commands? The errors I get are "cd: can't d to /sqlite_stmt_journal"
  9. qoncept
    Online

    qoncept Guest

    Oops, /sqlite_stmt_journals
    Updated.

    I'm not sure what you mean by unzipped in the same file, but I'm thinking that "Files" file manager might not be the best way to go. I used Astro, I'll update the guide to do it that way.
    Edit: Updated.
  10. erikfig
    Offline

    erikfig New Member

    Joined:
    May 12, 2010
    Messages:
    544
    Likes Received:
    0
    Trophy Points:
    0
    Good Stuff...



    Sent from my Droid using Tapatalk
  11. shamus
    Offline

    shamus New Member

    Joined:
    Nov 20, 2009
    Messages:
    345
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    Pennsylvania
    Hrmm.
    I'm stuck at copying busybox.
    It says no such file or directory. I also don't see it in the zip which would explain why I can't copy it.
    Any thoughts?

    Nevermind. That's what I get.
    I figured it out. Thanks a ton for this writeup.
  12. JFDroid
    Offline

    JFDroid New Member

    Joined:
    Oct 31, 2009
    Messages:
    226
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Ohio
    Awesome! It worked, root is all set. Thank you Birdman and qoncept for finding/establishing root and providing the guides to rooting.
  13. littlerick
    Offline

    littlerick New Member

    Joined:
    Nov 13, 2009
    Messages:
    266
    Likes Received:
    0
    Trophy Points:
    0
    i dont see the file: resource.ashx
  14. qoncept
    Online

    qoncept Guest

    Do you see any other files?
  15. qoncept
    Online

    qoncept Guest

    birdman and the other guys did all the hard work. But hackers are too busy hacking to make easier to read instructions. :)
  16. mnlghtknight
    Offline

    mnlghtknight New Member

    Joined:
    Jul 22, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    hey great tutorial!
    one thing that I did was i had the files under a folder called /update so i just added all of that into the copy code stuff.
    /sdcard/downloads/update/*

    anyways, i have it rooted now, just wondering how I install non android market applications. i tried dragging them over, but they keep saying not installed. seems like the only application with super user permissions is the terminal. can I change this? thanks a lot great guide this should be stickied.
  17. qoncept
    Online

    qoncept Guest

    You don't need to drag root apps over, just click on them in Astro/Files, open app manager and choose install. When they need to access something that requires root the Superuser app will come up and ask you.
  18. jaredb03
    Offline

    jaredb03 New Member

    Joined:
    May 10, 2010
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    0
    I am having the same issue with not seeing the resource.ashx file. What i do have in the folder is:
    Busybox
    exploid
    exploid.c
    su
    superuser.apk
  19. qoncept
    Online

    qoncept Guest

    Just skip the step for unzipping then, you're ready to go.
  20. mnlghtknight
    Offline

    mnlghtknight New Member

    Joined:
    Jul 22, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    i think you already unpacked it then. i downloaded mine on the computer, transferred it to downloads, then unzipped from phone... dunno if that helps.
Search tags for this page
adb without computer
,
adb without pc
,
failed on /data/local/tmp - permission denied
,
how to root android using terminal emulator
,
how to root without adb
,
rageagainstthecage apk
,
rageagainstthecage-arm5
,
rageagainstthecage-arm5.bin
,
rageagainstthecage-arm5.bin download
,
rageagainstthecage.apk
,
rageinthecage-arm5.apk
,
root android 2.1 without pc
,
root using terminal emulator
,

root without adb

,

sqlite stmt journals