Motorola Xoom
| Xoom | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Specification | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Contents |
What You Need
ADB - http://developer.android.com/sdk/index.html or refer to How to install and use ADB
Fastboot - http://developer.htc.com/adp.html#s2 (Select the right fastboot for your OS) (Should be part of the Android SDK in the Android SDK Root/Tools folder, if not download it here)
Motorola Drivers - http://forum.xda-developers.com/showthread.php?t=981578
Mac Users This guide was written/modified assuming that the name of the fastboot file is fastboot-mac (downloaded from the HTC Developer's site). If the fastboot program you're using is from the Android SDK or downloaded elsewhere and is named simply fastboot, omit the -mac part (or follow the directions for Linux users when it comes to using fastboot)
Unlocking the Bootloader (All Models)
1. Download the items you need from the What You Need section
2. Open a terminal (located in the utilities folder for Macs) or cmd in search box on Windows.
3. Navigate to your sdk/platform-tools folder (not required if configured into the PATH environment variable)
Example:
cd /path/to/your/sdk/platform-tools
4. Type:
In Mac and Linux
./adb devices
In Windows
adb devices
and make sure your Xoom shows up on the list.
This command will show you if your device is connected to the Android Debug Bridge.
5. Now type:
In Mac and Linux
./adb reboot bootloader
In Windows.
adb reboot bootloader
(You can skip the next 3 steps if you’ve unlocked with fastboot previously)
This will reboot your device into bootloader mode accepting fastboot commands.
6. I had to type this first to get fastboot to execute (Mac and Linux):
In Mac
chmod 755 fastboot-mac
In Linux
chmod 755 fastboot
This will change the permissions of the FASTBOOT BINARY so it can execute.
7. Now type:
In Mac
./fastboot-mac oem unlock
In Linux
./fastboot oem unlock
In Windows
fastboot oem unlock
Once you run one of the commands above, your Xoom will present you with a warning screen. Press Volume Down to Accept then Volume Up to confirm. You'll then be asked if if you're sure, press Volume Down then Volume Up again to confirmed. This will unlock the bootloader and reboot the Xoom.
WARNING
Upon unlocking the bootloader, this will allow your Xoom to be "hackable" but will VOID your warranty, even if you relock the device. If you'd like to re-lock it later you can refer this guide.
Rooting the 3g Verizon Wireless Version Manually
Before You Begin
Download everything from What You Need
Follow the Unlocking the Bootloader process (if you haven't unlocked the bootloader yet)
Download Xoom Root Files
Root Process
Follow this steps after you've got everything above done: (After you have unzipped both files into your sdk/platform-tools folder)
1. Once it has rebooted type
In Mac and Linux
./adb reboot bootloader
In Windows
adb reboot bootloader
Now you are going back into bootloader mode to finish the job.
2. Once in bootloader mode type:
In Mac
./fastboot-mac flash boot rootboot.img
In Linux
./fastboot flash boot rootboot.img
In Windows
fastboot flash boot rootboot.img
This is going to flash the boot image needed to have root working properly within the system.
3. Type the following and wait for reboot.
In Mac
./fastboot-mac reboot
In Linux
./fastboot reboot
In Windows
fastboot reboot
This command will now boot you back into Android.
4. Type:
In Mac and Linux
./adb remount
In Windows
adb remount
We are now mounting the system partition in order to push the Super User binary.
5. Type:
In Mac and Linux
./adb push su /system/bin
In Windows
adb push su /system/bin
Does what it says. Pushes binary to system folder.
6. Type the following and you should now see a "#" sign. In Mac and Linux
./adb shell
In Windows
./adb shell
This will put you into a root shell to change the permissions of files in the next step.
7. Type:
chmod 4755 /system/bin/su
You just changed the permissions of the super user binary to run properly.
8. Type:
exit
You will now be back in your home terminal ready to push the Super User Apk.
9. Type:
In Mac and Linux
./adb push Superuser.apk /system/app
In Windows
adb push Superuser.apk /system/app
You should now have root acces! Enjoy!
Written by b16a2smith
Rooting the WiFi Version Manually
Before You Begin
Download everything from What You Need
Follow the Unlocking the Bootloader process (if you haven't unlocked the bootloader yet)
Download the WiFi Xoom Root Files.
Please note that due to the nature of the WiFi only model, there is additional steps that you will need to go through.
Root Process
After you've gotten the above downloaded and bootloader's unlocked, follow the steps below (please note that this steps assumes you know how to use ADB and fastboot)
adb reboot bootloader fastboot flash boot boot.img fastboot reboot adb remount adb push bcm4329.ko /system/lib/modules/bcm4329.ko adb push cifs.ko /system/lib/modules/cifs.ko adb push tun.ko /system/lib/modules/tun.ko adb push scsi_wait_scan.ko /system/lib/modules/scsi_wait_scan.ko adb push su /system/bin adb shell ln -s /system/bin/su /system/xbin/su adb shell chmod 4755 /system/bin/su adb push Superuser.apk /system/app adb push vold.fstab /system/etc/vold.fstab adb reboot adb shell
Source: http://forum.xda-developers.com/showthread.php?t=1010568
One Click Root
[todo]
Locking The Bootloader
Motorola finally released other original build images. To make sure you download the correct build, check your build number by going into Settings > About Tablet.
Why Would You Re-Lock The Bootloader?
A couple reasons why you would want to re-lock the bootloader. One reason why you might want to is because you're selling your XOOM to someone who doesn't need nor want it rooted. Another reason is because it's that time when Motorola released the 4G LTE update for the XOOM.
So Motorola is going to honor the 4G LTE upgrade even though I've unlocked the bootloader and rooted the device?
The answer to that question is Yes, they will honor it, only thing they ask for is that you reload the original software back on and re-lock the bootloader to make sure that the upgrade process goes smoothly. If you send them back your XOOM with the bootloader still unlocked and rooted, they will try there best to update the software but if they're unable to then they'll simply send back your XOOM with the 4G LTE modem installed.
What You Need
The Original Images (Note: This is the official Motorola's developer's site. Free registration is required to download.)
The rest of the items in What You Need at the top of this page.
Re-locking Process
Type the following commands in a terminal or command prompt:
adb reboot bootloader fastboot flash boot boot.img fastboot flash system system.img fastboot flash recovery recovery.img fastboot flash userdata userdata.img fastboot erase cache
Only run the following commend if your original image package does not contain userdata.img
fastboot erase userdata
Then finish with:
fastboot oem lock
After the last command, wait for the system to reboot and re-lock itself. You might also want to do the software update that's going to be available before you ship it into Motorola for the 4G LTE upgrade (just a suggestion).
Your XOOM's bootloader is now locked again and back on stock.
Recovery
Some times shit happens, you could be doing something with the framework.apk file or flashed the wrong image, and now your pretty much stuck. Never fear, about 90% of the time you can recovery from this by way of a progress called SBF-ing. By using Motorola RSD Lite and the SBF file, you should be able to get back up and going in no time.
What Is A SBF?
SBF is a file designed to reload, pretty much, the whole system back to how it was when you got it out of the box. RSD Lite is designed primary for retail stores to completely flash your phone/devices back to working order.
What You Need
Stock SBF (Special Thanks to LegionTHEFecalExcretion from XDA Developers (Original Thread))
RSD Lite 4.9
The rest of the items in What You Need at the top of this page.
The Process
1) Have RSD Lite open and have VZW_MZ600_Signed_HRI39_Signed_MDM600BP_C_02.0F.00R_SW.combo.sbf selected.
2) With the XOOM turned off, power it on while holding the volume up button. At this point you should see your XOOM say "Starting RSD protocol support 3" on the upper left hand corner.
3) Click Start and wait until it says flash is complete.
4) Once complete, you can now go into fastboot and re-lock the bootloader or re-image it to your rom/hack again.
[note that this section is still being worked on]