Thursday, August 25, 2011

Motorola Atrix setup - Rooting your Atrix on Gingerbread 2.4.3

So, I got a new phone and of course I can't just leave well enough alone so here are a few tips and tricks for my atrix setup
Prerequisits:
  • motorola fastboot (win32/64 or osx depending on your os of choice)
  • Android sdk installed and adb working
  • proper drivers for your device
Assuming all of that is done there are a few setup steps necessary to enable your device to speak to adb:
  1. Plug in phone via micro USB cable, wait until it is recognized by the OS.
  2. On the phone, pull down the alert menu and choose USB connection
  3. Make sure that "NONE" is selected
  4. Open settings->applications->Development
  5. Make sure that USB debugging is checked
ROOTING your Atrix,
this may seem to be overkill, but for backups like ClockWorkMod, battery reset (if like me you did the Gingerbread update without a full battery), Titanium backup, etc. this is a necessary step.
  1. Restart your Atrix in fastboot mode (restart while holding the volume down)
  2. When it says "Fastboot" push the volume up button, it will then say "Starting Fastboot protocol support"
  3. Push an updated preinstall.img to the server
    1. Open a command prompt
    2. cd to your fastboot directory
    3. Type fastboot flash preinstall preinstall.img NOTE: If your fastboot executable is named moto-fastboot or moto-fastboot-osx then change the name of the exe as needed. if preinstall.img is not in the current directory then include the full path to preinstall.img
  4. Now reboot your phone by typing fastboot reboot
  5. Once the phone reboots, move to your adb directory and run adb shell
  6. Now we need to be the Root user and bash is nice so type /preinstall/dosu and hit enter to switch to root.
  7. The /system mount is read only at this point so type /bin/mount -o remount,rw /system and hit enter to change it to read write.
  8. We want to copy su (switch user) to somewhere we can use it so type cp /preinstall/su /system/bin/ and hit enter.
  9. We need to make sure it is executable so type chmod 6755 /system/bin/su and hit enter to set up the correct rights.
  10. Now we need an app to manage root access so type PATH=/system/bin:$PATH pm install /preinstall/Superuser.apk and hit enter (pm and it's fellow components are in /system/bin which is not on our path at this point).
  11. you have successfully rooted your phone!
Install ClockWorkMod

Motorola Atrix setup - setting up ClockWorkMod backup

Unlocking the bootloader
TBD

Other Roms
TBD

No comments: