diff options
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.target.rc | 50 |
1 files changed, 40 insertions, 10 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc index 6060a85..c7e2426 100644 --- a/rootdir/init.target.rc +++ b/rootdir/init.target.rc @@ -48,16 +48,6 @@ on post-fs-data chown system radio /dev/block/platform/dw_mmc/by-name chmod 0775 /dev/block/platform/dw_mmc/by-name -# QCRIL - -# Create QMUX deamon socket area - mkdir /dev/socket/qmux_radio 0777 radio radio - chmod 2777 /dev/socket/qmux_radio - mkdir /dev/socket/qmux_audio 0770 media audio - chmod 2770 /dev/socket/qmux_audio - mkdir /dev/socket/qmux_gps 0770 gps gps - chmod 2770 /dev/socket/qmux_gps - # Allow QMUX daemon to assign port open wait time chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait chmod 666 /sys/devices/virtual/hsicctl/hsicctl0/modem_wait @@ -97,13 +87,53 @@ on post-fs-data mkdir /data/misc/location/mq 0770 gps gps mkdir /data/misc/location/xtwifi 0770 gps gps + write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1 + # SISO-ANDR_PERF :: START Changing scheduler to cfq and reseting cpu min freq to -1 after boot complete on property:sys.boot_completed=1 write /sys/block/mmcblk0/queue/scheduler cfq write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor pegasusq write /sys/power/cpufreq_min_limit -1 + write /proc/sys/net/ipv6/conf/rmnet_usb0/accept_ra 2 + write /proc/sys/net/ipv6/conf/rmnet_usb1/accept_ra 2 + write /proc/sys/net/ipv6/conf/rmnet_usb2/accept_ra 2 + write /proc/sys/net/ipv6/conf/rmnet_usb3/accept_ra 2 # SISO-ANDR_PERF :: END +# QCRIL + + chown system radio /sys/power/wake_lock + chmod 0666 /sys/power/wake_lock + + chown system radio /sys/android_power/acquire_partial_wake_lock + chmod 0666 /sys/android_power/acquire_partial_wake_lock + + chmod 2777 /dev/socket/qmux_gps + chown system gps /dev/socket/qmux_gps + + chmod 0666 /dev/socket/qmux_gps/qmux_connect_socket + chown system gps /dev/socket/qmux_gps/qmux_connect_socket + + chmod 2777 /dev/socket/qmux_audio + chown system audio /dev/socket/qmux_audio + + chmod 0666 /dev/socket/qmux_audio/qmux_connect_socket + chown system audio /dev/socket/qmux_audio/qmux_connect_socket + + chmod 2777 /dev/socket/qmux_radio + chown system radio /dev/socket/qmux_radio + + chmod 0666 /dev/socket/qmux_radio/qmux_connect_socket + chown system radio /dev/socket/qmux_radio/qmux_connect_socket + + chmod 0666 /dev/socket/qmux_radio/proxy_qmux_connect_socket + chown system radio /dev/socket/qmux_radio/proxy_qmux_connect_socket + + chmod 0666 /dev/socket/qmux_radio/proxy_tether_connect_socket + chown system radio /dev/socket/qmux_radio/proxy_tether_connect_socket + + chmod 0666 /dev/hsic* + on property:init.svc.macloader=stopped chown system root /data/.cid.info chmod 0666 /data/.cid.info |