#!/system/bin/busybox sh

	/system/bin/charger

	cat /dev/input/event2 > /dev/keycheck&
	sleep 3
	kill -9 $!
	if [ -s /dev/keycheck ]
	then

	# remount rootfs rw
	mount -o remount,rw rootfs /

	# Umount MTDs
	umount -l /cache
	umount -l /data

	# Mount recovery partition
	cd /
	rm -r /sbin
	rm -f etc
	tar -xf /system/bin/xrecovery.tar

	# Umount /system
	umount -l /system

	# chroot
	chroot / /init

	fi
	
	# Continue booting
	exit
