Post Reply

[GUIDE][WIFI ONLY]Android 3.1 on Xoom WiFi, Root, via ClockworkMod Recovery

OP stachre

11th May 2011, 02:24 PM   |  #1  
stachre's Avatar
OP Member
Thanks Meter: 345
 
98 posts
Join Date:Joined: Mar 2011
This guide may be obsolesced shortly, but it's still good reading for the curious. See [UPDATE][HC3.1] Wifi and 3G! Completely Flashable! No Fastboot Needed! No Data Loss. (thanks, bigrushdog)

WARNING: Following this procedure may damage or permamently destroy your device. This procedure is provided with NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Perform this procedure at your own risk.

COMPATIBILITY NOTE: I have personally tested this procedure ONLY ON THE US XOOM WIFI MZ604. If other devices (i.e., Euro Xoom WiFi) implement the same Android 3.1 update file, then this procedure *should* work; some users have reported success with UK and Canadian models (see this post for more info). Know, however, that you proceed at your own risk.

AWESOMENESS NOTE: Instead of copying files which you're going to adb push to the platform-tools directory every time, why not just add the directory to your PATH environment variable ("How to update your PATH")? That way, you can run adb from any directory you want.

3G GUINEA PIGS: I've edited the 3G version of the updater_script in the same way as the WiFi, but I don't have a 3G Xoom with which to test. IF YOU ARE FLASHING AND TROUBLESHOOTING SUPASTAH, please try the attached updater-script_UNTESTED_Xoom3G_Android3.1_Root_v03.zip(Updated!) with the MZ600 HRI66 stock images and Xoom 3G 3.1 Update ZIP. If it works, I'll update the guide to cover both devices. Please PM me your feedback, since a post might be easily buried in this thread. Thanks!

SUMMARY

Here's a run-down on the current procedure:
  • Updates the Xoom WiFi to Android 3.1 using ClockworkMod Recovery (update.zip)
  • Resolves issue in updater-script: get_prop ro.product.device wingray
  • Sets correct permission on su to enable functioning root
  • Flashes the recovery (version 03 persists CWM Recovery), boot (kernel), and system partitions to stock (required at this time)
  • Stock kernel means no SD Card in Honeycomb (still available in recovery), no overclocking until devs release 3.1 compatible kernels
  • Updates bootloader to include Recovery in the boot menu
  • Leaves user data intact

Outstanding Issues:
  • (FIXED in updater_script version 03) Recovery partition gets overwritten to stock on reboot: Edit updater-script to leave recovery partition intact
  • Too many steps: Include the edited updater-script, su, Superuser.apk in the update.zip

Now, without further ado...

ASSUMPTIONS
PROCEDURE
  1. Prepare the Android 3.1 Update file
    The update file as-provided is not ready for use in ClockworkMod Recovery. This fixes it. I could just include a link to a prepared update.zip file, but this is safer than trusting some dude with less than 20 posts on XDA. I'll upload one when I hit 25. :P
    1. Rename the Android 3.1 Update file to update.zip
    2. Open the zip file in an archive program for editing
    3. Navigate to the following directory: META-INF/com/google/android
    4. Delete the following file: updater-script
    5. Copy the updater-script file from the ZIP file attached to this post to META-INF/com/google/android
  2. Flash stock system.img
    Prior to performing the actual update, the update script checks a number of files (including bcm4329.ko, which is usually built with the kernel) in /system. If any file doesn't match what's expected, the update halts. Flashing the stock system.img ensures a smooth update.
    Code:
    adb reboot bootloader
    fastboot flash system system.img
    fastboot reboot
  3. Reconfigure superuser
    After flashing stock, we no longer have superuser/root access on our Xoom. By pushing and configuring these files, we restore our root capability without interfering with the pre-update checks. (thanks, Berzerker for catching missing symlink)
    Code:
    adb remount
    adb push su /system/bin/
    adb shell chown root.shell /system/bin/su
    adb shell chmod 4755 /system/bin/su
    adb shell ln -s /system/bin/su /system/xbin/su
    adb push Superuser.apk /system/app/
    adb shell chmod 644 /system/app/Superuser.apk
  4. Flash stock boot.img
    The pre-update checks also include the boot partition. We wait until now to flash the boot partition to stock because we need to perform adb remount earlier in the procedure, which we can't do with the stock boot.img. The actual update flashes this partition with a new kernel that implements the new 3.1 features.
    Code:
    adb reboot bootloader
    fastboot flash boot boot.img
    fastboot reboot
  5. Perform update
    Code:
    adb reboot recovery
    Note that in recovery, you use the hardware volume buttons to navigate up and down, and the power button to select.
    1. In ClockworkMod Recovery, select "mounts and storage"
    2. Ensure your Xoom is connected to your PC via USB, then select "mount USB storage"
    3. On your PC, copy update.zip to the root of the Xoom's SDCard ("Removable Disk" in Windows)
    4. In ClockworkModRecovery (still on the "USB Mass Storage device" screen) select "Unmount"
    5. In the "Mounts and Storage Menu" screen, if the option "unmount /sdcard" is present, continue to the next step; if "mount /sdcard" is present, select it then continue
    6. Select "+++++Go Back+++++"
    7. Select "apply update from sdcard"
    8. Select "Yes - Install /sdcard/update.zip"

      "Install from sdcard complete." will indicate that the update is completed.
      .
    9. Select "reboot system now"

      New bootloader will install. The message, "Congratulation! Your bootloader was successfully upgraded" will be immediately followed by an automatic reboot.
  6. Enjoy your rooted Xoom WiFi, running on Android 3.1!

