Wednesday, May 22, 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

6 Pages123>»
How to get 2.2, Rooted, on your Droid X
rainabba
0
#1 Posted : Friday, August 20, 2010 7:09:54 AM(UTC)
rainabba

Rank: Administration
Joined: 5/17/2010(UTC)
Posts: 131
Points: 100,300
Location: United States

Groups: Administrators, AllDroid Sponsor, filemanagertest, Registered Users, RootzWiki Admin, RootzWiki Editor, Subscribers
Thanks: 6 times
Was thanked: 4 time(s) in 4 post(s)

Written by Birdman and Rainabba.



Related video tutorial available at: http://tiny.cc/UpdateDroidXToFroyoVideo (1080p HD version still processing as of 12:56 GMT-7 but should be ready soon)



XP Users having ADB trouble, check out THIS post for a possible solution. ( HERE are drivers you need for XP. )





Part A: UPDATE FROM A CLEAN, UNROOTED PHONE (running 2.1).



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


  1. Download THIS 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/xbin/su"

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

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

  24. Run "chmod 4755 /system/xbin/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)






Part B: UPDATE FROM A ROOTED PHONE (running 2.1):



If you have Koush's recovery installed, follow these steps BEFORE attempting to update to 2.2:


  1. UNINSTALL the Recovery APK in Settings, Applications

  2. Reboot

  3. Run "adb shell"

  4. Run "su"

  5. Run "mount -o remount,rw /dev/block/mmcblk1p21 /system"

  6. Run "cp /system/bin/logwrapper.bin /system/bin/logwrapper"

  7. Reboot




