Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,543 Members 37,165 Now Online
XDA Developers Android and Mobile Development Forum

Idiot's guide to flashing the Xoom (for fun and profit)

Tip us?
 
pingvinen
Old
(Last edited by pingvinen; 13th August 2011 at 06:22 PM.)
#1  
Senior Member - OP
Thanks Meter 13
Posts: 141
Join Date: Jul 2007
Default Idiot's guide to flashing the Xoom (for fun and profit)

This guide is for you that have a new Xoom (WiFi only, US model) with Android 3.1 and want to

- get root access
- enable the external SD card unit

Please note that Android 3.2, which now is available for the US Wifi models, make this guide more or less obsolete. If your aim is to have root access, then there are probably simpler methods.

What you need to do can be encompassed in these following short steps (will be detailed later on) in the following order. Each step is required before you can proceed to the next one. However, make sure that you are very very careful and dont try to take any shortcuts. That may soft-brick your device, and you may have a difficult time to explain that to your wife ... You have been warned!

I strongly recommend you to read the entire guide before trying this. In fact, read it twice to ensure that you have understood everything. If there is wierd stuff that you dont understand, dont hesitate to ask. The reason for me writing this down is that I like to document what I have learned. This is to me an excellent way to ensure that I will remember what I just did. Another reason was that I could not find a single thread that encompassed all steps required. There are many different threads, but noone (that I could find) that really guides you from start to goal. So enjoy and good luck!

I would like to thank LandMaster and cam30era for helping out with advice during my initial trail-and-error session. I soft-bricked my device once and had big problems to get by point 4.3 (avoid overwriting of CWM), but with their encouragement I finally succeeded.

If someone else adapts this guide for the EU model or the 3G model, feel free to drop me an IM and I will update the guide for these devices too. Until then, this has only been tested on a WiFi only, 32 GB device bought in the US. If you brick your 3G or EU bought model, dont call me ...

0. Overview of the 6 required steps

1. Install Motorola USB drivers for your computers (for USB connectivity)
2. Install Java SDK and Android SDK tools (for adb and fastboot commands)
3. Unlock the device for flashing (allowing replacement of recovery and boot images)
4. Install a modified recovery image (ClockWorkMod recovery for Android)
5. Root the device (Allow r/w access to the device filesystem)
6. Flash a kernel that supports the SD card (SD card access, overclocking etc.)
Steps 1, 2, 4, 5 and 6 require that you download install, image and zip files needed for the flashing.

All this was performed on a Windows XP x86 SP3. Windows 7, Mac and Linux users will probably have to do some steps differently.

Update July 7: I have tested the procedure on Windows 7 x86 now and the procedure is identical to Windows XP.

1. Install the latest Motorola USB drivers

The installation file can be found here
http://www.motorola.com/Support/US-E...arging-Drivers

1.1 Install the drivers and ensure that your Xoom is recognized by the computer

2. Installation of development software

Java SDK 6 and Android SDK (for Honeycomb at least) need to be installed. You can find the installation kits here.

http://www.oracle.com/technetwork/ja...ad-400750.html
http://developer.android.com/sdk/index.html

2.1 Install them as any other software.
2.2 What I had to do was to manually modify the PATH environment variable. I use Windows XP so I did that by right clicking on My Computer, choose Properties and select Advanced. Here I added the path to platform-tools and Tools

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\QuickTime\QTSystem\;D:\Java\Android-sdk\platform-tools;D:\Java\Android-sdk\tools

Note: If the Android SDK complains that the Java Dev Kit cant be found, just press Back and then Next again. Wierd, but that seems to do the trick ... go figure.

2.3 Test that ADB and FASTBOOT works. You should open a command window and go to your Android installation directory. Plug in your Xoom to your computer and write 'adb devices'. Your Xoom should now be listed like this
C:\Documents and Settings\Anders>adb devices
List of devices attached
0288414343813157 device
Did your device not show up? Make sure that you have USB debugging enabled in Settings / Applications / Development

3. Unlocking the device for flashing

This step will effectively erase the internal storage, including all your apps and settings. Use whatever backup you want to rescure important data before you start.

3.1 Power up and start the Xoom
3.2 Ensure that your device is fully recognized by the computer. A good sign is that the 'Portable device' dialog is activated on Windows when your Xoom has booted. The Xoom should also be seen in 'My Computer'. If not, go back to step 2 and double check your USB drivers.
3.3 Use the command 'adb reboot bootloader' to go into Flash mode
3.4 Use the command 'fastboot oem unlock'. This will trigger a dialog on your Xoom. Follow the instructions on the screen to complete the unlocking. I repeat, this *will* do a factory reset and all data will be lost!
3.5 Once unlocked, the Xoom will restart and work as normal, but now ready for step 4

4. Install recovery image (CWM)

Download the recovery image file and save it to your computer

4.1 Boot into flash mode with 'adb reboot bootloader'
4.2 Install your downloaded recovery image
C:\Documents and Settings\Anders> fastboot flash recovery recovery-Tiamat-R4c-100611-1150-cwm.img
4.3 Restart the device with 'fastboot reboot'. Timing is essential here, so be alert when the device restarts, or you will have to redo section 4.
4.4 Enter CWM with the following procedure
4.5 Once the Motorola logotype is shown, start counting to 3. At 3, press the Volume Down button. This should result in the text 'Android Recovery' in the top left corner. If it does not work, experiment with the timing ...
4.6 When 'Android Recovery' is shown press the Volume Up button. This should invoke the CWM recovery menu. If that works, then congratulations for reaching this far .

Here is a potential pitfall. If you are unable to enter CWM *before* the device boots into Honeycomb, then the newly installed recovery image will be overwritten by the system default recovery. There are ways to prevent this (see posts below), but I recommend you to redo step 4 instead of messing with removal of system files. But both methods would probably work. Experiment!

5. Rooting the Xoom

The root zip file is located here

5.1 You need to transfer the ROOT zip file to a working micro SD card. You can do this on a computer or cell phone, but the ROOT zip must be located in the root directory of the SD card.
5.2 Insert the now prepared SD card in the Xoom
5.3 Boot into recovery (as described in 4.3). Navigate using the volume buttons and press the power button to select the active option
5.4 Select 'Install ZIP from sd card'
5.5 Select 'Choose ZIP'
5.6 Navigate to the ROOT zip file with the Volume buttons and select it with the Power button. Confirm that you want to install it.
5.7 Everything should indicate success, so back out to the main CWM menu and reboot the device.
5.8 From Android Market, install the ROM Manager app and start it. If the rooting was successful, then ROM Manager should start without any complaints.

6. Flashing a new kernel that supports SD cards (and maybe more ...)

The kernel that I used is described here http://forum.xda-developers.com/showthread.php?t=978013
The kernel zip file is located here

6.1 This step is identical to 5, but swap the ROOT zip towards the KERNEL zip. For simplicity, you may want to prepare the SD card with both zip files at the same time in step 5.1 ...
The Following 5 Users Say Thank You to pingvinen For This Useful Post: [ Click to Expand ]
 
okantomi
Old
#2  
Senior Member
Thanks Meter 712
Posts: 3,003
Join Date: Feb 2011
Location: Boston, MA
Looks great. You just might want to give credit to LandMaster and cam30era, too.
Transformer Infinity 32Gb - KK 4.2.2
ROM: CROMBI.KK with _that kernel
Nexus 7 32Gb - KK 4.4.2
Galaxy Note 2 - 4.3

When someone--anyone--helps you, give them a THANKS!
 
juDGEY2k10
Old
#3  
juDGEY2k10's Avatar
Senior Member
Thanks Meter 61
Posts: 508
Join Date: Sep 2010
Also is this for just USA or all, cos many people brick there xoom if its just for USA only
 
pingvinen
Old
#4  
Senior Member - OP
Thanks Meter 13
Posts: 141
Join Date: Jul 2007
Quote:
Originally Posted by okantomi View Post
Looks great. You just might want to give credit to LandMaster and cam30era, too.
Of course, done
 
pingvinen
Old
#5  
Senior Member - OP
Thanks Meter 13
Posts: 141
Join Date: Jul 2007
Quote:
Originally Posted by juDGEY2k10 View Post
Also is this for just USA or all, cos many people brick there xoom if its just for USA only

