sm7125-common: A525FXXU4CVJB

Change-Id: I91a4787c205194035a33d2ce51993a368debd96a
tirimbino
Simon1511 2 years ago committed by Ruchit Marathe
parent ad17c2802b
commit decf7b6c14
  1. 2
      BoardConfigCommon.mk
  2. 3
      common.mk
  3. 2
      configs/audio/audio_effects.xml
  4. 1
      configs/media/media_codecs.xml
  5. 12
      proprietary-files.txt
  6. 8
      rootdir/Android.mk
  7. 51
      rootdir/etc/init.samsung.rc
  8. 17
      rootdir/etc/init.vendor.sysfw.rc
  9. 9
      rootdir/etc/wifi_sec.rc
  10. 10
      vendor.prop

@ -183,7 +183,7 @@ TARGET_USES_ION := true
TARGET_DISABLED_UBWC := true TARGET_DISABLED_UBWC := true
# Security patch # Security patch
VENDOR_SECURITY_PATCH := 2022-07-01 VENDOR_SECURITY_PATCH := 2022-11-01
# FM # FM
BOARD_HAS_QCA_FM_SOC := cherokee BOARD_HAS_QCA_FM_SOC := cherokee

@ -55,8 +55,7 @@ PRODUCT_PACKAGES += \
init.vendor.onebinary.rc \ init.vendor.onebinary.rc \
init.vendor.rilchip.rc \ init.vendor.rilchip.rc \
init.vendor.rilcommon.rc \ init.vendor.rilcommon.rc \
init.vendor.sensors.rc \ init.vendor.sensors.rc
init.vendor.sysfw.rc
# Vendor scripts # Vendor scripts
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \

@ -42,6 +42,7 @@
<library name="audiosphere" path="libasphere.so"/> <library name="audiosphere" path="libasphere.so"/>
<library name="shoebox" path="libshoebox.so"/> <library name="shoebox" path="libshoebox.so"/>
<library name="dap" path="libswdap.so"/> <library name="dap" path="libswdap.so"/>
<library name="spatializer" path="libswspatializer.so"/>
</libraries> </libraries>
<effects> <effects>
<effectProxy name="bassboost" library="proxy" uuid="14804144-a5ee-4d24-aa88-0002a5d5c51b"> <effectProxy name="bassboost" library="proxy" uuid="14804144-a5ee-4d24-aa88-0002a5d5c51b">
@ -90,6 +91,7 @@
<effect name="audiosphere" library="audiosphere" uuid="184e62ab-2d19-4364-9d1b-c0a40733866c"/> <effect name="audiosphere" library="audiosphere" uuid="184e62ab-2d19-4364-9d1b-c0a40733866c"/>
<effect name="shoebox" library="shoebox" uuid="1eab784c-1a36-4b2a-b7fc-e34c44cab89e"/> <effect name="shoebox" library="shoebox" uuid="1eab784c-1a36-4b2a-b7fc-e34c44cab89e"/>
<effect name="dap" library="dap" uuid="6ab06da4-c516-4611-8166-452799218539"/> <effect name="dap" library="dap" uuid="6ab06da4-c516-4611-8166-452799218539"/>
<effect name="spatializer" library="spatializer" uuid="ccd4cf09-a79d-46c2-9aae-06a1698d6c8f"/>
</effects> </effects>
<preprocess> <preprocess>
<stream type="voice_communication"> <stream type="voice_communication">

@ -214,6 +214,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="blocks-per-second" min="36" max="48600" /> <Limit name="blocks-per-second" min="36" max="48600" />
<Limit name="bitrate" range="1-8000000" /> <Limit name="bitrate" range="1-8000000" />
<Limit name="frame-rate" range="1-30" /> <Limit name="frame-rate" range="1-30" />
<Attribute name="software-codec" />
<Feature name="can-swap-width-height" required="true" /> <Feature name="can-swap-width-height" required="true" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-864x480" value="30" /> <Limit name="performance-point-864x480" value="30" />

