[Xoom Android Development] runandhide05:
i know your trying to be helpful and i appreciate it, i do, and only cause im frustrated i want to say, well dont ya think i know this.. lol, but im not going to say it.

its in the scripts its just not taking. thats why im getting aggravated. it should be working, and it simple is not. its even in the recovery.rc to mount properly and it does, why/how do i know this? because the recovery i build ( the img) is working and we know that it is because of the gentleman from china that has a unlocked version. it works flawlessly it flashes everything it creates backups without a hitch. you can see for yourself from his logs results .zip - 37.10 KB

at any rate made some changes to the init let try this

xoom2recovery_v0.0.22.apk - 2.29 MB

remember

uninstall old apk,

delete these

/preinstall/recovery;

/system/bin/pre_recovery;

/system/bin/charge_only_mode;

/system/bin/recovery;

/system/bin/load_recovery;

here: is the script to

load_recovery

#!/sbin/sh

######## BootMenu Script
######## Execute [Latest Recovery] Menu

######## Main Script

## /tmp folder can be a link to /data/tmp, bad thing !
[ -L /tmp ] && rm /tmp
mkdir -p /tmp
mkdir -p /res

rm -f /etc
mkdir /etc

# hijack mke2fs & tune2fs CWM3
rm -f /sbin/mke2fs
rm -f /sbin/tune2fs
rm -f /sbin/e2fsck

rm -f /sdcard
mkdir /sdcard

chmod 755 /sbin
chmod 755 /res

cp -r -f /preinstall/recovery/res/* /res/
cp -p -f /preinstall/recovery/sbin/* /sbin/
cp -p -f /preinstall/recovery/script/recoveryexit.sh /sbin/

chmod +rx /sbin/*

rm -f /sbin/postrecoveryboot.sh

cp /preinstall/recovery/recovery.fstab /etc/recovery.fstab

mkdir -p /cache/recovery
touch /cache/recovery/command
touch /cache/recovery/log
touch /cache/recovery/last_log
touch /tmp/recovery.log

#killall adbd

ps | grep -v grep | grep adbd
ret=$?

if [ ! $ret -eq 0 ]; then
chmod 755 /system/bootmenu/script/adbd.sh
/system/bootmenu/script/adbd.sh

# don't use adbd here, will load many android process which locks /system
killall adbd
killall adbd.root
fi

#############################
# mount in /sbin/postrecoveryboot.sh
umount -l /system

usleep 50000
mount -t ext4 -o rw /dev/block/mmcblk1p17 /system

# retry without type & options if not mounted
[ ! -f /system/build.prop ] && mount -o rw /dev/block/mmcblk1p17 /system

# set red led if problem with system
echo 0 > /sys/class/leds/red/brightness
echo 0 > /sys/class/leds/green/brightness
echo 0 > /sys/class/leds/blue/brightness
[ ! -f /system/build.prop ] && echo 1 > /sys/class/leds/red/brightness

#############################

# turn on button backlight (back button is used in CWM Recovery 3.x)
echo 1 > /sys/class/leds/button-backlight/brightness

#chmod 755 /system/bootmenu/script/adbd.sh
#/system/bootmenu/script/adbd.sh

/sbin/recovery

# Post Recovery (back to bootmenu)

# bootmenu support buttons too...
# echo 0 > /sys/class/leds/button-backlight/brightness

# remount system & data if unmounted
[ ! -d /data/data ] && mount -t ext4 /dev/block/mmcblk1p20 /data
[ ! -f /system/build.prop ] && mount -t ext4 /dev/block/mmcblk1p17 /system

if [ -f /system/build.prop ] ; then
echo 0 > /sys/class/leds/red/brightness
echo 0 > /sys/class/leds/green/brightness
echo 1 > /sys/class/leds/blue/brightness
else
echo 1 > /sys/class/leds/red/brightness
echo 0 > /sys/class/leds/green/brightness
echo 0 > /sys/class/leds/blue/brightness
fi
export PATH=/sbin:/system/xbin:/system/bin

exit

and here is the pre_recovery script

#!/system/bin/sh

######## BootMenu Script
######## Execute Pre BootMenu

export PATH=/sbin:/system/xbin:/system/bin

######## Main Script

mount -o remount,rw rootfs /

BB="/sbin/busybox"

# RECOVERY tool includes busybox
cp -f /system/bin/recovery $BB

chmod 755 /sbin
chmod 755 $BB
$BB chown 0.0 $BB
$BB chmod 4755 $BB
$BB chmod +rx /sbin/*

if [ -f /sbin/chmod ]; then
# job already done...
exit 0
fi

# busybox sym link..
for cmd in $($BB --list); do
$BB ln -s /sbin/busybox /sbin/$cmd
done

$BB chmod -R +x /sbin

## missing system files
[ ! -c /dev/tty0 ] && ln -s /dev/tty /dev/tty0

## reduce lcd backlight to save battery
echo 64 > /sys/class/leds/lcd-backlight/brightness

## mount cache
mkdir -p /cache
mkdir -p /preinstall
mount -t ext4 /dev/block/mmcblk1p18	/cache
mount -t ext4 /dev/block/mmcblk1p19	/preinstall

if you see something im missing by all means let me know