sm8650-common: Initial proprietary blobs list and bringup HALs
Co-authored-by: Bruno Martins <bgcngm@gmail.com> Co-authored-by: chaptsand <chaptsand@gmail.com> Co-authored-by: Simon1511 <simon2002.schoenmackers@gmail.com> Signed-off-by: David Wronek <david@mainlining.org> Change-Id: Icbcdd3f49a0723f2bb0b6b2265994cd2221074ff
This commit is contained in:
@@ -10,6 +10,13 @@ prebuilt_etc {
|
||||
vendor_ramdisk_available: true,
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "init.fingerprint.rc",
|
||||
src: "init.fingerprint.rc",
|
||||
sub_dir: "init",
|
||||
vendor: true,
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "init.qcom.rc",
|
||||
src: "init.qcom.rc",
|
||||
|
39
init/init.fingerprint.rc
Normal file
39
init/init.fingerprint.rc
Normal file
@@ -0,0 +1,39 @@
|
||||
on boot
|
||||
write /sys/class/sec/tsp/cmd "fod_enable,1,1,0"
|
||||
|
||||
# Fingerprint sensor
|
||||
chmod 0660 /dev/esfp0
|
||||
chown system system /dev/esfp0
|
||||
|
||||
chmod 0660 /dev/goodix_fp
|
||||
chown system system /dev/goodix_fp
|
||||
|
||||
chmod 0660 /dev/qbt2000_fd
|
||||
chmod 0660 /dev/qbt2000_ipc
|
||||
chmod 0660 /dev/qbtspi
|
||||
chown system system /dev/qbt2000_fd
|
||||
chown system system /dev/qbt2000_ipc
|
||||
chown system system /dev/qbtspi
|
||||
|
||||
chown system radio /sys/class/fingerprint/fingerprint/type_check
|
||||
chown system radio /sys/class/fingerprint/fingerprint/name
|
||||
chown system radio /sys/class/fingerprint/fingerprint/vendor
|
||||
chown system radio /sys/class/fingerprint/fingerprint/adm
|
||||
chown system radio /sys/class/fingerprint/fingerprint/bfs_values
|
||||
chown system radio /sys/class/fingerprint/fingerprint/position
|
||||
chown system radio /sys/class/fingerprint/fingerprint/cbgecnt
|
||||
chown system radio /sys/class/fingerprint/fingerprint/intcnt
|
||||
chown system radio /sys/class/fingerprint/fingerprint/resetcnt
|
||||
chown system radio /sys/class/fingerprint/fingerprint/wuhbtest
|
||||
chown system radio /sys/class/fingerprint/fingerprint/rb
|
||||
|
||||
mkdir /data/vendor/misc 0770 system system
|
||||
mkdir /data/vendor/misc/qti_fp 0770 system system
|
||||
mkdir /data/vendor/misc/qti_fp/bg_estimation 0770 system system
|
||||
mkdir /data/vendor/misc/qti_fp/calib_test 0770 system system
|
||||
mkdir /data/vendor/misc/qti_fp/template 0770 system system
|
||||
|
||||
mkdir /data/vendor/biometrics 0770 system system
|
||||
mkdir /data/vendor/fpSnrTest 0770 system system
|
||||
mkdir /efs/biometrics 0770 system system
|
||||
mkdir /efs/biometrics/meta 0770 system system
|
@@ -672,19 +672,6 @@ service iprenew_wigig0 /system/bin/dhcpcd -n
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service ptt_socket_app /system/vendor/bin/ptt_socket_app -d
|
||||
class main
|
||||
user wifi
|
||||
group wifi system inet net_admin
|
||||
capabilities NET_ADMIN
|
||||
oneshot
|
||||
|
||||
service ptt_ffbm /system/vendor/bin/ptt_socket_app -f -d
|
||||
user root
|
||||
group root
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service wifi_ftmd /system/vendor/bin/wifi_ftmd
|
||||
user system
|
||||
group system inet net_admin
|
||||
@@ -715,18 +702,6 @@ service iprenew_bt-pan /system/bin/dhcpcd -n
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service ssgqmigd /vendor/bin/ssgqmigd
|
||||
class late_start
|
||||
user radio
|
||||
group radio gps system
|
||||
socket ssgqmig seqpacket 0660 radio inet
|
||||
|
||||
service mlid /vendor/bin/mlid
|
||||
class late_start
|
||||
user gps
|
||||
group gps
|
||||
socket mlid stream 0666 gps gps
|
||||
|
||||
service loc_launcher /system/vendor/bin/loc_launcher
|
||||
class late_start
|
||||
user gps
|
||||
@@ -776,11 +751,6 @@ on property:sys.boot_completed=1
|
||||
on property:ro.vendor.ril.mbn_copy_completed=1
|
||||
write /data/vendor/radio/copy_complete 1
|
||||
|
||||
service qvop-daemon /vendor/bin/qvop-daemon
|
||||
class late_start
|
||||
user system
|
||||
group system drmrpc
|
||||
|
||||
service vendor.atfwd /vendor/bin/ATFWD-daemon
|
||||
class late_start
|
||||
user system
|
||||
@@ -887,16 +857,6 @@ service vendor.LKCore-rel /vendor/bin/LKCore
|
||||
user system
|
||||
group system log diag
|
||||
|
||||
service qseeproxydaemon /system/vendor/bin/qseeproxydaemon
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
|
||||
service esepmdaemon /system/vendor/bin/esepmdaemon
|
||||
class core
|
||||
user system
|
||||
group nfc
|
||||
|
||||
on charger
|
||||
#Enable UFS LPM back
|
||||
write /sys/bus/platform/devices/1d84000.ufshc/clkscale_enable 1
|
||||
|
@@ -251,15 +251,6 @@ on property:sys.shutdown.requested=*
|
||||
write /sys/kernel/qcom_rproc/shutdown_in_progress 1
|
||||
stop vendor.per_proxy
|
||||
|
||||
on property:vold.decrypt=trigger_restart_framework
|
||||
start vendor.cnss_diag
|
||||
|
||||
service vendor.cnss_diag /system/vendor/bin/cnss_diag -q -f -t HELIUM
|
||||
class main
|
||||
user system
|
||||
group system wifi inet sdcard_rw media_rw diag
|
||||
oneshot
|
||||
|
||||
on early-boot && property:persist.vendor.pcie.boot_option=*
|
||||
write /sys/bus/platform/devices/1c00000.qcom,pcie/debug/boot_option ${persist.vendor.pcie.boot_option}
|
||||
write /sys/bus/platform/devices/1c08000.qcom,pcie/debug/boot_option ${persist.vendor.pcie.boot_option}
|
||||
|
Reference in New Issue
Block a user