Tuesday, June 18, 2013 Register
 
www.cyberspacesolutionsinc.com
www.cyberspacesolutionsinc.com Bookmark and Share
  Search
AllDroid Forums
Welcome Guest! To enable all features please try to register or sign in.

Notification

Icon
Error

11 Pages«<56789>»
DROID X IS ROOTED! (ADB and Shell as SU with System mounted as R/W, NO Flashing or bootloader yet)
statichavoc
0
#182 Posted : Thursday, July 22, 2010 3:15:03 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 8
Points: 24
Location: United States

Groups: Registered Users, Subscribers

Works like a charm!!!
bmc1217
0
#183 Posted : Thursday, July 22, 2010 3:15:47 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 4
Points: 12
Location: United States

Groups: Registered Users, Subscribers

when you type su look at phone screen and hit allow
jeffjano
0
#162 Posted : Thursday, July 22, 2010 3:21:19 PM(UTC)
Rank: Android
Joined: 6/28/2010(UTC)
Posts: 7
Points: 21
Location: US

Groups: Registered Users, Subscribers

larryf wrote:
Erron wrote:
jeffjano wrote:
so seriously did anyone ever answer the question on how or if its possible to unroot this device if need be.  i know people will say why unroot....or why root it if you want to undo it.  but its still a question a lot of us are looking for answer.....if anyone know please reply.  thanks.




You can go back. either by deleting the superuser additions, or doing a restore.




Can someone post the superuser additions and the commands to delete them?



When you say a restore, do you mean resetting the phone back to factory defaults?  If not, what kind of restore?






i was wondering the exact same thing.
statichavoc
0
#184 Posted : Thursday, July 22, 2010 3:24:17 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 8
Points: 24
Location: United States

Groups: Registered Users, Subscribers

Now... how do i get some Froyo on this beast :)
cbaty08
0
#185 Posted : Thursday, July 22, 2010 3:35:00 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 1
Points: 3
Location: United States

Groups: Registered Users, Subscribers

Hey guys, I can get as far as being able to detect my phone in the command prompt, but I cannot for the life of me copy anything through adb... gives me 'adb' is not recognized as an internal or external device.. yada yada yada.... Can anyone help me out? win7 64ult. if it matters....
shelton
0
#176 Posted : Thursday, July 22, 2010 3:39:02 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 4
Points: 12
Location: United States

Groups: Registered Users, Subscribers

bmc1217 wrote:
TWong1200 wrote:
When i run the "./exploid" command I get the following



'.' is not recognized as an internal or extern command,

operable program or batch file



EDIT....



Ok, disregard.  Turns out my phone disconnected from PC when I unlocked it to toggle the wifi/BT.  I was able to continue and get the # sign and submitted steps 20 - 27.  I now tried the Confirm portion.



1. Run "adb shell"

2.  Run "su"



When I Run 'su', I get a 'permission denied'



Any ideas?  Thanks




same thing for me wtf





I started from the beginning and used the Charge Only mode.  When I would switch between pc mode and usb mass storage shell would fall back to the command prompt.  I don't know enough to know if that was causing it, but when I did it all in Charge Only it worked flawlessly.  Hope that helps.  
statichavoc
0
#186 Posted : Thursday, July 22, 2010 3:45:32 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 8
Points: 24
Location: United States

Groups: Registered Users, Subscribers

A few tips:



Download the Java SDK



Install it... then Right Click 'My Computer' / 'Computer' -> Properties -> Advanced System Settings:



Find "Path" under System Variables, highlight it, click Edit. at the end
of "Variable value" put the following  "; C:\Program Files\Java\jdk1.6.0_21\bin" no quotation! or wherever you installed it - click OK then OK again.



Download the Android SDK



Run the Setup file, it'll tell you it can't find packages... close the setup. 



Find the .android folder on your primary partition, mine was in the folder on the desktop with my Computer Name on it. Create  a new file called androidtool.cfg and add the following to it in notepad:



"sdkman.force.http=true" no quotations!



Restart the Android SDK setup and download the packages for 2.1 and up.



NOW adb won't work from the cmd line unless you add it to your system path:



Right Click 'My Computer' / 'Computer' -> Properties -> Advanced System Settings:



Find "Path" under System Variables, highlight it, click Edit. at the end of "Variable value" put the following  "; <YOUR PATH TO THE ANDROID SDK>\android-sdk-windows\tools" NO QUOTATIONS! click OK then OK again. then try the cmd line, should work.



try "adb devices" from the cmd line and it should list your phone



My X is already rooted and it took me about 10 minutes to figure all this out and this is my first droid.
avlfive
0
#187 Posted : Thursday, July 22, 2010 4:01:30 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 8
Points: 24
Location: United States

Groups: Registered Users, Subscribers

statichavoc wrote:
A few tips:



Download the Java SDK



Install it... then Right Click 'My Computer' / 'Computer' -> Properties -> Advanced System Settings:



Find "Path" under System Variables, highlight it, click Edit. at the end
of "Variable value" put the following  "; C:\Program Files\Java\jdk1.6.0_21\bin" no quotation! or wherever you installed it - click OK then OK again.



Download the Android SDK



Run the Setup file, it'll tell you it can't find packages... close the setup. 



Find the .android folder on your primary partition, mine was in the folder on the desktop with my Computer Name on it. Create  a new file called androidtool.cfg and add the following to it in notepad:



"sdkman.force.http=true" no quotations!



Restart the Android SDK setup and download the packages for 2.1 and up.



NOW adb won't work from the cmd line unless you add it to your system path:



Right Click 'My Computer' / 'Computer' -> Properties -> Advanced System Settings:



Find "Path" under System Variables, highlight it, click Edit. at the end of "Variable value" put the following  "; <YOUR PATH TO THE ANDROID SDK>\android-sdk-windows\tools" NO QUOTATIONS! click OK then OK again. then try the cmd line, should work.



try "adb devices" from the cmd line and it should list your phone



My X is already rooted and it took me about 10 minutes to figure all this out and this is my first droid.




This was my problem also earlier this morning and once I finally figured out, everything else went smooth.
bmc1217
0
#188 Posted : Thursday, July 22, 2010 4:02:04 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 4
Points: 12
Location: United States

Groups: Registered Users, Subscribers

when i try to remove the bloatware it says its only read only
statichavoc
0
#189 Posted : Thursday, July 22, 2010 4:03:54 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 8
Points: 24
Location: United States

Groups: Registered Users, Subscribers

P.S. can't you just change secretlol to whatever you want in exploid.c ? I would assume so.
statichavoc
0
#190 Posted : Thursday, July 22, 2010 4:12:01 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 8
Points: 24
Location: United States

Groups: Registered Users, Subscribers

statichavoc wrote:
P.S. can't you just change secretlol to whatever you want in exploid.c ? I would assume so.




Just re-rooted and the answer is no :(



However, if you find after you rm the last file and you can't move or delete anything on your phone that means you have to exit out to adb and retransfer exploid, and do it all over again (just the secretlol part) and you should have root access again. weird.
avlfive
0
#193 Posted : Thursday, July 22, 2010 4:45:38 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 8
Points: 24
Location: United States

Groups: Registered Users, Subscribers

Has anyone heard anything about how to un-root for when Froyo (or a next update) comes?  Or is this not going to affect the updates at all?
ColCabbage
0
#194 Posted : Thursday, July 22, 2010 4:46:09 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 2
Points: 6
Location: United States

Groups: Registered Users, Subscribers

so once im rooted is it okay to delete the files pushed to sdcard and the superuser.apk app?


EDIT: nevermind I see how it works now


 

jeffjano
0
#191 Posted : Thursday, July 22, 2010 5:03:19 PM(UTC)
Rank: Android
Joined: 6/28/2010(UTC)
Posts: 7
Points: 21
Location: US

Groups: Registered Users, Subscribers

statichavoc wrote:
statichavoc wrote:
P.S. can't you just change secretlol to whatever you want in exploid.c ? I would assume so.




Just re-rooted and the answer is no :(



However, if you find after you rm the last file and you can't move or delete anything on your phone that means you have to exit out to adb and retransfer exploid, and do it all over again (just the secretlol part) and you should have root access again. weird.





If you "re-rooted"...how did you unroot or how did you make a complete backup before you rooted to go back too??  this is the 1 question it seems no one will answer
Lotusmaster
0
#195 Posted : Thursday, July 22, 2010 5:14:15 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 2
Points: 6
Location: United States

Groups: Registered Users, Subscribers

Forgive me for being a noob, but why exactly would I want to/what do I gain from rooting my Droid X?

rainabba wrote:
Download is attached at the bottom, READ THE GUIDE!



REMEMBER WHERE YOU SAW IT FIRST!



(Run means type the command in quotes [but not the quotes] then press the Enter key)


  1. Download the attached archive and expand it to a folder you can find (eg. c:\DroidXRoot_v2)

  2. Set up ADB (Step-by-step guide for Windows Vista/7 HERE.  <-- USE THAT THREAD FOR ADB SUPPORT PLEASE.)

  3. On the phone: Home, Menu Button, Settings, Applications, Development: Make sure the "USB debugging" option is enabled/checked.

  4. Status bar, USB connection: Make sure "PC Mode" is selected.

  5. Open a command prompt (Windows: Start, Run, "cmd", OK; Linux: Terminal)

  6. Run "adb devices". If you don't see your device listed under "List of devices attached", return to step 2 and follow the link to setup ADB (use that topic for support) and return here when "adb devices" lists your X.

  7. Run "CD c:\DroidXRoot" (or where ever you expanded the archive)

  8. Run "adb push Superuser.apk /sdcard/Superuser.apk"

  9. Run "adb push su /sdcard/su"

  10. Run "adb push busybox /sdcard/busybox"

  11. Run "adb push exploid /sqlite_stmt_journals/exploid"

  12. Run "adb shell"

  13. Run "cd sqlite_stmt_journals"

  14. Run "chmod 755 exploid"

  15. On your phone, navigate to a screen where you can switch wifi/bluetooth on/off easily (settings, or a home screen with a widget)

  16. IMMEDIATELY after executing the next step, toggle wifi or bluetooth off and back on

  17. Run "./exploid" and follow directions on screen. Once this completes you'll be back at a shell prompt.

  18. Run "rootshell". You'll be prompted for a password.

  19. Type in password "secretlol" and press Enter then you are root! (You'll know because your prompt will now be a "#" instead of "$")

  20. Run "cp /sdcard/Superuser.apk /system/app/Superuser.apk"

  21. Run "cp /sdcard/su /system/bin/su"

  22. Run "cp /sdcard/busybox /system/bin/busybox"

  23. Run "chmod 4755 /system/bin/su"

  24. Run "chmod 4755 /system/bin/busybox"

  25. Run "rm /system/bin/rootshell"

  26. Run "exit" to drop from root to a non-root user shell (on phone still)

  27. Run "exit" to drop back to your machine command prompt (instead of phone)


To Confirm root is established:


  1. Run "adb shell"

  2. Run "su" (now you should see the # sign which indicates you are root)

  3. Watch your screen so you can allow Superuser root access.





You're 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








The blog list




Videos




As is always the case with this sort of activity, you do this completely at your own risk. AllDroid, Rainabba and Birdman take NO responsibility for the outcome.
statichavoc
0
#192 Posted : Thursday, July 22, 2010 5:30:04 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 8
Points: 24
Location: United States

Groups: Registered Users, Subscribers

jeffjano wrote:
statichavoc wrote:
[quote=statichavoc]P.S. can't you just change secretlol to whatever you want in exploid.c ? I would assume so.




Just re-rooted and the answer is no :(



However, if you find after you rm the last file and you can't move or delete anything on your phone that means you have to exit out to adb and retransfer exploid, and do it all over again (just the secretlol part) and you should have root access again. weird.





If you "re-rooted"...how did you unroot or how did you make a complete backup before you rooted to go back too??  this is the 1 question it seems no one will answer[/quot



I just meant I reaccomplished the steps I said I did. I didn't undo anything just redid things. I assume you can make a backup by using adb pull but i'm not certain it'll copy special files.
frogrm7
0
#196 Posted : Thursday, July 22, 2010 5:33:56 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 1
Points: 3
Location: United States

Groups: Registered Users, Subscribers

Does anyone think that releasing this may be a mistake?  With Froyo coming soon will moto look at this and block this method of gaining root?  Then the dev are back to square one.
Ender0715
0
#198 Posted : Thursday, July 22, 2010 5:34:07 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 2
Points: 6
Location: United States

Groups: Registered Users, Subscribers

OK People...

Lets make this clear...

If you are a noob... DO NOT DO THIS....

This will not allow installation of Custom Roms....
There is no reason to Root your phone unless you just want admin rights, want Wifi Tether, or you are a Dev trying to make a better world for Droid X users...

If you do not understand what command line is DO NOT DO THIS...
If you are having to ask questions because you dont understand DO NOT DO THIS...

IT WILL NOT HELP YOU DO ANYTHING ON YOUR PHONE AT THIS TIME... (Except Wifi Tether)

You can not overclock yet... (Even with Set CPU)

In other words if you have to ask DONT DO IT...

Just Wait...
Arland
0
#199 Posted : Thursday, July 22, 2010 5:44:04 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 14
Points: 42
Location: United States

Groups: Registered Users, Subscribers

Ok well I got pretty far along... however when I get to this point:

Run "chmod 4755 /system/bin/su"

I get "Unable to chmod /system/bin/su: No such file or directory

I can't seem to get around this.

Any thoughts?

Arland
statichavoc
0
#197 Posted : Thursday, July 22, 2010 5:51:35 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 8
Points: 24
Location: United States

Groups: Registered Users, Subscribers

frogrm7 wrote:
Does anyone think that releasing this may be a mistake?  With Froyo coming soon will moto look at this and block this method of gaining root?  Then the dev are back to square one.




Upgrades are optional Froyo may come... soon? Not sure they've gotta put their bloatware on it first. This method released NOW works NOW. So releasing this now was NOT a mistake.
3083joe
0
#202 Posted : Thursday, July 22, 2010 6:52:54 PM(UTC)
Rank: Android
Joined: 6/8/2010(UTC)
Posts: 13
Points: 39
Location: United States

Groups: Registered Users, Subscribers

browser doesnt work have to use skyfire~!~~
Steeleio
0
#203 Posted : Thursday, July 22, 2010 6:53:09 PM(UTC)
Steeleio

Rank: Android
Joined: 7/18/2010(UTC)
Posts: 12
Points: 39
Location: United States

Groups: Registered Users, Subscribers

Can anyone tell me if you are rooted, can Verizon tell when you use the wifi-tether? Will they charge the extra 20 bucks if you use it?



Thanks
The Man of "Steeleio"
Droid X
Arland
0
#200 Posted : Thursday, July 22, 2010 7:35:27 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 14
Points: 42
Location: United States

Groups: Registered Users, Subscribers

Arland wrote:
Ok well I got pretty far along... however when I get to this point:



Run "chmod 4755 /system/bin/su"



I get "Unable to chmod /system/bin/su: No such file or directory



I can't seem to get around this.



Any thoughts?



Arland





Sorry to bump this but I am really stuck
cacusto
0
#204 Posted : Thursday, July 22, 2010 7:38:14 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 4
Points: 12
Location: United States

Groups: Registered Users, Subscribers

ok im lost i get to the point where it notices my device then the next step is to 4.Run "CD c:\DroidXRoot"  i type in the location which is C:\Users\CLCUSTODIO\Downloads\DroidXRoot  then i get the same thing C:\Users\CLCUSTODIO\Downloads\DroidXRoot does not show all the files like in the video...from there can i Run "adb push Superuser.apk /sdcard/Superuser.apk or no?


jmarcusen
0
#173 Posted : Thursday, July 22, 2010 8:27:48 PM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 2
Points: 6
Location: United States

Groups: Registered Users, Subscribers

SyNiK4L wrote:
jmarcusen wrote:
Alright, I'm kinda new to this. So, before i try to root, I would just like to know how possible it could be to brick my phone.



By the way nice work on the root and guide to everyone involved.




not possible...u can just restore defaults if something happens. but nothing done here is anything that would potentially mess up your phone IMO




Thanks man. I'm jacked to try this out.
Users browsing this topic
11 Pages«<56789>»
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.849 seconds.
www.cyberspacesolutionsinc.com
 
 

 
This site enhanced by Look out for more enhancements in the near future!
 
www.cyberspacesolutionsinc.com www.cyberspacesolutionsinc.com www.cyberspacesolutionsinc.com