@ -1,4 +1,4 @@
# All blobs are from A525FXXU4BVG1, unless pinned # All blobs are from A525FXXU4CVJB (T), unless pinned
# ACDB # ACDB
vendor/lib/libacdb-fts.so vendor/lib/libacdb-fts.so
@ -83,6 +83,10 @@ vendor/lib/libsurround_3mic_proc.so
vendor/lib/libdrc.so vendor/lib/libdrc.so
vendor/lib/libspkrprot.so vendor/lib/libspkrprot.so
vendor/lib/libprofileparamstorage.so vendor/lib/libprofileparamstorage.so
vendor/lib/libspatializerparamstorage.so
vendor/lib64/libspatializerparamstorage.so
vendor/lib/spatializer-aidl-V1-cpp.so
vendor/lib64/spatializer-aidl-V1-cpp.so
# Soundtrigger # Soundtrigger
vendor/lib/hw/sound_trigger.primary.atoll.so vendor/lib/hw/sound_trigger.primary.atoll.so
@ -106,11 +110,13 @@ vendor/lib/soundfx/libqcreverb.so
vendor/lib/soundfx/libshoebox.so vendor/lib/soundfx/libshoebox.so
vendor/lib/soundfx/libqcbassboost.so vendor/lib/soundfx/libqcbassboost.so
vendor/lib/soundfx/libswdap.so vendor/lib/soundfx/libswdap.so
vendor/lib/soundfx/libswspatializer.so
vendor/lib64/soundfx/libqcvirt.so vendor/lib64/soundfx/libqcvirt.so
vendor/lib64/soundfx/libasphere.so vendor/lib64/soundfx/libasphere.so
vendor/lib64/soundfx/libqcreverb.so vendor/lib64/soundfx/libqcreverb.so
vendor/lib64/soundfx/libshoebox.so vendor/lib64/soundfx/libshoebox.so
vendor/lib64/soundfx/libqcbassboost.so vendor/lib64/soundfx/libqcbassboost.so
vendor/lib64/soundfx/libswspatializer.so
vendor/etc/dolby/dax-default.xml vendor/etc/dolby/dax-default.xml
# Audio Firmware # Audio Firmware
@ -726,7 +732,7 @@ vendor/bin/hw/android.hardware.health@2.1-service-samsung
vendor/etc/init/android.hardware.health@2.1-service-samsung.rc vendor/etc/init/android.hardware.health@2.1-service-samsung.rc
-vendor/etc/vintf/manifest/android.hardware.health@2.1-samsung.xml -vendor/etc/vintf/manifest/android.hardware.health@2.1-samsung.xml
vendor/lib/hw/android.hardware.health@2.0-impl-2.1-samsung.so vendor/lib/hw/android.hardware.health@2.0-impl-2.1-samsung.so
vendor/lib64/hw/android.hardware.health@2.0-impl-2.1-samsung.so|8e7c50b855276f6158d6dac82a5e9192b6ca4d09 vendor/lib64/hw/android.hardware.health@2.0-impl-2.1-samsung.so|ca16e2899855991b3131a6fbfce8fecbedbd21b6
vendor/lib/vendor.samsung.hardware.health@2.0.so vendor/lib/vendor.samsung.hardware.health@2.0.so
vendor/lib64/vendor.samsung.hardware.health@2.0.so vendor/lib64/vendor.samsung.hardware.health@2.0.so
@ -1073,9 +1079,7 @@ vendor/etc/init/vendor.samsung.hardware.thermal@1.0-service.rc
-vendor/etc/vintf/manifest/vendor.samsung.hardware.thermal@1.0-manifest.xml -vendor/etc/vintf/manifest/vendor.samsung.hardware.thermal@1.0-manifest.xml
vendor/lib/vendor.samsung.hardware.thermal@1.0.so vendor/lib/vendor.samsung.hardware.thermal@1.0.so
vendor/lib64/vendor.samsung.hardware.thermal@1.0.so vendor/lib64/vendor.samsung.hardware.thermal@1.0.so
vendor/lib/libhypervintf.so
vendor/lib64/libhypervintf.so vendor/lib64/libhypervintf.so
vendor/lib/vendor.samsung.hardware.hyper-V2-ndk_platform.so
vendor/lib64/vendor.samsung.hardware.hyper-V2-ndk_platform.so vendor/lib64/vendor.samsung.hardware.hyper-V2-ndk_platform.so
# Time services # Time services

@ -148,14 +148,6 @@ LOCAL_SRC_FILES := etc/init.vendor.sensors.rc
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init
include $(BUILD_PREBUILT) include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.vendor.sysfw.rc
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.vendor.sysfw.rc
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init
include $(BUILD_PREBUILT)
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE := wifi_sec.rc LOCAL_MODULE := wifi_sec.rc
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional

@ -38,11 +38,15 @@ on early-init
mkdir /efs/taas 0770 system system mkdir /efs/taas 0770 system system
mkdir /mnt/vendor/efs/taas 0770 system system mkdir /mnt/vendor/efs/taas 0770 system system
chown system system /dev/tspio chown system system /dev/tspio
chown system system /sys/class/sec/tsp/enabled
chmod 0660 /sys/class/sec/tsp/enabled
chown system system /dev/tsp_data chown system system /dev/tsp_data
chown system system /sys/class/sec/tsp/input/enabled
chown system system /sys/class/sec/tsp1/input/enabled
chown system system /sys/class/sec/tsp2/input/enabled
chown system system /sys/class/sec/sec_epen/input/enabled
chown system system /sys/class/sec/tsp/enabled
chown system system /sys/class/sec/tsp1/enabled
chown system system /sys/class/sec/tsp2/enabled
chown system system /sys/class/sec/sec_epen/enabled chown system system /sys/class/sec/sec_epen/enabled
chmod 0660 /sys/class/sec/sec_epen/enabled
# pogo keyboard # pogo keyboard
chown system system /sys/class/sec/sec_keypad/fw_update chown system system /sys/class/sec/sec_keypad/fw_update
@ -53,6 +57,8 @@ on init
chown system radio /sys/class/sec/switch/afc_disable chown system radio /sys/class/sec/switch/afc_disable
on early-boot
# Vibrator # Vibrator
chown system system /sys/class/timed_output/vibrator/intensity chown system system /sys/class/timed_output/vibrator/intensity
chown system system /sys/class/timed_output/vibrator/force_touch_intensity chown system system /sys/class/timed_output/vibrator/force_touch_intensity
@ -70,6 +76,7 @@ on init
chown system system /sys/class/timed_output/vibrator/haptic_intensities chown system system /sys/class/timed_output/vibrator/haptic_intensities
chown system system /sys/class/timed_output/vibrator/fifo chown system system /sys/class/timed_output/vibrator/fifo
chown system system /sys/class/timed_output/vibrator/hybrid_haptic_engine chown system system /sys/class/timed_output/vibrator/hybrid_haptic_engine
chown system system /sys/class/timed_output/vibrator/use_sep_index
chown system system /sys/class/leds/vibrator/intensity chown system system /sys/class/leds/vibrator/intensity
chown system system /sys/class/leds/vibrator/force_touch_intensity chown system system /sys/class/leds/vibrator/force_touch_intensity
@ -88,6 +95,8 @@ on init
chown system system /sys/class/leds/vibrator/fifo chown system system /sys/class/leds/vibrator/fifo
chown system system /sys/class/leds/vibrator/hybrid_haptic_engine chown system system /sys/class/leds/vibrator/hybrid_haptic_engine
chown system system /sys/class/sec_vib_inputff/control/use_sep_index
chmod 660 /sys/class/timed_output/vibrator/intensity chmod 660 /sys/class/timed_output/vibrator/intensity
chmod 660 /sys/class/timed_output/vibrator/force_touch_intensity chmod 660 /sys/class/timed_output/vibrator/force_touch_intensity
chmod 660 /sys/class/timed_output/vibrator/multi_freq chmod 660 /sys/class/timed_output/vibrator/multi_freq
@ -190,11 +199,14 @@ on boot
chown system system /sys/class/sec/tsp/ta_mode chown system system /sys/class/sec/tsp/ta_mode
chown system system /sys/class/sec/tsp/virtual_prox chown system system /sys/class/sec/tsp/virtual_prox
chown system system /sys/class/sec/tsp/hw_param chown system system /sys/class/sec/tsp/hw_param
chown system system /sys/class/sec/tsp/input/trusted_touch_enable
chown system system /sys/class/sec/tsp/input/trusted_touch_event
chown system system /sys/class/sec/tsp/input/trusted_touch_type
# Permissions for Touchscreen-1 # Permissions for Touchscreen-1
chown system radio /sys/class/sec/tsp1/cmd chown system radio /sys/class/sec/tsp1/cmd
chown system system /sys/class/sec/tsp1/input/enabled chown system system /sys/class/sec/tsp1/input/enabled
chmod 0660 /sys/class/sec/tsp/input1/enabled chmod 0660 /sys/class/sec/tsp1/input/enabled
chown system system /sys/class/sec/tsp1/multi_count chown system system /sys/class/sec/tsp1/multi_count
chown system system /sys/class/sec/tsp1/wet_mode chown system system /sys/class/sec/tsp1/wet_mode
chown system system /sys/class/sec/tsp1/noise_mode chown system system /sys/class/sec/tsp1/noise_mode
@ -210,7 +222,7 @@ on boot
# Permissions for Touchscreen-2 # Permissions for Touchscreen-2
chown system radio /sys/class/sec/tsp2/cmd chown system radio /sys/class/sec/tsp2/cmd
chown system system /sys/class/sec/tsp2/input/enabled chown system system /sys/class/sec/tsp2/input/enabled
chmod 0660 /sys/class/sec/tsp/input2/enabled chmod 0660 /sys/class/sec/tsp2/input/enabled
chown system system /sys/class/sec/tsp2/multi_count chown system system /sys/class/sec/tsp2/multi_count
chown system system /sys/class/sec/tsp2/wet_mode chown system system /sys/class/sec/tsp2/wet_mode
chown system system /sys/class/sec/tsp2/noise_mode chown system system /sys/class/sec/tsp2/noise_mode
@ -227,6 +239,8 @@ on boot
chown system radio /sys/class/sec/sec_epen/cmd chown system radio /sys/class/sec/sec_epen/cmd
chown system system /sys/class/sec/sec_epen/input/enabled chown system system /sys/class/sec/sec_epen/input/enabled
chmod 0660 /sys/class/sec/sec_epen/input/enabled chmod 0660 /sys/class/sec/sec_epen/input/enabled
chown system system /sys/class/sec/sec_epen/enabled
chmod 0660 /sys/class/sec/sec_epen/enabled
chown system radio /sys/class/sec/sec_epen/epen_firm_update chown system radio /sys/class/sec/sec_epen/epen_firm_update
chown system radio /sys/class/sec/sec_epen/epen_reset chown system radio /sys/class/sec/sec_epen/epen_reset
chown system radio /sys/class/sec/sec_epen/epen_reset_result chown system radio /sys/class/sec/sec_epen/epen_reset_result
@ -250,6 +264,9 @@ on boot
# Permission for Securetouch # Permission for Securetouch
chown system system /sys/class/sec/ss_touch/secure/secure_touch_enable chown system system /sys/class/sec/ss_touch/secure/secure_touch_enable
chown system system /sys/class/sec/ss_touch/secure/trusted_touch_enable
chown system system /sys/class/sec/ss_touch/secure/trusted_touch_event
chown system system /sys/class/sec/ss_touch/secure/trusted_touch_type
chown system system /sys/class/sec/tsp/input/secure_touch_enable chown system system /sys/class/sec/tsp/input/secure_touch_enable
chown system system /sys/class/sec/tsp1/input/secure_touch_enable chown system system /sys/class/sec/tsp1/input/secure_touch_enable
chown system system /sys/class/sec/tsp2/input/secure_touch_enable chown system system /sys/class/sec/tsp2/input/secure_touch_enable
@ -265,6 +282,10 @@ on boot
chown system system /sys/class/sec/sec_sidekey/input/enabled chown system system /sys/class/sec/sec_sidekey/input/enabled
chmod 0660 /sys/class/sec/sec_sidekey/input/enabled chmod 0660 /sys/class/sec/sec_sidekey/input/enabled
# Permission for Keyboard
chown system system /sys/class/sec/sec_keypad/enabled
chmod 0660 /sys/class/sec/sec_keypad/enabled
# TAAS # TAAS
chown system system /mnt/vendor/efs/taas chown system system /mnt/vendor/efs/taas
chown system system /mnt/vendor/efs/taas/taas chown system system /mnt/vendor/efs/taas/taas
@ -493,6 +514,26 @@ on boot
chmod 0664 /sys/class/devfreq/soc:qcom,cpu6-cpu-ddr-latfloor/min_freq chmod 0664 /sys/class/devfreq/soc:qcom,cpu6-cpu-ddr-latfloor/min_freq
chmod 0664 /sys/class/devfreq/soc:qcom,cpu6-cpu-ddr-latfloor/max_freq chmod 0664 /sys/class/devfreq/soc:qcom,cpu6-cpu-ddr-latfloor/max_freq
# enabled permission
on property:sys.boot_completed=1
chown system system /sys/class/sec/tsp/input/enabled
chown system system /sys/class/sec/tsp1/input/enabled
chown system system /sys/class/sec/tsp2/input/enabled
chown system system /sys/class/sec/sec_epen/input/enabled
chown system system /sys/class/sec/tsp/enabled
chown system system /sys/class/sec/tsp1/enabled
chown system system /sys/class/sec/tsp2/enabled
chown system system /sys/class/sec/sec_epen/enabled
chown system system /sys/class/sec/tsp/input/trusted_touch_enable
chown system system /sys/class/sec/tsp/input/trusted_touch_event
chown system system /sys/class/sec/tsp/input/trusted_touch_type
chown system system /sys/class/sec/tsp1/input/trusted_touch_enable
chown system system /sys/class/sec/tsp1/input/trusted_touch_event
chown system system /sys/class/sec/tsp1/input/trusted_touch_type
chown system system /sys/class/sec/tsp2/input/trusted_touch_enable
chown system system /sys/class/sec/tsp2/input/trusted_touch_event
chown system system /sys/class/sec/tsp2/input/trusted_touch_type
# FINGERPRINT FRAMEWORK : starts goodixfingerprintd # FINGERPRINT FRAMEWORK : starts goodixfingerprintd
service goodixd /vendor/bin/goodixfingerprintd service goodixd /vendor/bin/goodixfingerprintd
class late_start class late_start

