vendor: init: Update qcom.rc to LA.VENDOR.13.2.0.r1-13100-KAILUA.0
Change-Id: I06c256f38f1e1fe5f8596ba216b28f150612842f Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
This commit is contained in:
parent
987ae85dae
commit
de0452f480
|
@ -24,6 +24,40 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
# Changes from Qualcomm Innovation Center are provided under the following
|
||||
# license:
|
||||
#
|
||||
# Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted (subject to the limitations in the
|
||||
# disclaimer below) 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 Qualcomm Innovation Center, Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
|
||||
# GRANTED BY THIS LICENSE. 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 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
# IN NO EVENT SHALL THE COPYRIGHT HOLDER 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.
|
||||
|
||||
import /vendor/etc/init/hw/init.qti.ufs.rc
|
||||
import /vendor/etc/init/hw/init.qcom.usb.rc
|
||||
|
@ -168,7 +202,9 @@ on boot
|
|||
# bond0 used by FST Manager
|
||||
chown wifi wifi /sys/class/net/bond0/bonding/queue_id
|
||||
|
||||
# Allow access to dload sysfs node
|
||||
# Allow access to emmc rawdump block partition and dload sysfs node
|
||||
chown root system /dev/block/bootdevice/by-name/rawdump
|
||||
chmod 0660 /dev/block/bootdevice/by-name/rawdump
|
||||
chown root system /sys/kernel/dload/emmc_dload
|
||||
chmod 0660 /sys/kernel/dload/emmc_dload
|
||||
chown root system /dev/block/bootdevice/by-name/ramdump
|
||||
|
@ -181,6 +217,16 @@ on boot
|
|||
chown root graphics /sys/module/msm_drm/parameters/dsi_display1
|
||||
chmod 0640 /sys/module/msm_drm/parameters/dsi_display1
|
||||
|
||||
chown root system /sys/kernel/qts/primary/trusted_touch_enable
|
||||
chown root system /sys/kernel/qts/primary/trusted_touch_event
|
||||
chown root system /sys/kernel/qts/primary/trusted_touch_type
|
||||
chown root system /sys/kernel/qts/primary/trusted_touch_device_path
|
||||
|
||||
chown root system /sys/kernel/qts/secondary/trusted_touch_enable
|
||||
chown root system /sys/kernel/qts/secondary/trusted_touch_event
|
||||
chown root system /sys/kernel/qts/secondary/trusted_touch_type
|
||||
chown root system /sys/kernel/qts/secondary/trusted_touch_device_path
|
||||
|
||||
chown system system /sys/class/backlight/panel0-backlight/brightness
|
||||
chown system system /sys/class/backlight/panel0-backlight/max_brightness
|
||||
chown system system /sys/class/backlight/panel1-backlight/brightness
|
||||
|
@ -267,6 +313,7 @@ on post-fs-data
|
|||
|
||||
# Create directory used by audio subsystem
|
||||
mkdir /data/vendor/audio 0770 audio audio
|
||||
mkdir /data/vendor/audio_dsp 0770 media media
|
||||
|
||||
# Create directory for audio delta files
|
||||
mkdir /data/vendor/audio/acdbdata 0770 media audio
|
||||
|
@ -298,6 +345,16 @@ on post-fs-data
|
|||
#Create the symlink to qcn wpa_supplicant folder for ar6000 wpa_supplicant
|
||||
#symlink /data/misc/wifi/wpa_supplicant /data/system/wpa_supplicant
|
||||
|
||||
#Create directories for Location services
|
||||
mkdir /data/vendor/location 0770 gps gps
|
||||
mkdir /data/vendor/location/mq 0770 gps gps
|
||||
mkdir /data/vendor/location/xtwifi 0770 gps gps
|
||||
mkdir /dev/socket/location 0770 gps gps
|
||||
mkdir /dev/socket/location/mq 0770 gps gps
|
||||
mkdir /dev/socket/location/xtra 0770 gps gps
|
||||
mkdir /dev/socket/location/ehub 0770 gps gps
|
||||
mkdir /dev/socket/location/dgnss 0770 gps gps
|
||||
|
||||
#Create directories for wifihal services
|
||||
mkdir /dev/socket/wifihal 0770 wifi wifi
|
||||
chmod 2770 /dev/socket/wifihal
|
||||
|
@ -519,22 +576,6 @@ service qmiproxy /system/bin/qmiproxy
|
|||
group radio diag
|
||||
disabled
|
||||
|
||||
service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
|
||||
-O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 -dd \
|
||||
-g@android:vendor_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
|
||||
interface aidl android.hardware.wifi.supplicant.ISupplicant/default
|
||||
interface vendor.qti.hardware.wifi.supplicant@2.0::ISupplicantVendor default
|
||||
interface vendor.qti.hardware.wifi.supplicant@2.1::ISupplicantVendor default
|
||||
interface vendor.qti.hardware.wifi.supplicant@2.2::ISupplicantVendor default
|
||||
class main
|
||||
socket vendor_wpa_wlan0 dgram 660 wifi wifi
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.wigig_supplicant /vendor/bin/hw/wpa_supplicant \
|
||||
-iwigig0 -Dnl80211 -c/data/vendor/wifi/wigig_supplicant.conf \
|
||||
-m/data/vendor/wifi/wigig_p2p_supplicant.conf \
|
||||
|
@ -672,6 +713,11 @@ service mlid /vendor/bin/mlid
|
|||
group gps
|
||||
socket mlid stream 0666 gps gps
|
||||
|
||||
service loc_launcher /system/vendor/bin/loc_launcher
|
||||
class late_start
|
||||
user gps
|
||||
group gps
|
||||
|
||||
service qcom-sh /vendor/bin/init.qcom.sh
|
||||
class late_start
|
||||
user root
|
||||
|
@ -759,13 +805,6 @@ service profiler_daemon /system/bin/profiler_daemon
|
|||
group root
|
||||
disabled
|
||||
|
||||
service charger /system/bin/charger
|
||||
class charger
|
||||
user system
|
||||
group system graphics input
|
||||
capabilities SYS_BOOT
|
||||
seclabel u:r:charger:s0
|
||||
|
||||
service vendor.ssr_diag /system/vendor/bin/ssr_diag
|
||||
class late_start
|
||||
user system
|
||||
|
|
Loading…
Reference in New Issue