Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
- #
- # Redistribution and use in source and binary forms, with or without
- # modification, are permitted provided that the following conditions are met:
- # * Redistributions of source code must retain the above copyright
- # notice, this list of conditions and the following disclaimer.
- # * Redistributions in binary form must reproduce the above copyright
- # notice, this list of conditions and the following disclaimer in the
- # documentation and/or other materials provided with the distribution.
- # * Neither the name of Code Aurora nor
- # the names of its contributors may be used to endorse or promote
- # products derived from this software without specific prior written
- # permission.
- #
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- # IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- # NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
- # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
- # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- #
- on boot-pause
- exec system/bin/battery_charging
- on early-boot
- insmod /system/lib/modules/nim_driver.ko
- on boot
- mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
- chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
- chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
- chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
- chown bluetooth bluetooth /proc/bluetooth/sleep/proto
- chown system system /sys/module/sco/parameters/disable_esco
- chmod 0660 /sys/module/bluetooth_power/parameters/power
- chmod 0660 /sys/class/rfkill/rfkill0/state
- chmod 0660 /proc/bluetooth/sleep/proto
- chown bluetooth bluetooth /dev/ttyHS0
- chmod 0660 /dev/ttyHS0
- chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock
- chmod 0660 /sys/devices/platform/msm_serial_hs.0/clock
- chown root root /dev/ttyHS1
- chmod 0666 /dev/ttyHS1
- chown root root /sys/devices/platform/msm_serial_hs.1/clock
- chmod 0666 /sys/devices/platform/msm_serial_hs.1/clock
- insmod /system/lib/modules/felica.ko
- # mod 2011/0124 felica custum
- mkdir /data/system 0775 system system
- exec system/bin/felicastartup
- # mod 2011/0124 felica custum
- # Create the directories used by the Wireless subsystem
- mkdir /data/misc/wifi 0770 wifi wifi
- mkdir /data/misc/wifi/sockets 0770 wifi wifi
- mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
- mkdir /data/misc/dhcp 0770 dhcp dhcp
- chown dhcp dhcp /data/misc/dhcp
- symlink /persist/qcom_wlan_nv.bin /etc/firmware/wlan/qcom_wlan_nv.bin
- setprop wifi.interface wlan0
- # Create directories for wiper services
- mkdir /data/wpstiles/ 0777 shell
- mkdir /etc/wiper 0777 location qcom_oncrpc
- # Create directories for gpsone_daemon services
- mkdir /data/gpsone_d 0770 gpsone_d qcom_oncrpc
- mkdir /etc/gpsone_d 0770 gpsone_d qcom_oncrpc
- chown system system /sys/class/leds/indicator-red-led/brightness
- chown system system /sys/class/leds/indicator-green-led/brightness
- chown system system /sys/class/leds/flash-movie-led/brightness
- chown system system /sys/class/leds/flash-still-led/brightness
- chown system system /sys/class/leds/torch-led/brightness
- chown system system /sys/class/leds/prevent-peeping-led/brightness
- chown system system /sys/class/leds/rgb-patern/brightness
- chown system system /sys/class/leds/rgb-trgb/brightness
- chown system system /sys/class/leds/rgb-rgb1os/brightness
- chmod 666 /sys/class/leds/indicator-red-led/brightness
- chmod 666 /sys/class/leds/indicator-green-led/brightness
- chmod 666 /sys/class/leds/flash-movie-led/brightness
- chmod 666 /sys/class/leds/flash-still-led/brightness
- chmod 666 /sys/class/leds/torch-led/brightness
- chmod 666 /sys/class/leds/prevent-peeping-led/brightness
- #Set SUID bit for usbhub
- chmod 4755 /system/bin/usbhub
- chmod 755 /system/bin/usbhub_init
- #Set SUID bit for diag_mdlog
- chmod 4755 /system/bin/diag_mdlog
- #Provide the access to hostapd.conf only to root and group
- chmod 0660 /data/hostapd/hostapd.conf
- # Export GPIO56 for fusion targets to enable/disable hub
- service usbhub_init /system/bin/usbhub_init
- user root
- disabled
- oneshot
- on property:ro.product.device=msm7630_fusion
- start usbhub_init
- on property:init.svc.wpa_supplicant=stopped
- stop dhcpcd
- on property:init.svc.bluetoothd=running
- write /sys/devices/virtual/bluetooth/hci0/idle_timeout 7000
- start btwlancoex
- on property:init.svc.bluetoothd=stopped
- stop btwlancoex
- service cnd /system/bin/cnd
- socket cnd stream 660 root radio
- service rmt_storage /system/bin/rmt_storage /dev/block/mmcblk0p10 /dev/block/mmcblk0p11
- user root
- disabled
- on property:ro.emmc=1
- start rmt_storage
- service hciattach /system/bin/sh /system/etc/init.qcom.bt.sh
- user bluetooth
- group qcom_oncrpc bluetooth net_bt_admin
- disabled
- oneshot
- service port-bridge /system/bin/port-bridge /dev/smd0 /dev/ttyGS0
- # add s [Nx9320-PR1-05269]
- on property:nec.portbridge.on=1
- start port-bridge
- on property:nec.portbridge.on=0
- stop port-bridge
- # add e [Nx9320-PR1-05269]
- service qmuxd /system/bin/qmuxd
- service netmgrd /system/bin/netmgrd
- on property:ro.use_data_netmgrd=false
- # netmgr not supported on specific target
- stop netmgrd
- service btwlancoex /system/bin/sh /system/etc/init.qcom.coex.sh
- user shell
- group bluetooth net_bt_admin
- disabled
- oneshot
- service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant -Dwext -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
- user root
- group wifi inet
- socket wpa_wlan0 dgram 660 wifi wifi
- disabled
- oneshot
- service dhcpcd /system/bin/dhcpcd -BKL wlan0
- disabled
- oneshot
- service wiperiface /system/bin/wiperiface
- user location
- group qcom_oncrpc
- oneshot
- service gpsone_daemon /system/bin/gpsone_daemon
- user root
- group qcom_oncrpc
- disabled
- service fm_dl /system/bin/sh /system/etc/init.qcom.fm.sh
- user system
- group system qcom_oncrpc
- disabled
- oneshot
- service qcom-sh /system/bin/sh /init.qcom.sh
- user root
- oneshot
- service qcom-post-boot /system/bin/sh /system/etc/init.qcom.post_boot.sh
- user root
- disabled
- oneshot
- service qcom-wifi /system/bin/sh /system/etc/init.qcom.wifi.sh
- user root
- disabled
- oneshot
- on property:init.svc.bootanim=stopped
- start qcom-post-boot
- start qcom-wifi
- service ckpd /system/bin/CKPD-daemon
- disabled
- onrestart /system/bin/log -t RIL-CKPD -p w "CKPD daemon restarted"
- on property:ro.service.ckpd.enable=1
- start ckpd
- service hdmid /system/bin/hdmid
- socket hdmid stream 0660 root system graphics
- disabled
- on property:ro.hdmi.enable=true
- start hdmid
- service hostapd /system/bin/hostapd -dddd /data/hostapd/hostapd.conf
- user root
- group root
- oneshot
- disabled
- service ds_fmc_appd /system/bin/ds_fmc_appd -p "rmnet0" -D
- group radio
- disabled
- oneshot
- on property:persist.data.ds_fmc_app.mode=1
- start ds_fmc_appd
- service ims_regmanager /system/bin/exe-ims-regmanagerprocessnative
- user system
- group qcom_oncrpc net_bt_admin inet radio wifi
- disabled
- on property:persist.ims.regmanager.mode=1
- start ims_regmanager
- on property:ro.data.large_tcp_window_size=true
- # Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB)
- write /proc/sys/net/ipv4/tcp_adv_win_scale 1
- service thermald /system/bin/thermald
- user root
- group root
- disabled
- on property:persist.thermal.monitor=true
- start thermald
- #NEC-Casio Mobile DIAG Daemon
- service ncmdiagd /system/bin/ncmdiagd
- service ms-monitor /system/bin/ms-monitor
- disabled
- oneshot
- on property:ro.debuggable=1
- start ms-monitor
- # ADD-S 11/03/19
- service init_logcat /system/bin/sh /system/etc/init.logcat.sh
- user root
- oneshot
- # ADD-E 11/03/19
- service start_logcat /system/bin/start_logcat /data/local/log 16 4
- # ADD-S 11/03/19
- user system
- group system log shell qcom_oncrpc
- # ADD-E 11/03/19
- oneshot
- #on property:ro.debuggable=1
- # start start_logcat
- service keyscenario /system/bin/keyscenario
- disabled
- oneshot
- on property:ro.debuggable=1
- start keyscenario
- service driver_config /system/bin/driver_config
- oneshot
- service usb-nv /system/bin/usb-nv
- oneshot
- #NEC-Casio Mobile Camera Daemon
- service camera_daemon /system/bin/camera_daemon
- oneshot
- # Nx9320-PR1-04093 Start Add 2010/10/20 FBU_HDN_OTASP
- service devstatservice /system/bin/devstatservice
- user system
- group qcom_oncrpc
- disable
- oneshot
- on property:dev.bootcomplete=1
- start devstatservice
- # Nx9320-PR1-04093 End Add 2010/10/20 FBU_HDN_OTASP
- # 2011.01.07 Add MNK-CR2-00666
- service wlan_raex_svc /system/bin/Rakuex
- disabled
- oneshot
- # 2011.01.14 Add MNK-CR2-00752
- # WPSEX Start Add
- service Wpsex /system/bin/Wpsex
- disabled
- oneshot
- # WPSEX End Add
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement