aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir/init.target.rc
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-11-29 00:38:19 +0100
committerRGIB <gibellini.roberto@gmail.com>2016-11-29 00:38:19 +0100
commit21ab75dbbec3cc2023ac32e1c31b6eb6288bcd0c (patch)
tree82623095b6b3f2b8854c7b2afc44ba85f1950456 /rootdir/init.target.rc
parent8695117a9279ee2f7c1715ebeaf249c526a1b7bc (diff)
downloaddevice_samsung_i9305-21ab75dbbec3cc2023ac32e1c31b6eb6288bcd0c.zip
device_samsung_i9305-21ab75dbbec3cc2023ac32e1c31b6eb6288bcd0c.tar.gz
device_samsung_i9305-21ab75dbbec3cc2023ac32e1c31b6eb6288bcd0c.tar.bz2
i9305 : update selinux and fstab to avoid bootloop
Change-Id: Id3b4503f328b4dcc353cec4cf7b8d9d30c4e5e97
Diffstat (limited to 'rootdir/init.target.rc')
-rw-r--r--rootdir/init.target.rc26
1 files changed, 13 insertions, 13 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index 6593331..6060a85 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -41,6 +41,10 @@ on init
on post-fs-data
#########################################################################################################################
+# wifi
+ write /data/.cid.info 0
+ restorecon /data/.cid.info
+
chown system radio /dev/block/platform/dw_mmc/by-name
chmod 0775 /dev/block/platform/dw_mmc/by-name
@@ -67,20 +71,10 @@ on post-fs-data
write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1
# Restorecon
- restorecon /efs/bluetooth/bt_addr
- restorecon /efs/FactoryApp/keystr
- restorecon /efs/FactoryApp/factorymode
- restorecon /efs/FactoryApp/serial_no
- restorecon /efs/imei/mps_code.dat
- restorecon /efs/wifi/.mac.info
- restorecon /tombstones
- restorecon /tombstones/qcks
- restorecon /tombstones/qcks/acdb.bin
- restorecon /tombstones/qcks/efs1.bin
- restorecon /tombstones/qcks/efs2.bin
- restorecon /tombstones/qcks/efs3.bin
- restorecon /tombstones/qcks/temp.dump
+ restorecon_recursive /efs
+ restorecon_recursive /tombstones
restorecon /data/.cid.info
+ restorecon /data/ISP_CV
# Waketime fot fast dormancy
chown system radio /sys/devices/platform/mdm_hsic_pm0/waketime
@@ -110,6 +104,12 @@ on property:sys.boot_completed=1
write /sys/power/cpufreq_min_limit -1
# SISO-ANDR_PERF :: END
+on property:init.svc.macloader=stopped
+ chown system root /data/.cid.info
+ chmod 0666 /data/.cid.info
+ chown system root /data/.rev
+ chmod 0666 /data/.rev
+
#########################################################################################################################
on boot
#########################################################################################################################