@ -1,17 +0,0 @@
on post-fs
# make fsdbg on /dev for filesystem debug info.
mkdir /dev/fsdbg 0775 root system
on boot
# FSDBG dlog permissions
chown root system /proc/fslog/dlog_efs
chown root system /proc/fslog/dlog_etc
chown root system /proc/fslog/dlog_mm
chown root system /proc/fslog/dlog_rmdir
# Permissions for Filesystem
# change owner f2fs bigdata node for hqm write
chown system system /sys/fs/f2fs/userdata/sec_gc_stat
chown system system /sys/fs/f2fs/userdata/sec_io_stat
chown system system /sys/fs/f2fs/userdata/sec_fsck_stat
chown system system /sys/fs/f2fs/userdata/sec_defrag_stat

@ -30,6 +30,12 @@ on post-fs-data
chown system wifi /vendor/etc/wifi/indoorchannel.info chown system wifi /vendor/etc/wifi/indoorchannel.info
chmod 0664 /vendor/etc/wifi/indoorchannel.info chmod 0664 /vendor/etc/wifi/indoorchannel.info
# for updating the supported feature
chown wifi wifi /data/vendor/conn/.feature.info
chmod 0640 /data/vendor/conn/.feature.info
chown wifi wifi /sys/wifi/feature
chmod 0640 /sys/wifi/feature
# for WIFI MAC # for WIFI MAC
mkdir /mnt/vendor/efs/wifi 0755 wifi wifi mkdir /mnt/vendor/efs/wifi 0755 wifi wifi
chown wifi wifi /mnt/vendor/efs/wifi/.mac.info chown wifi wifi /mnt/vendor/efs/wifi/.mac.info
@ -42,6 +48,8 @@ on post-fs-data
chown wifi wifi /sys/wifi/dump_in_progress chown wifi wifi /sys/wifi/dump_in_progress
chmod 0660 /sys/wifi/dump_in_progress chmod 0660 /sys/wifi/dump_in_progress
start macloader
on boot on boot
setprop wifi.interface wlan0 setprop wifi.interface wlan0
@ -59,6 +67,7 @@ service macloader /vendor/bin/hw/macloader
user wifi user wifi
group wifi inet net_raw net_admin group wifi inet net_raw net_admin
capabilities NET_ADMIN NET_RAW SYS_MODULE capabilities NET_ADMIN NET_RAW SYS_MODULE
disabled
oneshot oneshot
service wlandutservice /system/bin/wlandutservice service wlandutservice /system/bin/wlandutservice

