diff options
| author | Moyster <oysterized@gmail.com> | 2016-09-11 17:18:46 +0200 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-11 17:18:46 +0200 |
| commit | 63db55c4eba1ed5877ab4ce65df1e07b855d84f0 (patch) | |
| tree | e5940aab82ef9a765e0b4ca548b04df7eb9235e7 | |
| parent | f712e30058f2f74e3163b7c3e12f71cc99a9fd2e (diff) | |
update init files
| -rw-r--r-- | rootdir/init.modem.rc | 11 | ||||
| -rw-r--r-- | rootdir/init.mt6735.rc | 8 | ||||
| -rw-r--r-- | rootdir/ueventd.mt6735.rc | 4 |
3 files changed, 18 insertions, 5 deletions
diff --git a/rootdir/init.modem.rc b/rootdir/init.modem.rc index 1d45fed..019b302 100644 --- a/rootdir/init.modem.rc +++ b/rootdir/init.modem.rc @@ -12,6 +12,17 @@ on post-fs-data mkdir /data/nvram/md 0770 root system chown radio radio /sys/kernel/ccci/boot + chown radio radio /dev/ccci_fs + chown radio radio /dev/ccci_ioctl0 + chown radio radio /dev/ccci_ioctl1 + chown radio radio /dev/ccci_ipc_1220_0 + chown radio radio /dev/ccci_md_log_rx + chown radio radio /dev/ccci_md_log_tx + chown radio radio /dev/ccci_monitor + chown radio radio /dev/ccci_pcm_rx + chown radio radio /dev/ccci_pcm_tx + chown radio radio /dev/ccci_uem_rx + chown radio radio /dev/ccci_uem_tx #SeLinux mkdir /data/ccci_cfg 0770 system radio diff --git a/rootdir/init.mt6735.rc b/rootdir/init.mt6735.rc index 34b6104..11bbb44 100644 --- a/rootdir/init.mt6735.rc +++ b/rootdir/init.mt6735.rc @@ -80,10 +80,6 @@ on fs exec /system/bin/chmod 0660 /dev/block/platform/mtk-msdc.0/by-name/frp write /proc/bootprof "INIT:Mount_END" -on fs - -# mount iso9660 loop@/system/etc/iAmCdRom.iso /mnt/cd-rom ro - on post-fs #change permissions for mediaserver chown root media /proc/clkmgr/mipi_test @@ -138,9 +134,11 @@ on post-fs-data mkdir /data/drm/wv 0770 drm system -# GPS + # GPS mkdir /data/gps_mnl 0771 gps system + mkdir /data/misc/gps 0770 gps gps + # NFC mkdir /data/nfc_socket 0771 nfc radio diff --git a/rootdir/ueventd.mt6735.rc b/rootdir/ueventd.mt6735.rc index cfba10d..72b7116 100644 --- a/rootdir/ueventd.mt6735.rc +++ b/rootdir/ueventd.mt6735.rc @@ -52,6 +52,10 @@ subsystem adf chown gps gps /dev/stpgps chmod 0660 /dev/stpgps + chmod 0660 /dev/ttyC2 + chown system gps /dev/ttyC2 + + /dev/stpwmt 0660 system system /dev/wmtdetect 0660 system system /dev/stpbt 0660 bluetooth radio |
