Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

vision: Add script for starting CM from shell

Simple script that mounts an ext3 partition on the sdcard and restarts
userspace in it.

Just a way to get CM to run with temp root.

Change-Id: I0b9d078191f726ea9de76b1cf6a2cf5979bc0b2c
  • Loading branch information...
commit 28fd5e905c86a9daf9d6a671f442625dc3cf44cb 1 parent e680564
@cyanogen cyanogen authored
Showing with 38 additions and 0 deletions.
  1. +38 −0
@@ -0,0 +1,38 @@
+mount -o remount,rw rootfs /
+mkdir /cm-system
+mount -t ext3 -o noatime,data=ordered /dev/block/mmcblk1p2 /cm-system
+chmod 4755 /cm-system/xbin/su
+stop servicemanager
+stop vold
+stop netd
+stop media
+stop wpa_supplicant
+stop dhcpcd
+stop debuggerd
+stop dbus
+stop installd
+stop keystore
+stop akmd
+stop rmt_storage
+pkill htc_ebdlogd
+pkill logcat2
+mount -o bind -t ext3 /cm-system /system
+mount -o bind -t ext3 /system/data /data
+chmod 777 /cache
+chmod 777 /cache/dalvik-cache
+start rmt_storage
+start htc_ebdlogd
+start servicemanager
+start vold
+start netd
+start dbus
+start installd
+start keystore
+start akmd
+start media
Please sign in to comment.
Something went wrong with that request. Please try again.