


#!/system/bin/sh
if [ ! -e /data/recovery.cpio ]; then
exit 0
fi
mkdir /data/recovery
if ! mke2fs -t ext4 /dev/block/nandf; then
mount -t ext4 /dev/block/nandf /data/recovery
busybox rm -fr /data/recovery/*
else
mount -t ext4 /dev/block/nandf /data/recovery
fi
(cd /data/recovery && busybox cpio -idmu < /data/recovery.img)
umount /data/recovery
rmdir /data/recovery
rm /data/recovery.img





suggsy89 wrote:Hi, ive just found out after a long night on this, you will not and cannot flash back stock recovery after flashing Mitres' Clockworkmod Recovery.
Basicly, when you install CWM this way on Gingerbread it becomes part of the system, and there is no way on earth to remove it... it uses .cpio file extension which is compressed and when you install it, it gets decompressed into the system.
Alternative? Don't ask....
Goodnight! (for now)


Return to Scroll EXCEL - General Discussions
Users browsing this forum: No registered users and 0 guests