This is only tested on a US device. OP updated.
 
BrokenPixel
Old
(Last edited by BrokenPixel; 19th June 2011 at 10:48 PM.)
#6  
Senior Member
Thanks Meter 12
Posts: 243
Join Date: Dec 2007
Location: Valle de San Isidro
Will this wipe all USER data?
Also, is the location of the zipped root file fine? the title says "[BOOT] Wifi-Only Charge Light Off".
Current device: OnePlus One

Samsung Galaxy S4 i337
Samsung Galaxy S4 i9500 (Gone)
Samsung Galaxy Note 2 N7100 (Gone)
Samsung Galaxy S3 i9300 (Gone)
Samsung Galaxy Note N7000 (Gone)
Samsung Galaxy S2 i9100 (Gone)
Motorola Atrix 4G (Gone)
Dell Streak 7 (Gone)
HTC Desire HD (Gone)
Motorola Xoom WiFi (Gone)
Samsung Craptivate (Super-Gone)
Dell Streak (Gone )
Motorola Milestone (broke my android virginity lol)
 
bwcorvus
Old
#7  
Retired Forum Moderator
Thanks Meter 352
Posts: 1,523
Join Date: Jun 2010

 
DONATE TO ME
I only see one problem, you have recovery before boot.img. If you flash the recovery, without a rooted boot.img and happen to boot into honeycomb, it will erase your recovery and load stock. So you can remove /system/etc/install-recovery.sh and /system/recovery-from-boot.p or flash the boot.img BEFORE rebooting out of recovery.
Done
 
cam30era
Old
#8  
cam30era's Avatar
Senior Member
Thanks Meter 409
Posts: 1,666
Join Date: Nov 2010
Location: Columbus, Indiana
Quote:
Originally Posted by BrokenPixel View Post
Will this wipe all USER data?
Also, is the location of the zipped root file fine? the title says "[BOOT] Wifi-Only Charge Light Off".
When you unlock your Xoom, it will wipe all user data.
 
okantomi
Old
#9  
Senior Member
Thanks Meter 712
Posts: 3,003
Join Date: Feb 2011
Location: Boston, MA
Quote:
Originally Posted by bwcorvus View Post
I only see one problem, you have recovery before boot.img. If you flash the recovery, without a rooted boot.img and happen to boot into honeycomb, it will erase your recovery and load stock. So you can remove /system/etc/install-recovery.sh and /system/recovery-from-boot.p or flash the boot.img BEFORE rebooting out of recovery.
You're right. I rooted 1st and flashed CWR later. I then used brd's method to update to 3.1, re-root and flash the new bootloader and kernel. So there is a step missing after Step 3. I'm sorry, I don't remember exactly how to do this from HC 3.1. (meaning what files to use) as I was on HC 3.0 at the time.
Transformer Infinity 32Gb - KK 4.2.2
ROM: CROMBI.KK with _that kernel
Nexus 7 32Gb - KK 4.4.2
Galaxy Note 2 - 4.3

When someone--anyone--helps you, give them a THANKS!
 
pingvinen
Old
#10  
Senior Member - OP
Thanks Meter 13
Posts: 141
Join Date: Jul 2007
Quote:
Originally Posted by BrokenPixel View Post
Will this wipe all USER data?
Also, is the location of the zipped root file fine? the title says "[BOOT] Wifi-Only Charge Light Off".
Yes it will. Read 3.4 again, it will do factory reset.

The root file may vary from case to case, but the procedure is the same AFAIK. I used the one that "charge light off"... There are probably others too.

Tags
flash, root, sdcard, xoom
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Secrecy Goes Open Source, Assures File Encryption

As some of you may remember, a while back we spoke about Secrecy, an effective file … more

[APK] Google News and Weather Gets Material Design Makeover, Minor Maps Updates

Although Google has somewhat gotten out of the habit of their … more

Software Build Automation with Jenkins – XDA Developer TV

Many members of the XDA community come to learn and begin in the exciting … more

Add Bits and Pieces of Honami to Your Current ROM

In the last few months, we’ve talked about quite a few Sony Honami-related projects. … more