POST-UPDATE NOTES
  • Custom kernels: As of 0730 11 May 2011, there are no kernels/boot.img that are compatible with the Android 3.1 update, though the devs are undoubtedly on it. Do not flash a custom kernel after performing this procedure unless you know that it's compatible with the 3.1 update.
  • Recovery: updater_script v03 no longer flashes stock recovery. If you ran a previous version of the update, please see this post by Berzerker on getting ClockworkMod Recovery to persist (thanks, Berzerker)
Last edited by stachre; 12th May 2011 at 12:55 AM.
The Following 37 Users Say Thank You to stachre For This Useful Post: [ View ]
11th May 2011, 02:36 PM   |  #2  
Member
Thanks Meter: 4
 
35 posts
Join Date:Joined: Jun 2008
NICE! Will be trying this out shortly.
11th May 2011, 02:38 PM   |  #3  
lt iibad's Avatar
Member
Flag Paulshof, Sandton
Thanks Meter: 8
 
64 posts
Join Date:Joined: Nov 2009
More
trying it now.... will give feedback
11th May 2011, 02:41 PM   |  #4  
Member
Flag Tampa, FL
Thanks Meter: 18
 
93 posts
Join Date:Joined: Sep 2007
Donate to Me
Can someone confirm the filesize and md5 of the update zip file? (the actual update.zip, not the updater-script)
11th May 2011, 02:48 PM   |  #5  
Sierra8561's Avatar
Junior Member
Thanks Meter: 1
 
29 posts
Join Date:Joined: Mar 2011
Do I need to be using the stock kernal before I start?
11th May 2011, 02:50 PM   |  #6  
Senior Member
Flag Jax and The DMV
Thanks Meter: 621
 
3,140 posts
Join Date:Joined: Mar 2008
Donate to Me
More
good post.... cant wait to try this when I get home.
11th May 2011, 02:53 PM   |  #7  
pof's Avatar
Retired Moderator
Barcelona
Thanks Meter: 63
 
3,571 posts
Join Date:Joined: Mar 2005
Donate to Me
here's the official update link for wifi xoom:

http://android.clients.google.com/pa...9.e379f0b9.zip
The Following 4 Users Say Thank You to pof For This Useful Post: [ View ]
11th May 2011, 02:54 PM   |  #8  
Member
Thanks Meter: 3
 
98 posts
Join Date:Joined: Feb 2006
just one quick question why is it US only ? don't you think it should work on wifi only euro too ?
11th May 2011, 02:56 PM   |  #9  
Senior Member
Flag San Diego, CA
Thanks Meter: 78
 
149 posts
Join Date:Joined: Apr 2011
More
Quote:
Originally Posted by pof

here's the official update link for wifi xoom:

http://android.clients.google.com/pa...9.e379f0b9.zip

Yes, but the official update won't flash in ClockwordMod Recovery unless it is modified, like the one in the OP of this thread. Posting the official version on this thread just adds to the confusion.
11th May 2011, 03:03 PM   |  #10  
Member
Flag Columbus, OH
Thanks Meter: 17
 
76 posts
Join Date:Joined: Mar 2010
More
Quote:
Originally Posted by publicanimal

Yes, but the official update won't flash in ClockwordMod Recovery unless it is modified, like the one in the OP of this thread. Posting the official version on this thread just adds to the confusion.

All he posted in the OP was a modified script, you still need to get the update.zip from Google.


The Google server is much much faster than the 3rd party download sites too.

The Following User Says Thank You to tony710 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xoom Android Development by ThreadRank