diff options
-rwxr-xr-x | rootdir/init.target.rc | 42 |
1 files changed, 26 insertions, 16 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc index 3cd57dd..f3db5e0 100755 --- a/rootdir/init.target.rc +++ b/rootdir/init.target.rc @@ -1,12 +1,16 @@ +############################ on init +############################ - export LD_SHIM_LIBS /system/lib/libril.so|libsamsung_symbols.so:/system/bin/gpsd|libsamsung_symbols.so + export LD_SHIM_LIBS /system/bin/gpsd|libsamsung_symbols.so:/system/bin/at_distributor|libsamsung_symbols.so:/system/bin/smdexe|libsamsung_symbols.so # Vibetonz export VIBE_PIPE_PATH /dev/pipes mkdir /dev/pipes 0771 shell shell +############################ on post-fs-data +############################ # for AT distributor chown system radio /sys/module/cpuidle_exynos4/parameters/enable_mask @@ -17,7 +21,7 @@ on post-fs-data write /data/system/yas-backup.cfg 0 # gpsd - mkdir /data/system/gps 771 system system + mkdir /data/system/gps 775 root root write /data/system/gps/.gpslogd.pipe 0 write /data/system/gps/.gpsd.lock 0 write /data/system/gps/.gps.interface.pipe.to_gpsd 0 @@ -103,10 +107,9 @@ on post-fs-data write /sys/class/sec/sec_key/wakeup_keys 116,172,544 # IPC sysfs - chown radio radio /sys/devices/virtual/misc/multipdp/waketime + chown system system /sys/devices/virtual/misc/multipdp/waketime symlink /dev/block/mmcblk0p7 /dev/mbin0 -# <Sensors & NFC> # Input Events chown system input /sys/class/input/input2/delay chown system input /sys/class/input/input3/delay @@ -117,6 +120,7 @@ on post-fs-data chown system input /sys/class/input/input7/delay chown system input /sys/class/input/input8/delay chown system input /sys/class/input/input9/delay + # Magnetic_sensor chmod 0777 /dev/i2c-10 chown compass input /sys/class/input/input6/offsets @@ -134,6 +138,7 @@ on post-fs-data chown system input /sys/class/input/input6/status chown system input /sys/class/input/input6/wake chown system input /sys/class/input/input6/position + # Magnetic_sensor chown compass input /sys/class/input/input5/offsets chown compass input /sys/class/input/input5/dynamic_matrix @@ -165,9 +170,11 @@ on post-fs-data restorecon /data/system/yas.cfg restorecon /data/system/yas-backup.cfg restorecon_recursive /data/system/gps - restorecon_recursive /efs/bluetooth + restorecon_recursive /efs +############################ on boot +############################ # make param block device link for SysScope symlink /dev/block/mmcblk0p7 /dev/block/param @@ -188,46 +195,49 @@ on property:sys.boot_completed=1 write /sys/power/cpufreq_min_limit -1 # SISO-ANDR_PERF :: END +############################ +############################ + service at_distributor /system/bin/at_distributor class main user root - group radio log + group system radio inet log cache misc audio net_raw sdcard_rw seclabel u:r:at_distributor:s0 service gpsd /system/bin/gpsd -c /system/etc/gps.xml class main - socket gps seqpacket 0660 gps system - user gps - group system inet sdcard_rw + socket gps seqpacket 0775 root root + user root + group system radio inet log cache misc audio net_raw sdcard_rw ioprio be 0 seclabel u:r:gpsd:s0 service cpboot-daemon /sbin/cbd -d -p7 class main user root - group system radio cache inet misc audio sdcard_rw log sdcard_r + group system radio inet log cache misc audio net_raw sdcard_rw seclabel u:r:cpboot-daemon:s0 service orientationd /system/bin/orientationd class main - user compass - group input + user root + group system radio inet log input cache misc net_raw sdcard_rw seclabel u:r:orientationd:s0 service geomagneticd /system/bin/geomagneticd class main - user compass - group system input + user root + group system radio inet log input cache misc net_raw sdcard_rw seclabel u:r:geomagneticd:s0 service SMD-daemon /system/bin/smdexe class main user root - group system radio inet net_raw + group system radio inet log cache misc audio net_raw sdcard_rw seclabel u:r:SMD-daemon:s0 service DR-daemon /system/bin/ddexe class main user root - group system radio inet net_raw + group system radio inet log cache misc audio net_raw sdcard_rw seclabel u:r:DR-daemon:s0 |