diff options
author | RGIB <gibellini.roberto@gmail.com> | 2016-12-17 20:45:00 +0100 |
---|---|---|
committer | RGIB <gibellini.roberto@gmail.com> | 2016-12-17 20:45:00 +0100 |
commit | 4363e702afc56f1ba89c8c1dfe5ee9f894994180 (patch) | |
tree | eec73bbf06ea1f85c9ef56a4e7369841519435a9 | |
parent | d36181cc251534fe41e9da9bc5931c47ebc6f883 (diff) | |
download | device_samsung_i9305-4363e702afc56f1ba89c8c1dfe5ee9f894994180.zip device_samsung_i9305-4363e702afc56f1ba89c8c1dfe5ee9f894994180.tar.gz device_samsung_i9305-4363e702afc56f1ba89c8c1dfe5ee9f894994180.tar.bz2 |
i9305 : fix qmux socket perms & derps
Change-Id: Ibbfc0308a79c8a8edad5d74dac594b69f149eb3a
-rw-r--r-- | rootdir/init.target.rc | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc index e022d26..dbe8f8b 100644 --- a/rootdir/init.target.rc +++ b/rootdir/init.target.rc @@ -48,41 +48,30 @@ on post-fs-data chown system radio /dev/block/platform/dw_mmc/by-name chmod 0775 /dev/block/platform/dw_mmc/by-name -# QCRIL +# qmuxd + mkdir /dev/socket/qmux_radio 2777 radio radio + mkdir /dev/socket/qmux_audio 2777 media audio + mkdir /dev/socket/qmux_gps 2777 gps gps + mkdir /dev/socket/qmux_bluetooth 2777 media bluetooth - 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 - - mkdir /dev/socket/qmux_radio - mkdir /dev/socket/qmux_audio - mkdir /dev/socket/qmux_gps - mkdir /dev/socket/qmux_bluetooth - chmod 2777 /dev/socket/qmux_* - - chown media bluetooth /dev/socket/qmux_bluetooth chmod 0666 /dev/socket/qmux_bluetooth/qmux_connect_socket chown media bluetooth /dev/socket/qmux_bluetooth/qmux_connect_socket - chown gps gps /dev/socket/qmux_gps chmod 0666 /dev/socket/qmux_gps/qmux_connect_socket chown gps gps /dev/socket/qmux_gps/qmux_connect_socket - chown media audio /dev/socket/qmux_audio chmod 0666 /dev/socket/qmux_audio/qmux_connect_socket chown media audio /dev/socket/qmux_audio/qmux_connect_socket - chown radio radio /dev/socket/qmux_radio chmod 0666 /dev/socket/qmux_radio/qmux_connect_socket chown radio radio /dev/socket/qmux_radio/qmux_connect_socket + chmod 0666 /dev/socket/qmux_radio/proxy_qmux_connect_socket chown radio radio /dev/socket/qmux_radio/proxy_qmux_connect_socket + chmod 0666 /dev/socket/qmux_radio/proxy_tether_connect_socket chown radio radio /dev/socket/qmux_radio/proxy_tether_connect_socket - chmod 0666 /dev/hsic* - # Allow qmuxd 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 |