OK, so this recovery will skip /data/media (Internal storage) when performing nandroid backups and also when you perform a factory reset.
This means that we can now perform nandroid backups without backing up our internal media and removing it everytime you want to do a backup.
Thanks to Bigrushdog and MadIndustries for helping out with the concept of the solution for skipping /data/media.
Also thanks to Koush and all the other developers that have contributed to clockworkmod, without you guys the android world would be completely different.
Thanks also to everyone in #xoom that tested this.
The source code for all changes etc are available through the github repository. The two other projects that have been modified to make this recovery possible can also be viewed through my github account.
Even though this recovery has been tested, I am not liable for any loss of data or any damages done by this recovery.
When I refer to /data/media, this is the same as /sdcard when the xoom is booted into honeycomb. So any data that is stored in here should be untouched by this recovery.
If you encounter a problem with the filesystem on /data like it has become corrupt, place a blank file called "eraseData" (without the quotes) in the clockworkmod folder on your external sdcard. This will revert to the old way of formatting /data. NOTE: by doing this you will lose everything that you have in /data/media.
Versioning of recovery images:
At the moment I don't have a version number as such, instead each recovery image is timestamped in the format of DDMMYY-HHYY. So the file recovery-solarnz-120511-2030.img was produced on 12 May 2011 at 8:30 PM. This versioning is also shown in recovery when it starts.
SLOW DOWN AND RELAX
Make sure you download the correct version depending on how you want to flash. I have seen at least two xooms bricked now because they have tried to flash the zip file through fastboot.
Recovery Zip (solarnz-R4c-100611-1150) FLASHED THROUGH CWM
Recovery Image (solarnz-R4c-100611-1150) FLASHED THROUGH FASTBOOT
Method 1 Flashing through CWM
Download the recovery zip file
Place the recovery zip on the sdcard where clockworkmod can read it.
Reboot into recovery using "adb reboot recovery" or any other method
In recovery, select flash zip from sdcard and select the recovery zip you downloaded
Sit back and relax while recovery flashes the new recovery and reboots into it.
Download the recovery image (not the zip file)
Pull up your command prompt, then
adb reboot bootloader fastboot flash recovery recovery-solarnz-XXXXXX-XXXX.img fastboot reboot
adb reboot recovery
18.104.22.168 (R4c-100611-1150) - Rebuilt recovery, the previous recovery was built off of bad device files. 22.214.171.124 (R4b-060611-1300) - Disabled partitioning the sdcard as per request. 126.96.36.199 (R4-050611-1515) - Included changes from koush's sources upto clockworkmod 188.8.131.52 - Implemented Advanced backup. This allows you to choose what partitions you want to backup. 184.108.40.206 (120511-2030) - Fixed mounting the sdcard for some users 220.127.116.11 (080511-1630): - Modified to skip /data/media or /sdcard in nandroid backups. - Modified formatting /data to remove directories and folders so we can keep media. - Place a file called eraseData in the clockworkmod directory on your EXTERNAL sdcard to revert to the normal restoration method.