Install CyanogenMod on Motorola Xoom Wi-Fi

Install CyanogenMod on Motorola Xoom Wi-Fi (codename: Wingray) References:
 * http://wiki.cyanogenmod.org/index.php?title=Wingray_Info
 * http://www.xoomforums.com/forum/team-rogue/9453-cwm-rogue-recovery-v1-5-0-updated-5-6-12-a.html

0. Install fastboot
 * Download the latest Android SDK (thus fastboot) from http://developer.android.com/sdk/index.html.

export PATH=${PATH}: /tools: /platform-tools (Change to the actual path to the SDK's /platform-tools directory.
 * Edit the ~/.bash_profile and add the path to the platform-tools of the downloaded SDK.

For example: export PATH=$PATH:/Users/ichamma1/Downloads/adt-bundle-mac-x86_64/sdk/platform-tools


 * Enable USB debugging on the device.


 * Connect the device to the computer through USB.

$ adb reboot bootloader
 * Open a terminal and reboot the device into the fastboot mode by typing adb reboot bootloader.

$ fastboot devices 0288504044212617	fastboot
 * Make sure the output of fastboot devices returns your device serial number.

1. Unlocking the device

$ fastboot oem unlock
 * While the USB debugging enabled and USB cable connected, unlock the bootloader.


 * A disclaimer will display on the device that must be accepted. Use the volume keys to cycle through the options.
 * Volume Down = Change Selection
 * Volume UP = Select


 * If the device doesn't automatically reboot, reboot it from the menu. It should now be unlocked. You can confirm this is the case if you see an unlocked icon at the bottom of the Google boot screen during reboots.

2. Installing recovery using fastboot ''' See section 2B. as using Clockwork 5.8.3.1 may not work '''


 * Download koush's ClockworkMod Recovery - http://download2.clockworkmod.com/recoveries/recovery-clockwork-5.8.3.1-wingray.img


 * Connect Xoom via USB if not already done so. You may have to re-enable the Developer Option > USB debugging.


 * Move the the downloaded image (recovery-clockwork-5.8.3.1-wingray.img) in the same directory as fastboot.

$ adb reboot bootloader
 * Run

$ fastboot devices 0288504044212617	fastboot

$ fastboot flash recovery recovery-clockwork-5.8.3.1-wingray.img


 * Once the flash completes successfully, reboot (hold Power + Volume Up) the device into recovery to verify the installation.
 * If during the later step, when attempting to go to Android recovery but only see the dead android, it is possible that some ROMs overwrite recovery at boot time. Repeat the step 2 and put device to recovery mode right away.

'''2B. [Using Clockwork 5.8.3.1, I can't mount and see /sdcard.''' This is confirmed in many forums. Only the following are compatible with Xoom:


 * ClockworkMod 3.2.0.0 (R4c) (New 6/10/11) http://www.xoomforums.com/forum/motorola-xoom-development/6202-clockworkmod-3-2-0-0-r4c-new-6-10-11-a.html


 * CWM Rogue Recovery v1.5.0 (Updated 5/6/12) http://www.xoomforums.com/forum/team-rogue/9453-cwm-rogue-recovery-v1-5-0-updated-5-6-12-a.html


 * Goo.im Downloads - Downloading eos-recovery-r6-softkeys.zip http://goo.im/devs/teameos/recoveries/wingray/eos-recovery-r6-softkeys.zip (not found)

I use the CWM Rogue Recovery v1.5.0 because not only it allows access to the sdcard, but also the USB thumb drive. Just download and unzip it. Move the image file (recovery.img) to path of the platform-tools.

$ adb reboot bootloader
 * Run

$ fastboot devices 0288504044212617	fastboot

$ fastboot flash recovery recovery.img

3. Installing CyanogenMod from recovery


 * Download the prebuilt release of CyanogenMod (http://download.cyanogenmod.org/?device=wingray&type=) you wish to install, for example, cm-10.1-20130105-NIGHTLY-wingray.zip. Move the downloaded file into the USB stick.


 * Optionally, download Google Apps zip, for example, gapps-jb-20121212-signed.zip from http://goo.im/gapps/latest. Move the downloaded file into the USB stick.


 * Boot to recovery mode on the Xoom (Wi-Fi) by holding Vol Down repeatedly during boot until Android recovery is selected, Vol Up to confirm.


 * The Rogue XM Recovery screen will be displayed. Make sure you can access /sdcard (mount it if needed).


 * Perform Nandroid backup (highly recommended).


 * Wipe > cache, dalvik cache, and all user data (factory reset).


 * Mount storage > Use USB OTG drive instead of SD Card.


 * Install from zip file > Install cm-10.1-20130105-NIGHTLY-wingray.zip then gapps-jb-20121212-signed.zip.


 * Go back and reboot device.