diff options
-rw-r--r-- | proprietary-files.txt | 3 | ||||
-rw-r--r-- | rootdir/init.qcom.rc | 20 |
2 files changed, 10 insertions, 13 deletions
diff --git a/proprietary-files.txt b/proprietary-files.txt index cbbc902..d6ba972 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -35,9 +35,6 @@ vendor/lib/libadsprpc.so # Bluetooth etc/firmware/BCM4339.hcd -bin/btnvtool -bin/hci_qcomm_init -vendor/lib/libbtnv.so # Camera bin/mm-qcamera-daemon diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index a6fe971..df7d88f 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -57,11 +57,11 @@ on init # Bluetooth address setting setprop ro.bt.bdaddr_path "/data/etc/bluetooth_bdaddr" - chown bluetooth net_bt_stack ro.bt.bdaddr_path + chown bluetooth bluetooth ${ro.bt.bdaddr_path} # bluetooth LPM - chown bluetooth net_bt_stack /proc/bluetooth/sleep/lpm - chown bluetooth net_bt_stack /proc/bluetooth/sleep/btwrite + chown bluetooth bluetooth /proc/bluetooth/sleep/lpm + chown bluetooth bluetooth /proc/bluetooth/sleep/btwrite write /sys/module/qpnp_rtc/parameters/poweron_alarm 1 @@ -124,13 +124,13 @@ on boot write /sys/module/msm_thermal/core_control/enabled 1 write /sys/module/qpnp_power_on/parameters/forcecrash_on 1 - exec /system/bin/btnvtool -O - chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type - chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state + + chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type + chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state chmod 0660 /sys/class/rfkill/rfkill0/state - chown bluetooth net_bt_stack /dev/ttyHS0 + chown bluetooth bluetooth /dev/ttyHS0 chmod 0660 /dev/ttyHS0 - chown bluetooth net_bt_stack /sys/devices/platform/msm_serial_hs.0/clock + chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock chmod 0660 /sys/devices/platform/msm_serial_hs.0/clock # Create QMUX deamon socket area @@ -138,7 +138,7 @@ on boot chmod 2770 /dev/socket/qmux_radio mkdir /dev/socket/qmux_audio 0770 media audio chmod 2770 /dev/socket/qmux_audio - mkdir /dev/socket/qmux_bluetooth 0770 bluetooth net_bt_stack + mkdir /dev/socket/qmux_bluetooth 0770 bluetooth bluetooth chmod 2770 /dev/socket/qmux_bluetooth mkdir /dev/socket/qmux_gps 0770 gps gps chmod 2770 /dev/socket/qmux_gps @@ -397,7 +397,7 @@ on property:init.svc.wpa_supplicant=stopped service qmuxd /system/bin/qmuxd class main user radio - group radio audio bluetooth gps qcom_diag net_bt_stack + group radio audio bluetooth gps qcom_diag # SONY: TrimArea Daemon # Last 2 args: start block(blk size 128k), number of blocks(partitionsize(kb)/128(kb)) |