X is Rooted - Droid X Android Development

According to a new thread in the General section posted by Zanix, the Droid X has been rooted. Birdman has achieved root and here are the instructions.
We haz Rootz!
WE HAZ ROOTS!. Thanks to Birdman. Here is the directions.
Step 1: Set up ADB
Step 2: Push exploid to /sqlite_stmt_journals "adb push exploid /sqlite_stmt_journals"
Step 3: type "adb shell"
Step 4: type "cd sqlite_stmt_journals"
Step 5: type "chmod 755 exploid"
Step 6: type "./exploid" and follow directions on screen
Step 7: type "rootshell"
Step 8: type in password "secretlol"
Step 9: your in root!
Step 10: mount your sdcard to pc and put Superuser.apk and su in the sdcard
Step 11: unmount sdcard
Step 12: in adb (make sure your still in root with the # sign) type in:
- cp /sdcard/Superuser.apk /system/app/Superuser.apk
- cp /sdcard/su /system/bin/su
- chmod 4755 /system/bin/su
your done! feel free to kill the bloat apps snd such ;
NOTE: it might be a smart idea to do "rm /system/bin/rootshell" after you have su and superuser in place as ANY program will have access to your root if you leave it (cause everyone will know the password)
Credits:
- Sebastian Kramer for this blog post - http://c-skills.blogspot...07/android-trickery.html
- Birdman - for editing Sebastians work for the droidx
- [mbm] - for answering birdmans many questions while root was tried (and failed xD)
The blog list:
- Birdman - @mrweeeedbirdman - http://stevenbird.info Donate to him here - http://tinyurl.com/32tj73j
You can find the files here along with the instructions which I have reposted from Droid X forums
http://www.droidxforums.com/forum/droid-x-hacks/1314-we-haz-rootz.html
I take no credit for any of this.
Another link for those that may have issues with these instructions above. Make sure you put the Superuser.apk and Superuser on your SD card b4 beginning. http://alldroid.org/default.aspx?g=posts&t=493

dscottjr81 said:
According to a new thread in the General section posted by Zanix, the Droid X has been rooted. Birdman has achieved root and here are the instructions.
We haz Rootz!
WE HAZ ROOTS!. Thanks to Birdman. Here is the directions.
I take no credit for any of this.
Click to expand...
Click to collapse
works like a charm! let the bloat-unloading begin!!!

My X should be here this afternoon! WOOT!

hey guys, im at my work computer and dont have abd shell on it, could you point me to the best place to download it?

wardo5757 said:
hey guys, im at my work computer and dont have abd shell on it, could you point me to the best place to download it?
Click to expand...
Click to collapse
http://developer.android.com/sdk/index.html

This is fantastic news, and very unexpected TBH. One question though:
1. How much does rooting the phone contribute to unlocking the boot loader? I want Cyanogen .

switt said:
This is fantastic news, and very unexpected TBH. One question though:
1. How much does rooting the phone contribute to unlocking the boot loader? I want Cyanogen .
Click to expand...
Click to collapse
Birdman did say that milestone and droid x have same security measures.
Which probably means that DX just caught up to where milestone has been for months.
I guess that's a start, but I highly doubt unlocked bootloader, personally.

**nevermind**

I installed setcpu.and it allowed me to change the min value and updated to the new value. How can i test to see if it really increased it? Going to info shows the new value by cpu freq as well.
Sent from my DROIDX using XDA App

this is excellent news... ^_^

OMFG! DROID X, here we come!! it works like a charm

XDA RULEEESSSS!!!!!
Wow fantasticcccc!
XDA You're the BEST!

For those having trouble:
I couldn't get the damn thing to unmount in Windows so after I copied su and Superuser.apk to the SDCARD I just unplugged my phone, loaded a terminal emulator from the market and finished the rest of the commands directly on the phone.
Worked like a charm, thanks to all involved with the root!

Mike919 over at irc was the first bricked droid x that they say provided some good info. Well he bricked for the overall betterment of droidkind. Here's to u mr. Cellphone bricker man, this roots for u!
Sent from my DROIDX using XDA App

ksizzle9 said:
Mike919 over at irc was the first bricked droid x that they say provided some good info. Well he bricked for the overall betterment of droidkind. Here's to u mr. Cellphone bricker man, this roots for u!
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
LOL, i'm gonna pour one out for my bricked homey

HA now i've decided between the incredible and droid x, X it is!!

Simple Process. Way to go everyone.

So now that we're rooted, what can we do other than removing apps with adb? Is it even worth the rooting without an unlocked bootloader? Like if all people care about are removing apps, why don't they just use Startup Auditor?

iRMac said:
So now that we're rooted, what can we do other than removing apps with adb?
Click to expand...
Click to collapse
Free WiFi tether for one.

Could all of this be done from the phone? Can exploid and superuser be downloaded from somewhere? I am at work and want to root badly!

Related

Questions from a Noob. (My apologies)

Ok, I'm a noob. I understand the concept behind rooting but have never done it myself. I'm quite excited at the fact that it only took a few days to get this puppy rooted. That was my one concern when I bought the phone. I've got a few simple questions before I get started with all this.
First let me apologize for my simpleton requests.
1. I assume that at this point the only real function of rooting this phone is to remove bloat, correct?
2. Is it reasonable to expect that at some point I'll be able to ditch the Moto skin for stock Froyo?
3. Will I lose the apps that I've purchased for this phone by rooting?
4. Where might I find a very detailed "Rooting the DX for Dummies" post? I've read Birdman's directions and simply don't understand much of what is listed:
Step 1: Set up ADB What is ADB and how the hell do I set it up?!
Step 2: Push exploid to /sqlite_stmt_journals "adb push exploid /sqlite_stmt_journals" Again, not sure what the hell to do here, can someone provide a bit more detail?
I'm assuming that from this point on there is some sort of cmd prompt for me to type the following. Are my assumptions accurate?
Step 3: type "adb shell"
Step 4: type "cd sqlite_stmt_journals"
Step 5: type "chmod 755 exploid"
Step 6: type "./exploid" and follow directions on screen
Step 7: type "rootshell"
Step 8: type in password "secretlol"
Step 9: your in root!
This part seems easy enough!
Step 10: mount your sdcard to pc and put Superuser.apk and su in the sdcard
Step 11: unmount sdcard
Again, exactly how to I get into this adb people speak of?!
Step 12: in adb (make sure your still in root with the # sign) type in:
- cp /sdcard/Superuser.apk /system/app/Superuser.apk
- cp /sdcard/su /system/bin/su
- chmod 4755 /system/bin/su
Once again I'm truly sorry for requesting the short bus treatment here. It's just that I used a fair portion of my disposable income to get this phone and I'd rather not just jump in with both feet without testing the water first.
Thanks in advance for any seasoned hacker who can take me under his/her proverbial wing.
Follow the instructions at http://alldroid.org/default.aspx?g=posts&t=493 instead. It's a much better write-up
As for questions you asked:
1. Well, you can also install root-only apps such as wifi-tether. No custom ROMs though.
2. I personally don't think it's reasonable to expect custom ROM at this moment, but there are many great devs working on cracking the bootloader so it's not completely hopeless. Meanwhile, LauncherPro seems like a good alternative.
3. Nope.
4. Already answered.
Thank you both for the reply. The other thread is very helpful. Can't wait to give it a try this weekend.
2. Nobody really knows. The Milestone has been in the same boat for >8 months. Root but bootloader isn't cracked. It isn't really reasonable to assume "just because it's rooted, I'm sure it will get fully cracked!" =p We certainly have a better chance, I believe more people are working on the X, but still, they're two very different things. =p
Get root explorer
It lets you do everything like windows explorer instead of command line it even mounts read/write for you
Sent from my DROIDX using Tapatalk

OTA Benefits? Unrevoked4Eva?

"EXCUSE ME" If Someone Else Has Something Similar Posted, But I Got Tired Of Reading A Thousand Posts Just To "ALMOST" Get My Question Answered!!
Anyway I Know The Last "OTA" Sent Out From Sprint or HTC (Whoever- Sent It Out) *BROKE* My Ability To Access The "Clockwork Recovery" Menu-Screen!
Since Then I Turned Security From "On to Off" With "Unrevoked-4ever" But I've Read That Even After Flashing "Unrevoked-4ever" It's Possible For Them To Send Me Another "OTA" & Re-break My Root Access!!
Does Anyone Know If What I Read Is "TRUE or Bull-Sh#%".... Am I Really "Unrevoked-4ever"???
1 More Thing What's The Benefits Of A OTA???
Sent from my HERO200 using XDA App
DISABLE OTA UPDATES!!!!
To disable OTA updates that will patch this exploit, (after rooting and booted after creating a nandroid backup) run the following commands from Command Prompt.
Code:
cd C:\android-sdk-windows\tools
Code:
adb remount
Code:
adb shell
Code:
mv /system/etc/security/otacerts.zip /system/etc/security/otacerts.zip.bak
After doing this, the OTA updates WILL still download, BUT they will not pass signature checks to flash because of the code you just entered.
Did you do this when you rooted your phone? ^^
Pulled this from [Guide] How to Root Sprint 2.1 CDMA Hero
Twolazyg said:
DISABLE OTA UPDATES!!!!
To disable OTA updates that will patch this exploit, (after rooting and booted after creating a nandroid backup) run the following commands from Command Prompt.
Code:
cd C:\android-sdk-windows\tools
Code:
adb remount
Code:
adb shell
Code:
mv /system/etc/security/otacerts.zip /system/etc/security/otacerts.zip.bak
After doing this, the OTA updates WILL still download, BUT they will not pass signature checks to flash because of the code you just entered.
Did you do this when you rooted your phone? ^^
Pulled this from [Guide] How to Root Sprint 2.1 CDMA Hero
Click to expand...
Click to collapse
No... To Tell You The Truth I Rooted With "Universal Androot" Because I Was Somewhat *NEW* To The Whole "ADB/SDK/ROOT" Thing, But Since I've Probably Learned 20X More Then I Did! But As Far As "ADB" Goes I'm Still Kind Of Scared To Try Out!! Although I Have A Wireless ADB App Installed On My Phone, Does That Work, Or I Should Say Will That Work For The Command You Suggested? Also Thanx For Your Help!!
Sent from my HERO200 using XDA App
PMGRANDS said:
No... To Tell You The Truth I Rooted With "Universal Androot" Because I Was Somewhat *NEW* To The Whole "ADB/SDK/ROOT" Thing, But Since I've Probably Learned 20X More Then I Did! But As Far As "ADB" Goes I'm Still Kind Of Scared To Try Out!! Although I Have A Wireless ADB App Installed On My Phone, Does That Work, Or I Should Say Will That Work For The Command You Suggested? Also Thanx For Your Help!!
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
I've never used an app to root my phone, I followed a guide and did it right the first time. Here is the guide thread. What is the wireless ADB app you're using? Try terminal emulator with the commands, or take 15 min and un-root your phone, then re-root using this guide, that may solve the other issue you're having with the wigets and icons being odd. Let me know how this works for you.
PMGRANDS said:
No... To Tell You The Truth I Rooted With "Universal Androot" Because I Was Somewhat *NEW* To The Whole "ADB/SDK/ROOT" Thing, But Since I've Probably Learned 20X More Then I Did! But As Far As "ADB" Goes I'm Still Kind Of Scared To Try Out!! Although I Have A Wireless ADB App Installed On My Phone, Does That Work, Or I Should Say Will That Work For The Command You Suggested? Also Thanx For Your Help!!
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
If you search android Dev section I've posted how to install adb in like 15 min also in the same thread its another guide as well either way you can have adb in 15 or 20 min tops real simple and the commands he posted will work fine I'm mobile @ work so I can't link but good luck
Root-Hack-Mod-Always™
Twolazyg said:
I've never used an app to root my phone, I followed a guide and did it right the first time. Here is the guide thread. What is the wireless ADB app you're using? Try terminal emulator with the commands, or take 15 min and un-root your phone, then re-root using this guide, that may solve the other issue you're having with the wigets and icons being odd. Let me know how this works for you.
Click to expand...
Click to collapse
Okay, I Think I Just Might Do That... Also As Far As The App I Have, It's Called "ADB Wireless", But I Also Have "Terminal Emulator"!! Which One Would You Use?? "Terminal Emulator" Guess That's Why You Posted It Obviously??.... Lol!! 1 More Thing What's The Benefits Of The OTA's?? Seems Like They Only Eff-Up Root Access!! And Thanx Once Again 4 Your Help!!
Sent from my HERO200 using XDA App
laie1472 said:
If you search android Dev section I've posted how to install adb in like 15 min also in the same thread its another guide as well either way you can have adb in 15 or 20 min tops real simple and the commands he posted will work fine I'm mobile @ work so I can't link but good luck
Root-Hack-Mod-Always™
Click to expand...
Click to collapse
Thank You!!
Sent from my HERO200 using XDA App

[HOW TO] Recover from a soft brick caused by freezing needed apps or services.

I recently soft bricked my phone due to freezing a /system/app in Titanium Backup that was needed by the system. Here is how I fixed it.
Run shell root from superoneclick in Early USB Enumeration
Once it says you have shell root, run the following commands:
adb shell
mount -o rw,remount /dev/block/mmcblk0p12 /system
cd /system/app
busybox chmod -R 755 *
Make sure you put the space then the star character (*) after 755, that tells the system to set the permissions of all the files/apps, in the /system/app directory.
Lastly, run the command:
adb reboot
Your phone should reboot and be back up and running.
what did you freeze so we don't make the same mistake?
Hey, amwbt, could I post a link to this thread in mine (the TiBU Freeze thread)?
I'm sure it would make things a lot easier for people if things go wrong when they're freezing stuff.
Oh, and I'd of course give you due credit.
xyrovice said:
Hey, amwbt, could I post a link to this thread in mine (the TiBU Freeze thread)?
I'm sure it would make things a lot easier for people if things go wrong when they're freezing stuff.
Oh, and I'd of course give you due credit.
Click to expand...
Click to collapse
Of course!
Sent from my MB860 using XDA App
franciscojavierleon said:
what did you freeze so we don't make the same mistake?
Click to expand...
Click to collapse
Unfortunately, I don't remember which ones they were. Once I got my phone back up I immediately unfroze everything that was not in the recommended apps to freeze list in the OP [HOW TO] Deal with Boat Safely & Properly {Freeze Method/ROOT} | BIGGER LIST(S)! 3/1
Sent from my MB860 using XDA App
Hello, thanks for posting this info! I asked a question in the atrix q&a area but perhaps it's best answered here.
My phone also got screwed up because of freezing something I shouldn't have.
How do I run super one click in early USB enumeration? I'm unfamiliar with super one click - on past phones I used other rooting methods, and I used aRoot and root v2 for the atrix.
My phone crashes during bootup when the moto logo begins the red dot animation - I don't know how to get super one click to recognize it at all, presumably because it's frozen.
Please note that this will NOT work on 1.57.

[Request] LG Revolution section?

Verizon's third 4G Android smartphone is out today. I think that it is worth having a separate for development here, eh?
I second this request
I agree. This is a solid phone.
I also agree to it's own forum
agreed, especially with the fact that it's rooted now, def needs an area here!
stetsonaw said:
agreed, especially with the fact that it's rooted now, def needs an area here!
Click to expand...
Click to collapse
How hard was it to root? Was the bootloader unlocked or just an easy unlock?
I was trying to decide between the Thunderbolt and the Revolution(not a samsung fan).
LG doesn't seem or want to lock anything down! Hurrah!
How is the battery life on that phone compared to the thunderbolt? Better, worse, or indistinguishable?
This device was so easily rooted. Time for the custom ROM's for this device...
Sent from my Droid using XDA App
Windows ADB Root Method
Speaking of easily rooted...
Remember, I am not at fault if you brick your phone, now, proceed.
I updated the Rootzwiki page with the same info found below for rooting via Windows... see the rootzwiki for the Linux steps.
Busybox actually comes installed by LG on the Revo, how awesome is that??
Download the rageagainstthecage binary
Download the SU binary
Move these files to the same directory your adb.exe is in.
Open Command prompt (either use the Windows Key+R and type cmd or start/run, then type cmd)
32-bit users: >cd c:\program files\android\android-sdk\platform-tools
64-bit users: >cd c:\program files (x86)\android\android-sdk\platform-tools
Or >cd (whatever directory adb is in)
>adb devices (verifies you are connected)
>adb push rageagainstthecage-arm5.bin /data/local/temp/rage
(if the above command fails due to read-only, type 'adb user' then 'adb root' to validate root status, then 'adb devices' again to verify connection)
>adb push su /data/local/temp/rage
>adb shell chmod 777 /data/local/temp/rage
>adb shell ./data/local/temp/rage
>adb shell
#mount -o remount,rw -t ext3 /dev/mmcblk0p12 /system
#busybox cp /data/local/temp/su /system/bin/su
#chmod 6755 /system/bin/su
Verify the file is in place w/correct permissions
#cd /system/bin
#ls -l *su
-rwsr-sr-x root root 26248 2011-05-29 01:09 su
(permissions name access filesize date time filename)
At this point, you may way to remove the files you put in /data/local/temp (optional):
#rm /data/local/temp/su
#rm /data/local/temp/rage
continue with commands
#reboot
Download and install SuperUser from the Market
Thanks Zennmaster, _mrbirdman_ for finding the linux routes and birdman for helping me out!
One the Revo gets its own section, I'll post this there.
qipengart said:
Verizon's third 4G Android smartphone is out today. I think that it is worth having a separate for development here, eh?
Click to expand...
Click to collapse
I totally agree
Does SuperOneClick rootig method work on this particular device?
Sent from my DROID2 using XDA App
From what i've been told, yes it does... newest version using the gingerbreak exploit. (gingerbreak app does not work)
Or you can do it the long way...
LG Revolution Root the Windows ADB way
Played with this device and actually thinking about procuring it. After all, since rooting is so easy, wifi tethering should be easy to procure and with 4G blazing fast.
An answer would do me great justice....thanks!
We want a section for the lg revolutionaires!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!yeah!!!!!!!!!!!!!!!!!!!!!!!:d:d:d:d:d
Revolution section likely coming soon. It's "likely" and not "definite" because we're still trying to determine whether there's enough interest towards this device.
svetius said:
Revolution section likely coming soon. It's "likely" and not "definite" because we're still trying to determine whether there's enough interest towards this device.
Click to expand...
Click to collapse
That's good to hear! I will voice my support for a Revolution forum. I'm loving the device so far - it's a solid phone that seems to be more than the sum of it's specs, and honestly I like the hardware build more than my OG Droid.
not sure if where allowed to post links, but androidcentral has a little community going already. The root thread has over 2k views alone. Seems like that should be good enough sign for a thread started here.
http://forum.androidcentral.com/lg-revolution/
Its definitley a solid device.
I upgraded from the Droid1 to this, and this phone is great! Loving it so far. I don't know if I want to go the custom rom route with this phone, but it would be nice to have some developer interest and some options down the road. I sure hope the Rev picks up interest because it really is a good device. With that said, I think the Rev having its own section can only help to increase awareness and interest in this phone.
svetius said:
Revolution section likely coming soon. It's "likely" and not "definite" because we're still trying to determine whether there's enough interest towards this device.
Click to expand...
Click to collapse
I went from a G2x to the Charge and finally settled on a Revolution. I guess I was just spoiled by those phones having their own forums... I am totally lost now... no home. Anyways, yes there is interest.

[REF][Aug-18-11]Compiled list of instructions of new members of P500:OPTIMUS ONE

This thread serves as a helpline for newbs in the community of Optimus One!
Note:Some roms/kernel may not have been included as I've find roms using ciaox's thread on "REPOSITORY OF USEFUL POSTS IN LG P500 FORUM". If there are any roms/kernel that was left out, feel free to kindly pm me the link of the forgotten rom.
And...let the fingers type! Oh and by the way, this will take at least 3 days from aug 18 so cut me some slack!
Files needed to do any operations are actually attached by links at the bottom of the thread
ROOTING:
2.2= z4root
Instuctions:
Code:
1.Click on root
2.Wait till it reboots
2.2.1/2.2.2=Gingerbreak
Instructions:
Code:
1. Download Gingerbreak
2.Enable debugging on USB. To do this, go to Options -> Applications -> Development -> Debugging USB. Put a tick.
3. Run Gingerbreak
4. Choose a Root mode
5. Wait a few minutes. If there are no problems, then the device will reboot (note that rebooting can take a long time, so we are waiting)
6. Rejoice!
All this instructions are for use when you are using your phone! (means that you do not need to use pc.)
Files:
Z4root - link is currently broken, wait a while longer or you could help me search
Gingerbreak - http://www.multiupload.com/UFEYOBKD60
Installing Recovery System:
This is a bit hard so remember to follow every step or you might end up wiping your phone as default recovery is to wipe and reinstall android system.
Also, do this with your phone as well but I recommend Wifi Keyboard downloadable from the market to type the following commands. Download terminal emulator as well as we would be needing that.
Step 0. Download flash.img and whatever recovery (CMW, AmonRa, etc..) you want into the root of your sd card
Step 1. Open up terminal Emulator
Step 2. Change to Wifi Keyboard or use your preferred keyboard.
Step 3. If you are using Wifi keyboard, check the instruction manual
Step 4. Type the following instructions into terminal emulator with a space in between every line
Code:
su
*space*
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
*space*
cat /sdcard/flash_image > /system/bin/flash_image
*space*
chmod 755 /system/bin/flash_image
*space*
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
Till here, you should only have either 1 or 0 errors from terminal emulator and if u do have 1 error, it should only be from the last step :"mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak" If this goes perfectly, proceed below, if not, do not proceed but check for spelling errors as if you proceed wrongly, you might wipe your phone (PM me with unidentifiable problem). If its all perfect like I said above, proceed below
Code:
*space*
flash_image recovery /sdcard/[COLOR="Blue"](name of recovery - such as OMG.img)[/COLOR]
Step 5. Wait for it to reboot into recovery...If it shows a box with a arrow pointing from the box to the droid robot, you screwed up. Wipe your tears and repeat from step 1-5.
Help needed: Can someone pass me the latest CMW recovery file by pm and also z4root apk?
amosng1 said:
This thread serves as a helpline for newbs in the community of Optimus One!
Click to expand...
Click to collapse
Wad tis suppose to do?
Sent from LGE Secret phone using tapatalk app...
dax4182 said:
Wad tis suppose to do?
Sent from LGE Secret phone using tapatalk app...
Click to expand...
Click to collapse
Was still editing my bad! Check it out again! Although it is still not completed yet!
nice initiative... But i think there are heaps of other threads depicting the same! Do we need yet another one
amosng1 said:
Was still editing my bad! Check it out again! Although it is still not completed yet!
Click to expand...
Click to collapse
oh... u did say 'cut me some slack!' ... Sorry about my previous post then ! All the best!
I kinda made this thread because i sorta have enough of people running aimlessly on topics we have discussed before and I thought that this sort of thread is one of a kind as other threads are kinda full of links but no instructions.
varungnath said:
nice initiative... But i think there are heaps of other threads depicting the same! Do we need yet another one
Click to expand...
Click to collapse
We always need more until noobs stop posting the same simple questions in dev threads.
nogav said:
We always need more until noobs stop posting the same simple questions in dev threads.
Click to expand...
Click to collapse
No, we just need a mod.
Sent from my LG-P500 using XDA Premium App
Yup... this will help the newbies thanks for overlooking with brief guide
Sent from my LG-P500 using Tapatalk
Sticky situation..!!
teddybig said:
No, we just need a mod.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
Exactly... A moderator can prepare a sticky.. in each and every specific phone thread where there are primary instructions included to guide for rootiing, recovery and flashing..!! Noobs can follow that... and reduce unnecessary spamming on the devs threads..!!
imiki2421 said:
Exactly... A moderator can prepare a sticky.. in each and every specific phone thread where there are primary instructions included to guide for rootiing, recovery and flashing..!! Noobs can follow that... and reduce unnecessary spamming on the devs threads..!!
Click to expand...
Click to collapse
Ohk then... Bro ask for mod to make this sticky, so dunt the newbies ask stupid question... How to root or such... If not, i will ask mod to do it...
Sent from LGE Secret phone using tapatalk app...

Categories

Resources