IF YOU SKIP OR OTHERWISE DO STEP 4 INCORRECTLY, YOU WILL NOT BE HAPPY. PAY ATTENTION TO IT AND STEP 5 TO CONFIRM. I've been told that the Droid 2 root process will work if you miss step 4 but I've not confirmed it. If you end up in this situation and can confirm success, please let me know via gmail @rainabba. HOW TO ROOT DROID X RUNNING FROYO (thanks to Kellex at Droid-Life).


  1. Run "adb shell" (you need adb setup and working from a command prompt. If you don't have that, see the ADB support link in Part A)

  2. If you don't see "#", run "su" (you will see it if you've installed and run Koush's recovery bootstrapper)

  3. Run "mount -o rw,remount /dev/block/system /system"

  4. Run "cp /system/bin/su /system/xbin/su"

  5. Run "ls /system/xbin/su" and make sure the results are `/system/xbin/su` and NOT `/system/xbin/su: No such file or directory`. If you see the later, repeat the previous step.

  6. Copy the update.zip to your sdcard (see below for mirrors as they become available. update.zip released to the wild by P3Droid at MyDroidWorld)

  7. Run "exit" to drop back to non-su shell.

  8. Run "exit" to drop back to your terminal

  9. Run "adb reboot recovery" to reboot into recovery mode (Thanks for the reminder Myanth)

  10. Run update.zip


To update Superuser.apk (2.3) and su.


  1. Download the attached file to your computer to a location you'll remember (suggested C:\ or ~ for linux users)

  2. Open a terminal/prompt and for windows users run "cd c:\" for linux users run "cd ~"

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

  4. Run "adb shell"

  5. Run "su"

  6. Run "mount -o remount,rw /dev/block/system /system"

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

  8. On the phone, open your launcher, locate Superuser, and open it. You will likely be prompted to allow access then update su.


 

If you have /system/xbin/su and /system/app/Superuser.apk, but cannot use "Superuser" (no prompts from Superuser app, "permission denied" when you try to run "su"), just do the following:




  1. Run "adb shell"

  2. Run "/system/xbin/su"

  3. Watch your screen for Superuser app to prompt for permission and click "allow"

  4. Run "mount -o remount,rw /dev/block/system /system"

  5. Run "cp /system/xbin/su /system/bin/su"

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

  7. Open the SuperUser application on the phone (app launcher) and make sure that "superuser" isn't listed and denied. If so, "forget it" and return to step 2. If you can't find SuperUser, it's not installed and you should download from this posts attachments and "adb install Superuser.apk"

  8. [optional] Run "mount -o remount,ro /dev/block/system /system"




MIRRORS















For Motorola Windows Drivers (adb, and whatnot)









File Attachment(s):
Superuser.apk (192kb) downloaded 856 time(s).
Sponsor
deodexed
0
#2 Posted : Friday, August 20, 2010 7:30:30 AM(UTC)
deodexed

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

Groups: Developer, Forum Admin, Global Moderators, Registered Users, Site Beta Viewers, Staff, Subscribers

AWESOME!! Thank you guys for great instructions and all of your guys hard work! ROCK ON!
Open source......Live, Learn, Share, and prosper!
http://Deodexed.com
http://twitter.com/Deodexed
Riztnack
0
#3 Posted : Friday, August 20, 2010 7:34:37 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 24
Points: 78
Location: United States

Groups: Registered Users, Subscribers

Any idea why my linpack is 13/14 mflops and quadrant is 1333?
aholeinthewor1d
0
#4 Posted : Friday, August 20, 2010 7:36:24 AM(UTC)
Rank: Android
Joined: 8/7/2010(UTC)
Posts: 14
Points: 42
Location: United States

Groups: Registered Users, Subscribers

thanks for the great instructions..i always see the best step by steps here..just one question though...i know u need all bloat on the phone and all themes need to be taken off.....im good there i never removed the bloat or put any themes on yet......the one thing i did do though is the android image in the drop down notification bar....this one--> http://alldroid.org/Defa...40&g=posts&t=654

can i leave this go and go ahead and flash the update since the file name its self is still the same (just a dif picture)?.....or should i replace it with the stock image. thank you
staywide8
0
#6 Posted : Friday, August 20, 2010 7:39:56 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 7
Points: 33
Location: United States

Groups: AllDroid Sponsor, Registered Users, Subscribers

I cannot get the update to apply with your steps. Says the logwrapper is wrong.
aholeinthewor1d
0
#7 Posted : Friday, August 20, 2010 7:43:32 AM(UTC)
Rank: Android
Joined: 8/7/2010(UTC)
Posts: 14
Points: 42
Location: United States

Groups: Registered Users, Subscribers

if you used Koush's recovery that was released the other day then you need to sbf back to stock....from what i have read it changes the logwrapper file or something
jonzey231
0
#8 Posted : Friday, August 20, 2010 7:44:57 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 32
Points: 99
Location: United States

Groups: Registered Users, Subscribers

Okay, okay. So if I'm running rooted 2.1 I only do Part B? 
staywide8
0
#10 Posted : Friday, August 20, 2010 7:45:33 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 7
Points: 33
Location: United States

Groups: AllDroid Sponsor, Registered Users, Subscribers

Please read the OP thread again.
aholeinthewor1d
0
#9 Posted : Friday, August 20, 2010 7:50:12 AM(UTC)
Rank: Android
Joined: 8/7/2010(UTC)
Posts: 14
Points: 42
Location: United States

Groups: Registered Users, Subscribers

jonzey231 wrote:
Okay, okay. So if I'm running rooted 2.1 I only do Part B? 




yes
rainabba
0
#11 Posted : Friday, August 20, 2010 7:52:42 AM(UTC)
rainabba

Rank: Administration
Joined: 5/17/2010(UTC)
Posts: 131
Points: 100,300
Location: United States

Groups: Administrators, AllDroid Sponsor, filemanagertest, Registered Users, RootzWiki Admin, RootzWiki Editor, Subscribers
Thanks: 6 times
Was thanked: 4 time(s) in 4 post(s)

I've updated the tutorial to include a fix for Koush's recovery and a couple wording changes.
aholeinthewor1d
0
#5 Posted : Friday, August 20, 2010 7:54:52 AM(UTC)
Rank: Android
Joined: 8/7/2010(UTC)
Posts: 14
Points: 42
Location: United States

Groups: Registered Users, Subscribers

aholeinthewor1d wrote:
thanks for the great instructions..i always see the best step by steps here..just one question though...i know u need all bloat on the phone and all themes need to be taken off.....im good there i never removed the bloat or put any themes on yet......the one thing i did do though is the android image in the drop down notification bar....this one--> http://alldroid.org/Defa...40&g=posts&t=654



can i leave this go and go ahead and flash the update since the file name its self is still the same (just a dif picture)?.....or should i replace it with the stock image. thank you
staywide8
0
#12 Posted : Friday, August 20, 2010 7:55:30 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 7
Points: 33
Location: United States

Groups: AllDroid Sponsor, Registered Users, Subscribers

Uninstalled the app. Didn't work. Is there a different way to do this?
jonzey231
0
#13 Posted : Friday, August 20, 2010 7:55:47 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 32
Points: 99
Location: United States

Groups: Registered Users, Subscribers

Okay, I have all the adb drivers installed but how do I "run adb"? I didn't have to go through this before because the day I went to root is the day the one-click root came out.
Leif
0
#16 Posted : Friday, August 20, 2010 7:56:37 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 5
Points: 15
Location: United States

Groups: Registered Users, Subscribers

I have a couple of questions:



1.  Does anyone know if this build of froyo have the JIT in it?  (I remember hearing that the JIT required a kernel module, and that nothing about the kernel (so far) can be changed do to the bootloader).



2.  Is it possible to get back to stock motoblur in case I have to (take it in etc. etc.)
Altwav
0
#19 Posted : Friday, August 20, 2010 8:00:41 AM(UTC)
Rank: Android
Joined: 7/28/2010(UTC)
Posts: 4
Points: 12
Location: United States

Groups: Registered Users, Subscribers

So if I've removed bloat apps, do I have to get a stock image to be able to flash 2.2?
rainabba
0
#14 Posted : Friday, August 20, 2010 8:04:53 AM(UTC)
rainabba

Rank: Administration
Joined: 5/17/2010(UTC)
Posts: 131
Points: 100,300
Location: United States

Groups: Administrators, AllDroid Sponsor, filemanagertest, Registered Users, RootzWiki Admin, RootzWiki Editor, Subscribers
Thanks: 6 times
Was thanked: 4 time(s) in 4 post(s)

jonzey231 wrote:
Okay, I have all the adb drivers installed but how do I "run adb"? I didn't have to go through this before because the day I went to root is the day the one-click root came out.





rainabba wrote:


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

rainabba
0
#17 Posted : Friday, August 20, 2010 8:05:52 AM(UTC)
rainabba

Rank: Administration
Joined: 5/17/2010(UTC)
Posts: 131
Points: 100,300
Location: United States

Groups: Administrators, AllDroid Sponsor, filemanagertest, Registered Users, RootzWiki Admin, RootzWiki Editor, Subscribers
Thanks: 6 times
Was thanked: 4 time(s) in 4 post(s)

Leif wrote:
I have a couple of questions:



1.  Does anyone know if this build of froyo have the JIT in it?  (I remember hearing that the JIT required a kernel module, and that nothing about the kernel (so far) can be changed do to the bootloader).



2.  Is it possible to get back to stock motoblur in case I have to (take it in etc. etc.)





This is stock motoblur [2.2]. This is a signed update from Motorola, not a community ROM.
jonzey231
0
#15 Posted : Friday, August 20, 2010 8:06:37 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 32
Points: 99
Location: United States

Groups: Registered Users, Subscribers

rainabba wrote:











Sorry, right after I posted I remembered that. 
absurdminded
0
#20 Posted : Friday, August 20, 2010 8:12:35 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 2
Points: 6
Location: United States

Groups: Registered Users, Subscribers

For what it's worth, I updated to 2.2 and got stuck at the motorola logo when I rebooted. I tried pulling the battery and trying again.... There were no errors while the update had been installed.

I wound up formatting the cache partition again and it booted right up, no further issues so far.

Just figured I'd share.
Jatilq
0
#21 Posted : Friday, August 20, 2010 8:13:56 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 12
Points: 36
Location: United States

Groups: Registered Users, Subscribers

Written by egut125 on Myandroidworld



Those with logwrapper problems. You don't need to reflash.



You need to connect via adb and remount your system folder with rw permission.



Go to /system/bin



remove the hijack link to logwrapper and rename logwrapper.bin to logwrapper.



I was extra safe and made a backup of hijack, logwrapper, and logwrapper.bin. Then I:

rm logwrapper

cp logwrapper.bin logwrapper



Then exit adb.



Currently flashing now.

From drhill of android forums.



I did this and my update is now working as I type.



No more error status 7!
infounlim
0
#23 Posted : Friday, August 20, 2010 8:14:37 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 1
Points: 3
Location: United States

Groups: Registered Users, Subscribers

I was able to complete the update successfully. However, I no longer have root on 2.2. I did confirm the following before updating "Run "ls /system/xbin/su" and make sure the results are `/system/xbin/su`" after running "cp /system/bin/su /system/xbin/su" Any ideas?
Mgf95
0
#25 Posted : Friday, August 20, 2010 8:17:37 AM(UTC)
Rank: Android Apprentice
Joined: 5/19/2010(UTC)
Posts: 129
Points: 417
Location: United States

Groups: Registered Users, Subscribers

Does this come preinstalled with flash?
DROID X
OVERCLOCK TO 1.15GHZ
WAITING FOR BUGLESS BEAST
staywide8
0
#26 Posted : Friday, August 20, 2010 8:17:42 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 7
Points: 33
Location: United States

Groups: AllDroid Sponsor, Registered Users, Subscribers

I heart you Rainabba. No homo.
jbreaz15
0
#24 Posted : Friday, August 20, 2010 8:23:09 AM(UTC)
Rank: Android
Joined: 7/22/2010(UTC)
Posts: 4
Points: 12
Location: United States

Groups: Registered Users, Subscribers

infounlim wrote:
I was able to complete the update successfully. However, I no longer have root on 2.2. I did confirm the following before updating "Run "ls /system/xbin/su" and make sure the results are `/system/xbin/su`" after running "cp /system/bin/su /system/xbin/su" Any ideas?





+1
Altwav
0
#27 Posted : Friday, August 20, 2010 8:23:40 AM(UTC)
Rank: Android
Joined: 7/28/2010(UTC)
Posts: 4
Points: 12
Location: United States

Groups: Registered Users, Subscribers

Do you need to start at a stock image before you put the froyo update on? I have removed all the bloat apps like cityID and other shit, Will I need to put those apps back on before I can change over?
Users browsing this topic
6 Pages123>»
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.705 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