diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 630e8d2..8fc046c 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -48,10 +48,10 @@ on init symlink /sdcard /storage/sdcard0 on early-boot - # set RLIMIT_MEMLOCK to 64MB + # Set RLIMIT_MEMLOCK to 64MB setrlimit 8 67108864 67108864 - # set aggressive read ahead during boot up. + # Set aggressive read ahead during boot up. write /sys/block/dm-0/queue/read_ahead_kb 2048 # Allow subsystem (modem etc) debugging @@ -106,7 +106,7 @@ on boot chown bluetooth bluetooth /sys/class/rfkill/rfkill0/device/extldo chmod 0660 /sys/class/rfkill/rfkill0/device/extldo - #Create QMUX deamon socket area + # Create QMUX deamon socket area mkdir /dev/socket/qmux_radio 0770 radio radio chmod 2770 /dev/socket/qmux_radio mkdir /dev/socket/qmux_audio 0770 media audio @@ -122,20 +122,20 @@ on boot mkdir /persist/misc 0770 system system mkdir /persist/time 0770 system system - #Create NETMGR daemon socket area + # Create NETMGR daemon socket area mkdir /dev/socket/netmgr 0750 radio radio - #Remove SUID bit for iproute2 ip tool + # Remove SUID bit for iproute2 ip tool chmod 0755 /system/bin/ip chmod 0444 /sys/devices/platform/msm_hsusb/gadget/usb_state -# Assign TCP buffer thresholds to be ceiling value of technology maximums -# Increased technology maximums should be reflected here. + # Assign TCP buffer thresholds to be ceiling value of technology maximums + # Increased technology maximums should be reflected here. write /proc/sys/net/core/rmem_max 8388608 write /proc/sys/net/core/wmem_max 8388608 - #To allow interfaces to get v6 address when tethering is enabled + # To allow interfaces to get v6 address when tethering is enabled write /proc/sys/net/ipv6/conf/rmnet0/accept_ra 2 write /proc/sys/net/ipv6/conf/rmnet1/accept_ra 2 write /proc/sys/net/ipv6/conf/rmnet2/accept_ra 2 @@ -188,7 +188,7 @@ on post-fs-data # Create directory for TZ Apps mkdir /data/misc/qsee 0770 system system - # we will remap this as /mnt/sdcard with the sdcard fuse tool + # We will remap this as /mnt/sdcard with the sdcard fuse tool mkdir /data/misc/camera 0770 camera camera mkdir /data/misc/ipa 0700 net_admin net_admin @@ -240,11 +240,10 @@ on post-fs-data chown system system /sys/devices/platform/msm_sdcc.3/polling chown system system /sys/devices/platform/msm_sdcc.4/polling - #Create the symlink to qcn wpa_supplicant folder for ar6000 wpa_supplicant + # Create the symlink to qcn wpa_supplicant folder for ar6000 wpa_supplicant mkdir /data/system 0775 system system - #symlink /data/misc/wifi/wpa_supplicant /data/system/wpa_supplicant - #Create directories for Location services + # Create directories for Location services mkdir /data/misc/location 0770 gps gps mkdir /data/misc/location/mq 0770 gps gps mkdir /data/misc/location/xtwifi 0770 gps gps @@ -252,15 +251,15 @@ on post-fs-data mkdir /data/misc/location/quipc 0770 gps system mkdir /data/misc/location/gsiff 0770 gps gps - #Create directory from IMS services + # Create directory from IMS services mkdir /data/shared 0755 chown system system /data/shared - #Create directory for FOTA + # Create directory for FOTA mkdir /data/fota 0771 chown system system /data/fota - #Create directory for hostapd + # Create directory for hostapd mkdir /data/hostapd 0770 system wifi # Create /data/time folder for time-services @@ -270,13 +269,13 @@ on post-fs-data setprop vold.post_fs_data_done 1 - #Create a folder for SRS to be able to create a usercfg file + # Create a folder for SRS to be able to create a usercfg file mkdir /data/data/media 0770 media media - #Create folder for mm-qcamera-daemon + # Create folder for mm-qcamera-daemon mkdir /data/camera 0770 media camera - #Create PERFD deamon related dirs + # Create PERFD deamon related dirs mkdir /data/system/perfd 0770 root system chmod 2770 /data/system/perfd @@ -301,7 +300,7 @@ on post-fs-data mkdir /data/misc/SelfHost/Running/ 2750 system shell mkdir /data/misc/SelfHost/socket/ 2770 system system - #Create FM dir for patchdownloader + # Create FM dir for patchdownloader mkdir /data/misc/fm 0770 system system chmod 0770 /data/misc/fm @@ -450,10 +449,10 @@ service p2p_supplicant /system/bin/wpa_supplicant \ -I/system/etc/wifi/wpa_supplicant_overlay.conf \ -O/data/misc/wifi/sockets -puse_p2p_group_interface=1 \ -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0 -# we will start as root and wpa_supplicant will switch to user wifi -# after setting up the capabilities required for WEXT -# user wifi -# group wifi inet keystore + # we will start as root and wpa_supplicant will switch to user wifi + # after setting up the capabilities required for WEXT + # user wifi + # group wifi inet keystore class main socket wpa_wlan0 dgram 660 wifi wifi disabled @@ -506,7 +505,7 @@ service msm_irqbal_lb /system/bin/msm_irqbalance -f /system/vendor/etc/msm_irqba on property:vold.decrypt=trigger_restart_min_framework start time_daemon -#start camera server as daemon +# Start camera server as daemon service qcamerasvr /system/bin/mm-qcamera-daemon class late_start user camera @@ -588,4 +587,4 @@ service fingerprintd /system/bin/fingerprintd user system group drmrpc input system socket fpce stream 0660 system system - writepid /dev/cpuset/system-background/tasks + writepid /dev/cpuset/system-background/tasks \ No newline at end of file