Created
October 2, 2012 22:23
-
-
Save penk/3823707 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/busybox sh | |
mount -o remount,rw / | |
mount -o remount,rw /system | |
mkdir -p /mnt/rootfs | |
mkdir -p /var/log /tmp /run | |
mv /system/bin/app_process /system/bin/app_process.bak | |
cp -ap /mnt/rootfs/etc/X11 /etc | |
killall zygote | |
killall bootanimation | |
busybox mount /dev/block/mmcblk0p2 /mnt/rootfs/ | |
busybox mount --bind /mnt/rootfs/lib/ /lib/ | |
busybox mount --bind /mnt/rootfs/usr /usr | |
busybox mount --bind /mnt/rootfs/bin /bin | |
busybox mount --bind /mnt/rootfs/sbin /sbin | |
busybox mount --bind /mnt/rootfs/tmp /tmp | |
busybox mount --bind /mnt/rootfs/var /var | |
ln -s /dev/graphics/fb0 /dev/fb0 | |
Xorg & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment