mirror of
https://github.com/BobTheBlinker/android_device_motorola_sm6375-common.git
synced 2026-10-29 11:11:46 -04:00
sm3675-common: Selectively update rootdir from fogos
Change-Id: Ia069475f135817d77e41d6588015aee17979b338
This commit is contained in:
parent
eb142b5b60
commit
09b9f7afa1
10 changed files with 197 additions and 204 deletions
|
|
@ -359,10 +359,6 @@ set_ro_hw_properties_upgrade()
|
|||
utag_value=$(cat $utag_path/ascii)
|
||||
setprop $prop_prefix$utag_name "$utag_value"
|
||||
notice "ro.vendor.hw.$utag_name='$utag_value'"
|
||||
|
||||
if [ "$utag_name" = "dualsim" ] && [ "$utag_value" = "true" ]; then
|
||||
setprop persist.vendor.radio.multisim.config dsds
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
|
@ -388,10 +384,6 @@ set_ro_hw_properties()
|
|||
utag_value=$(cat $utag_path/ascii)
|
||||
setprop $prop_prefix$utag_name "$utag_value"
|
||||
notice "$prop_prefix$utag_name='$utag_value'"
|
||||
|
||||
if [ "$utag_name" = "dualsim" ] && [ "$utag_value" = "true" ]; then
|
||||
setprop persist.vendor.radio.multisim.config dsds
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
|
@ -728,7 +720,7 @@ if [ "$xml_version" != "$version_fs" ]; then
|
|||
[ -d $hw_mp/$ver_utag ] && $(echo "$xml_version" > $hw_mp/$ver_utag/ascii)
|
||||
fi
|
||||
|
||||
#set_ro_vendor_incremental &
|
||||
set_ro_vendor_incremental &
|
||||
|
||||
set_ro_hw_properties
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,10 @@
|
|||
# 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.
|
||||
#SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
#
|
||||
|
||||
export PATH=/vendor/bin
|
||||
|
||||
|
|
@ -370,11 +374,11 @@ case "$target" in
|
|||
setprop vendor.display.enhance_idle_time 1
|
||||
setprop vendor.netflix.bsp_rev ""
|
||||
;;
|
||||
518)
|
||||
518|561|586)
|
||||
setprop vendor.media.target.version 3
|
||||
;;
|
||||
*)
|
||||
# default case is for bengal
|
||||
setprop vendor.netflix.bsp_rev "Q6115-31409-1"
|
||||
585)
|
||||
setprop vendor.media.target.version 4
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -26,6 +26,10 @@
|
|||
# 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.
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
#
|
||||
|
||||
function 8953_sched_dcvs_eas()
|
||||
{
|
||||
|
|
@ -1060,7 +1064,8 @@ else
|
|||
# wsf Range : 1..1000 So set to bare minimum value 1.
|
||||
echo 1 > /proc/sys/vm/watermark_scale_factor
|
||||
|
||||
configure_zram_parameters
|
||||
# remove zram config here due to already configed in init.mmi
|
||||
#configure_zram_parameters
|
||||
|
||||
configure_read_ahead_kb_values
|
||||
|
||||
|
|
@ -1093,6 +1098,13 @@ function start_hbtp()
|
|||
fi
|
||||
}
|
||||
|
||||
case "$target" in
|
||||
"holi" )
|
||||
echo 0-3 > /dev/cpuset/background/cpus
|
||||
echo 1 > /sys/module/msm_show_resume_irq/parameters/debug_mask
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$target" in
|
||||
"msm7201a_ffa" | "msm7201a_surf" | "msm7627_ffa" | "msm7627_6x" | "msm7627a" | "msm7627_surf" | \
|
||||
"qsd8250_surf" | "qsd8250_ffa" | "msm7630_surf" | "msm7630_1x" | "msm7630_fusion" | "qsd8650a_st1x")
|
||||
|
|
@ -1101,6 +1113,31 @@ case "$target" in
|
|||
;;
|
||||
esac
|
||||
|
||||
# For Kodiak target for which cdsp is defective, we read remote cdsp status from fastrpc node
|
||||
# and if its value is false we disable cdsp daemon by setting the cdsp disable propety to true
|
||||
case "$target" in
|
||||
"lahaina")
|
||||
if [ -f /sys/devices/soc0/chip_family ]; then
|
||||
chip_family_id=`cat /sys/devices/soc0/chip_family`
|
||||
else
|
||||
chip_family_id=-1
|
||||
fi
|
||||
|
||||
case "$chip_family_id" in
|
||||
"0x76")
|
||||
if [ -f /sys/devices/platform/soc/soc:qcom,msm_fastrpc/remote_cdsp_status ]; then
|
||||
remote_cdsp_status=`cat /sys/devices/platform/soc/soc:qcom,msm_fastrpc/remote_cdsp_status`
|
||||
else
|
||||
remote_cdsp_status=-1
|
||||
fi
|
||||
|
||||
if [ $remote_cdsp_status -eq 0 ]; then
|
||||
setprop vendor.fastrpc.disable.cdsprpcd.daemon 1
|
||||
fi
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$target" in
|
||||
"msm7201a_ffa" | "msm7201a_surf")
|
||||
echo 500000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
|
||||
|
|
@ -4256,7 +4293,7 @@ case "$target" in
|
|||
|
||||
#power/perf tunings for khaje
|
||||
case "$soc_id" in
|
||||
"518" )
|
||||
"518" | "561" | "585" | "586" )
|
||||
|
||||
# Core control parameters on big
|
||||
echo 0 > /sys/devices/system/cpu/cpu0/core_ctl/enable
|
||||
|
|
@ -5230,7 +5267,7 @@ case "$target" in
|
|||
"msmnile")
|
||||
# cpuset parameters
|
||||
target_varient=`getprop ro.build.product`
|
||||
if [ "$target_varient" == "msmnile_gvmq" ]; then
|
||||
if [ "$target_varient" == "msmnile_gvmq" ] || [ "$target_varient" == "msmnile_gvmgh" ]; then
|
||||
echo 4-7 > /dev/cpuset/background/cpus
|
||||
echo 4-7 > /dev/cpuset/system-background/cpus
|
||||
|
||||
|
|
@ -5282,14 +5319,11 @@ case "$target" in
|
|||
echo 85 85 > /proc/sys/kernel/sched_downmigrate
|
||||
echo 100 > /proc/sys/kernel/sched_group_upmigrate
|
||||
echo 10 > /proc/sys/kernel/sched_group_downmigrate
|
||||
echo 1 > /proc/sys/kernel/sched_walt_rotate_big_tasks
|
||||
|
||||
echo 0-3 > /dev/cpuset/background/cpus
|
||||
echo 0-3 > /dev/cpuset/system-background/cpus
|
||||
|
||||
|
||||
# Turn off scheduler boost at the end
|
||||
echo 0 > /proc/sys/kernel/sched_boost
|
||||
|
||||
# configure governor settings for silver cluster
|
||||
echo "schedutil" > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
|
||||
|
|
@ -5378,8 +5412,12 @@ case "$target" in
|
|||
echo 0 > $npubw/bw_hwmon/idle_mbps
|
||||
echo 40 > $npubw/polling_interval
|
||||
echo 0 > /sys/devices/virtual/npu/msm_npu/pwr
|
||||
done
|
||||
done
|
||||
done
|
||||
done
|
||||
fi
|
||||
# Turn off scheduler boost at the end
|
||||
echo 0 > /proc/sys/kernel/sched_boost
|
||||
echo 1 > /proc/sys/kernel/sched_walt_rotate_big_tasks
|
||||
|
||||
# memlat specific settings are moved to seperate file under
|
||||
# device/target specific folder
|
||||
|
|
@ -5427,7 +5465,6 @@ case "$target" in
|
|||
configure_automotive_sku_parameters
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
|||
|
|
@ -1,27 +1,53 @@
|
|||
# Copyright (c) 2019-2020 The Linux Foundation. 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 The Linux Foundation 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.
|
||||
|
||||
# Android fstab file.
|
||||
# The filesystem that contains the filesystem checker binary (typically /system) cannot
|
||||
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
|
||||
|
||||
#TODO: Add 'check' as fs_mgr_flags with data partition.
|
||||
# Currently we dont have e2fsck compiled. So fs check would failed.
|
||||
|
||||
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
||||
system /system ext4 ro,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
|
||||
system_ext /system_ext ext4 ro,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
|
||||
product /product ext4 ro,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
|
||||
vendor /vendor ext4 ro,discard wait,slotselect,avb,logical,first_stage_mount
|
||||
/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard,data=ordered,barrier=1 wait,formattable,first_stage_mount,check
|
||||
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier,inlinecrypt latemount,wait,check,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized+wrappedkey_v0,metadata_encryption=aes-256-xts:wrappedkey_v0,keydirectory=/metadata/vold/metadata_encryption,quota,reservedsize=128M,sysfs_path=/sys/devices/platform/soc/1d84000.ufshc,checkpoint=fs
|
||||
/devices/platform/soc/8804000.sdhci/mmc_host* auto auto defaults wait,voldmanaged=sdcard1:auto
|
||||
/dev/block/bootdevice/by-name/modem /vendor/firmware_mnt ext4 ro,nosuid,nodev,context=u:object_r:firmware_file:s0 wait,slotselect
|
||||
/dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1 wait,slotselect
|
||||
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,data=ordered,barrier=1 wait
|
||||
/dev/block/bootdevice/by-name/prodpersist /mnt/product/persist ext4 noatime,nosuid,nodev,data=ordered,barrier=1 wait,formattable,nofail
|
||||
/dev/block/bootdevice/by-name/bluetooth /vendor/bt_firmware ext4 ro,nosuid,nodev,context=u:object_r:bt_firmware_file:s0 wait,slotselect
|
||||
/devices/platform/soc/*.ssusb/*.dwc3/xhci-hcd.*.auto* /storage/usbotg vfat nosuid,nodev wait,voldmanaged=usbotg:auto
|
||||
/dev/block/bootdevice/by-name/fsg /vendor/fsg ext4 ro,nosuid,nodev,context=u:object_r:fsg_file:s0 wait,slotselect
|
||||
# Need to have this entry in here even though the mount point itself is no longer needed.
|
||||
# The update_engine code looks for this entry in order to determine the boot device address
|
||||
# and fails if it does not find it.
|
||||
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
|
||||
/dev/block/zram0 none swap defaults zramsize=50%
|
||||
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
||||
system /system ext4 ro,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
|
||||
system_ext /system_ext ext4 ro,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
|
||||
product /product ext4 ro,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
|
||||
vendor /vendor ext4 ro,discard wait,slotselect,avb=vbmeta,logical,first_stage_mount
|
||||
/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard,data=ordered,barrier=1 wait,check,formattable,first_stage_mount
|
||||
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,data=ordered,barrier=1 wait
|
||||
/dev/block/bootdevice/by-name/prodpersist /mnt/product/persist ext4 noatime,nosuid,nodev,data=ordered,barrier=1 wait,formattable,nofail
|
||||
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,inlinecrypt,reserve_root=32768,resgid=1065,fsync_mode=nobarrier latemount,wait,check,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized+wrappedkey_v0,keydirectory=/metadata/vold/metadata_encryption,metadata_encryption=aes-256-xts:wrappedkey_v0,quota,sysfs_path=/sys/devices/platform/soc/4804000.ufshc,reservedsize=128M,checkpoint=fs
|
||||
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
|
||||
/devices/platform/soc/4784000.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto
|
||||
/devices/platform/soc/*.ssusb/*.dwc3/xhci-hcd.*.auto* /storage/usbotg vfat nosuid,nodev wait,voldmanaged=usbotg:auto
|
||||
/dev/block/bootdevice/by-name/modem /vendor/firmware_mnt ext4 ro,nosuid,nodev,context=u:object_r:firmware_file:s0 wait,slotselect
|
||||
/dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1 wait,slotselect
|
||||
/dev/block/bootdevice/by-name/bluetooth /vendor/bt_firmware ext4 ro,nosuid,nodev,context=u:object_r:bt_firmware_file:s0 wait,slotselect
|
||||
/dev/block/bootdevice/by-name/fsg /vendor/fsg ext4 ro,nosuid,nodev,context=u:object_r:fsg_file:s0 wait,slotselect
|
||||
/dev/block/zram0 none swap defaults zramsize=75%
|
||||
|
|
|
|||
|
|
@ -6,9 +6,7 @@ on property:init.svc.vendor.mmi-usb-sh=stopped && property:ro.boot.mode=charger
|
|||
on moto-charger
|
||||
stop vendor.sensors
|
||||
trigger firmware_mounts_complete
|
||||
wait /sys/class/power_supply/battery
|
||||
start vendor.charge_only_mode
|
||||
start vendor.batt_health
|
||||
start vendor.thermal-com
|
||||
start system_suspend
|
||||
|
||||
|
|
@ -23,12 +21,5 @@ on moto-charger
|
|||
write /sys/devices/system/cpu/cpu6/online 0
|
||||
write /sys/devices/system/cpu/cpu7/online 0
|
||||
|
||||
service vendor.thermal-com /vendor/bin/thermal-engine --minimode
|
||||
class charger
|
||||
user root
|
||||
group root system oem_2907
|
||||
socket thermal-send-client stream 0666 system oem_2907
|
||||
socket thermal-recv-client stream 0660 system oem_2907
|
||||
socket thermal-recv-passive-client stream 0666 system oem_2907
|
||||
socket thermal-send-rule stream 0660 system oem_2907
|
||||
disabled
|
||||
write /proc/sys/kernel/sched_boost 0
|
||||
write /sys/module/lpm_levels/parameters/sleep_disabled 0
|
||||
|
|
|
|||
|
|
@ -1,31 +1,15 @@
|
|||
# Charge only mode configuration
|
||||
import /vendor/etc/init/hw/init.mmi.charge_only.rc
|
||||
|
||||
on post-fs
|
||||
# MOT_LED_CALIBRATION
|
||||
chown camera camera /mnt/vendor/persist/camera/mot_ledcal
|
||||
|
||||
on early-init
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules exfat
|
||||
|
||||
on property:ro.boot.default_usb_mode=device && property:vendor.usb.controller=*
|
||||
setprop sys.usb.controller ${vendor.usb.controller}
|
||||
write /sys/class/udc/${vendor.usb.controller}/device/../mode peripheral
|
||||
|
||||
on early-boot
|
||||
# Permission for Health Storage HAL
|
||||
chown system system /sys/devices/platform/soc/1d84000.ufshc/manual_gc
|
||||
chown system system /sys/devices/platform/soc/1d84000.ufshc/ufshid/trigger
|
||||
#sync power supply with healthd
|
||||
wait /sys/class/power_supply/battery
|
||||
wait /sys/class/power_supply/usb
|
||||
chown system system /sys/devices/platform/soc/4804000.ufshc/manual_gc
|
||||
chown system system /sys/devices/platform/soc/4804000.ufshc/ufshid/trigger
|
||||
|
||||
on early-boot && property:ro.boot.bm_ulog_enabled=1
|
||||
write /sys/module/bm_adsp_ulog/parameters/debug_enabled 1
|
||||
|
||||
on charger && property:ro.boot.bm_ulog_enabled=1
|
||||
write /sys/module/bm_adsp_ulog/parameters/debug_enabled 1
|
||||
on boot
|
||||
# Set adaptive charging perms for HAL
|
||||
chown system system /sys/module/qpnp_adaptive_charge/parameters/upper_limit
|
||||
chown system system /sys/module/qpnp_adaptive_charge/parameters/lower_limit
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
write /sys/devices/platform/soc/soc:mmi,charger/state_sync 1
|
||||
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@ on early-init
|
|||
setprop ro.vendor.boot.powerup_reason ${ro.boot.powerup_reason}
|
||||
setprop ro.vendor.boot.bl_state ${ro.boot.bl_state}
|
||||
setprop ro.vendor.boot.serialno ${ro.boot.serialno}
|
||||
setprop ro.vendor.boot.nal_id ${ro.boot.nal_id}
|
||||
setprop ro.vendor.zygote ${ro.zygote}
|
||||
setprop persist.radio.multisim.config ${persist.vendor.radio.multisim.config}
|
||||
|
||||
# Make sure ro.boot.product.hardware.sku is set before hwservicemanager startup.
|
||||
setprop ro.boot.product.hardware.sku ${ro.vendor.product.hardware.sku.variant}
|
||||
|
|
@ -75,6 +75,7 @@ on post-fs && property:ro.vendor.hw.fsg_super_image=yes
|
|||
|
||||
on post-fs
|
||||
mkdir /mnt/vendor/persist/camera 0755 vendor_tcmd vendor_tcmd
|
||||
mkdir /mnt/vendor/persist/camera/iqtuning 0755 vendor_tcmd vendor_tcmd
|
||||
mkdir /mnt/vendor/persist/camera/dualcal 0775 camera vendor_tcmd
|
||||
mkdir /mnt/vendor/persist/camera/focus 0775 camera vendor_tcmd
|
||||
mkdir /mnt/vendor/persist/camera/ledcal 0775 camera vendor_tcmd
|
||||
|
|
@ -132,14 +133,6 @@ on post-fs
|
|||
chown radio radio /sys/class/capsense/calibrate
|
||||
chmod 0660 /sys/class/capsense/calibrate
|
||||
|
||||
# Zram
|
||||
setprop ro.zram.mark_idle_delay_mins 60
|
||||
setprop ro.zram.first_wb_delay_mins 1440
|
||||
setprop ro.zram.periodic_wb_delay_hours 24
|
||||
write /sys/block/zram0/comp_algorithm lz4
|
||||
write /proc/sys/vm/swappiness 100
|
||||
setprop sys.sysctl.swappiness 100
|
||||
|
||||
on post-fs-data
|
||||
# Setup folders for security
|
||||
mkdir /mnt/vendor/persist/security 02770 drmrpc drmrpc
|
||||
|
|
@ -246,6 +239,9 @@ on post-fs-data
|
|||
# Imager tuning data for camera subsystem
|
||||
mkdir /data/vendor/misc/imager 0771 camera camera
|
||||
|
||||
# Imager tuning metadata for camera subsystem
|
||||
mkdir /data/vendor/misc/imager/metadata 0771 camera camera
|
||||
|
||||
# NFC vendor data
|
||||
mkdir /data/vendor/nfc 0770 nfc nfc
|
||||
|
||||
|
|
@ -255,10 +251,6 @@ on post-fs-data
|
|||
|
||||
# Required by touchRec for write the touch data
|
||||
mkdir /data/vendor/touchrec 0770 input input
|
||||
chown input input /data/vendor/touchrec/bootindex
|
||||
chown input input /data/vendor/touchrec/lastbootuuid
|
||||
chown input input /data/vendor/touchrec/touch_data.txt
|
||||
chmod 0664 /data/vendor/touchrec/touch_data.txt
|
||||
|
||||
on boot
|
||||
# restore default console_loglevel to KERN_DEBUG
|
||||
|
|
@ -293,15 +285,15 @@ on boot
|
|||
chown audio audio /sys/kernel/aov/register
|
||||
chown audio audio /sys/kernel/aov/event
|
||||
|
||||
# Quiet binder logs
|
||||
write /sys/module/binder/parameters/debug_mask 0x5
|
||||
|
||||
# Clear cooldown state
|
||||
mkdir /mnt/vendor/persist/chargeonly 0770 system system
|
||||
write /mnt/vendor/persist/chargeonly/cooldown n
|
||||
chown system system /mnt/vendor/persist/chargeonly/cooldown
|
||||
chmod 0660 /mnt/vendor/persist/chargeonly/cooldown
|
||||
|
||||
# Quiet binder logs
|
||||
write /sys/module/binder/parameters/debug_mask 0x5
|
||||
|
||||
# Change owner ship of l5 laser calibration
|
||||
chown camera vendor_tcmd /mnt/vendor/persist/camera/focus/offset_cal
|
||||
chmod 0660 /mnt/vendor/persist/camera/focus/offset_cal
|
||||
|
|
@ -315,17 +307,11 @@ on boot
|
|||
chmod 0664 /sys/class/power_supply/battery/device/force_charger_suspend
|
||||
chown vendor_tcmd system /sys/class/power_supply/battery/device/force_charger_suspend
|
||||
|
||||
on late-fs-charger
|
||||
class_start early_hal
|
||||
mount_all /vendor/etc/fstab.qcom --late
|
||||
# Boot time fs tune
|
||||
write /sys/block/dm-9/queue/read_ahead_kb 2048
|
||||
|
||||
on charger
|
||||
trigger early-fs
|
||||
trigger fs
|
||||
trigger post-fs
|
||||
trigger late-fs-charger
|
||||
trigger late-fs
|
||||
trigger post-fs-data
|
||||
trigger moto-charger
|
||||
class_stop main
|
||||
|
|
@ -337,6 +323,18 @@ on property:sys.boot_completed=1 && property:ro.vendor.zram.product_swapon=""
|
|||
write /proc/sys/vm/swappiness 100
|
||||
setprop sys.sysctl.swappiness 100
|
||||
|
||||
service vendor.mmi-boot-sh /vendor/bin/init.mmi.boot.sh
|
||||
class core
|
||||
user root
|
||||
oneshot
|
||||
|
||||
# translate MMI property in order to keep the consistent with QCOM
|
||||
on property:ro.vendor.hw.dualsim=true
|
||||
setprop persist.radio.multisim.config dsds
|
||||
|
||||
on property:ro.vendor.hw.dualsim=false
|
||||
setprop persist.radio.multisim.config ""
|
||||
|
||||
on property:sys.sysctl.swappiness=*
|
||||
write /proc/sys/vm/swappiness ${sys.sysctl.swappiness}
|
||||
|
||||
|
|
@ -369,6 +367,20 @@ service vendor.hal-fps-sh /vendor/bin/init.oem.fingerprint2.sh
|
|||
group system
|
||||
oneshot
|
||||
|
||||
service fpc_ident /vendor/bin/hw/fpc_ident
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service egis_ident /vendor/bin/hw/egis_ident
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service vendor.touch-dead-sh /vendor/bin/init.oem.hw.sh -f
|
||||
class main
|
||||
user root
|
||||
|
|
@ -399,13 +411,4 @@ on property:ro.boot.revision=*
|
|||
service vendor.charge_only_mode /vendor/bin/charge_only_mode
|
||||
user root
|
||||
group graphics system input
|
||||
capabilities SYS_BOOT
|
||||
disabled
|
||||
|
||||
# touchRec
|
||||
service vendor.touchRec /vendor/bin/touchRec
|
||||
class late_start
|
||||
user input
|
||||
group input
|
||||
oneshot
|
||||
disabled
|
||||
|
|
|
|||
|
|
@ -24,9 +24,13 @@
|
|||
# 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) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
#
|
||||
|
||||
import /vendor/etc/init/hw/init.target.rc
|
||||
import /vendor/etc/init/hw/init.qcom.usb.rc
|
||||
import /vendor/etc/init/hw/init.target.rc
|
||||
|
||||
on early-init
|
||||
mount debugfs debugfs /sys/kernel/debug
|
||||
|
|
@ -70,7 +74,6 @@ on init
|
|||
write /sys/fs/cgroup/memory/bg/memory.swappiness 140
|
||||
write /sys/fs/cgroup/memory/bg/memory.move_charge_at_immigrate 1
|
||||
chown root system /sys/fs/cgroup/memory/bg/tasks
|
||||
write /sys/kernel/icnss/wpss_boot 1
|
||||
chmod 0660 /sys/fs/cgroup/memory/bg/tasks
|
||||
|
||||
on post-fs
|
||||
|
|
@ -179,9 +182,7 @@ on boot
|
|||
# bond0 used by FST Manager
|
||||
chown wifi wifi /sys/class/net/bond0/bonding/queue_id
|
||||
|
||||
# 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
|
||||
# Allow access to emmc dload sysfs node
|
||||
chown root system /sys/kernel/dload/emmc_dload
|
||||
chmod 0660 /sys/kernel/dload/emmc_dload
|
||||
chown root system /dev/block/bootdevice/by-name/ramdump
|
||||
|
|
@ -236,7 +237,7 @@ on post-fs-data
|
|||
mkdir /data/vendor/pwr 0700 root root
|
||||
|
||||
# Create directory used by media clients
|
||||
mkdir /data/vendor/media 0775 mediacodec media
|
||||
mkdir /data/vendor/media 0770 mediacodec media
|
||||
|
||||
# Create /data/vendor/tzstorage directory for SFS listener
|
||||
mkdir /data/vendor/tzstorage 0770 system system
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
# Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
|
||||
# Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
|
|
@ -30,11 +30,11 @@
|
|||
import /vendor/etc/init/hw/init.mmi.rc
|
||||
|
||||
import /vendor/etc/init/hw/init.qti.kernel.rc
|
||||
|
||||
on early-init
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/vendor_modprobe.sh
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules q6_pdr_dlkm q6_notifier_dlkm snd_event_dlkm apr_dlkm adsp_loader_dlkm q6_dlkm native_dlkm pinctrl_wcd_dlkm pinctrl_lpi_dlkm swr_dlkm platform_dlkm hdmi_dlkm stub_dlkm wcd_core_dlkm wsa883x_dlkm bolero_cdc_dlkm wsa_macro_dlkm va_macro_dlkm rx_macro_dlkm tx_macro_dlkm bt_fm_slim wcd938x_dlkm wcd938x_slave_dlkm wcd937x_dlkm wcd937x_slave_dlkm swr_dmic_dlkm swr_haptics_dlkm machine_dlkm radio-i2c-rtc6226-qca cdsprm
|
||||
write /proc/sys/kernel/sched_boost 1
|
||||
exec_background u:r:vendor_modprobe:s0 -- /vendor/bin/vendor_modprobe.sh
|
||||
exec_background u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules q6_pdr_dlkm q6_notifier_dlkm snd_event_dlkm apr_dlkm adsp_loader_dlkm q6_dlkm native_dlkm pinctrl_lpi_dlkm swr_dlkm platform_dlkm stub_dlkm wcd_core_dlkm wsa881x_analog_dlkm bolero_cdc_dlkm va_macro_dlkm rx_macro_dlkm tx_macro_dlkm bt_fm_slim wcd938x_dlkm wcd938x_slave_dlkm wcd937x_dlkm wcd937x_slave_dlkm machine_dlkm radio-i2c-rtc6226-qca cdsprm
|
||||
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qti.early_init.sh
|
||||
setprop ro.soc.model ${ro.vendor.qti.soc_model}
|
||||
wait /sys/devices/soc0/soc_id
|
||||
|
||||
on init
|
||||
|
|
@ -65,8 +65,6 @@ on init
|
|||
|
||||
wait /dev/block/platform/soc/${ro.boot.bootdevice}
|
||||
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
|
||||
chown system system /sys/devices/platform/soc/1d84000.ufshc/auto_hibern8
|
||||
chmod 0660 /sys/devices/platform/soc/1d84000.ufshc/auto_hibern8
|
||||
start logd
|
||||
|
||||
on early-fs
|
||||
|
|
@ -74,17 +72,13 @@ on early-fs
|
|||
|
||||
on fs
|
||||
start hwservicemanager
|
||||
mkdir /mnt/vendor/spunvm 0660 system system
|
||||
mount_all --early
|
||||
chown root system /mnt/vendor/persist
|
||||
chmod 0771 /mnt/vendor/persist
|
||||
restorecon_recursive /mnt/vendor/persist
|
||||
mkdir /mnt/vendor/persist/data 0700 system system
|
||||
|
||||
on fs && property:ro.boot.product.vendor.sku=lahaina
|
||||
mkdir /mnt/vendor/spunvm 0660 system system
|
||||
wait /dev/block/bootdevice/by-name/spunvm
|
||||
mount vfat /dev/block/bootdevice/by-name/spunvm /mnt/vendor/spunvm rw noatime shortname=lower,uid=1000,gid=1000,dmask=007,fmask=007,context=u:object_r:vendor_spunvm_file:s0
|
||||
mkdir /mnt/vendor/persist/wlan 0700 system system
|
||||
chmod 0700 /mnt/vendor/persist/wlan
|
||||
|
||||
on post-fs
|
||||
# set RLIMIT_MEMLOCK to 64MB
|
||||
|
|
@ -95,64 +89,28 @@ on late-fs
|
|||
|
||||
on post-fs-data
|
||||
mkdir /vendor/data/tombstones 0771 system system
|
||||
# Enable WLAN cold boot calibration
|
||||
write /sys/devices/platform/soc/b0000000.qcom,cnss-qca6490/fs_ready 1
|
||||
|
||||
on early-boot
|
||||
start vendor.sensors
|
||||
|
||||
on boot
|
||||
write /dev/cpuset/audio-app/cpus 1-2
|
||||
chown system /sys/devices/platform/soc/990000.i2c/i2c-0/0-0049/trusted_touch_enable
|
||||
chmod 0660 /sys/devices/platform/soc/990000.i2c/i2c-0/0-0049/trusted_touch_enable
|
||||
chown system /sys/devices/platform/soc/990000.i2c/i2c-0/0-0038/trusted_touch_enable
|
||||
chmod 0660 /sys/devices/platform/soc/990000.i2c/i2c-0/0-0038/trusted_touch_enable
|
||||
chown system /sys/devices/platform/soc/988000.i2c/i2c-1/1-0038/trusted_touch_enable
|
||||
chmod 0660 /sys/devices/platform/soc/988000.i2c/i2c-1/1-0038/trusted_touch_enable
|
||||
chown system /sys/devices/platform/soc/990000.i2c/i2c-0/0-0049/trusted_touch_event
|
||||
chmod 0660 /sys/devices/platform/soc/990000.i2c/i2c-0/0-0049/trusted_touch_event
|
||||
chown system /sys/devices/platform/soc/990000.i2c/i2c-0/0-0038/trusted_touch_event
|
||||
chmod 0660 /sys/devices/platform/soc/990000.i2c/i2c-0/0-0038/trusted_touch_event
|
||||
chown system /sys/devices/platform/soc/988000.i2c/i2c-1/1-0038/trusted_touch_event
|
||||
chmod 0660 /sys/devices/platform/soc/988000.i2c/i2c-1/1-0038/trusted_touch_event
|
||||
chown system /sys/devices/platform/soc/a94000.i2c/i2c-2/2-0062/trusted_touch_enable
|
||||
chmod 0660 /sys/devices/platform/soc/a94000.i2c/i2c-2/2-0062/trusted_touch_enable
|
||||
chown system /sys/devices/platform/soc/a94000.i2c/i2c-2/2-0062/trusted_touch_event
|
||||
chmod 0660 /sys/devices/platform/soc/a94000.i2c/i2c-2/2-0062/trusted_touch_event
|
||||
chown system /sys/devices/system/cpu/hyp_core_ctl/enable
|
||||
chown system /sys/devices/system/cpu/hyp_core_ctl/hcc_min_freq
|
||||
#USB controller configuration
|
||||
setprop vendor.usb.rndis.func.name "gsi"
|
||||
setprop vendor.usb.rmnet.func.name "gsi"
|
||||
setprop vendor.usb.rmnet.inst.name "rmnet"
|
||||
setprop vendor.usb.dpl.inst.name "dpl"
|
||||
setprop vendor.usb.qdss.inst.name "qdss_mdm"
|
||||
setprop vendor.usb.controller a600000.dwc3
|
||||
#Load WLAN driver
|
||||
exec_background u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/ qca_cld3_wlan qca_cld3_qca6390
|
||||
exec_background u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki qca_cld3_wlan qca_cld3_qca6390
|
||||
#Allow access to memory hotplug device attributes
|
||||
chown system system /sys/kernel/mem-offline/anon_migrate
|
||||
setprop vendor.usb.controller 4e00000.dwc3
|
||||
|
||||
on boot && property:persist.vendor.usb.controller.default=*
|
||||
setprop vendor.usb.controller ${persist.vendor.usb.controller.default}
|
||||
|
||||
on init && property:ro.boot.mode=charger
|
||||
mount_all /vendor/etc/charger_fw_fstab.qti --early
|
||||
write /sys/kernel/boot_adsp/boot 1
|
||||
wait /sys/class/power_supply/battery
|
||||
|
||||
on charger
|
||||
start vendor.power_off_alarm
|
||||
setprop sys.usb.controller a600000.dwc3
|
||||
setprop sys.usb.controller 4e00000.dwc3
|
||||
setprop sys.usb.configfs 1
|
||||
|
||||
service vendor.lowi /vendor/bin/lowirpcd
|
||||
class core
|
||||
user system
|
||||
group system wakelock
|
||||
capabilities BLOCK_SUSPEND
|
||||
|
||||
#pd-mapper
|
||||
service vendor.pd_mapper /vendor/bin/pd-mapper
|
||||
class core
|
||||
|
|
@ -174,7 +132,7 @@ service vendor.per_proxy /vendor/bin/pm-proxy
|
|||
|
||||
#service vendor.mdm_helper /vendor/bin/mdm_helper
|
||||
# class core
|
||||
# group log system wakelock diag vendor_rfs
|
||||
# group system wakelock
|
||||
# disabled
|
||||
|
||||
service vendor.mdm_launcher /vendor/bin/sh /vendor/bin/init.mdm.sh
|
||||
|
|
@ -186,16 +144,3 @@ on property:init.svc.vendor.per_mgr=running
|
|||
|
||||
on property:sys.shutdown.requested=*
|
||||
stop vendor.per_proxy
|
||||
|
||||
#fan-controller
|
||||
service fan_control_turn_on /vendor/bin/fan_control 1
|
||||
class late_start
|
||||
user root
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service fan_control_turn_off /vendor/bin/fan_control 0
|
||||
class late_start
|
||||
user root
|
||||
disabled
|
||||
oneshot
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
# the DIAG device node is not world writable/readable.
|
||||
/dev/diag 0660 system oem_2901
|
||||
/dev/mhi_*_pipe_4 0660 system system
|
||||
|
||||
/dev/virt-eavb 0660 system audio
|
||||
/dev/genlock 0666 system system
|
||||
/dev/wlan 0660 wifi wifi
|
||||
/dev/kgsl 0666 system system
|
||||
|
|
@ -72,6 +72,7 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/dev/smd2 0660 bluetooth bluetooth
|
||||
/dev/smd3 0660 bluetooth bluetooth
|
||||
/dev/btpower 0660 bluetooth system
|
||||
/dev/btfmslim 0660 bluetooth system
|
||||
|
||||
#permissions for pta
|
||||
/dev/pta 0660 system system
|
||||
|
|
@ -134,6 +135,8 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/dev/cvp* 0660 system camera
|
||||
/dev/media* 0660 system camera
|
||||
/dev/v4l-subdev* 0660 system camera
|
||||
/dev/hdmi_bdg_irq_handler 0660 system camera
|
||||
/dev/dp_bdg_irq_handler 0660 system camera
|
||||
/dev/qseecom 0660 system drmrpc
|
||||
/dev/qce 0660 system drmrpc
|
||||
/dev/smcinvoke 0660 system drmrpc
|
||||
|
|
@ -173,10 +176,15 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
|
||||
#qvr
|
||||
/dev/qvr_external_sensor_ioctl 0660 system system
|
||||
/sys/kernel/qvr_external_sensor/fd 0660 system system
|
||||
/dev/bus/usb/* 0660 root usb
|
||||
/dev/hidraw* 0660 root usb
|
||||
|
||||
#rawdump
|
||||
/dev/block/platform/soc/*/by-name/rawdump 0660 root system
|
||||
# Trustonic TEE device
|
||||
/dev/mobicore 0600 system system
|
||||
/dev/mobicore-user 0666 system system
|
||||
|
||||
# wlan
|
||||
/dev/wcnss_wlan 0660 system system
|
||||
/dev/wcnss_ctrl 0660 system system
|
||||
|
|
@ -228,6 +236,7 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/dev/msm_preproc_ctl 0660 system audio
|
||||
/dev/msm_rtac 0660 system audio
|
||||
/dev/msm_voicememo 0660 system audio
|
||||
/dev/virt_sndcard_ctl 0660 system audio
|
||||
/dev/ttyHSL1 0660 system system
|
||||
/dev/ttyHS1 0660 system system
|
||||
/dev/mdm 0660 system radio
|
||||
|
|
@ -293,7 +302,6 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/sys/devices/virtual/input/input* enable_ps_sensor 0660 system input
|
||||
/sys/devices/virtual/input/input* set_delay_ms 0660 system input
|
||||
/sys/devices/virtual/input/input* do_flush 0660 system input
|
||||
/dev/stmvl53l5 0660 system camera
|
||||
|
||||
# vm_bms
|
||||
/dev/vm_bms 0660 system system
|
||||
|
|
@ -329,19 +337,6 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/sys/class/fts/touch_aoi aoi_set 0660 root system
|
||||
/sys/class/fts/touch_aoi power_set 0660 root system
|
||||
|
||||
# Goodix fingerprint device
|
||||
/dev/goodix_fp 0660 system system
|
||||
|
||||
# EgisTech fingerprint device
|
||||
/dev/esfp0 0660 system system
|
||||
|
||||
# Change permission for FPC fingerprint
|
||||
/sys/class/fingerprint/fpc1020 nav 0440 system system
|
||||
/sys/class/fingerprint/fpc1020 irq 0440 system system
|
||||
/sys/class/fingerprint/fpc1020 irq_cnt 0440 system system
|
||||
/sys/class/fingerprint/fpc1020 dev_enable 0220 system system
|
||||
/sys/class/fingerprint/fpc1020 vendor 0444 system system
|
||||
|
||||
#ImproveTouch device
|
||||
/dev/hbtp_input 0660 system system
|
||||
/dev/hbtp_vm 0660 system system
|
||||
|
|
@ -373,6 +368,13 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
# Kmsg device
|
||||
/dev/kmsg 0620 root system
|
||||
|
||||
# I2C
|
||||
/dev/i2c-* 0660 system system
|
||||
|
||||
# change permission for some capsensor nodes
|
||||
/sys/class/sensors/Moto\ CapSense\ Ch* enable 0660 root input
|
||||
/sys/class/sensors/Moto\ CapSense\ Ch* poll_delay 0660 root input
|
||||
|
||||
# LED class devices
|
||||
/sys/class/leds/red delay_on 0640 system system
|
||||
/sys/class/leds/red delay_off 0640 system system
|
||||
|
|
@ -386,10 +388,6 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/sys/class/leds/blue delay_off 0640 system system
|
||||
/sys/class/leds/blue breath 0640 system system
|
||||
/sys/class/leds/blue trigger 0640 system system
|
||||
/sys/class/leds/charging delay_on 0640 system system
|
||||
/sys/class/leds/charging delay_off 0640 system system
|
||||
/sys/class/leds/charging breath 0640 system system
|
||||
/sys/class/leds/charging trigger 0640 system system
|
||||
|
||||
# NPU device
|
||||
/dev/msm_npu 0644 system system
|
||||
|
|
@ -437,6 +435,8 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/sys/class/graphics/fb0 mode 0664 system graphics
|
||||
/sys/class/graphics/fb0 msm_cmd_autorefresh_en 0664 system graphics
|
||||
|
||||
/sys/devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card*/sde-crtc-* lineptr_value 0664 system graphics
|
||||
|
||||
/sys/devices/platform/soc/ae00000.qcom,mdss_mdp power/control 0664 system graphics
|
||||
|
||||
#asm330 sensor
|
||||
|
|
@ -500,11 +500,21 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_temp_scale 0664 system system
|
||||
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_temp_scale_available 0664 system system
|
||||
|
||||
# fps device node
|
||||
/dev/fpsensor 0660 system system
|
||||
/dev/goodix_fp 0664 system system
|
||||
/dev/esfp0 0664 system system
|
||||
/dev/silead_fp 0664 system system
|
||||
|
||||
# Change permission for FPC fingerprint
|
||||
/sys/class/fingerprint/fpc1020 nav 0440 system system
|
||||
/sys/class/fingerprint/fpc1020 irq 0440 system system
|
||||
/sys/class/fingerprint/fpc1020 irq_cnt 0440 system system
|
||||
/sys/class/fingerprint/fpc1020 dev_enable 0220 system system
|
||||
/sys/class/fingerprint/fpc1020 vendor 0444 system system
|
||||
|
||||
# socinfo
|
||||
/sys/devices/soc0 serial_number 0000 root root
|
||||
|
||||
# I2C
|
||||
/dev/i2c-* 0660 system system
|
||||
|
||||
# NFC ST Driver permissions
|
||||
/dev/st21nfc 0660 nfc nfc
|
||||
|
|
|
|||
Loading…
Reference in a new issue