forked from sophiehuiberts/Bootimg-scripts
-
Notifications
You must be signed in to change notification settings - Fork 5
/
init.msm7627a.rc
executable file
·42 lines (32 loc) · 1.57 KB
/
init.msm7627a.rc
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
38
39
40
41
42
#/*< DTS2012020207408 yanzhijun 20120202 begin */
#add something only for msm7627a platform
#/* < DTS2012031506621 lishubin 20120321 begin */
on emmc-fs
# mount mmc partitions
wait /dev/block/mmcblk0p17
#/*< DTS2012021003176 yanzhijun 20120210 begin */
# merge DTS2011110902259 yanzhijun
mount ext4 /dev/block/mmcblk0p17 /system ro barrier=1,nodelalloc
wait /dev/block/mmcblk0p18
#del DTS2011100400385 for -fy will make large logs to use the ext4 volume
#/* < DTS2012081701260 lizhigang 20120815 begin */
# delete one line, e2fsck has called in init.rc
#/* DTS2012081701260 lizhigang 20120815 end > */
#/* < DTS2012081701260 lizhigang 20120815 begin */
mount ext4 /dev/block/mmcblk0p18 /data nosuid nodev barrier=1
#/* DTS2012081701260 lizhigang 20120815 end > */
mount ext4 /dev/block/mmcblk0p15 /cache nosuid nodev barrier=1,nodelalloc
#/* DTS2012021003176 yanzhijun 20120210 end >*/
#/* < DTS2011062804229 zengqiangsheng 20110630 begin */
exec /system/bin/iqcopy /system/etc/iq.img.vfat /data/iq.img.vfat
chown system system /data/iq.img.vfat
mkdir /data/app_iq_archive
chown system system /data/app_iq_archive
chmod 0640 /data/app_iq_archive
mount vfat loop@/data/iq.img.vfat /data/app_iq_archive rw nosuid nodev
#/* DTS2011062804229 zengqiangsheng 20110630 end > */
# /* <DTS2012021001488 yuanjintao 20120210 begin */
write /sys/module/block2mtd/parameters/block2mtd /dev/block/mmcblk0p14
#/* DTS2012021001488 yuanjintao 20120210 end> */
#/* DTS2012031506621 lishubin 20120321 end > */
#/* DTS2012020207408 yanzhijun 20120202 end >*/