-
Notifications
You must be signed in to change notification settings - Fork 0
/
boot-cm.sh
38 lines (36 loc) · 639 Bytes
/
boot-cm.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh
su
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
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
start