What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[HOW TO] Root without using ADB

  • Thread starter Thread starter qoncept
  • Start date Start date
The people who got stuck on "chmod 4755 /system/bin/busybox" like me ,What did you do to get past it? Do I download and install Busybox from the market place then retry or what?
edit:NVM. I downloaded busybox from the market but didnt install and went thru the process again and it worked. I am now a tree leg!!!!dancedroid
 
Just did this on my X and worked first time. Very easy and simple guide to follow, especially if you know Linux already. My question is can you simply reset the phone to factory settings to un-root the phone? I know once the OTA 2.2 is pushed that I will lose root, but if I wanted to go back before that, can I just factory reset the phone? I tried to search but could not really find an answer on it. Thanks.
 
Just used this method, and wanted to say thanks to everyone who contributed. It was very easy, and I appreciate the effort made by the rooting community to provide an alternative to rooting. Thanks!
 
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![/QUOT

i keep getting cant cd to /sqlite_stmt_journals what am i doing wrong
 
Need a video of how to root the droid x? I want to be able to control my Droid from my desktop PC is there a way to do that without rooting it? Cause I really dont want to mess up the phone lol.....
 
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!


I did this before and now that I updated to the official 2.2 I can get past the first command
cd sqlite_stmt_journals

it says can't cd to cd sqlite_stmt_journals

I tried to skip it and went to
cp /sdcard/download/exploid ./exploid

and it said cp: ./exploid: read-only file system

This is the only way i could root before cause I could never connect through PC mode with debugging...
Please help
 
I'm in the same boat as DeadMoney. I could never get ADB to install properly, i tried numerous times on multiple PCs. Just never took. Finally rooted back in july using this method. Would prefer to root my phone again using just the terminal if possible, as i have zero chance of ever getting ADB to work on my PCs, i spent hours trying over multiple days, just would never take
 
I used this method to root my DX on 2.1, and am installing the OTA 2.3 (Froyo?) update now. I take it I'm going to loose my SU permissions and the ability to use apps for "root" users?

Fun...
 
the exploit, temp root access file is different.

If you can dropbox/ftp/save the rageaagainstthe file to you droidx, you should be able to get temp root access.

Sent from my DROIDX using Tapatalk
 
Back
Top