@ -81,17 +81,25 @@ bluetooth.device.class_of_device=90,2,12
bluetooth.profile.asha.central.enabled?=true bluetooth.profile.asha.central.enabled?=true
bluetooth.profile.a2dp.source.enabled?=true bluetooth.profile.a2dp.source.enabled?=true
bluetooth.profile.avrcp.target.enabled?=true bluetooth.profile.avrcp.target.enabled?=true
bluetooth.profile.bas.client.enabled?=true bluetooth.profile.bap.broadcast.assist.enabled?=false
bluetooth.profile.bap.broadcast.source.enabled?=false
bluetooth.profile.bap.unicast.client.enabled?=false
bluetooth.profile.bas.client.enabled?=false
bluetooth.profile.csip.set_coordinator.enabled?=false
bluetooth.profile.gatt.enabled?=true bluetooth.profile.gatt.enabled?=true
bluetooth.profile.hap.client.enabled?=false
bluetooth.profile.hfp.ag.enabled?=true bluetooth.profile.hfp.ag.enabled?=true
bluetooth.profile.hid.device.enabled?=true bluetooth.profile.hid.device.enabled?=true
bluetooth.profile.hid.host.enabled?=true bluetooth.profile.hid.host.enabled?=true
bluetooth.profile.map.server.enabled?=true bluetooth.profile.map.server.enabled?=true
bluetooth.profile.mcp.server.enabled?=false
bluetooth.profile.opp.enabled?=true bluetooth.profile.opp.enabled?=true
bluetooth.profile.pan.nap.enabled?=true bluetooth.profile.pan.nap.enabled?=true
bluetooth.profile.pan.panu.enabled?=true bluetooth.profile.pan.panu.enabled?=true
bluetooth.profile.pbap.server.enabled?=true bluetooth.profile.pbap.server.enabled?=true
bluetooth.profile.sap.server.enabled?=true bluetooth.profile.sap.server.enabled?=true
bluetooth.profile.ccp.server.enabled?=false
bluetooth.profile.vcp.controller.enabled?=false
# Blur # Blur
ro.surface_flinger.supports_background_blur=1 ro.surface_flinger.supports_background_blur=1

Loading…
Cancel
Save