From c483e67b5c7e27851ef47b729d34787f23b74004 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Fri, 2 Dec 2022 17:09:33 -0500 Subject: [PATCH] g12: treewide: TTT1.220909.001.B7-9305992 Change-Id: I280f0b86e4a0f61d534d8fad76d9b4fda0134657 --- BoardConfigCommon.mk | 2 +- extract-files.sh | 3 - g12.mk | 6 +- init-files/fstab.amlogic | 12 +-- init-files/init.amlogic.media.rc | 2 + init-files/init.amlogic.rc | 139 ++--------------------------- init-files/init.amlogic.system.rc | 104 +++++++++++++++++++++ init-files/init.amlogic.wifi.rc | 34 +++++++ init-files/ueventd.rc | 6 ++ media/media_codecs_performance.xml | 109 ++++++++++++++-------- proprietary-files.txt | 41 ++++----- vendor.prop | 16 ++++ 12 files changed, 271 insertions(+), 203 deletions(-) create mode 100644 init-files/init.amlogic.system.rc create mode 100644 init-files/init.amlogic.wifi.rc diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index c4e4260..06ecf6b 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -51,7 +51,7 @@ TARGET_RECOVERY_FSTAB := $(COMMON_PATH)/init-files/fstab.amlogic TARGET_RELEASETOOLS_EXTENSIONS := $(COMMON_PATH)/releasetools ## Vendor SPL -VENDOR_SECURITY_PATCH := 2021-11-05 +VENDOR_SECURITY_PATCH := 2022-12-01 ## Include the main common tree BoardConfig makefile include device/amlogic/common/BoardConfigAmlogic.mk diff --git a/extract-files.sh b/extract-files.sh index 6f3c780..c503bbe 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -67,9 +67,6 @@ function blob_fixup() { vendor/etc/init/tee-supplicant.rc) sed -i s#/vendor/lib/#/vendor/lib/modules/#g "${2}" ;; - vendor/etc/wifi/wpa_supplicant_overlay.conf) - echo "driver_param=use_p2p_group_interface=1">>"${2}" - ;; esac } diff --git a/g12.mk b/g12.mk index ba8b5d0..98e8055 100644 --- a/g12.mk +++ b/g12.mk @@ -64,10 +64,13 @@ PRODUCT_PACKAGES += \ # Init-Files PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/init-files/fstab.amlogic:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.amlogic \ + $(LOCAL_PATH)/init-files/fstab.amlogic:$(TARGET_COPY_OUT_RAMDISK)/fstab.amlogic \ $(LOCAL_PATH)/init-files/init.amlogic.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.rc \ $(LOCAL_PATH)/init-files/init.amlogic.board.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.board.rc \ $(LOCAL_PATH)/init-files/init.amlogic.media.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.media.rc \ + $(LOCAL_PATH)/init-files/init.amlogic.system.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.system.rc \ $(LOCAL_PATH)/init-files/init.amlogic.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.usb.rc \ + $(LOCAL_PATH)/init-files/init.amlogic.wifi.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi.rc \ $(LOCAL_PATH)/init-files/init.recovery.amlogic.rc:recovery/root/init.recovery.amlogic.rc \ $(LOCAL_PATH)/init-files/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc @@ -79,7 +82,6 @@ PRODUCT_PACKAGES += \ ## Keymaster PRODUCT_PACKAGES += \ - android.hardware.hardware_keystore.xml \ lib_android_keymaster_keymint_utils.vendor \ libkeymint.vendor \ libkeymaster_messages.vendor \ @@ -101,6 +103,8 @@ PRODUCT_USE_DYNAMIC_PARTITIONS := true ## Permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.device_unique_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.device_unique_attestation.xml \ + frameworks/native/data/etc/android.hardware.gamepad.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.gamepad.xml \ + frameworks/native/data/etc/android.hardware.keystore.app_attest_key.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.keystore.app_attest_key.xml \ frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \ frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \ frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \ diff --git a/init-files/fstab.amlogic b/init-files/fstab.amlogic index f999d5d..845fd24 100644 --- a/init-files/fstab.amlogic +++ b/init-files/fstab.amlogic @@ -1,15 +1,15 @@ ## Dynamic partitions -odm /odm ext4 ro,barrier=1,discard wait,avb,logical,first_stage_mount -product /product ext4 ro,barrier=1,discard wait,avb,logical,first_stage_mount -system /system ext4 ro,barrier=1,discard wait,avb,logical,first_stage_mount -system_ext /system_ext ext4 ro,barrier=1,discard wait,avb,logical,first_stage_mount -vendor /vendor ext4 ro,barrier=1,discard wait,avb,logical,first_stage_mount +odm /odm ext4 ro,barrier=1 wait,avb,logical,first_stage_mount +product /product ext4 ro,barrier=1 wait,avb,logical,first_stage_mount +system /system ext4 ro,barrier=1 wait,avb=vbmeta,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey" +system_ext /system_ext ext4 ro,barrier=1 wait,avb,logical,first_stage_mount +vendor /vendor ext4 ro,barrier=1 wait,avb,logical,first_stage_mount ## Block devices /dev/block/boot /boot emmc defaults defaults -/dev/block/dtbo /dtbo emmc defaults defaults /dev/block/cache /cache ext4 noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic wait,check,formattable /dev/block/data /data ext4 noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic wait,check,fileencryption=aes-256-xts:aes-256-cts:v1,quota,formattable,reservedsize=32M,checkpoint=block +/dev/block/dtbo /dtbo emmc defaults defaults /dev/block/metadata /metadata ext4 noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic wait,check,formattable,first_stage_mount /dev/block/misc /misc emmc defaults defaults /dev/block/param /mnt/vendor/param ext4 noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic wait,check,quota,formattable diff --git a/init-files/init.amlogic.media.rc b/init-files/init.amlogic.media.rc index 7c6dfe3..5ff1c21 100644 --- a/init-files/init.amlogic.media.rc +++ b/init-files/init.amlogic.media.rc @@ -7,6 +7,8 @@ on boot chown media system /sys/module/amvdec_mpeg12/parameters/dec_control chown media system /sys/module/amvideo/parameters/smooth_sync_enable chown system camera /dev/ge2d + chmod 660 /sys/class/secmem/secmem_mm_config + chown mediacodec system /sys/class/secmem/secmem_mm_config write /sys/module/stream_input/parameters/def_vstreambuf_sizeM 10 write /sys/module/stream_input/parameters/def_4k_vstreambuf_sizeM 15 diff --git a/init-files/init.amlogic.rc b/init-files/init.amlogic.rc index bee26b0..1de5843 100644 --- a/init-files/init.amlogic.rc +++ b/init-files/init.amlogic.rc @@ -1,135 +1,10 @@ -import /vendor/etc/init/hw/init.amlogic.usb.rc -import /vendor/etc/init/hw/init.amlogic.board.rc -import /vendor/etc/init/hw/init.amlogic.wifi.rc -import /vendor/etc/init/hw/init.amlogic.media.rc -import /vendor/etc/init/hw/init.amlogic.wifi_buildin.rc -import /vendor/etc/init/cppreopts_amlogic.rc -import /vendor/etc/init/hw/init.amlogic.bluetooth.rc - -on early-init - mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755 - mount proc proc /proc remount hidepid=2,gid=3009 - -on init - # 30 means reserve 3% memory using for high water mark, 1GB DDR x 3% = 30MB - write /proc/sys/vm/watermark_scale_factor 30 - write /proc/sys/vm/watermark_boost_factor 0 - # 12288 KB - write /proc/sys/vm/min_free_kbytes 12288 - - # Init the unifykeys - write /sys/class/unifykeys/attach 1 - chmod 666 /dev/video_composer.0 - chmod 666 /dev/video_composer.1 - - # pppoe - mkdir /data/misc/etc 0777 - mkdir /data/misc/etc/ppp 0777 - -on boot - # osd logo legacy path - chown system graphics /sys/module/fb/parameters/osd_logo_index - chmod 0660 /sys/module/fb/parameters/osd_logo_index - # osd logo new path - chown system graphics /sys/module/aml_media/parameters/osd_logo_index - chmod 0660 /sys/module/aml_media/parameters/osd_logo_index - - chmod 0666 /sys/class/tsync_pcr/tsync_vpts_adjust - chmod 0666 /sys/class/amstream/reset_audio_port - - # HDMI/LCD switch - chown media system /sys/class/switch/hdmi/state - chmod 0660 /sys/class/switch/hdmi/state - chown media system /sys/devices/virtual/switch/hdmi/state - chmod 0660 /sys/devices/virtual/switch/hdmi/state - chmod 666 /dev/v4lvideo - chmod 666 /dev/video30 - chmod 666 /dev/video31 - chmod 666 /dev/video32 - chmod 666 /dev/video33 - chmod 666 /dev/video34 - chmod 666 /dev/video35 - chmod 666 /dev/video36 - chmod 666 /dev/video37 - chmod 666 /dev/video38 - # Thermal - chown system system /sys/class/thermal/thermal_zone0/mode - chown system system /sys/class/thermal/thermal_zone1/mode - chmod 664 /sys/class/thermal/thermal_zone0/mode - chmod 664 /sys/class/thermal/thermal_zone1/mode - - # vfm map - chown media system /sys/class/vfm/map - chmod 666 /sys/class/vfm/map - write /sys/class/vfm/map "rm default" - write /sys/class/vfm/map "add default decoder ppmgr deinterlace amvideo" - - chmod 666 /sys/class/video/show_first_frame_nosync - chown media system /sys/class/video/show_first_frame_nosync - -service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/sdcard1 /storage/sdcard1 - class late_start - disabled - -service fuse_udisk0 /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/udisk0 /storage/udisk0 - class late_start - disabled - -service fuse_udisk1 /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/udisk1 /storage/udisk1 - class late_start - disabled - -service fuse_sr0 /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/sr0 /storage/sr0 - class late_start - disabled - -service fuse_loop /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/loop /storage/loop - class late_start - disabled - -service remotecfg /vendor/bin/remotecfg /vendor/etc/remote.conf - class main - oneshot - seclabel u:r:remotecfg:s0 - -service hdcp_tx22 /vendor/bin/hdcp_tx22 \ - -f /odm/etc/firmware/firmware.le - class main - disabled - oneshot - -service factoryreset /mnt/vendor/tee/factoryreset.sh - class main - user root - group root - disabled - oneshot - seclabel u:r:recovery:s0 - -service bugreport /system/bin/dumpstate -d -p -B -z \ - -o /data/user_de/0/com.android.shell/files/bugreports/bugreport - class main - disabled - oneshot +import /vendor/etc/init/hw/init.amlogic.system.rc on property:sys.boot_completed=1 - # Enable ZRAM on boot_complete - swapon_all /vendor/etc/fstab.amlogic - start factoryreset - -on property:persist.vendor.bt_module=rtk_btusb - insmod /vendor/lib/modules/rtk_btusb.ko - -on property:persist.vendor.bt_module=btmtk_usb - insmod /vendor/lib/modules/btmtk_usb.ko - -on property:persist.vendor.btmodule=sprdbt_tty - insmod /vendor/lib/modules/uwe5621_bsp_sdio.ko - insmod /vendor/lib/modules/sprdbt_tty.ko + # restrict cpusets + write /dev/cpuset/top-app/cpus 0-3 + write /dev/cpuset/foreground/cpus 0-1 + write /dev/cpuset/background/cpus 0 + write /dev/cpuset/system-background/cpus 0-1 + write /dev/cpuset/restricted/cpus 0-1 -service pppoe_wrapper /system/bin/pppoe_wrapper - class main - group system inet - disabled - oneshot - seclabel u:r:pppoe_wrapper:s0 diff --git a/init-files/init.amlogic.system.rc b/init-files/init.amlogic.system.rc new file mode 100644 index 0000000..e47bfeb --- /dev/null +++ b/init-files/init.amlogic.system.rc @@ -0,0 +1,104 @@ +import /vendor/etc/init/hw/init.amlogic.usb.rc +import /vendor/etc/init/hw/init.amlogic.board.rc +import /vendor/etc/init/hw/init.amlogic.wifi.rc +import /vendor/etc/init/hw/init.amlogic.media.rc +import /vendor/etc/init/hw/init.amlogic.wifi_buildin.rc +import /vendor/etc/init/cppreopts_amlogic.rc +import /vendor/etc/init/hw/init.amlogic.bluetooth.rc + +on init + #start console + #30 means reserve 3% memory using for high water mark, 1GB DDR x 3% = 30MB + write /proc/sys/vm/watermark_scale_factor 30 + write /proc/sys/vm/watermark_boost_factor 0 + #12288KB + write /proc/sys/vm/min_free_kbytes 12288 + + #init the unifykeys + write /sys/class/unifykeys/attach 1 + chmod 666 /dev/video_composer.0 + chmod 666 /dev/video_composer.1 + + # pppoe + mkdir /data/misc/etc 0777 + mkdir /data/misc/etc/ppp 0777 + +on boot + # osd logo legacy path + chown system graphics /sys/module/fb/parameters/osd_logo_index + chmod 0660 /sys/module/fb/parameters/osd_logo_index + # osd logo new path + chown system graphics /sys/module/aml_media/parameters/osd_logo_index + chmod 0660 /sys/module/aml_media/parameters/osd_logo_index + + chmod 0666 /sys/class/tsync_pcr/tsync_vpts_adjust + chmod 0666 /sys/class/amstream/reset_audio_port + + # HDMI/LCD switch + chown media system /sys/class/switch/hdmi/state + chmod 0660 /sys/class/switch/hdmi/state + chown media system /sys/devices/virtual/switch/hdmi/state + chmod 0660 /sys/devices/virtual/switch/hdmi/state + chmod 666 /dev/v4lvideo + chmod 666 /dev/video30 + chmod 666 /dev/video31 + chmod 666 /dev/video32 + chmod 666 /dev/video33 + chmod 666 /dev/video34 + chmod 666 /dev/video35 + chmod 666 /dev/video36 + chmod 666 /dev/video37 + chmod 666 /dev/video38 + # thermal + chown system system /sys/class/thermal/thermal_zone0/mode + chown system system /sys/class/thermal/thermal_zone1/mode + chmod 664 /sys/class/thermal/thermal_zone0/mode + chmod 664 /sys/class/thermal/thermal_zone1/mode + + #vfm map + chown media system /sys/class/vfm/map + chmod 666 /sys/class/vfm/map + write /sys/class/vfm/map "rm default" + write /sys/class/vfm/map "add default decoder ppmgr deinterlace amvideo" + + chmod 666 /sys/class/video/show_first_frame_nosync + chown media system /sys/class/video/show_first_frame_nosync + +service remotecfg /vendor/bin/remotecfg /vendor/etc/remote.conf + class main + oneshot + seclabel u:r:remotecfg:s0 + +service hdcp_tx22 /vendor/bin/hdcp_tx22 \ + -f /odm/etc/firmware/firmware.le + class main + disabled + oneshot + +service bugreport /system/bin/dumpstate -d -p -B -z \ + -o /data/user_de/0/com.android.shell/files/bugreports/bugreport + class main + disabled + oneshot + +on property:sys.boot_completed=1 + # Enable ZRAM on boot_complete + swapon_all /vendor/etc/fstab.amlogic + start factoryreset + +on property:persist.vendor.bt_module=rtk_btusb + insmod /vendor/lib/modules/rtk_btusb.ko + +on property:persist.vendor.bt_module=btmtk_usb + insmod /vendor/lib/modules/btmtk_usb.ko + +on property:persist.vendor.bt_module=sprdbt_tty + insmod /vendor/lib/modules/uwe5621_bsp_sdio.ko + insmod /vendor/lib/modules/sprdbt_tty.ko + +service pppoe_wrapper /system/bin/pppoe_wrapper + class main + group system inet + disabled + oneshot + seclabel u:r:pppoe_wrapper:s0 diff --git a/init-files/init.amlogic.wifi.rc b/init-files/init.amlogic.wifi.rc new file mode 100644 index 0000000..bee87cb --- /dev/null +++ b/init-files/init.amlogic.wifi.rc @@ -0,0 +1,34 @@ +on fs + chown bluetooth bluetooth /sys/module/bt_device/parameters/btpower_evt + chmod 0666 /sys/module/bt_device/parameters/btpower_evt + + chown bluetooth bluetooth /sys/module/bt_device/parameters/btwake_evt + chmod 0666 /sys/module/bt_device/parameters/btwake_evt + +on property:vendor.bcm_wifi=bcm + chown system wifi /sys/module/dhd/parameters/firmware_path + chmod 0660 /sys/module/dhd/parameters/firmware_path + chown system wifi /sys/module/bcmdhd/parameters/firmware_path + chmod 0660 /sys/module/bcmdhd/parameters/firmware_path + chown system wifi /sys/module/dhdpci/parameters/firmware_path + chmod 0660 /sys/module/dhdpci/parameters/firmware_path + setprop wifi.direct.interface p2p-dev-wlan0 + +on property:vendor.bcm_wifi=rtl + setprop wifi.direct.interface p2p0 + +on property:vendor.bcm_wifi=mtk + setprop wifi.direct.interface p2p0 + +on property:vendor.bcm_wifi=qca + setprop wifi.direct.interface p2p0 + +on property:vendor.bcm_wifi=aml + setprop wifi.direct.interface p2p0 + +on property:vendor.w1_wifi_type=ap + write /sys/module/vlsicomm/parameters/con_mode 6 + +on property:vendor.w1_wifi_type=p2p + write /sys/module/vlsicomm/parameters/con_mode 130 + diff --git a/init-files/ueventd.rc b/init-files/ueventd.rc index d0ced48..814f7fe 100644 --- a/init-files/ueventd.rc +++ b/init-files/ueventd.rc @@ -40,6 +40,7 @@ /dev/amaudio_utils 0660 media system /dev/amaudio_ctl 0660 media system /dev/amvenc_avc 0660 mediacodec system +/dev/amvecm 0660 system system /dev/HevcEnc 0660 mediacodec system /dev/amsubtitle 0660 media system /dev/jpegenc 0660 media system @@ -97,6 +98,9 @@ /dev/rtkbt_dev 0660 bluetooth bluetooth /dev/hidraw* 0660 system audio /dev/btusb0 0660 bluetooth bluetooth +#unisoc +/dev/ttyBT0 0660 bluetooth bluetooth +/dev/ttyBT1 0660 bluetooth bluetooth /dev/display 0660 root graphics @@ -124,6 +128,8 @@ /sys/devices/platform/aml_bt/rfkill/rfkill0 type 0660 bluetooth bluetooth /sys/devices/bt-dev.*/rfkill/rfkill0 state 0660 bluetooth bluetooth /sys/devices/bt-dev.*/rfkill/rfkill0 type 0660 bluetooth bluetooth +/sys/devices/platform/mtty.0/rfkill/rfkill1 state 0660 bluetooth bluetooth +/sys/devices/platform/mtty.0/rfkill/rfkill1 type 0660 bluetooth bluetooth # HDMI CEC /sys/class/amhdmitx/amhdmitx0 hpd_state 0664 system system diff --git a/media/media_codecs_performance.xml b/media/media_codecs_performance.xml index 7748e83..cab581e 100644 --- a/media/media_codecs_performance.xml +++ b/media/media_codecs_performance.xml @@ -45,7 +45,7 @@ - + @@ -59,10 +59,14 @@ - - - - + + + + + + + + @@ -111,23 +115,34 @@ - - - - - + + + + + + + + + + - - - - - - + + + + + + + + + + + + @@ -135,8 +150,10 @@ - - + + + + @@ -168,35 +185,57 @@ - - + + + + - - - - + + + + + + + + - + + + + + + - - - + + + + + + + - - - + + + + + + - - - - + + + + + + + + diff --git a/proprietary-files.txt b/proprietary-files.txt index d27bfae..6991d60 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1,8 +1,10 @@ ### All blobs from this list, unless pinned and noted as otherwise, -## are from adt3-user 12 STT1.211025.001.Z4 7928920 release-keys. +## are from adt3-user 13 TTT1.220909.001.B7 9305992 release-keys. # ATV Specific +product/etc/permissions/com.google.android.tv.dfuservice.xml product/etc/permissions/privapp-permissions-atv-product.xml +product/etc/permissions/privapp-permissions-deadpool.xml product/etc/permissions/privapp-permissions-google-p.xml product/etc/permissions/split-permissions-google.xml product/etc/sysconfig/google-hiddenapi-package-whitelist.xml @@ -10,26 +12,19 @@ product/etc/sysconfig/google.xml:product/etc/sysconfig/google-lineage.xml product/etc/sysconfig/google_atv.xml -product/priv-app/DfuService/DfuService.apk -product/priv-app/Adt3LauncherCustomization/Adt3LauncherCustomization.apk --product/priv-app/Adt3SuwCustomization/Adt3SuwCustomization.apk system/etc/permissions/privapp-permissions-google.xml system_ext/bin/blur_sysprop_notifier system_ext/etc/init/blur_sysprop_notifier.rc -system_ext/etc/permissions/privapp-permissions-deadpool.xml system_ext/etc/permissions/privapp-permissions-google-se.xml --system_ext/priv-app/DeadpoolServiceBtServices/DeadpoolServiceBtServices.apk # Audio -system_ext/bin/param_set vendor/lib/hw/audio.primary.amlogic.so vendor/lib/libAmlAudioOutPort.so vendor/lib/libamadec.so vendor/lib/libamaudioutils.so vendor/lib/libamladecs.so -vendor/lib/libamlaudiohal.so -vendor/lib/libamlaudiohal@7.0.so -vendor/lib/libamlaudiohal_deathhandler.so +vendor/lib/libamlaudiohal.7.0.so vendor/lib/libamlaudiorc.so -vendor/lib/libamlmediautils.so vendor/lib/libamlparser.so vendor/lib/libamlresampler.so vendor/lib/libamlspeed.so @@ -54,6 +49,7 @@ vendor/lib/soundfx/libvirtualsurround.so vendor/lib/soundfx/libvirtualx.so # Bluetooth +product/priv-app/DeadpoolService/DeadpoolService.apk vendor/bin/hw/android.hardware.bluetooth@1.0-service-droidlogic vendor/etc/bluetooth/auto_pairing.conf vendor/etc/bluetooth/blacklist.conf @@ -75,6 +71,7 @@ vendor/bin/ddrtest.sh vendor/etc/lowmemorykiller.txt vendor/etc/lowmemorykiller_2G.txt vendor/etc/lowmemorykiller_512M.txt +vendor/etc/permissions/android.hardware.hardware_keystore.amlogic.xml vendor/etc/permissions/android.software.cant_save_state.xml # Composer @@ -90,18 +87,11 @@ vendor/lib/libvideotunnel.so vendor/lib/vendor.amlogic.display.meson_display_ipc@1.0.so # Droidlogic --system_ext/priv-app/droidlogic-res/droidlogic-res.apk --vendor/framework/droidlogic.jar -system_ext/etc/permissions/droidlogic_permissions.xml -system_ext/lib/libjniuevent.so +-vendor/framework/droidlogic.software.core.jar vendor/etc/permissions/droidlogic.software.core.xml # DRM -vendor/bin/oemcrypto_cas_test -vendor/lib/libcasoemcrypto.so -vendor/lib/libdec_ca_wvcas.so vendor/lib/libsecmem.so -vendor/lib/mediacas/libwvmediacas.so # Dumpstate -vendor/etc/vintf/manifest/android.hardware.dumpstate@1.1-service.droidlogic.xml @@ -112,8 +102,6 @@ vendor/etc/init/android.hardware.dumpstate@1.1-service.droidlogic.rc vendor/lib/libam_adp.so # Graphics -system_ext/lib/arm.graphics-V1-ndk_platform.so -system_ext/lib/libamgralloc_ext.so vendor/bin/hw/android.hardware.graphics.allocator@4.0-service vendor/etc/init/android.hardware.graphics.allocator@4.0-service.rc vendor/etc/mesondisplay.cfg @@ -158,8 +146,10 @@ vendor/usr/keylayout/Vendor_0002_Product_0002.kl vendor/usr/keylayout/Vendor_000d_Product_3838.kl vendor/usr/keylayout/Vendor_000d_Product_3839.kl vendor/usr/keylayout/Vendor_005d_Product_0001.kl +vendor/usr/keylayout/Vendor_005d_Product_0002.kl vendor/usr/keylayout/Vendor_0484_Product_5738.kl vendor/usr/keylayout/Vendor_0508_Product_0110.kl +vendor/usr/keylayout/Vendor_0957_Product_0006.kl vendor/usr/keylayout/Vendor_0c45_Product_1109.kl vendor/usr/keylayout/Vendor_1915_Product_0001.kl vendor/usr/keylayout/Vendor_7045_Product_1820.kl @@ -175,10 +165,6 @@ vendor/lib/firmware/video/video_ucode.bin vendor/lib/libamavutils.so # Media -system_ext/lib/libmediahal_mediasync.system.so -system_ext/lib/libmediahal_resman.system.so -system_ext/lib/libmediahal_tsplayer.system.so -system_ext/lib/libmediahal_videodec.system.so vendor/lib/libmediahal_mediasync.so vendor/lib/libmediahal_passthrough.so vendor/lib/libmediahal_resman.so @@ -189,6 +175,11 @@ vendor/lib/libmediahal_videodec.so # Memtrack vendor/lib/hw/memtrack.amlogic.so +# OEM Lock +vendor/bin/hw/android.hardware.oemlock@1.0-service.droidlogic +vendor/etc/init/android.hardware.oemlock@1.0-service.droidlogic.rc +vendor/etc/vintf/manifest/android.hardware.oemlock@1.0-service.droidlogic.xml + # OMX odm/lib/libHwAudio_dcvdec.so odm/lib/libHwAudio_dtshd.so @@ -197,6 +188,7 @@ vendor/lib/libOmxBase.so vendor/lib/libOmxCore.so vendor/lib/libOmxVideo.so vendor/lib/libdatachunkqueue_alt.so +vendor/lib/libdsm.so vendor/lib/libfpscalculator_alt.so vendor/lib/libomx_av_core_alt.so vendor/lib/libomx_clock_utils_alt.so @@ -237,7 +229,6 @@ vendor/lib/libge2d.so odm/etc/firmware/firmware.le odm/etc/tvconfig/pq/pq.db odm/etc/tvconfig/pq/pq_default.ini -system_ext/lib/vendor.amlogic.hardware.systemcontrol@1.0.so vendor/bin/hdcp_tx22 vendor/bin/systemcontrol vendor/etc/init/systemcontrol.rc @@ -270,5 +261,5 @@ vendor/etc/init/android.hardware.drm@1.4-service.widevine.rc vendor/lib/libwvhidl.so # Wi-Fi +vendor/etc/wifi/p2p_supplicant.conf vendor/etc/wifi/p2p_supplicant_overlay.conf -vendor/etc/wifi/wpa_supplicant.conf:vendor/etc/wifi/wpa_supplicant_overlay.conf diff --git a/vendor.prop b/vendor.prop index 8560b29..ab96fd4 100644 --- a/vendor.prop +++ b/vendor.prop @@ -1,3 +1,19 @@ +## Bluetooth +bluetooth.core.gap.le.privacy.enabled=false +bluetooth.profile.asha.central.enabled=true +bluetooth.profile.a2dp.source.enabled=true +bluetooth.profile.avrcp.target.enabled=true +bluetooth.profile.gatt.enabled=true +bluetooth.profile.hfp.ag.enabled=true +bluetooth.profile.hid.host.enabled=true +bluetooth.profile.mcp.server.enabled=true +bluetooth.profile.opp.enabled=true +bluetooth.profile.pan.nap.enabled=true +bluetooth.profile.pan.panu.enabled=true +bluetooth.core.gap.le.conn.min.limit=6 +persist.vendor.bluetooth.prefferedrole=master +wc_transport.soc_initialized=0 + ## Graphics debug.renderengine.backend=skiaglthreaded ro.hardware.vulkan=amlogic -- 2.20.1