diff --git a/BoardConfig.mk b/BoardConfig.mk index bfdd9d2..6544863 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -24,6 +24,10 @@ BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE := f2fs TARGET_COPY_OUT_VENDOR := vendor +# Encryption +BOARD_USES_QCOM_FBE_DECRYPTION := true +BOARD_USES_METADATA_PARTITION := true + # Kernel BOARD_BOOTIMG_HEADER_VERSION := 4 BOARD_EXCLUDE_KERNEL_FROM_RECOVERY_IMAGE := true @@ -44,6 +48,7 @@ BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE := 15032385536 # Recovery TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888 +TARGET_RECOVERY_QCOM_RTC_FIX := true # TWRP Configuration TW_THEME := portrait_hdpi @@ -51,12 +56,15 @@ TW_DEVICE_VERSION := -hraj9258 TW_EXCLUDE_APEX := true TW_EXCLUDE_TWRPAPP := true TW_EXTRA_LANGUAGES := true +TW_INCLUDE_CRYPTO := true TW_INCLUDE_NTFS_3G := true TW_INCLUDE_LIBRESETPROP := true TW_INCLUDE_RESETPROP := true TW_USE_SERIALNO_PROPERTY_FOR_DEVICE_ID := true TW_FRAMERATE := 144 +TW_LOAD_VENDOR_MODULES := "adsp_loader_dlkm.ko" + # TWRP Debug Flags TWRP_EVENT_LOGGING := true TWRP_INCLUDE_LOGCAT := true diff --git a/device.mk b/device.mk index 1307248..dc78cbb 100644 --- a/device.mk +++ b/device.mk @@ -24,9 +24,20 @@ PRODUCT_PACKAGES += \ android.hardware.fastboot@1.0-impl-mock.recovery \ fastbootd +# Recovery libs +TARGET_RECOVERY_DEVICE_MODULES += \ + libion + +RECOVERY_LIBRARY_SOURCE_FILES += \ + $(TARGET_OUT_SHARED_LIBRARIES)/libion.so + # Platform PLATFORM_VERSION := 99.87.36 PLATFORM_SECURITY_PATCH := 2127-12-31 PLATFORM_VERSION_LAST_STABLE := $(PLATFORM_VERSION) VENDOR_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH) BOOT_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH) + +PRODUCT_PACKAGES += \ + qcom_decrypt \ + qcom_decrypt_fbe diff --git a/recovery/root/init.recovery.qcom.rc b/recovery/root/init.recovery.qcom.rc index 0eef549..e4565f3 100755 --- a/recovery/root/init.recovery.qcom.rc +++ b/recovery/root/init.recovery.qcom.rc @@ -25,6 +25,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # +import /init.recovery.qcom_decrypt.rc + on init write /sys/class/backlight/panel0-backlight/brightness 200 setprop sys.usb.configfs 1 @@ -40,5 +42,19 @@ on fs wait /dev/block/platform/soc/${ro.boot.bootdevice} symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice -on boot +on property:twrp.modules.loaded=true + # Mount persist + mkdir /mnt/vendor/persist + mount ext4 /dev/block/bootdevice/by-name/persist /mnt/vendor/persist ro + # Mount firmware + mkdir /firmware + mount vfat /dev/block/bootdevice/by-name/modem${ro.boot.slot_suffix} /firmware ro + # Load ADSP firmware for PMIC + wait /sys/kernel/boot_adsp/boot + write /sys/kernel/boot_adsp/boot 1 + wait /sys/class/power_supply/battery start health-hal-2-1 + umount /firmware + +on property:twrp.all.users.decrypted=true + umount /mnt/vendor/persist \ No newline at end of file diff --git a/recovery/root/system/bin/android.hardware.gatekeeper@1.0-service-qti b/recovery/root/system/bin/android.hardware.gatekeeper@1.0-service-qti new file mode 100644 index 0000000..a410efa Binary files /dev/null and b/recovery/root/system/bin/android.hardware.gatekeeper@1.0-service-qti differ diff --git a/recovery/root/system/bin/android.hardware.security.keymint-service-qti b/recovery/root/system/bin/android.hardware.security.keymint-service-qti new file mode 100644 index 0000000..cf70149 Binary files /dev/null and b/recovery/root/system/bin/android.hardware.security.keymint-service-qti differ diff --git a/recovery/root/system/bin/qseecomd b/recovery/root/system/bin/qseecomd new file mode 100644 index 0000000..498b400 Binary files /dev/null and b/recovery/root/system/bin/qseecomd differ diff --git a/recovery/root/system/etc/vintf/manifest/manifest.xml b/recovery/root/system/etc/vintf/manifest.xml similarity index 61% rename from recovery/root/system/etc/vintf/manifest/manifest.xml rename to recovery/root/system/etc/vintf/manifest.xml index 04c6766..908ef27 100644 --- a/recovery/root/system/etc/vintf/manifest/manifest.xml +++ b/recovery/root/system/etc/vintf/manifest.xml @@ -1,9 +1,10 @@ - + android.frameworks.displayservice hwbinder @@ -42,10 +43,32 @@ netutils-wrapper 1.0 + + vendor.oplus.hardware.commondcs + ICommonDcsAidlHalService/default + + + vendor.oplus.hardware.oplusSensor + ISensorFeature/default + + + vendor.oplus.hardware.osense.client + IOsenseAidlHalReporter/default + + + vendor.oplus.hardware.urcc + IUrcc/default + + + vendor.qti.hardware.qccsyshal + hwbinder + @1.2::IQccsyshal/qccsyshal + - vendor.qti.hardware.radio.atcmdfwd + vendor.qti.hardware.systemhelper hwbinder - @1.0::IAtCmdFwd/AtCmdFwdService + @1.0::ISystemEvent/default + @1.0::ISystemResource/default 29 diff --git a/recovery/root/system/lib64/libdmabufheap.so b/recovery/root/system/lib64/libdmabufheap.so new file mode 100644 index 0000000..1b5d1cd Binary files /dev/null and b/recovery/root/system/lib64/libdmabufheap.so differ diff --git a/recovery/root/ueventd.rc b/recovery/root/ueventd.rc deleted file mode 100644 index 88feef9..0000000 --- a/recovery/root/ueventd.rc +++ /dev/null @@ -1,105 +0,0 @@ -import /vendor/etc/ueventd.rc -import /odm/etc/ueventd.rc -import /odm/etc/ueventd.reserve.rc -# ifdef OPLUS_FEATURE_WIFI_BDF -# fangbinghua@CONNECTIVITY.WIFI.HARDWARE.BDF, add for mtk wifi cfg loading -import /odm/etc/ueventd.wifi.rc -# endif /* OPLUS_FEATURE_WIFI_BDF */ -# ifndef OPLUS_FEATURE_WIFI_BDF -# WuGuotian@CONNECTIVITY.WIFI.HARDWARE.BDF.1065227 , 2021/05/26, -# Modify for: multi projects using different bdf, adding persist into firmware_directories -# firmware_directories /etc/firmware/ /odm/firmware/ /vendor/firmware/ /firmware/image/ -# else /* OPLUS_FEATURE_WIFI_BDF */ -firmware_directories /etc/firmware/ /odm/firmware/ /data/vendor/firmware/update/ /vendor/firmware/ /firmware/image/ /vendor/firmware_mnt/image/qca6490/ /data/oplus/fw_update/ /mnt/vendor/persist/copy/ /mnt/vendor/persist/ /odm/etc/wifi/ /vendor/firmware_mnt/image/ -# endif /* OPLUS_FEATURE_WIFI_BDF */ - -uevent_socket_rcvbuf_size 16M - -subsystem graphics - devname uevent_devpath - dirname /dev/graphics - -subsystem drm - devname uevent_devpath - dirname /dev/dri - -subsystem input - devname uevent_devpath - dirname /dev/input - -subsystem sound - devname uevent_devpath - dirname /dev/snd - -subsystem dma_heap - devname uevent_devpath - dirname /dev/dma_heap -# ueventd can only set permissions on device nodes and their associated -# sysfs attributes, not on arbitrary paths. -# -# format for /dev rules: devname mode uid gid -# format for /sys rules: nodename attr mode uid gid -# shortcut: "mtd@NN" expands to "/dev/mtd/mtdNN" - -/dev/null 0666 root root -/dev/zero 0666 root root -/dev/full 0666 root root -/dev/ptmx 0666 root root -/dev/tty 0666 root root -/dev/random 0666 root root -/dev/urandom 0666 root root -# Aside from kernel threads, only prng_seeder needs access to HW RNG -/dev/hw_random 0400 prng_seeder prng_seeder -/dev/ashmem* 0666 root root -/dev/binder 0666 root root -/dev/hwbinder 0666 root root -/dev/vndbinder 0666 root root - -/dev/pmsg0 0222 root log -/dev/dma_heap/system 0444 system system -/dev/dma_heap/system-uncached 0444 system system -/dev/dma_heap/system-secure 0444 system system - -# kms driver for drm based gpu -/dev/dri/* 0666 root graphics - -# these should not be world writable -/dev/uhid 0660 uhid uhid -/dev/uinput 0660 uhid uhid -/dev/rtc0 0640 system system -/dev/tty0 0660 root system -/dev/graphics/* 0660 root graphics -/dev/input/* 0660 root input -/dev/v4l-touch* 0660 root input -/dev/snd/* 0660 system audio -/dev/bus/usb/* 0660 root usb -/dev/mtp_usb 0660 root mtp -/dev/usb_accessory 0660 root usb -/dev/tun 0660 system vpn - -# CDMA radio interface MUX -/dev/ppp 0660 radio vpn - -/dev/kvm 0666 root root -/dev/vhost-vsock 0666 root root - -# ifdef OPLUS_FEATURE_PARAM -/dev/block/by-name/param 0660 root system -/dev/block/by-name/ddr 0660 root system -/dev/block/bootdevice/by-name/ddr 0660 root system -# endif - -#ifdef OPLUS_FEATURE_STORAGE_TOOL -#Xuweijie1@BSP.Storage , 20200601. add for Memory Monitor -/dev/sg3 0600 system system -#endif /* OPLUS_FEATURE_STORAGE_TOOL */ - -# sysfs properties -/sys/devices/platform/trusty.* trusty_version 0440 root log -/sys/devices/virtual/input/input* enable 0660 root input -/sys/devices/virtual/input/input* poll_delay 0660 root input -/sys/devices/virtual/usb_composite/* enable 0664 root system -/sys/devices/system/cpu/cpu* cpufreq/scaling_max_freq 0664 system system -/sys/devices/system/cpu/cpu* cpufreq/scaling_min_freq 0664 system system -/sys/devices/virtual/misc/uhid/*/leds/* brightness 0664 system system -/sys/devices/virtual/misc/uhid/*/leds/* multi_intensity 0664 system system diff --git a/recovery/root/vendor/etc/gpfspath_oem_config.xml b/recovery/root/vendor/etc/gpfspath_oem_config.xml new file mode 100644 index 0000000..6b2e82a --- /dev/null +++ b/recovery/root/vendor/etc/gpfspath_oem_config.xml @@ -0,0 +1,61 @@ + + + + + + + /data/vendor/tzstorage/ + /mnt/vendor/persist/data/ + 4 + /data/system/users/ + /data/misc/qsee/ + /qwes + /qwes/licenses + diff --git a/recovery/root/vendor/etc/init/android.hardware.security.keymint-service-qti.rc b/recovery/root/vendor/etc/init/android.hardware.security.keymint-service-qti.rc new file mode 100644 index 0000000..8d5706f --- /dev/null +++ b/recovery/root/vendor/etc/init/android.hardware.security.keymint-service-qti.rc @@ -0,0 +1,13 @@ +# Copyright (c) 2021 Qualcomm Technologies, Inc. +# All Rights Reserved. +# Confidential and Proprietary - Qualcomm Technologies, Inc. + +on property:hwservicemanager.ready=true && property:vendor.sys.listeners.registered=true + start keymint-qti + +service keymint-qti /system/bin/android.hardware.security.keymint-service-qti + user root + group root + setenv LD_LIBRARY_PATH /vendor/lib64:/vendor/lib:/system/lib64:/system/lib:/sbin + disabled + seclabel u:r:recovery:s0 diff --git a/recovery/root/vendor/etc/ueventd.rc b/recovery/root/vendor/etc/ueventd.rc new file mode 100644 index 0000000..e2a456e --- /dev/null +++ b/recovery/root/vendor/etc/ueventd.rc @@ -0,0 +1,609 @@ +# Copyright (c) 2012-2015, 2017-2021, The Linux Foundation. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted 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. +# +# 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, FITNESS FOR A PARTICULAR PURPOSE AND +# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 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. +# +# +# Changes from Qualcomm Innovation Center are provided under the following license: +# Copyright (c) 2022-2023 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 rc file +import /vendor/etc/ueventd.qcom.userdebug.rc + + +# Firmware directory Path +# Below macro will be read by uevent and path will +# be added to search path for firmware loading +# ifndef OPLUS_FEATURE_WIFI_BDF +# fangzhijun@CONNECTIVITY.WIFI.HARDWARE.BDF.5719240 , 2023/06/13, +# Modify for: multi projects using different bdf, adding persist into firmware_directories +# firmware_directories /vendor/firmware_mnt/image/ +# else /* OPLUS_FEATURE_WIFI_BDF */ +firmware_directories /mnt/vendor/persist/copy/ /odm/etc/wifi/ /mnt/vendor/persist/ /vendor/firmware_mnt/image/ +# endif /* OPLUS_FEATURE_WIFI_BDF */ + +subsystem dma_heap + devname uevent_devpath + dirname /dev/dma_heap + +subsystem mem_buf_vm + devname uevent_devpath + dirname /dev/mem_buf_vm + +# the DIAG device node is not world writable/readable. +/dev/diag 0660 system oem_2901 +/dev/mhi_*_pipe_4 0660 system system + +/dev/genlock 0666 system system +/dev/wlan 0660 wifi wifi +/dev/kgsl 0666 system system +/dev/kgsl-3d0 0666 system system +/dev/kgsl-2d0 0666 root root +/dev/kgsl-2d1 0666 root root +/dev/ion 0664 system system +/dev/membuf 0664 system system +/dev/mem_buf_vm/* 0444 system system +/dev/dma_heap/qcom,* 0444 system system +/dev/rtc0 0660 system system +/dev/smd0 0660 system system +/dev/smd4 0660 system system +/dev/smd_cxm_qmi 0640 radio radio +/dev/smd5 0660 system system +/dev/smd6 0660 system system +/dev/smd7 0660 bluetooth bluetooth +/dev/ccid_bridge 0660 system system +/dev/ipa 0660 radio radio +/dev/wwan_ioctl 0660 radio radio +/dev/ipa_lnx_stats_ioctl 0640 radio radio +/dev/ipaNatTable 0660 radio radio +/dev/rmnet_ctrl 0660 usb usb +/dev/dpl_ctrl 0660 usb usb +/dev/ipa_odl_ctl 0660 radio radio +/dev/ipa_adpl 0660 system oem_2905 +/dev/synx_device 0660 root camera +/dev/ubwcp 0660 root camera +/dev/hab 0666 system system +/dev/iio:device* 0664 system system +/dev/qmc_dma 0660 radio radio +/dev/qmc_cma 0660 radio radio + +#permissions for UFS RPMB BSG device node +/dev/0:0:0:49476 0600 system system + +#permissions for GPT listener on LUN4 +/dev/0:0:0:4 0600 system root + +#permissions for CSVT +/dev/smd11 0660 radio radio + +#permsissions for BT/FM +/dev/smd2 0660 bluetooth bluetooth +/dev/smd3 0660 bluetooth bluetooth +/dev/btpower 0660 bluetooth system +/dev/btfmslim 0660 bluetooth system +/dev/bt_cp_ctrl 0660 bluetooth system +/dev/btfmcodec_dev 0660 bluetooth system + +#permissions for pta +/dev/pta 0660 system system + +/dev/radio0 0640 system system +/dev/rfcomm0 0660 bluetooth bluetooth +/dev/ttyUSB0 0660 bluetooth bluetooth +/dev/smdcntl0 0640 radio radio +/dev/smdcntl1 0640 radio radio +/dev/smdcntl2 0640 radio radio +/dev/smdcntl3 0640 radio radio +/dev/smdcntl4 0640 radio radio +/dev/smdcntl5 0640 radio radio +/dev/smdcntl6 0640 radio radio +/dev/smdcntl7 0640 radio radio +/dev/smdcntl8 0640 radio radio +/dev/smdcnt_rev0 0640 radio radio +/dev/smdcnt_rev1 0640 radio radio +/dev/smdcnt_rev2 0640 radio radio +/dev/smdcnt_rev3 0640 radio radio +/dev/smdcnt_rev4 0640 radio radio +/dev/smdcnt_rev5 0640 radio radio +/dev/smdcnt_rev6 0640 radio radio +/dev/smdcnt_rev7 0640 radio radio +/dev/smdcnt_rev8 0640 radio radio +/dev/smuxctl32 0640 radio radio +/dev/sdioctl0 0640 radio radio +/dev/sdioctl1 0640 radio radio +/dev/sdioctl2 0640 radio radio +/dev/sdioctl3 0640 radio radio +/dev/sdioctl4 0640 radio radio +/dev/sdioctl5 0640 radio radio +/dev/sdioctl6 0640 radio radio +/dev/sdioctl7 0640 radio radio +/dev/sdioctl8 0640 radio radio +/dev/rmnet_mux_ctrl 0640 radio radio +/dev/hsicctl0 0640 radio radio +/dev/hsicctl1 0640 radio radio +/dev/hsicctl2 0640 radio radio +/dev/hsicctl3 0640 radio radio +/dev/hsicctl4 0640 radio radio +/dev/hsicctl5 0640 radio radio +/dev/hsicctl6 0640 radio radio +/dev/hsicctl7 0640 radio radio +/dev/hsicctl8 0640 radio radio +/dev/hsicctl9 0640 radio radio +/dev/hsicctl10 0640 radio radio +/dev/hsicctl11 0640 radio radio +/dev/hsicctl12 0640 radio radio +/dev/hsicctl13 0640 radio radio +/dev/hsicctl14 0640 radio radio +/dev/hsicctl15 0640 radio radio +/dev/hsicctl16 0640 radio radio +/dev/mhi_*_pipe_14 0640 radio radio +/dev/mhi_*_pipe_16 0640 radio radio +/dev/mhi_*_pipe_32 0640 radio radio +/dev/at_usb0 0640 radio radio +/dev/at_mdm0 0640 radio radio +/dev/video* 0660 system camera +/dev/cvp* 0660 system camera +/dev/media* 0660 system camera +/dev/v4l-subdev* 0660 system camera +/dev/qseecom 0660 system drmrpc +/dev/qce 0660 system drmrpc +/dev/smcinvoke 0660 system drmrpc +/dev/qsee_ipc_irq_spss 0660 system drmrpc +/dev/qti-smmu-proxy 0660 system system +/dev/seemplog 0660 system system +/dev/pft 0660 system drmrpc +/dev/spcom 0660 system system +/dev/spss_utils 0660 system system +/dev/sp_kernel 0660 system system +/dev/sp_nvm 0660 system system +/dev/sp_ssr 0660 system system +/dev/sp_keymaster 0660 system system +/dev/sp_keymaster_ssr 0660 system system +/dev/sec_nvm_* 0660 system system +/dev/cryptoapp 0660 system system +/dev/spdaemon_ssr 0660 system system +/dev/spu_hal_ssr 0660 system system +/dev/iuicc* 0660 system system +/dev/gemini0 0660 system camera +/dev/jpeg0 0660 system camera +/dev/jpeg1 0660 system camera +/dev/jpeg2 0660 system camera +/dev/jpeg3 0660 system camera +/dev/adsprpc-smd 0664 system system +/dev/adsprpc-smd-secure 0644 system system +/dev/system_health_monitor 0644 radio system +/dev/mdss_rotator 0664 system system +/dev/spec_sync 0660 system system + +#QDSS +/dev/byte-cntr 0660 system oem_2902 +/dev/byte-cntr1 0660 system oem_2902 +/dev/mhi_qdss 0660 system oem_2902 +/sys/class/qdss_bridge/mhi_qdss mode 0660 system oem_2902 + +#qg +/dev/qg 0660 system system +/dev/qg_battery 0660 system system + +#qvr +/dev/qvr_external_sensor_ioctl 0660 system system +/sys/kernel/qvr_external_sensor/fd 0660 system system +/dev/bus/usb/001/002 0660 system system +/dev/bus/usb/001/003 0660 system system +/dev/bus/usb/001/004 0660 system system +/dev/bus/usb/001/005 0660 system system +/dev/bus/usb/002/002 0660 system system +/dev/bus/usb/002/003 0660 system system +/dev/bus/usb/002/004 0660 system system +/dev/bus/usb/002/005 0660 system system +/dev/bus/usb/003/002 0660 system system +/dev/bus/usb/003/003 0660 system system +/dev/bus/usb/003/004 0660 system system +/dev/bus/usb/003/005 0660 system system +/dev/hidraw* 0660 system system + +# wlan +/dev/wcnss_wlan 0660 system system +/dev/wcnss_ctrl 0660 system system +/sys/devices/soc/a000000.qcom,wcnss-wlan/net/wlan0/queues/rx-* rps_cpus 0660 system system +/sys/devices/soc/a000000.qcom,wcnss-wlan/net/p2p0/queues/rx-* rps_cpus 0660 system system +/sys/devices/platform/soc/18800000.qcom,icnss/net/wlan*/queues/rx-* rps_cpus 0660 system system +/sys/devices/platform/soc/1c00000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan*/queues/rx-* rps_cpus 0660 system system +/dev/spidev0.0 0660 system audio +/dev/i2c-7 0660 system audio +/dev/msm_camera/* 0660 system camera +/dev/gemini/ 0660 system camera +/dev/mercury0 0660 system camera +/dev/msm_vidc_reg 0660 system audio +/dev/msm_vidc_dec 0660 system audio +/dev/msm_vidc_dec_sec 0660 system audio +/dev/msm_vidc_enc 0660 system audio +/dev/msm_rotator 0660 system system +/dev/sdsprpc-smd 0660 system system + +#permissions for audio +/dev/wcd_dsp0_control 0660 system audio +/dev/wcd-dsp-glink 0660 system audio +/dev/audio_slimslave 0660 system audio +/dev/msm_qcelp 0660 system audio +/dev/msm_evrc 0660 system audio +/dev/msm_wma 0660 system audio +/dev/msm_wmapro 0660 system audio +/dev/msm_alac 0660 system audio +/dev/msm_ape 0660 system audio +/dev/msm_amrnb 0660 system audio +/dev/msm_amrwb 0660 system audio +/dev/msm_amrwbplus 0660 system audio +/dev/msm_aac 0660 system audio +/dev/msm_multi_aac 0660 system audio +/dev/msm_aac_in 0660 system audio +/dev/msm_qcelp_in 0660 system audio +/dev/msm_evrc_in 0660 system audio +/dev/msm_amrnb_in 0660 system audio +/dev/msm_amrwb_in 0660 system audio +/dev/msm_a2dp_in 0660 system audio +/dev/msm_ac3 0660 system audio +/dev/msm_audio_cal 0660 system audio +/dev/msm_hweffects 0660 system audio +/dev/msm_cad 0660 system audio +/dev/msm_fm 0660 system audio +/dev/msm_mvs 0660 system audio +/dev/msm_pcm_lp_dec 0660 system audio +/dev/msm_preproc_ctl 0660 system audio +/dev/msm_rtac 0660 system audio +/dev/msm_voicememo 0660 system audio +/dev/aud_pasthru_adsp 0660 system audio +/dev/msm_audio_ion_cma 0660 system audio +/dev/msm_audio_ion 0660 system audio +/dev/ttyHSL1 0660 system system +/dev/ttyHS1 0660 system system +/dev/mdm 0660 system radio +/sys/devices/virtual/smdpkt/smdcntl* open_timeout 0664 radio radio +/dev/sdio_tty_ciq_00 0660 system system +/dev/tty_sdio_00 0660 system system +/dev/ttyGS0 0660 system system +/dev/i2c-5 0660 media media +/dev/avtimer 0660 system audio +/dev/spidev2.0 0660 system audio +/dev/msm_adsp_sleepmon 0660 system audio + +# DVB devices +/dev/dvb/adapter0/demux* 0440 media media +/dev/dvb/adapter0/dvr* 0660 media media +/dev/dvb/adapter0/video* 0660 media media + +# Broadcast devices +/dev/tsc_mux0 0660 media media +/dev/tsc_ci0 0660 media media + +# sensors +/dev/sensors 0660 system system +/sys/devices/i2c-12/12-* pollrate_ms 0664 system system +/sys/devices/f9925000.i2c/i2c-0/0-* enable 0660 input system +/sys/devices/f9925000.i2c/i2c-0/0-* poll_delay 0660 input system +/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* enable 0660 input system +/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* poll_delay 0660 input system +/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* enable_wakeup 0660 input system +/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* max_latency 0660 input system +/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* flush 0660 input system +/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* calibrate 0660 input system +/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable 0660 input system +/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* poll_delay 0660 input system +/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable_wakeup 0660 input system +/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* max_latency 0660 input system +/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* flush 0660 input system +/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* calibrate 0660 input system +/sys/devices/virtual/optical_sensors/proximity ps_adc 0660 input system +/sys/devices/virtual/optical_sensors/proximity ps_poll_delay 0660 input system +/sys/devices/virtual/optical_sensors/lightsensor ls_auto 0660 input system +/sys/devices/virtual/optical_sensors/lightsensor ls_poll_delay 0660 input system +/sys/devices/virtual/input/input* poll 0660 input system +/sys/devices/virtual/input/input* pollrate_ms 0660 input system +/sys/devices/soc/78b7000.i2c/i2c-3/3-0020/input/input* secure_touch 0440 system drmrpc +/sys/devices/soc/78b7000.i2c/i2c-3/3-0020/input/input* secure_touch_enable 0660 system drmrpc +/sys/devices/soc/78b7000.i2c/i2c-3/3-0038/input/input* secure_touch 0440 system drmrpc +/sys/devices/soc/78b7000.i2c/i2c-3/3-0038/input/input* secure_touch_enable 0660 system drmrpc +/sys/devices/soc/78b7000.i2c/i2c-3/3-004b/input/input* secure_touch 0440 system drmrpc +/sys/devices/soc/78b7000.i2c/i2c-3/3-004b/input/input* secure_touch_enable 0660 system drmrpc +/sys/devices/soc/c179000.i2c/i2c-5/5-0020/input/input* secure_touch 0440 system drmrpc +/sys/devices/soc/c179000.i2c/i2c-5/5-0020/input/input* secure_touch_enable 0660 system drmrpc +/sys/devices/platform/soc/a98000.i2c/i2c-2/2-0020/input/input* secure_touch 0440 system drmrpc +/sys/devices/platform/soc/a98000.i2c/i2c-2/2-0020/input/input* secure_touch_enable 0660 system drmrpc +/sys/devices/platform/soc/a84000.i2c/i2c-2/2-0020/input/input* secure_touch 0440 system drmrpc +/sys/devices/platform/soc/a84000.i2c/i2c-2/2-0020/input/input* secure_touch_enable 0660 system drmrpc + +# GNSS Device premissions +/dev/gnss_sirf 0660 gps gps + +# laser sensor access +/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 + +# vm_bms +/dev/vm_bms 0660 system system +/dev/battery_data 0660 system system + +# wlan +/dev/wcnss_wlan 0660 system system +/dev/wcnss_ctrl 0660 system system +/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan0/queues/rx-* rps_cpus 0660 system system +/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/p2p0/queues/rx-* rps_cpus 0660 system system + +# wigig +/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/fst_link_loss 0660 wifi wifi +/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/thermal_throttling 0660 system system +/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/snr_thresh 0660 wifi wifi +/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/queues/rx-0/rps_cpus 0660 system system +/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/gro_flush_timeout 0660 system system +/sys/devices/virtual/net/bond0 queues/rx-0/rps_cpus 0660 system system + +#nfc permissions +/dev/nfc-nci 0660 nfc nfc +/dev/nq-nci 0660 nfc nfc +/dev/assd 0660 nfc nfc +/dev/st21nfc 0660 nfc nfc + +# eSE permissions +/dev/st54spi_gpio 0660 system system + +# UIO devices +/dev/uio0 0660 system system +/dev/uio1 0660 system system +/dev/uio2 0660 system system + +# SSR devices +/dev/subsys_* 0640 system system + +# remoteproc devices +/dev/remoteproc* 0640 system system + +# Ultrasound device +/dev/usf1 0660 system system + +# Ramdump devices +/dev/ramdump* 0640 system system + +# Fingerprint device +/dev/qbt* 0660 system system +/sys/class/fts/touch_aoi aoi_set 0660 root system +/sys/class/fts/touch_aoi power_set 0660 root system + +#ImproveTouch device +/dev/hbtp_input 0660 system system +/dev/hbtp_vm 0660 system system + +# LegacyTouch device +/sys/kernel/qts/primary/trusted_touch* 0660 system system +/sys/kernel/qts/secondary/trusted_touch* 0660 system system + +# Add device block for FRP +/dev/block/platform/soc/7824900.sdhci/by-name/config 0600 system system +/dev/block/platform/soc/7464900.sdhci/by-name/frp 0600 system system +/dev/block/platform/soc/624000.ufshc/by-name/frp 0600 system system +/dev/block/platform/soc/1da4000.ufshc/by-name/frp 0600 system system +/dev/block/platform/soc/c0c4000.sdhci/by-name/frp 0600 system system +/dev/block/platform/soc/1d84000.ufshc/by-name/frp 0600 system system +/dev/block/platform/soc/7c4000.sdhci/by-name/frp 0600 system system +/dev/block/platform/soc/4744000.sdhci/by-name/frp 0600 system system +/dev/block/platform/soc/4804000.ufshc/by-name/frp 0600 system system + +# This is temporary while using SD card for initial bring-up +/dev/block/platform/soc/8804000.sdhci/by-name/frp 0600 system system + +# Kmsg device +/dev/kmsg 0620 root system + +# LED class devices +/sys/class/leds/red delay_on 0640 system system +/sys/class/leds/red delay_off 0640 system system +/sys/class/leds/red breath 0640 system system +/sys/class/leds/red repeat 0640 system system +/sys/class/leds/red hw_pattern 0640 system system +/sys/class/leds/red trigger 0640 system system +/sys/class/leds/green delay_on 0640 system system +/sys/class/leds/green delay_off 0640 system system +/sys/class/leds/green breath 0640 system system +/sys/class/leds/green trigger 0640 system system +/sys/class/leds/green repeat 0640 system system +/sys/class/leds/green hw_pattern 0640 system system +/sys/class/leds/blue delay_on 0640 system system +/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/blue repeat 0640 system system +/sys/class/leds/blue hw_pattern 0640 system system + +# NPU device +/dev/msm_npu 0644 system system + +# USB role switch +/sys/class/dual_role_usb/* data_role 0660 system system +/sys/class/dual_role_usb/* power_role 0660 system system +/sys/class/dual_role_usb/* mode 0660 system system + +/sys/class/typec/port0 data_role 0660 system usb +/sys/class/typec/port0 power_role 0660 system usb +/sys/class/typec/port0 port_type 0660 system usb +/sys/class/typec/port0-partner accessory_mode 0440 system usb + +# USB Dynamic Disable +/sys/bus/platform/devices/a600000.ssusb dynamic_disable 0220 root usb + +# USB autosuspend/wakeup settings +/sys/bus/usb/devices/* power/autosuspend 0660 system usb +/sys/bus/usb/devices/* power/autosuspend_delay_ms 0660 system usb +/sys/bus/usb/devices/* power/control 0660 system usb +/sys/bus/usb/devices/* power/wakeup 0660 system usb + +#USB root hub authorize setting +/sys/bus/usb/devices/usb* authorized 0660 system usb + +#USB mode setting +/sys/bus/platform/devices/a600000.ssusb mode 0660 system usb + +#Memory Offline +/sys/devices/system/memory/memory* state 0660 system system + +/sys/devices/virtual/hdcp/msm_hdcp min_level_change 0664 system graphics + +#KGSL +/sys/class/kgsl/kgsl-3d0 perfcounter 0660 root shell + +# sys-fs display +/sys/class/graphics/fb* hpd 0664 system graphics +/sys/class/graphics/fb* res_info 0664 system graphics +/sys/class/graphics/fb* vendor_name 0664 system graphics +/sys/class/graphics/fb* product_description 0664 system graphics +/sys/class/graphics/fb* video_mode 0664 system graphics +/sys/class/graphics/fb* format_3d 0664 system graphics +/sys/class/graphics/fb* s3d_mode 0664 system graphics +/sys/class/graphics/fb* dynamic_fps 0664 system graphics +/sys/class/graphics/fb* msm_fb_dfps_mode 0664 system graphics +/sys/class/graphics/fb* hdr_stream 0664 system graphics +/sys/class/graphics/fb* cec/enable 0664 system graphics +/sys/class/graphics/fb* cec/logical_addr 0664 system graphics +/sys/class/graphics/fb* cec/rd_msg 0664 system graphics +/sys/class/graphics/fb* pa 0664 system graphics +/sys/class/graphics/fb* cec/wr_msg 0600 system graphics +/sys/class/graphics/fb* hdcp/tp 0664 system graphics +/sys/class/graphics/fb* hdcp2p2/min_level_change 0660 system graphics +/sys/class/graphics/fb* hdmi_audio_cb 0600 audioserver audio + +/sys/class/graphics/fb* lineptr_value 0664 system graphics +/sys/class/graphics/fb* msm_fb_persist_mode 0664 system graphics + +/sys/class/graphics/fb0 idle_time 0664 system graphics +/sys/class/graphics/fb0 dynamic_fps 0664 system graphics +/sys/class/graphics/fb0 dyn_pu 0664 system graphics +/sys/class/graphics/fb0 modes 0664 system graphics +/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 power/control 0664 system graphics + +#asm330 sensor +#common sensors files +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* buffer/enable 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* buffer/length 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* buffer/watermark 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* discharded_samples 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* current_timestamp_clock 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* hwfifo_flush 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* hwfifo_watermark 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* hwfifo_watermark_max 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* mount_matrix 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* name 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* sampling_frequency 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* sampling_frequency_available 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_timestamp_en 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_timestamp_index 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_timestamp_type 0664 system system + +# standard iio accel attributes +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_scale_available 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_x_raw 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_x_scale 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_y_raw 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_y_scale 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_z_raw 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_z_scale 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_x_en 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_x_index 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_x_type 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_y_en 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_y_index 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_y_type 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_z_en 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_z_index 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_z_type 0664 system system + +# standard iio gyro attributes +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_scale_available 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_x_raw 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_x_scale 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_y_raw 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_y_scale 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_z_raw 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_z_scale 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_x_en 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_x_index 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_x_type 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_y_en 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_y_index 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_y_type 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_z_en 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_z_index 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_z_type 0664 system system + + +# standard iio temp attributes +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_temp_offset 0664 system system +/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_temp_raw 0664 system system +/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 + +# devcoredump data attributes +/sys/class/devcoredump/devcd* data 0600 system system + +#Virtualization Attributes +/dev/gunyah 0666 root root + +# Tango 32-bit kernel support +/dev/tango32 0666 system system + +# Q2SPI UWB device +/dev/q2spiuwb 0660 uwb uwb diff --git a/recovery/root/vendor/etc/vintf/manifest_pineapple.xml b/recovery/root/vendor/etc/vintf/manifest.xml similarity index 83% rename from recovery/root/vendor/etc/vintf/manifest_pineapple.xml rename to recovery/root/vendor/etc/vintf/manifest.xml index 9034b5e..16c8334 100644 --- a/recovery/root/vendor/etc/vintf/manifest_pineapple.xml +++ b/recovery/root/vendor/etc/vintf/manifest.xml @@ -2,7 +2,7 @@ Input: device/qcom/pineapple/manifest_pineapple.xml --> - + android.hardware.audio hwbinder @@ -22,6 +22,24 @@ android.hardware.gatekeeper IGatekeeper/default + + android.hardware.gatekeeper + hwbinder + 1.0 + + IGatekeeper + default + + @1.0::IGatekeeper/default + + + android.hardware.nfc + INfc/default + + + android.hardware.secure_element + ISecureElement/eSE1 + com.dsi.ant hwbinder @@ -42,6 +60,10 @@ hwbinder @2.3::IUceService/com.qualcomm.qti.uceservice + + vendor.nxp.nxpnfc_aidl + INxpNfc/default + vendor.qti.hardware.bluetooth_audio hwbinder diff --git a/recovery/root/vendor/etc/vintf/manifest/android.hardware.security.keymint-service-qti.xml b/recovery/root/vendor/etc/vintf/manifest/android.hardware.security.keymint-service-qti.xml new file mode 100644 index 0000000..de8cb64 --- /dev/null +++ b/recovery/root/vendor/etc/vintf/manifest/android.hardware.security.keymint-service-qti.xml @@ -0,0 +1,44 @@ + + + + + android.hardware.security.keymint + 3 + IKeyMintDevice/default + + + android.hardware.security.sharedsecret + ISharedSecret/default + + + android.hardware.security.secureclock + ISecureClock/default + + + android.hardware.security.keymint + 3 + IRemotelyProvisionedComponent/default + + diff --git a/recovery/root/vendor/lib64/android.hardware.security.keymint-V3-ndk.so b/recovery/root/vendor/lib64/android.hardware.security.keymint-V3-ndk.so new file mode 100644 index 0000000..92334e3 Binary files /dev/null and b/recovery/root/vendor/lib64/android.hardware.security.keymint-V3-ndk.so differ diff --git a/recovery/root/vendor/lib64/android.hardware.security.rkp-V3-ndk.so b/recovery/root/vendor/lib64/android.hardware.security.rkp-V3-ndk.so new file mode 100644 index 0000000..53118ea Binary files /dev/null and b/recovery/root/vendor/lib64/android.hardware.security.rkp-V3-ndk.so differ diff --git a/recovery/root/vendor/lib64/android.hardware.security.secureclock-V1-ndk.so b/recovery/root/vendor/lib64/android.hardware.security.secureclock-V1-ndk.so new file mode 100644 index 0000000..f5e66c1 Binary files /dev/null and b/recovery/root/vendor/lib64/android.hardware.security.secureclock-V1-ndk.so differ diff --git a/recovery/root/vendor/lib64/android.hardware.security.sharedsecret-V1-ndk.so b/recovery/root/vendor/lib64/android.hardware.security.sharedsecret-V1-ndk.so new file mode 100644 index 0000000..b7c3fb9 Binary files /dev/null and b/recovery/root/vendor/lib64/android.hardware.security.sharedsecret-V1-ndk.so differ diff --git a/recovery/root/vendor/lib64/hw/android.hardware.gatekeeper@1.0-impl-qti.so b/recovery/root/vendor/lib64/hw/android.hardware.gatekeeper@1.0-impl-qti.so new file mode 100644 index 0000000..558864d Binary files /dev/null and b/recovery/root/vendor/lib64/hw/android.hardware.gatekeeper@1.0-impl-qti.so differ diff --git a/recovery/root/vendor/lib64/libGPreqcancel.so b/recovery/root/vendor/lib64/libGPreqcancel.so new file mode 100644 index 0000000..35ec286 Binary files /dev/null and b/recovery/root/vendor/lib64/libGPreqcancel.so differ diff --git a/recovery/root/vendor/lib64/libGPreqcancel_svc.so b/recovery/root/vendor/lib64/libGPreqcancel_svc.so new file mode 100644 index 0000000..7b6f619 Binary files /dev/null and b/recovery/root/vendor/lib64/libGPreqcancel_svc.so differ diff --git a/recovery/root/vendor/lib64/libQSEEComAPI.so b/recovery/root/vendor/lib64/libQSEEComAPI.so new file mode 100644 index 0000000..265b63c Binary files /dev/null and b/recovery/root/vendor/lib64/libQSEEComAPI.so differ diff --git a/recovery/root/vendor/lib64/libdiag.so b/recovery/root/vendor/lib64/libdiag.so new file mode 100644 index 0000000..b8d2d40 Binary files /dev/null and b/recovery/root/vendor/lib64/libdiag.so differ diff --git a/recovery/root/vendor/lib64/libdisplayconfig.qti.so b/recovery/root/vendor/lib64/libdisplayconfig.qti.so new file mode 100644 index 0000000..8e21a71 Binary files /dev/null and b/recovery/root/vendor/lib64/libdisplayconfig.qti.so differ diff --git a/recovery/root/vendor/lib64/libdrm.so b/recovery/root/vendor/lib64/libdrm.so new file mode 100644 index 0000000..d8e5f14 Binary files /dev/null and b/recovery/root/vendor/lib64/libdrm.so differ diff --git a/recovery/root/vendor/lib64/libdrmfs.so b/recovery/root/vendor/lib64/libdrmfs.so new file mode 100644 index 0000000..f5b7cea Binary files /dev/null and b/recovery/root/vendor/lib64/libdrmfs.so differ diff --git a/recovery/root/vendor/lib64/libdrmtime.so b/recovery/root/vendor/lib64/libdrmtime.so new file mode 100644 index 0000000..1289998 Binary files /dev/null and b/recovery/root/vendor/lib64/libdrmtime.so differ diff --git a/recovery/root/vendor/lib64/libgpt.so b/recovery/root/vendor/lib64/libgpt.so new file mode 100644 index 0000000..84bad96 Binary files /dev/null and b/recovery/root/vendor/lib64/libgpt.so differ diff --git a/recovery/root/vendor/lib64/libkeymasterdeviceutils.so b/recovery/root/vendor/lib64/libkeymasterdeviceutils.so new file mode 100644 index 0000000..2f87b8e Binary files /dev/null and b/recovery/root/vendor/lib64/libkeymasterdeviceutils.so differ diff --git a/recovery/root/vendor/lib64/libkeymasterutils.so b/recovery/root/vendor/lib64/libkeymasterutils.so new file mode 100644 index 0000000..8019212 Binary files /dev/null and b/recovery/root/vendor/lib64/libkeymasterutils.so differ diff --git a/recovery/root/vendor/lib64/libminkdescriptor.so b/recovery/root/vendor/lib64/libminkdescriptor.so new file mode 100644 index 0000000..3a002a6 Binary files /dev/null and b/recovery/root/vendor/lib64/libminkdescriptor.so differ diff --git a/recovery/root/vendor/lib64/libops.so b/recovery/root/vendor/lib64/libops.so new file mode 100644 index 0000000..1128f1b Binary files /dev/null and b/recovery/root/vendor/lib64/libops.so differ diff --git a/recovery/root/vendor/lib64/libqcbor.so b/recovery/root/vendor/lib64/libqcbor.so new file mode 100644 index 0000000..515fccd Binary files /dev/null and b/recovery/root/vendor/lib64/libqcbor.so differ diff --git a/recovery/root/vendor/lib64/libqisl.so b/recovery/root/vendor/lib64/libqisl.so new file mode 100644 index 0000000..0874902 Binary files /dev/null and b/recovery/root/vendor/lib64/libqisl.so differ diff --git a/recovery/root/vendor/lib64/libqtikeymint.so b/recovery/root/vendor/lib64/libqtikeymint.so new file mode 100644 index 0000000..ced5748 Binary files /dev/null and b/recovery/root/vendor/lib64/libqtikeymint.so differ diff --git a/recovery/root/vendor/lib64/librpmb.so b/recovery/root/vendor/lib64/librpmb.so new file mode 100644 index 0000000..9d1d8b7 Binary files /dev/null and b/recovery/root/vendor/lib64/librpmb.so differ diff --git a/recovery/root/vendor/lib64/libspl.so b/recovery/root/vendor/lib64/libspl.so new file mode 100644 index 0000000..a1caaab Binary files /dev/null and b/recovery/root/vendor/lib64/libspl.so differ diff --git a/recovery/root/vendor/lib64/libssd.so b/recovery/root/vendor/lib64/libssd.so new file mode 100644 index 0000000..4fa57bd Binary files /dev/null and b/recovery/root/vendor/lib64/libssd.so differ diff --git a/recovery/root/vendor/lib64/libtime_genoff.so b/recovery/root/vendor/lib64/libtime_genoff.so new file mode 100644 index 0000000..570e9b4 Binary files /dev/null and b/recovery/root/vendor/lib64/libtime_genoff.so differ diff --git a/recovery/root/vendor/lib64/vendor.display.config@2.0.so b/recovery/root/vendor/lib64/vendor.display.config@2.0.so new file mode 100644 index 0000000..e298e99 Binary files /dev/null and b/recovery/root/vendor/lib64/vendor.display.config@2.0.so differ diff --git a/vendor.prop b/vendor.prop new file mode 100644 index 0000000..bf57ce2 --- /dev/null +++ b/vendor.prop @@ -0,0 +1,2 @@ +# TW rotation +persist.twrp.rotation=270