From 28517c7bdcf5302e05d3083e7db4f6e59019833c Mon Sep 17 00:00:00 2001 From: gyabii Date: Fri, 10 Jul 2026 22:43:36 +0300 Subject: [PATCH] s23x: init platform: sm8550: config.sh: init debloat.sh: init installer: init patches: camera: init edge_lightning: init sff.sh: init target: dm1q: camera: init config.sh: init dvfs: init overlay: init patches: displayconfig: init dm2q: camera: init config.sh: init dvfs: import from https://github.com/fsrb-android-dev/UN1CA overlay: init patches: camera: import from https://github.com/fsrb-android-dev/UN1CA displayconfig: init dm3q: camera: init config.sh: init dvfs: import from https://github.com/fsrb-android-dev/UN1CA overlay: import from https://github.com/fsrb-android-dev/UN1CA patches: camera: import from https://github.com/fsrb-android-dev/UN1CA Change-Id: I60fe9198df1e54b7810291c7c6a9cc2f60e1fa9a Signed-off-by: gyabii --- platform/sm8550/config.sh | 72 + platform/sm8550/debloat.sh | 22 + platform/sm8550/installer/recovery.fstab | 82 + platform/sm8550/patches/camera/customize.sh | 17 + platform/sm8550/patches/camera/module.prop | 4 + .../sm8550/patches/edge_lighting/customize.sh | 2 + .../sm8550/patches/edge_lighting/module.prop | 4 + platform/sm8550/sff.sh | 9 + target/dm1q/camera/camera-feature.xml | 285 ++++ target/dm1q/config.sh | 14 + target/dm1q/dvfs/siop_model.xml | 219 +++ target/dm1q/overlay/values/arrays.xml | 1420 +++++++++++++++++ target/dm1q/overlay/values/bools.xml | 9 + target/dm1q/overlay/values/dimens.xml | 19 + target/dm1q/overlay/values/integers.xml | 18 + target/dm1q/overlay/values/strings.xml | 6 + target/dm1q/overlay/xml/power_profile.xml | 182 +++ .../dm1q/patches/displayconfig/customize.sh | 3 + target/dm1q/patches/displayconfig/module.prop | 4 + target/dm2q/camera/camera-feature.xml | 319 ++++ target/dm2q/config.sh | 14 + target/dm2q/dvfs/siop_model.xml | 219 +++ target/dm2q/overlay/values/arrays.xml | 1420 +++++++++++++++++ target/dm2q/overlay/values/bools.xml | 9 + target/dm2q/overlay/values/dimens.xml | 19 + target/dm2q/overlay/values/integers.xml | 19 + target/dm2q/overlay/values/strings.xml | 6 + target/dm2q/overlay/xml/power_profile.xml | 182 +++ target/dm2q/patches/camera/customize.sh | 11 + target/dm2q/patches/camera/module.prop | 4 + .../dm2q/patches/displayconfig/customize.sh | 3 + target/dm2q/patches/displayconfig/module.prop | 4 + target/dm3q/camera/camera-feature.xml | 319 ++++ target/dm3q/config.sh | 14 + target/dm3q/dvfs/siop_model.xml | 220 +++ target/dm3q/overlay/values/arrays.xml | 1420 +++++++++++++++++ target/dm3q/overlay/values/bools.xml | 9 + target/dm3q/overlay/values/dimens.xml | 20 + target/dm3q/overlay/values/integers.xml | 19 + target/dm3q/overlay/values/strings.xml | 6 + target/dm3q/overlay/xml/power_profile.xml | 182 +++ target/dm3q/patches/camera/customize.sh | 35 + target/dm3q/patches/camera/module.prop | 4 + 43 files changed, 6868 insertions(+) create mode 100755 platform/sm8550/config.sh create mode 100755 platform/sm8550/debloat.sh create mode 100644 platform/sm8550/installer/recovery.fstab create mode 100755 platform/sm8550/patches/camera/customize.sh create mode 100755 platform/sm8550/patches/camera/module.prop create mode 100755 platform/sm8550/patches/edge_lighting/customize.sh create mode 100644 platform/sm8550/patches/edge_lighting/module.prop create mode 100644 platform/sm8550/sff.sh create mode 100644 target/dm1q/camera/camera-feature.xml create mode 100755 target/dm1q/config.sh create mode 100644 target/dm1q/dvfs/siop_model.xml create mode 100644 target/dm1q/overlay/values/arrays.xml create mode 100644 target/dm1q/overlay/values/bools.xml create mode 100644 target/dm1q/overlay/values/dimens.xml create mode 100644 target/dm1q/overlay/values/integers.xml create mode 100644 target/dm1q/overlay/values/strings.xml create mode 100644 target/dm1q/overlay/xml/power_profile.xml create mode 100644 target/dm1q/patches/displayconfig/customize.sh create mode 100644 target/dm1q/patches/displayconfig/module.prop create mode 100644 target/dm2q/camera/camera-feature.xml create mode 100755 target/dm2q/config.sh create mode 100644 target/dm2q/dvfs/siop_model.xml create mode 100644 target/dm2q/overlay/values/arrays.xml create mode 100644 target/dm2q/overlay/values/bools.xml create mode 100644 target/dm2q/overlay/values/dimens.xml create mode 100644 target/dm2q/overlay/values/integers.xml create mode 100644 target/dm2q/overlay/values/strings.xml create mode 100644 target/dm2q/overlay/xml/power_profile.xml create mode 100644 target/dm2q/patches/camera/customize.sh create mode 100644 target/dm2q/patches/camera/module.prop create mode 100644 target/dm2q/patches/displayconfig/customize.sh create mode 100644 target/dm2q/patches/displayconfig/module.prop create mode 100644 target/dm3q/camera/camera-feature.xml create mode 100755 target/dm3q/config.sh create mode 100644 target/dm3q/dvfs/siop_model.xml create mode 100644 target/dm3q/overlay/values/arrays.xml create mode 100644 target/dm3q/overlay/values/bools.xml create mode 100644 target/dm3q/overlay/values/dimens.xml create mode 100644 target/dm3q/overlay/values/integers.xml create mode 100644 target/dm3q/overlay/values/strings.xml create mode 100644 target/dm3q/overlay/xml/power_profile.xml create mode 100644 target/dm3q/patches/camera/customize.sh create mode 100644 target/dm3q/patches/camera/module.prop diff --git a/platform/sm8550/config.sh b/platform/sm8550/config.sh new file mode 100755 index 00000000000..b313a5207fd --- /dev/null +++ b/platform/sm8550/config.sh @@ -0,0 +1,72 @@ +# Copyright (c) 2026 Salvo Giangreco +# SPDX-License-Identifier: GPL-3.0-or-later + +# Platform configuration file for Samsung Snapdragon 8 Gen 2 devices (sm8550) +TARGET_BOARD_API_LEVEL=33 +TARGET_PRODUCT_SHIPPING_API_LEVEL=33 + +# Partitions +TARGET_BOOT_PARTITION_SIZE=100663296 +TARGET_DTBO_PARTITION_SIZE=25165824 +TARGET_VENDOR_BOOT_PARTITION_SIZE=100663296 +TARGET_INIT_BOOT_PARTITION_SIZE=6291456 +TARGET_CACHE_PARTITION_SIZE=838860800 + +# Dynamic partitions +TARGET_USE_DYNAMIC_PARTITIONS=true +TARGET_SUPER_PARTITION_SIZE=12266242048 +TARGET_SUPER_GROUP_NAME="qti_dynamic_partitions" +TARGET_QTI_DYNAMIC_PARTITIONS_SIZE=12262047744 + +# OS +TARGET_OS_SINGLE_SYSTEM_IMAGE="qssi" +TARGET_OS_BUILD_SYSTEM_EXT_PARTITION=true + +# SEC Product Feature +TARGET_AUDIO_CONFIG_RECORDALIVE_LIB_VERSION="08020" +TARGET_AUDIO_SUPPORT_ACH_RINGTONE=true +TARGET_AUDIO_SUPPORT_DUAL_SPEAKER=true +TARGET_AUDIO_SUPPORT_VIRTUAL_VIBRATION=true +TARGET_CAMERA_SUPPORT_CAMERAX_EXTENSION=true +TARGET_CAMERA_SUPPORT_CUTOUT_PROTECTION=false +TARGET_CAMERA_SUPPORT_MASS_APP_FLAVOR=false +TARGET_CAMERA_SUPPORT_SDK_SERVICE=true +TARGET_COMMON_CONFIG_MDNIE_MODE="65303" +TARGET_COMMON_SUPPORT_EMBEDDED_SIM=true +TARGET_COMMON_SUPPORT_HDR_EFFECT=true +TARGET_DVFSAPP_CONFIG_DVFS_POLICY_FILENAME="dvfs_policy_default" +TARGET_FINGERPRINT_CONFIG_SENSOR="google_touch_display_ultrasonic" +TARGET_LCD_CONFIG_COLOR_WEAKNESS_SOLUTION="3" +TARGET_LCD_CONFIG_CONTROL_AUTO_BRIGHTNESS="5" +TARGET_LCD_CONFIG_HFR_DEFAULT_REFRESH_RATE="120" +TARGET_LCD_CONFIG_HFR_MODE="2" +TARGET_LCD_CONFIG_HFR_SUPPORTED_REFRESH_RATE="24,10,30,48,60,96,120" +TARGET_LCD_CONFIG_SEAMLESS_BRT="84,91" +TARGET_LCD_CONFIG_SEAMLESS_LUX="200,2500" +TARGET_LCD_SUPPORT_MDNIE_HW=true +TARGET_RIL_FEATURES="onebinary satellite_carrier" +TARGET_RIL_SIM_CONFIG_MULTISIM_TRAYCOUNT="2" +TARGET_RIL_SUPPORT_WATERPROOF_SIM_TRAY_MSG=true +TARGET_SECURITY_CONFIG_ESE_CHIP_VENDOR="NXP" +TARGET_SECURITY_CONFIG_ESE_COS_NAME="JCOP6.3U" +TARGET_WLAN_CONFIG_CONNECTION_PERSONALIZATION="2" +TARGET_WLAN_CONFIG_CPU_CSTATE_DISABLE_THRESHOLD="100" +TARGET_WLAN_CONFIG_DATA_ACTIVITY_AFFINITY_BOOSTER_THRESHOLD="0" +TARGET_WLAN_CONFIG_DYNAMIC_SWITCH="0" +TARGET_WLAN_CONFIG_L1SS_DISABLE_THRESHOLD="0" +TARGET_WLAN_SUPPORT_80211AX=true +TARGET_WLAN_SUPPORT_80211AX_6GHZ=true +TARGET_WLAN_SUPPORT_APE_SERVICE=true +TARGET_WLAN_SUPPORT_LOWLATENCY=true +TARGET_WLAN_SUPPORT_MBO=true +TARGET_WLAN_SUPPORT_MOBILEAP_5G_BASEDON_COUNTRY=false +TARGET_WLAN_SUPPORT_MOBILEAP_6G=true +TARGET_WLAN_SUPPORT_MOBILEAP_DUALAP=true +TARGET_WLAN_SUPPORT_MOBILEAP_OWE=true +TARGET_WLAN_SUPPORT_MOBILEAP_POWER_SAVEMODE=true +TARGET_WLAN_SUPPORT_MOBILEAP_PRIORITIZE_TRAFFIC=true +TARGET_WLAN_SUPPORT_MOBILEAP_WIFI_CONCURRENCY=true +TARGET_WLAN_SUPPORT_MOBILEAP_WIFISHARING_LITE=false +TARGET_WLAN_SUPPORT_SWITCH_FOR_INDIVIDUAL_APPS=true +TARGET_WLAN_SUPPORT_TWT_CONTROL=true +TARGET_WLAN_SUPPORT_WIFI_TO_CELLULAR=true \ No newline at end of file diff --git a/platform/sm8550/debloat.sh b/platform/sm8550/debloat.sh new file mode 100755 index 00000000000..faeb3d4cc2d --- /dev/null +++ b/platform/sm8550/debloat.sh @@ -0,0 +1,22 @@ +# Copyright (c) 2026 Salvo Giangreco + +# SPDX-License-Identifier: GPL-3.0-or-later + +# Debloat list for Snapdragon 8 Gen 2 devices (sm8550) +# - Add entries inside the specific partition containing that file (_DEBLOAT+="") +# - DO NOT add the partition name at the start of any entry (eg. "/system/dpolicy_system") +# - DO NOT add a slash at the start of any entry (eg. "/dpolicy_system") + +# GameDriver +SYSTEM_DEBLOAT+=" +system/priv-app/GameDriver-SM8450 +" + +# system_ext cleanup +SYSTEM_EXT_DEBLOAT+=" +etc/permissions/com.qti.location.sdk.xml +etc/permissions/com.qualcomm.location.xml +etc/permissions/privapp-permissions-com.qualcomm.location.xml +framework/com.qti.location.sdk.jar +priv-app/com.qualcomm.location +" diff --git a/platform/sm8550/installer/recovery.fstab b/platform/sm8550/installer/recovery.fstab new file mode 100644 index 00000000000..7f857d9edb1 --- /dev/null +++ b/platform/sm8550/installer/recovery.fstab @@ -0,0 +1,82 @@ +# Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted (subject to the limitations in the +# disclaimer below) provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# * Redistributions in binary form must reproduce the above +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials provided +# with the distribution. +# +# * Neither the name of The Linux Foundation nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE +# GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT +# HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Android fstab file. +# The filesystem that contains the filesystem checker binary (typically /system) cannot +# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK + +# +system /system erofs ro wait,avb=vbmeta,logical,first_stage_mount +system /system f2fs ro wait,avb=vbmeta,logical,first_stage_mount +system /system ext4 ro wait,avb=vbmeta,logical,first_stage_mount +vendor /vendor erofs ro wait,avb,logical,first_stage_mount +system_ext /system_ext erofs ro wait,avb=vbmeta,logical,first_stage_mount +vendor_dlkm /vendor_dlkm erofs ro wait,avb=vbmeta,logical,first_stage_mount +product /product erofs ro wait,avb,logical,first_stage_mount +odm /odm erofs ro wait,avb,logical,first_stage_mount +system_dlkm /system_dlkm erofs ro wait,avb,logical,first_stage_mount +system_dlkm /system_dlkm f2fs ro wait,avb,logical,first_stage_mount +system_dlkm /system_dlkm ext4 ro wait,avb,logical,first_stage_mount + +/dev/block/bootdevice/by-name/boot /boot emmc defaults recoveryonly +/dev/block/bootdevice/by-name/recovery /recovery emmc defaults recoveryonly +/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic,sync wait,first_stage_mount,formattable,check +/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,usrquota,grpquota,fsync_mode=nobarrier,reserve_root=32768,resgid=5678 wait,encryptable=footer,length=-16384,fscompress +/dev/block/bootdevice/by-name/cache /cache ext4 defaults recoveryonly +/dev/block/bootdevice/by-name/sec_efs /efs ext4 defaults recoveryonly +/dev/block/bootdevice/by-name/sec_efs /sec_efs ext4 defaults recoveryonly +/dev/block/bootdevice/by-name/carrier /carrier ext4 defaults recoveryonly +/dev/block/bootdevice/by-name/apnhlos /modem emmc defaults recoveryonly +/dev/block/bootdevice/by-name/modem /mdm emmc defaults recoveryonly +/dev/block/bootdevice/by-name/dsp /dsp emmc defaults recoveryonly +/dev/block/bootdevice/by-name/misc /misc emmc defaults recoveryonly + +# Samsung ODE +/dev/block/bootdevice/by-name/keydata /keydata ext4 defaults recoveryonly +/dev/block/bootdevice/by-name/keyrefuge /keyrefuge f2fs defaults recoveryonly + +#Auto-generated code by FOTA Portal +/dev/block/bootdevice/by-name/dtbo /dtbo emmc default recoveryonly +/dev/block/bootdevice/by-name/prism /prism ext4 ro recoveryonly +/dev/block/bootdevice/by-name/optics /optics ext4 ro recoveryonly +/dev/block/bootdevice/by-name/vbmeta_system /vbmeta_system emmc default recoveryonly +/dev/block/bootdevice/by-name/vendor_boot /vendor_boot emmc default recoveryonly +/dev/block/bootdevice/by-name/vbmeta_samsung /vbmeta_samsung emmc default recoveryonly +/dev/block/bootdevice/by-name/imagefv /imagefv emmc default recoveryonly +/dev/block/mmcblk0p1 /sdcard sdfat defaults recoveryonly +/dev/block/bootdevice/by-name/init_boot /init_boot emmc default recoveryonly +/dev/block/bootdevice/by-name/vm-bootsys /vm-bootsys ext4 default recoveryonly +/dev/block/bootdevice/by-name/qweslicstore /qweslicstore emmc default recoveryonly + + + + diff --git a/platform/sm8550/patches/camera/customize.sh b/platform/sm8550/patches/camera/customize.sh new file mode 100755 index 00000000000..14e231f0980 --- /dev/null +++ b/platform/sm8550/patches/camera/customize.sh @@ -0,0 +1,17 @@ +echo "Add stock camera libs" +BLOBS_LIST=" +system/etc/public.libraries-arcsoft.txt +system/etc/public.libraries-camera.samsung.txt +system/lib64/libacz_hhdr.arcsoft.so +system/lib64/libaiclearzoom_raw.arcsoft.so +system/lib64/libaiclearzoomraw_wrapper_v1.camera.samsung.so +system/lib64/libae_bracket_hdr.arcsoft.so +system/lib64/libsuperresolution_raw.arcsoft.so +system/lib64/libsuperresolutionraw_wrapper_v2.camera.samsung.so +system/lib64/libSwIsp_core.camera.samsung.so +system/lib64/libSwIsp_wrapper_v1.camera.samsung.so +" +for blob in $BLOBS_LIST +do + ADD_TO_WORK_DIR "$TARGET_FIRMWARE" "system" "$blob" 0 0 644 "u:object_r:system_lib_file:s0" +done \ No newline at end of file diff --git a/platform/sm8550/patches/camera/module.prop b/platform/sm8550/patches/camera/module.prop new file mode 100755 index 00000000000..ba23cb24eee --- /dev/null +++ b/platform/sm8550/patches/camera/module.prop @@ -0,0 +1,4 @@ +id=camera +name=Camera fix +author=salvogiangri, gyabii +description=Various camera-related patches. \ No newline at end of file diff --git a/platform/sm8550/patches/edge_lighting/customize.sh b/platform/sm8550/patches/edge_lighting/customize.sh new file mode 100755 index 00000000000..207ae87950e --- /dev/null +++ b/platform/sm8550/patches/edge_lighting/customize.sh @@ -0,0 +1,2 @@ +# Fix Edge lighting corner radius +SET_PROP "system" "ro.factory.model" "$(GET_PROP "vendor" "ro.product.vendor.model")" diff --git a/platform/sm8550/patches/edge_lighting/module.prop b/platform/sm8550/patches/edge_lighting/module.prop new file mode 100644 index 00000000000..cbb5e3b0810 --- /dev/null +++ b/platform/sm8550/patches/edge_lighting/module.prop @@ -0,0 +1,4 @@ +id=edge_lighting +name=Edge lighting fix +author=salvogiangri +description=Fixes Edge lighting corner radius. diff --git a/platform/sm8550/sff.sh b/platform/sm8550/sff.sh new file mode 100644 index 00000000000..8f2fe004d8c --- /dev/null +++ b/platform/sm8550/sff.sh @@ -0,0 +1,9 @@ +# Copyright (c) 2026 Salvo Giangreco +# SPDX-License-Identifier: GPL-3.0-or-later + +# SEC Floating Feature configuration file for Snapdragon 8 Gen 2 devices (sm8550) + +# Enable Wallpaper AOD feature +SEC_FLOATING_FEATURE_LCD_CONFIG_AOD_BRIGHTNESS_ANIMATION=1 +SEC_FLOATING_FEATURE_LCD_CONFIG_AOD_FULLSCREEN=1 +SEC_FLOATING_FEATURE_LCD_CONFIG_AOD_REFRESH_RATE=1 diff --git a/target/dm1q/camera/camera-feature.xml b/target/dm1q/camera/camera-feature.xml new file mode 100644 index 00000000000..6a17f23af2b --- /dev/null +++ b/target/dm1q/camera/camera-feature.xml @@ -0,0 +1,285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/target/dm1q/config.sh b/target/dm1q/config.sh new file mode 100755 index 00000000000..9217dac8998 --- /dev/null +++ b/target/dm1q/config.sh @@ -0,0 +1,14 @@ +# Copyright (c) 2026 Salvo Giangreco +# SPDX-License-Identifier: GPL-3.0-or-later + +# Device configuration file for Galaxy S23 (dm1q) +TARGET_NAME="Galaxy S23" +TARGET_CODENAME="dm1q" +TARGET_PLATFORM="sm8550" +TARGET_FIRMWARE="SM-S911B/EUX/352404911234563" +TARGET_EXTRA_FIRMWARES=() +TARGET_PLATFORM_SDK_VERSION=36 + +# SEC Product Feature +TARGET_COMMON_SUPPORT_DYN_RESOLUTION_CONTROL=false +TARGET_DVFSAPP_CONFIG_SSRM_POLICY_FILENAME="siop_dm1q_sm8550" diff --git a/target/dm1q/dvfs/siop_model.xml b/target/dm1q/dvfs/siop_model.xml new file mode 100644 index 00000000000..c95aad03c91 --- /dev/null +++ b/target/dm1q/dvfs/siop_model.xml @@ -0,0 +1,219 @@ + + + + + + + + + + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/target/dm1q/overlay/values/arrays.xml b/target/dm1q/overlay/values/arrays.xml new file mode 100644 index 00000000000..2cdde75c889 --- /dev/null +++ b/target/dm1q/overlay/values/arrays.xml @@ -0,0 +1,1420 @@ + + + + 1.632 + + + -1,-1,-1,-1,510,408 + -1,-1,-1,510,408,408 + -1,-1,510,408,306,306 + -1,510,408,306,306,306 + + + 0 + 10 + 15 + 50 + 100 + 300 + 500 + 1000 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 8000 + 9000 + 10000 + 20000 + 40000 + 49999 + 50000 + + + 10 + 80 + 120 + 300 + 400 + 900 + 1300 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 8000 + 9000 + 10000 + 20000 + 50000 + 50000 + 50000 + 999999 + + + 0 + 5 + 9 + 10 + 25 + 50 + 100 + 300 + 500 + 1000 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 10000 + 20000 + 50000 + + + -1 + 0 + 0 + 3 + 5 + 10 + 40 + 50 + 60 + 200 + 600 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 10000 + 20000 + + + 0 + 12 + 29 + 49 + + + 11 + 15 + 22 + 26 + 31 + 35 + 46 + 62 + 79 + 88 + 93 + 99 + 111 + 130 + 190 + 340 + 500 + 650 + 800 + 1000 + 1100 + 1200 + 1200 + 1200 + 1200 + + + 2 + 5 + 10 + 55 + 64 + 82 + 139 + 198 + 331 + 490 + + + 1 + 2 + 3 + 4 + 5 + 10 + 15 + 20 + 25 + 50 + 100 + 300 + 500 + 1000 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 10000 + 20000 + 50000 + 999999 + + + 1 + 10 + 30 + 50 + 100 + 500 + 1000 + 2000 + 3000 + + + com.samsung.unifiedtp + com.samsung.unifiedtp.ui.TetheringProvisionActivity + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 + 100 + 101 + 102 + 103 + 104 + 105 + 106 + 107 + 108 + 109 + 110 + 111 + 112 + 113 + 114 + 115 + 116 + 117 + 118 + 119 + 120 + 121 + 122 + 123 + 124 + 125 + 126 + 127 + 128 + 129 + 130 + 131 + 132 + 133 + 134 + 135 + 136 + 137 + 138 + 139 + 140 + 141 + 142 + 143 + 144 + 145 + 146 + 147 + 148 + 149 + 150 + 151 + 152 + 153 + 154 + 155 + 156 + 157 + 158 + 159 + 160 + 161 + 162 + 163 + 164 + 165 + 166 + 167 + 168 + 169 + 170 + 171 + 172 + 173 + 174 + 175 + 176 + 177 + 178 + 179 + 180 + 181 + 182 + 183 + 184 + 185 + 186 + 187 + 188 + 189 + 190 + 191 + 192 + 193 + 194 + 195 + 196 + 197 + 198 + 199 + 200 + 201 + 202 + 203 + 204 + 205 + 206 + 207 + 208 + 209 + 210 + 211 + 212 + 213 + 214 + 215 + 216 + 217 + 218 + 219 + 220 + 221 + 222 + 223 + 224 + 225 + 226 + 227 + 228 + 229 + 230 + 231 + 232 + 233 + 234 + 235 + 236 + 237 + 238 + 239 + 240 + 241 + 242 + 243 + 244 + 245 + 246 + 247 + 248 + 249 + 250 + 251 + 252 + 253 + 254 + 255 + 256 + 257 + 258 + 259 + 260 + 261 + 262 + 263 + 264 + 265 + 266 + 267 + 268 + 269 + 270 + 271 + 272 + 273 + 274 + 275 + 276 + 277 + 278 + 279 + 280 + 281 + 282 + 283 + 284 + 285 + 286 + 287 + 288 + 289 + 290 + 291 + 292 + 293 + 294 + 295 + 296 + 297 + 298 + 299 + 300 + 301 + 302 + 303 + 304 + 305 + 306 + 307 + 308 + 309 + 310 + 311 + 312 + 313 + 314 + 315 + 316 + 317 + 318 + 319 + 320 + 321 + 322 + 323 + 324 + 325 + 326 + 327 + 328 + 329 + 330 + 331 + 332 + 333 + 334 + 335 + 336 + 337 + 338 + 339 + 340 + 341 + 342 + 343 + 344 + 345 + 346 + 347 + 348 + 349 + 350 + 351 + 352 + 353 + 354 + 355 + 356 + 357 + 358 + 359 + 360 + 361 + 362 + 363 + 364 + 365 + 366 + 367 + 368 + 369 + 370 + 371 + 372 + 373 + 374 + 375 + 376 + 377 + 378 + 379 + 380 + 381 + 382 + 383 + 384 + 385 + 386 + 387 + 388 + 389 + 390 + 391 + 392 + 393 + 394 + 395 + 396 + 397 + 398 + 399 + 400 + 401 + 402 + 403 + 404 + 405 + 406 + 407 + 408 + 409 + 410 + 411 + 412 + 413 + 414 + 415 + 416 + 417 + 418 + 419 + 420 + 421 + 422 + 423 + 424 + 425 + 426 + 427 + 428 + 429 + 430 + 431 + 432 + 433 + 434 + 435 + 436 + 437 + 438 + 439 + 440 + 441 + 442 + 443 + 444 + 445 + 446 + 447 + 448 + 449 + 450 + 451 + 452 + 453 + 454 + 455 + 456 + 457 + 458 + 459 + 460 + 461 + 462 + 463 + 464 + 465 + 466 + 467 + 468 + 469 + 470 + 471 + 472 + 473 + 474 + 475 + 476 + 477 + 478 + 479 + 480 + 481 + 482 + 483 + 484 + 485 + 486 + 487 + 488 + 489 + 490 + 491 + 492 + 493 + 494 + 495 + 496 + 497 + 498 + 499 + 500 + 501 + 502 + 503 + 504 + 505 + 506 + 507 + 508 + 509 + 510 + 511 + 512 + 513 + 514 + 515 + 516 + 517 + 518 + 519 + 520 + 521 + 522 + 523 + 524 + 525 + 526 + 527 + 528 + 529 + 530 + 531 + 532 + 533 + 534 + 535 + 536 + 537 + 538 + 539 + 540 + 541 + 542 + 543 + 544 + 545 + 546 + 547 + 548 + 549 + 550 + 551 + 552 + 553 + 554 + 555 + 556 + 557 + 558 + 559 + 560 + 561 + 562 + 563 + 564 + 565 + 566 + 567 + 568 + 569 + 570 + 571 + 572 + 573 + 574 + 575 + 576 + 577 + 578 + 579 + 580 + 581 + 582 + 583 + 584 + 585 + 586 + 587 + 588 + 589 + 590 + 591 + 592 + 593 + 594 + 595 + 596 + 597 + 598 + 599 + 600 + 601 + 602 + 603 + 604 + 605 + 606 + 607 + 608 + 609 + 610 + 611 + 612 + + + 1 + 1.371 + 1.914 + 2.548 + 3.25 + 4.008 + 4.812 + 5.658 + 6.541 + 7.458 + 8.406 + 9.383 + 10.387 + 11.417 + 12.47 + 13.546 + 14.644 + 15.763 + 16.902 + 18.06 + 19.236 + 20.43 + 21.642 + 22.87 + 24.114 + 25.374 + 26.649 + 27.938 + 29.243 + 30.561 + 31.893 + 33.238 + 34.596 + 35.968 + 37.351 + 38.747 + 40.155 + 41.575 + 43.007 + 44.449 + 45.903 + 47.368 + 48.843 + 50.33 + 51.826 + 53.333 + 54.85 + 56.377 + 57.913 + 59.459 + 61.015 + 62.58 + 64.154 + 65.738 + 67.33 + 68.931 + 70.541 + 72.16 + 73.787 + 75.423 + 77.067 + 78.719 + 80.379 + 82.048 + 83.724 + 85.408 + 87.1 + 88.8 + 90.508 + 92.223 + 93.945 + 95.675 + 97.412 + 99.156 + 100.908 + 102.667 + 104.432 + 106.205 + 107.985 + 109.771 + 111.564 + 113.364 + 115.171 + 116.984 + 118.804 + 120.631 + 122.464 + 124.303 + 126.149 + 128 + 129.859 + 131.723 + 133.594 + 135.47 + 137.353 + 139.242 + 141.136 + 143.037 + 144.944 + 146.856 + 148.774 + 150.698 + 152.628 + 154.563 + 156.504 + 158.451 + 160.403 + 162.36 + 164.324 + 166.292 + 168.266 + 170.246 + 172.231 + 174.221 + 176.216 + 178.217 + 180.223 + 182.234 + 184.25 + 186.272 + 188.298 + 190.33 + 192.367 + 194.408 + 196.455 + 198.506 + 200.563 + 202.624 + 204.691 + 206.762 + 208.838 + 210.919 + 213.004 + 215.094 + 217.189 + 219.289 + 221.394 + 223.503 + 225.616 + 227.734 + 229.857 + 231.985 + 234.117 + 236.253 + 238.394 + 240.539 + 242.689 + 244.843 + 247.002 + 249.165 + 251.332 + 253.504 + 255.68 + 257.86 + 260.045 + 262.234 + 264.427 + 266.624 + 268.826 + 271.032 + 273.241 + 275.456 + 277.674 + 279.896 + 282.122 + 284.353 + 286.587 + 288.826 + 291.068 + 293.315 + 295.566 + 297.82 + 300.079 + 302.341 + 304.607 + 306.878 + 309.152 + 311.43 + 313.712 + 315.998 + 318.287 + 320.581 + 322.878 + 325.179 + 327.484 + 329.792 + 332.105 + 334.421 + 336.74 + 339.064 + 341.391 + 343.722 + 346.056 + 348.394 + 350.736 + 353.082 + 355.431 + 357.783 + 360.139 + 362.499 + 364.863 + 367.229 + 369.6 + 371.974 + 374.351 + 376.732 + 379.117 + 381.504 + 383.896 + 386.291 + 388.689 + 391.091 + 393.496 + 395.904 + 398.316 + 400.731 + 403.15 + 405.572 + 407.998 + 410.426 + 412.858 + 415.294 + 417.732 + 420.174 + 422.62 + 425.068 + 427.52 + 429.975 + 432.433 + 434.895 + 437.36 + 439.828 + 442.299 + 444.773 + 447.251 + 449.731 + 452.215 + 454.702 + 457.193 + 459.686 + 462.183 + 464.682 + 467.185 + 469.691 + 472.2 + 474.712 + 477.227 + 479.745 + 482.266 + 484.791 + 487.318 + 489.848 + 492.382 + 494.918 + 497.458 + 500 + 501.961 + 503.922 + 505.882 + 507.843 + 509.804 + 511.765 + 513.725 + 515.686 + 517.647 + 519.608 + 521.569 + 523.529 + 525.49 + 527.451 + 529.412 + 531.373 + 533.333 + 535.294 + 537.255 + 539.216 + 541.176 + 543.137 + 545.098 + 547.059 + 549.02 + 550.98 + 552.941 + 554.902 + 556.863 + 558.824 + 560.784 + 562.745 + 564.706 + 566.667 + 568.627 + 570.588 + 572.549 + 574.51 + 576.471 + 578.431 + 580.392 + 582.353 + 584.314 + 586.275 + 588.235 + 590.196 + 592.157 + 594.118 + 596.078 + 598.039 + 600 + 601.961 + 603.922 + 605.882 + 607.843 + 609.804 + 611.765 + 613.725 + 615.686 + 617.647 + 619.608 + 621.569 + 623.529 + 625.49 + 627.451 + 629.412 + 631.373 + 633.333 + 635.294 + 637.255 + 639.216 + 641.176 + 643.137 + 645.098 + 647.059 + 649.02 + 650.98 + 652.941 + 654.902 + 656.863 + 658.824 + 660.784 + 662.745 + 664.706 + 666.667 + 668.627 + 670.588 + 672.549 + 674.51 + 676.471 + 678.431 + 680.392 + 682.353 + 684.314 + 686.275 + 688.235 + 690.196 + 692.157 + 694.118 + 696.078 + 698.039 + 700 + 701.961 + 703.922 + 705.882 + 707.843 + 709.804 + 711.765 + 713.725 + 715.686 + 717.647 + 719.608 + 721.569 + 723.529 + 725.49 + 727.451 + 729.412 + 731.373 + 733.333 + 735.294 + 737.255 + 739.216 + 741.176 + 743.137 + 745.098 + 747.059 + 749.02 + 750.98 + 752.941 + 754.902 + 756.863 + 758.824 + 760.784 + 762.745 + 764.706 + 766.667 + 768.627 + 770.588 + 772.549 + 774.51 + 776.471 + 778.431 + 780.392 + 782.353 + 784.314 + 786.275 + 788.235 + 790.196 + 792.157 + 794.118 + 796.078 + 798.039 + 800 + 801.961 + 803.922 + 805.882 + 807.843 + 809.804 + 811.765 + 813.725 + 815.686 + 817.647 + 819.608 + 821.569 + 823.529 + 825.49 + 827.451 + 829.412 + 831.373 + 833.333 + 835.294 + 837.255 + 839.216 + 841.176 + 843.137 + 845.098 + 847.059 + 849.02 + 850.98 + 852.941 + 854.902 + 856.863 + 858.824 + 860.784 + 862.745 + 864.706 + 866.667 + 868.627 + 870.588 + 872.549 + 874.51 + 876.471 + 878.431 + 880.392 + 882.353 + 884.314 + 886.275 + 888.235 + 890.196 + 892.157 + 894.118 + 896.078 + 898.039 + 900 + 901.961 + 903.922 + 905.882 + 907.843 + 909.804 + 911.765 + 913.725 + 915.686 + 917.647 + 919.608 + 921.569 + 923.529 + 925.49 + 927.451 + 929.412 + 931.373 + 933.333 + 935.294 + 937.255 + 939.216 + 941.176 + 943.137 + 945.098 + 947.059 + 949.02 + 950.98 + 952.941 + 954.902 + 956.863 + 958.824 + 960.784 + 962.745 + 964.706 + 966.667 + 968.627 + 970.588 + 972.549 + 974.51 + 976.471 + 978.431 + 980.392 + 982.353 + 984.314 + 986.275 + 988.235 + 990.196 + 992.157 + 994.118 + 996.078 + 998.039 + 1000 + 1001.961 + 1003.922 + 1005.882 + 1007.843 + 1009.804 + 1011.765 + 1013.725 + 1015.686 + 1017.647 + 1019.608 + 1021.569 + 1023.529 + 1025.49 + 1027.451 + 1029.412 + 1031.373 + 1033.333 + 1035.294 + 1037.255 + 1039.216 + 1041.176 + 1043.137 + 1045.098 + 1047.059 + 1049.02 + 1050.98 + 1052.941 + 1054.902 + 1056.863 + 1058.824 + 1060.784 + 1062.745 + 1064.706 + 1066.667 + 1068.627 + 1070.588 + 1072.549 + 1074.51 + 1076.471 + 1078.431 + 1080.392 + 1082.353 + 1084.314 + 1086.275 + 1088.235 + 1090.196 + 1092.157 + 1094.118 + 1096.078 + 1098.039 + 1100 + 1101.961 + 1103.922 + 1105.882 + 1107.843 + 1109.804 + 1111.765 + 1113.725 + 1115.686 + 1117.647 + 1119.608 + 1121.569 + 1123.529 + 1125.49 + 1127.451 + 1129.412 + 1131.373 + 1133.333 + 1135.294 + 1137.255 + 1139.216 + 1141.176 + 1143.137 + 1145.098 + 1147.059 + 1149.02 + 1150.98 + 1152.941 + 1154.902 + 1156.863 + 1158.824 + 1160.784 + 1162.745 + 1164.706 + 1166.667 + 1168.627 + 1170.588 + 1172.549 + 1174.51 + 1176.471 + 1178.431 + 1180.392 + 1182.353 + 1184.314 + 1186.275 + 1188.235 + 1190.196 + 1192.157 + 1194.118 + 1196.078 + 1198.039 + 1200 + + + 255 + 510 + + diff --git a/target/dm1q/overlay/values/bools.xml b/target/dm1q/overlay/values/bools.xml new file mode 100644 index 00000000000..774ff9b58d8 --- /dev/null +++ b/target/dm1q/overlay/values/bools.xml @@ -0,0 +1,9 @@ + + + true + true + true + true + false + true + diff --git a/target/dm1q/overlay/values/dimens.xml b/target/dm1q/overlay/values/dimens.xml new file mode 100644 index 00000000000..c652ae7d42b --- /dev/null +++ b/target/dm1q/overlay/values/dimens.xml @@ -0,0 +1,19 @@ + + + 0.5 + 0.5 + 0.050980393 + 0.5019608 + 1.0 + 0.0 + 255.0dp + 197.0dp + 360.0dp + 33.0dp + 0.0dp + 1040.0px + 30.0px + 25.0px + 81.0px + 67.0px + diff --git a/target/dm1q/overlay/values/integers.xml b/target/dm1q/overlay/values/integers.xml new file mode 100644 index 00000000000..8800698c206 --- /dev/null +++ b/target/dm1q/overlay/values/integers.xml @@ -0,0 +1,18 @@ + + + 10 + 780 + 230101 + 843547 + 360 + 4 + 3000 + 255 + 1 + 13 + 612 + 106 + 128 + 255 + 0 + diff --git a/target/dm1q/overlay/values/strings.xml b/target/dm1q/overlay/values/strings.xml new file mode 100644 index 00000000000..01ddfb82859 --- /dev/null +++ b/target/dm1q/overlay/values/strings.xml @@ -0,0 +1,6 @@ + + + M 0,0 H -9.333333333333333‬ V 27 H 9.333333333333333‬ V 0 H 0 Z @dp + com.samsung.provisioning.SILENT_PROVISIONING_CHECK + com.samsung.provisioning.SILENT_PROVISIONING_CHECK_RESULT + diff --git a/target/dm1q/overlay/xml/power_profile.xml b/target/dm1q/overlay/xml/power_profile.xml new file mode 100644 index 00000000000..f18559e4ec5 --- /dev/null +++ b/target/dm1q/overlay/xml/power_profile.xml @@ -0,0 +1,182 @@ + + + 0 + 20.84 + 73.9 + 202.6 + 0 + 0 + 0 + 0 + 0 + 11.4 + 21.75 + 107 + 264 + 37.9 + 177.02 + 92.98 + + 8.77 + 8.77 + + 0 + 0 + 0 + 0 + + 3 + 4 + 1 + + + 307200 + 441600 + 556800 + 672000 + 787200 + 902400 + 1017600 + 1113600 + 1228800 + 1344000 + 1459200 + 1555200 + 1670400 + 1785600 + 1990800 + 2016000 + + + 14 + 16 + 18 + 20 + 22 + 24 + 28 + 29 + 32 + 35 + 39 + 42 + 46 + 50 + 54 + 60 + + + 499200 + 614400 + 729600 + 844800 + 940800 + 1056000 + 1171200 + 1286400 + 1401600 + 1536000 + 1651200 + 1785600 + 1920000 + 2054400 + 2188800 + 2323200 + 2457600 + 2592000 + 2707200 + 2803200 + + + 28 + 33 + 39 + 45 + 49 + 57 + 64 + 72 + 80 + 91 + 101 + 120 + 133 + 153 + 178 + 202 + 238 + 277 + 321 + 321 + + + 595200 + 729600 + 86400 + 998400 + 1132800 + 1248000 + 1363200 + 1478400 + 1593600 + 1708800 + 1843200 + 1977600 + 2092800 + 2227200 + 2342400 + 2476800 + 2592000 + 2726400 + 2841600 + 2956800 + 3187200 + 3360000 + + + 80 + 92 + 109 + 122 + 139 + 157 + 171 + 188 + 205 + 224 + 249 + 281 + 334 + 374 + 404 + 460 + 500 + 560 + 614 + 715 + 1080 + 1139 + + 6.6 + 19.6 + 3785 + 3900 + 6 + 28 + 36 + 3700 + 1 + 130 + 420 + + 0 + + 4000 + + .0002 + .002 + .02 + .2 + 2 + + diff --git a/target/dm1q/patches/displayconfig/customize.sh b/target/dm1q/patches/displayconfig/customize.sh new file mode 100644 index 00000000000..50fd8367c05 --- /dev/null +++ b/target/dm1q/patches/displayconfig/customize.sh @@ -0,0 +1,3 @@ +# Spoof ro.product.vendor.device for temporary display configuration fix on affected devices. (Some users have reported that their display (configuration) looked weird after installing a Magisk module called Ultimate Module S23X (version 3.5, fixed in later versions!) or RWACA - ROM Without A Cool Acronym - OneUI 7 Beta port.) +# This does not seem to cause any problems on non-affected devices. +SET_PROP "vendor" "ro.product.vendor.device" "${TARGET_CODENAME}xxx" \ No newline at end of file diff --git a/target/dm1q/patches/displayconfig/module.prop b/target/dm1q/patches/displayconfig/module.prop new file mode 100644 index 00000000000..45fb586a22c --- /dev/null +++ b/target/dm1q/patches/displayconfig/module.prop @@ -0,0 +1,4 @@ +id=display_fix +name=Display configuration fix +author=gyabii +description=Temporary display configuration fix for issued devices. \ No newline at end of file diff --git a/target/dm2q/camera/camera-feature.xml b/target/dm2q/camera/camera-feature.xml new file mode 100644 index 00000000000..a6db82037de --- /dev/null +++ b/target/dm2q/camera/camera-feature.xml @@ -0,0 +1,319 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/target/dm2q/config.sh b/target/dm2q/config.sh new file mode 100755 index 00000000000..7e00a5f48ad --- /dev/null +++ b/target/dm2q/config.sh @@ -0,0 +1,14 @@ +# Copyright (c) 2026 Salvo Giangreco +# SPDX-License-Identifier: GPL-3.0-or-later + +# Device configuration file for Galaxy S23+ (dm2q) +TARGET_NAME="Galaxy S23+" +TARGET_CODENAME="dm2q" +TARGET_PLATFORM="sm8550" +TARGET_FIRMWARE="SM-S916B/EUX/356761461234566" +TARGET_EXTRA_FIRMWARES=() +TARGET_PLATFORM_SDK_VERSION=36 + +# SEC Product Feature +TARGET_COMMON_SUPPORT_DYN_RESOLUTION_CONTROL=false +TARGET_DVFSAPP_CONFIG_SSRM_POLICY_FILENAME="siop_dm2q_sm8550" diff --git a/target/dm2q/dvfs/siop_model.xml b/target/dm2q/dvfs/siop_model.xml new file mode 100644 index 00000000000..12439484a7f --- /dev/null +++ b/target/dm2q/dvfs/siop_model.xml @@ -0,0 +1,219 @@ + + + + + + + + + + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/target/dm2q/overlay/values/arrays.xml b/target/dm2q/overlay/values/arrays.xml new file mode 100644 index 00000000000..2cdde75c889 --- /dev/null +++ b/target/dm2q/overlay/values/arrays.xml @@ -0,0 +1,1420 @@ + + + + 1.632 + + + -1,-1,-1,-1,510,408 + -1,-1,-1,510,408,408 + -1,-1,510,408,306,306 + -1,510,408,306,306,306 + + + 0 + 10 + 15 + 50 + 100 + 300 + 500 + 1000 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 8000 + 9000 + 10000 + 20000 + 40000 + 49999 + 50000 + + + 10 + 80 + 120 + 300 + 400 + 900 + 1300 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 8000 + 9000 + 10000 + 20000 + 50000 + 50000 + 50000 + 999999 + + + 0 + 5 + 9 + 10 + 25 + 50 + 100 + 300 + 500 + 1000 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 10000 + 20000 + 50000 + + + -1 + 0 + 0 + 3 + 5 + 10 + 40 + 50 + 60 + 200 + 600 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 10000 + 20000 + + + 0 + 12 + 29 + 49 + + + 11 + 15 + 22 + 26 + 31 + 35 + 46 + 62 + 79 + 88 + 93 + 99 + 111 + 130 + 190 + 340 + 500 + 650 + 800 + 1000 + 1100 + 1200 + 1200 + 1200 + 1200 + + + 2 + 5 + 10 + 55 + 64 + 82 + 139 + 198 + 331 + 490 + + + 1 + 2 + 3 + 4 + 5 + 10 + 15 + 20 + 25 + 50 + 100 + 300 + 500 + 1000 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 10000 + 20000 + 50000 + 999999 + + + 1 + 10 + 30 + 50 + 100 + 500 + 1000 + 2000 + 3000 + + + com.samsung.unifiedtp + com.samsung.unifiedtp.ui.TetheringProvisionActivity + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 + 100 + 101 + 102 + 103 + 104 + 105 + 106 + 107 + 108 + 109 + 110 + 111 + 112 + 113 + 114 + 115 + 116 + 117 + 118 + 119 + 120 + 121 + 122 + 123 + 124 + 125 + 126 + 127 + 128 + 129 + 130 + 131 + 132 + 133 + 134 + 135 + 136 + 137 + 138 + 139 + 140 + 141 + 142 + 143 + 144 + 145 + 146 + 147 + 148 + 149 + 150 + 151 + 152 + 153 + 154 + 155 + 156 + 157 + 158 + 159 + 160 + 161 + 162 + 163 + 164 + 165 + 166 + 167 + 168 + 169 + 170 + 171 + 172 + 173 + 174 + 175 + 176 + 177 + 178 + 179 + 180 + 181 + 182 + 183 + 184 + 185 + 186 + 187 + 188 + 189 + 190 + 191 + 192 + 193 + 194 + 195 + 196 + 197 + 198 + 199 + 200 + 201 + 202 + 203 + 204 + 205 + 206 + 207 + 208 + 209 + 210 + 211 + 212 + 213 + 214 + 215 + 216 + 217 + 218 + 219 + 220 + 221 + 222 + 223 + 224 + 225 + 226 + 227 + 228 + 229 + 230 + 231 + 232 + 233 + 234 + 235 + 236 + 237 + 238 + 239 + 240 + 241 + 242 + 243 + 244 + 245 + 246 + 247 + 248 + 249 + 250 + 251 + 252 + 253 + 254 + 255 + 256 + 257 + 258 + 259 + 260 + 261 + 262 + 263 + 264 + 265 + 266 + 267 + 268 + 269 + 270 + 271 + 272 + 273 + 274 + 275 + 276 + 277 + 278 + 279 + 280 + 281 + 282 + 283 + 284 + 285 + 286 + 287 + 288 + 289 + 290 + 291 + 292 + 293 + 294 + 295 + 296 + 297 + 298 + 299 + 300 + 301 + 302 + 303 + 304 + 305 + 306 + 307 + 308 + 309 + 310 + 311 + 312 + 313 + 314 + 315 + 316 + 317 + 318 + 319 + 320 + 321 + 322 + 323 + 324 + 325 + 326 + 327 + 328 + 329 + 330 + 331 + 332 + 333 + 334 + 335 + 336 + 337 + 338 + 339 + 340 + 341 + 342 + 343 + 344 + 345 + 346 + 347 + 348 + 349 + 350 + 351 + 352 + 353 + 354 + 355 + 356 + 357 + 358 + 359 + 360 + 361 + 362 + 363 + 364 + 365 + 366 + 367 + 368 + 369 + 370 + 371 + 372 + 373 + 374 + 375 + 376 + 377 + 378 + 379 + 380 + 381 + 382 + 383 + 384 + 385 + 386 + 387 + 388 + 389 + 390 + 391 + 392 + 393 + 394 + 395 + 396 + 397 + 398 + 399 + 400 + 401 + 402 + 403 + 404 + 405 + 406 + 407 + 408 + 409 + 410 + 411 + 412 + 413 + 414 + 415 + 416 + 417 + 418 + 419 + 420 + 421 + 422 + 423 + 424 + 425 + 426 + 427 + 428 + 429 + 430 + 431 + 432 + 433 + 434 + 435 + 436 + 437 + 438 + 439 + 440 + 441 + 442 + 443 + 444 + 445 + 446 + 447 + 448 + 449 + 450 + 451 + 452 + 453 + 454 + 455 + 456 + 457 + 458 + 459 + 460 + 461 + 462 + 463 + 464 + 465 + 466 + 467 + 468 + 469 + 470 + 471 + 472 + 473 + 474 + 475 + 476 + 477 + 478 + 479 + 480 + 481 + 482 + 483 + 484 + 485 + 486 + 487 + 488 + 489 + 490 + 491 + 492 + 493 + 494 + 495 + 496 + 497 + 498 + 499 + 500 + 501 + 502 + 503 + 504 + 505 + 506 + 507 + 508 + 509 + 510 + 511 + 512 + 513 + 514 + 515 + 516 + 517 + 518 + 519 + 520 + 521 + 522 + 523 + 524 + 525 + 526 + 527 + 528 + 529 + 530 + 531 + 532 + 533 + 534 + 535 + 536 + 537 + 538 + 539 + 540 + 541 + 542 + 543 + 544 + 545 + 546 + 547 + 548 + 549 + 550 + 551 + 552 + 553 + 554 + 555 + 556 + 557 + 558 + 559 + 560 + 561 + 562 + 563 + 564 + 565 + 566 + 567 + 568 + 569 + 570 + 571 + 572 + 573 + 574 + 575 + 576 + 577 + 578 + 579 + 580 + 581 + 582 + 583 + 584 + 585 + 586 + 587 + 588 + 589 + 590 + 591 + 592 + 593 + 594 + 595 + 596 + 597 + 598 + 599 + 600 + 601 + 602 + 603 + 604 + 605 + 606 + 607 + 608 + 609 + 610 + 611 + 612 + + + 1 + 1.371 + 1.914 + 2.548 + 3.25 + 4.008 + 4.812 + 5.658 + 6.541 + 7.458 + 8.406 + 9.383 + 10.387 + 11.417 + 12.47 + 13.546 + 14.644 + 15.763 + 16.902 + 18.06 + 19.236 + 20.43 + 21.642 + 22.87 + 24.114 + 25.374 + 26.649 + 27.938 + 29.243 + 30.561 + 31.893 + 33.238 + 34.596 + 35.968 + 37.351 + 38.747 + 40.155 + 41.575 + 43.007 + 44.449 + 45.903 + 47.368 + 48.843 + 50.33 + 51.826 + 53.333 + 54.85 + 56.377 + 57.913 + 59.459 + 61.015 + 62.58 + 64.154 + 65.738 + 67.33 + 68.931 + 70.541 + 72.16 + 73.787 + 75.423 + 77.067 + 78.719 + 80.379 + 82.048 + 83.724 + 85.408 + 87.1 + 88.8 + 90.508 + 92.223 + 93.945 + 95.675 + 97.412 + 99.156 + 100.908 + 102.667 + 104.432 + 106.205 + 107.985 + 109.771 + 111.564 + 113.364 + 115.171 + 116.984 + 118.804 + 120.631 + 122.464 + 124.303 + 126.149 + 128 + 129.859 + 131.723 + 133.594 + 135.47 + 137.353 + 139.242 + 141.136 + 143.037 + 144.944 + 146.856 + 148.774 + 150.698 + 152.628 + 154.563 + 156.504 + 158.451 + 160.403 + 162.36 + 164.324 + 166.292 + 168.266 + 170.246 + 172.231 + 174.221 + 176.216 + 178.217 + 180.223 + 182.234 + 184.25 + 186.272 + 188.298 + 190.33 + 192.367 + 194.408 + 196.455 + 198.506 + 200.563 + 202.624 + 204.691 + 206.762 + 208.838 + 210.919 + 213.004 + 215.094 + 217.189 + 219.289 + 221.394 + 223.503 + 225.616 + 227.734 + 229.857 + 231.985 + 234.117 + 236.253 + 238.394 + 240.539 + 242.689 + 244.843 + 247.002 + 249.165 + 251.332 + 253.504 + 255.68 + 257.86 + 260.045 + 262.234 + 264.427 + 266.624 + 268.826 + 271.032 + 273.241 + 275.456 + 277.674 + 279.896 + 282.122 + 284.353 + 286.587 + 288.826 + 291.068 + 293.315 + 295.566 + 297.82 + 300.079 + 302.341 + 304.607 + 306.878 + 309.152 + 311.43 + 313.712 + 315.998 + 318.287 + 320.581 + 322.878 + 325.179 + 327.484 + 329.792 + 332.105 + 334.421 + 336.74 + 339.064 + 341.391 + 343.722 + 346.056 + 348.394 + 350.736 + 353.082 + 355.431 + 357.783 + 360.139 + 362.499 + 364.863 + 367.229 + 369.6 + 371.974 + 374.351 + 376.732 + 379.117 + 381.504 + 383.896 + 386.291 + 388.689 + 391.091 + 393.496 + 395.904 + 398.316 + 400.731 + 403.15 + 405.572 + 407.998 + 410.426 + 412.858 + 415.294 + 417.732 + 420.174 + 422.62 + 425.068 + 427.52 + 429.975 + 432.433 + 434.895 + 437.36 + 439.828 + 442.299 + 444.773 + 447.251 + 449.731 + 452.215 + 454.702 + 457.193 + 459.686 + 462.183 + 464.682 + 467.185 + 469.691 + 472.2 + 474.712 + 477.227 + 479.745 + 482.266 + 484.791 + 487.318 + 489.848 + 492.382 + 494.918 + 497.458 + 500 + 501.961 + 503.922 + 505.882 + 507.843 + 509.804 + 511.765 + 513.725 + 515.686 + 517.647 + 519.608 + 521.569 + 523.529 + 525.49 + 527.451 + 529.412 + 531.373 + 533.333 + 535.294 + 537.255 + 539.216 + 541.176 + 543.137 + 545.098 + 547.059 + 549.02 + 550.98 + 552.941 + 554.902 + 556.863 + 558.824 + 560.784 + 562.745 + 564.706 + 566.667 + 568.627 + 570.588 + 572.549 + 574.51 + 576.471 + 578.431 + 580.392 + 582.353 + 584.314 + 586.275 + 588.235 + 590.196 + 592.157 + 594.118 + 596.078 + 598.039 + 600 + 601.961 + 603.922 + 605.882 + 607.843 + 609.804 + 611.765 + 613.725 + 615.686 + 617.647 + 619.608 + 621.569 + 623.529 + 625.49 + 627.451 + 629.412 + 631.373 + 633.333 + 635.294 + 637.255 + 639.216 + 641.176 + 643.137 + 645.098 + 647.059 + 649.02 + 650.98 + 652.941 + 654.902 + 656.863 + 658.824 + 660.784 + 662.745 + 664.706 + 666.667 + 668.627 + 670.588 + 672.549 + 674.51 + 676.471 + 678.431 + 680.392 + 682.353 + 684.314 + 686.275 + 688.235 + 690.196 + 692.157 + 694.118 + 696.078 + 698.039 + 700 + 701.961 + 703.922 + 705.882 + 707.843 + 709.804 + 711.765 + 713.725 + 715.686 + 717.647 + 719.608 + 721.569 + 723.529 + 725.49 + 727.451 + 729.412 + 731.373 + 733.333 + 735.294 + 737.255 + 739.216 + 741.176 + 743.137 + 745.098 + 747.059 + 749.02 + 750.98 + 752.941 + 754.902 + 756.863 + 758.824 + 760.784 + 762.745 + 764.706 + 766.667 + 768.627 + 770.588 + 772.549 + 774.51 + 776.471 + 778.431 + 780.392 + 782.353 + 784.314 + 786.275 + 788.235 + 790.196 + 792.157 + 794.118 + 796.078 + 798.039 + 800 + 801.961 + 803.922 + 805.882 + 807.843 + 809.804 + 811.765 + 813.725 + 815.686 + 817.647 + 819.608 + 821.569 + 823.529 + 825.49 + 827.451 + 829.412 + 831.373 + 833.333 + 835.294 + 837.255 + 839.216 + 841.176 + 843.137 + 845.098 + 847.059 + 849.02 + 850.98 + 852.941 + 854.902 + 856.863 + 858.824 + 860.784 + 862.745 + 864.706 + 866.667 + 868.627 + 870.588 + 872.549 + 874.51 + 876.471 + 878.431 + 880.392 + 882.353 + 884.314 + 886.275 + 888.235 + 890.196 + 892.157 + 894.118 + 896.078 + 898.039 + 900 + 901.961 + 903.922 + 905.882 + 907.843 + 909.804 + 911.765 + 913.725 + 915.686 + 917.647 + 919.608 + 921.569 + 923.529 + 925.49 + 927.451 + 929.412 + 931.373 + 933.333 + 935.294 + 937.255 + 939.216 + 941.176 + 943.137 + 945.098 + 947.059 + 949.02 + 950.98 + 952.941 + 954.902 + 956.863 + 958.824 + 960.784 + 962.745 + 964.706 + 966.667 + 968.627 + 970.588 + 972.549 + 974.51 + 976.471 + 978.431 + 980.392 + 982.353 + 984.314 + 986.275 + 988.235 + 990.196 + 992.157 + 994.118 + 996.078 + 998.039 + 1000 + 1001.961 + 1003.922 + 1005.882 + 1007.843 + 1009.804 + 1011.765 + 1013.725 + 1015.686 + 1017.647 + 1019.608 + 1021.569 + 1023.529 + 1025.49 + 1027.451 + 1029.412 + 1031.373 + 1033.333 + 1035.294 + 1037.255 + 1039.216 + 1041.176 + 1043.137 + 1045.098 + 1047.059 + 1049.02 + 1050.98 + 1052.941 + 1054.902 + 1056.863 + 1058.824 + 1060.784 + 1062.745 + 1064.706 + 1066.667 + 1068.627 + 1070.588 + 1072.549 + 1074.51 + 1076.471 + 1078.431 + 1080.392 + 1082.353 + 1084.314 + 1086.275 + 1088.235 + 1090.196 + 1092.157 + 1094.118 + 1096.078 + 1098.039 + 1100 + 1101.961 + 1103.922 + 1105.882 + 1107.843 + 1109.804 + 1111.765 + 1113.725 + 1115.686 + 1117.647 + 1119.608 + 1121.569 + 1123.529 + 1125.49 + 1127.451 + 1129.412 + 1131.373 + 1133.333 + 1135.294 + 1137.255 + 1139.216 + 1141.176 + 1143.137 + 1145.098 + 1147.059 + 1149.02 + 1150.98 + 1152.941 + 1154.902 + 1156.863 + 1158.824 + 1160.784 + 1162.745 + 1164.706 + 1166.667 + 1168.627 + 1170.588 + 1172.549 + 1174.51 + 1176.471 + 1178.431 + 1180.392 + 1182.353 + 1184.314 + 1186.275 + 1188.235 + 1190.196 + 1192.157 + 1194.118 + 1196.078 + 1198.039 + 1200 + + + 255 + 510 + + diff --git a/target/dm2q/overlay/values/bools.xml b/target/dm2q/overlay/values/bools.xml new file mode 100644 index 00000000000..774ff9b58d8 --- /dev/null +++ b/target/dm2q/overlay/values/bools.xml @@ -0,0 +1,9 @@ + + + true + true + true + true + false + true + diff --git a/target/dm2q/overlay/values/dimens.xml b/target/dm2q/overlay/values/dimens.xml new file mode 100644 index 00000000000..6483128f618 --- /dev/null +++ b/target/dm2q/overlay/values/dimens.xml @@ -0,0 +1,19 @@ + + + 0.050980393 + 0.5019608 + 1.0 + 0.0 + 237.0dip + 209.0dip + 360.0dip + 33.0dip + 0.0dip + 965.0px + 36.0dip + 36.0dip + 30.0px + 22.0px + 74.0px + 67.0px + diff --git a/target/dm2q/overlay/values/integers.xml b/target/dm2q/overlay/values/integers.xml new file mode 100644 index 00000000000..5e7f7999ff6 --- /dev/null +++ b/target/dm2q/overlay/values/integers.xml @@ -0,0 +1,19 @@ + + + 10 + 780 + 230102 + 843547 + 360 + 4 + 3000 + 101 + 255 + 1 + 13 + 612 + 106 + 128 + 255 + 0 + diff --git a/target/dm2q/overlay/values/strings.xml b/target/dm2q/overlay/values/strings.xml new file mode 100644 index 00000000000..9fa635dfc20 --- /dev/null +++ b/target/dm2q/overlay/values/strings.xml @@ -0,0 +1,6 @@ + + + M 0,0 H -9.244444444444444‬ V 26.31111111111111 H 9.244444444444444‬ V 0 H 0 Z @dp + com.samsung.provisioning.SILENT_PROVISIONING_CHECK + com.samsung.provisioning.SILENT_PROVISIONING_CHECK_RESULT + diff --git a/target/dm2q/overlay/xml/power_profile.xml b/target/dm2q/overlay/xml/power_profile.xml new file mode 100644 index 00000000000..ed8bc68e4d8 --- /dev/null +++ b/target/dm2q/overlay/xml/power_profile.xml @@ -0,0 +1,182 @@ + + + 0 + 19.86 + 82.6 + 240.2 + 0 + 0 + 0 + 0 + 0 + 11.4 + 21.75 + 107 + 264 + 37.9 + 177.02 + 92.98 + + 8.77 + 8.77 + + 0 + 0 + 0 + 0 + + 3 + 4 + 1 + + + 307200 + 441600 + 556800 + 672000 + 787200 + 902400 + 1017600 + 1113600 + 1228800 + 1344000 + 1459200 + 1555200 + 1670400 + 1785600 + 1990800 + 2016000 + + + 14 + 16 + 18 + 20 + 22 + 24 + 28 + 29 + 32 + 35 + 39 + 42 + 46 + 50 + 54 + 60 + + + 499200 + 614400 + 729600 + 844800 + 940800 + 1056000 + 1171200 + 1286400 + 1401600 + 1536000 + 1651200 + 1785600 + 1920000 + 2054400 + 2188800 + 2323200 + 2457600 + 2592000 + 2707200 + 2803200 + + + 28 + 33 + 39 + 45 + 49 + 57 + 64 + 72 + 80 + 91 + 101 + 120 + 133 + 153 + 178 + 202 + 238 + 277 + 321 + 321 + + + 595200 + 729600 + 86400 + 998400 + 1132800 + 1248000 + 1363200 + 1478400 + 1593600 + 1708800 + 1843200 + 1977600 + 2092800 + 2227200 + 2342400 + 2476800 + 2592000 + 2726400 + 2841600 + 2956800 + 3187200 + 3360000 + + + 80 + 92 + 109 + 122 + 139 + 157 + 171 + 188 + 205 + 224 + 249 + 281 + 334 + 374 + 404 + 460 + 500 + 560 + 614 + 715 + 1080 + 1139 + + 7.5 + 19.2 + 4565 + 4700 + 6 + 28 + 36 + 3700 + 1 + 130 + 420 + + 0 + + 4000 + + .0002 + .002 + .02 + .2 + 2 + + diff --git a/target/dm2q/patches/camera/customize.sh b/target/dm2q/patches/camera/customize.sh new file mode 100644 index 00000000000..64394bba11c --- /dev/null +++ b/target/dm2q/patches/camera/customize.sh @@ -0,0 +1,11 @@ +echo "Add stock camera libs" +BLOBS_LIST=" +system/lib64/libDLInterface_aidl.camera.samsung.so +system/lib64/libDocDeblur.camera.samsung.so +system/lib64/libDocObjectRemoval.camera.samsung.so +system/lib64/libDocObjectRemoval.enhanceX.samsung.so +" +for blob in $BLOBS_LIST +do + ADD_TO_WORK_DIR "$TARGET_FIRMWARE" "system" "$blob" 0 0 644 "u:object_r:system_lib_file:s0" +done diff --git a/target/dm2q/patches/camera/module.prop b/target/dm2q/patches/camera/module.prop new file mode 100644 index 00000000000..df636d27378 --- /dev/null +++ b/target/dm2q/patches/camera/module.prop @@ -0,0 +1,4 @@ +id=camera +name=Camera fix +author=salvogiangri +description=Various camera-related patches. diff --git a/target/dm2q/patches/displayconfig/customize.sh b/target/dm2q/patches/displayconfig/customize.sh new file mode 100644 index 00000000000..50fd8367c05 --- /dev/null +++ b/target/dm2q/patches/displayconfig/customize.sh @@ -0,0 +1,3 @@ +# Spoof ro.product.vendor.device for temporary display configuration fix on affected devices. (Some users have reported that their display (configuration) looked weird after installing a Magisk module called Ultimate Module S23X (version 3.5, fixed in later versions!) or RWACA - ROM Without A Cool Acronym - OneUI 7 Beta port.) +# This does not seem to cause any problems on non-affected devices. +SET_PROP "vendor" "ro.product.vendor.device" "${TARGET_CODENAME}xxx" \ No newline at end of file diff --git a/target/dm2q/patches/displayconfig/module.prop b/target/dm2q/patches/displayconfig/module.prop new file mode 100644 index 00000000000..45fb586a22c --- /dev/null +++ b/target/dm2q/patches/displayconfig/module.prop @@ -0,0 +1,4 @@ +id=display_fix +name=Display configuration fix +author=gyabii +description=Temporary display configuration fix for issued devices. \ No newline at end of file diff --git a/target/dm3q/camera/camera-feature.xml b/target/dm3q/camera/camera-feature.xml new file mode 100644 index 00000000000..a6db82037de --- /dev/null +++ b/target/dm3q/camera/camera-feature.xml @@ -0,0 +1,319 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/target/dm3q/config.sh b/target/dm3q/config.sh new file mode 100755 index 00000000000..624d73d6af4 --- /dev/null +++ b/target/dm3q/config.sh @@ -0,0 +1,14 @@ +# Copyright (c) 2026 Salvo Giangreco +# SPDX-License-Identifier: GPL-3.0-or-later + +# Device configuration file for Galaxy S23 Ultra (dm3q) +TARGET_NAME="Galaxy S23 Ultra" +TARGET_CODENAME="dm3q" +TARGET_PLATFORM="sm8550" +TARGET_FIRMWARE="SM-S918B/EUX/350196551234562" +TARGET_EXTRA_FIRMWARES=() +TARGET_PLATFORM_SDK_VERSION=36 + +# SEC Product Feature +TARGET_COMMON_SUPPORT_DYN_RESOLUTION_CONTROL=true +TARGET_DVFSAPP_CONFIG_SSRM_POLICY_FILENAME="siop_dm3q_sm8550" diff --git a/target/dm3q/dvfs/siop_model.xml b/target/dm3q/dvfs/siop_model.xml new file mode 100644 index 00000000000..0d2d35b20a9 --- /dev/null +++ b/target/dm3q/dvfs/siop_model.xml @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/target/dm3q/overlay/values/arrays.xml b/target/dm3q/overlay/values/arrays.xml new file mode 100644 index 00000000000..2cdde75c889 --- /dev/null +++ b/target/dm3q/overlay/values/arrays.xml @@ -0,0 +1,1420 @@ + + + + 1.632 + + + -1,-1,-1,-1,510,408 + -1,-1,-1,510,408,408 + -1,-1,510,408,306,306 + -1,510,408,306,306,306 + + + 0 + 10 + 15 + 50 + 100 + 300 + 500 + 1000 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 8000 + 9000 + 10000 + 20000 + 40000 + 49999 + 50000 + + + 10 + 80 + 120 + 300 + 400 + 900 + 1300 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 8000 + 9000 + 10000 + 20000 + 50000 + 50000 + 50000 + 999999 + + + 0 + 5 + 9 + 10 + 25 + 50 + 100 + 300 + 500 + 1000 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 10000 + 20000 + 50000 + + + -1 + 0 + 0 + 3 + 5 + 10 + 40 + 50 + 60 + 200 + 600 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 10000 + 20000 + + + 0 + 12 + 29 + 49 + + + 11 + 15 + 22 + 26 + 31 + 35 + 46 + 62 + 79 + 88 + 93 + 99 + 111 + 130 + 190 + 340 + 500 + 650 + 800 + 1000 + 1100 + 1200 + 1200 + 1200 + 1200 + + + 2 + 5 + 10 + 55 + 64 + 82 + 139 + 198 + 331 + 490 + + + 1 + 2 + 3 + 4 + 5 + 10 + 15 + 20 + 25 + 50 + 100 + 300 + 500 + 1000 + 2000 + 3000 + 4000 + 5000 + 6000 + 7000 + 10000 + 20000 + 50000 + 999999 + + + 1 + 10 + 30 + 50 + 100 + 500 + 1000 + 2000 + 3000 + + + com.samsung.unifiedtp + com.samsung.unifiedtp.ui.TetheringProvisionActivity + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 + 100 + 101 + 102 + 103 + 104 + 105 + 106 + 107 + 108 + 109 + 110 + 111 + 112 + 113 + 114 + 115 + 116 + 117 + 118 + 119 + 120 + 121 + 122 + 123 + 124 + 125 + 126 + 127 + 128 + 129 + 130 + 131 + 132 + 133 + 134 + 135 + 136 + 137 + 138 + 139 + 140 + 141 + 142 + 143 + 144 + 145 + 146 + 147 + 148 + 149 + 150 + 151 + 152 + 153 + 154 + 155 + 156 + 157 + 158 + 159 + 160 + 161 + 162 + 163 + 164 + 165 + 166 + 167 + 168 + 169 + 170 + 171 + 172 + 173 + 174 + 175 + 176 + 177 + 178 + 179 + 180 + 181 + 182 + 183 + 184 + 185 + 186 + 187 + 188 + 189 + 190 + 191 + 192 + 193 + 194 + 195 + 196 + 197 + 198 + 199 + 200 + 201 + 202 + 203 + 204 + 205 + 206 + 207 + 208 + 209 + 210 + 211 + 212 + 213 + 214 + 215 + 216 + 217 + 218 + 219 + 220 + 221 + 222 + 223 + 224 + 225 + 226 + 227 + 228 + 229 + 230 + 231 + 232 + 233 + 234 + 235 + 236 + 237 + 238 + 239 + 240 + 241 + 242 + 243 + 244 + 245 + 246 + 247 + 248 + 249 + 250 + 251 + 252 + 253 + 254 + 255 + 256 + 257 + 258 + 259 + 260 + 261 + 262 + 263 + 264 + 265 + 266 + 267 + 268 + 269 + 270 + 271 + 272 + 273 + 274 + 275 + 276 + 277 + 278 + 279 + 280 + 281 + 282 + 283 + 284 + 285 + 286 + 287 + 288 + 289 + 290 + 291 + 292 + 293 + 294 + 295 + 296 + 297 + 298 + 299 + 300 + 301 + 302 + 303 + 304 + 305 + 306 + 307 + 308 + 309 + 310 + 311 + 312 + 313 + 314 + 315 + 316 + 317 + 318 + 319 + 320 + 321 + 322 + 323 + 324 + 325 + 326 + 327 + 328 + 329 + 330 + 331 + 332 + 333 + 334 + 335 + 336 + 337 + 338 + 339 + 340 + 341 + 342 + 343 + 344 + 345 + 346 + 347 + 348 + 349 + 350 + 351 + 352 + 353 + 354 + 355 + 356 + 357 + 358 + 359 + 360 + 361 + 362 + 363 + 364 + 365 + 366 + 367 + 368 + 369 + 370 + 371 + 372 + 373 + 374 + 375 + 376 + 377 + 378 + 379 + 380 + 381 + 382 + 383 + 384 + 385 + 386 + 387 + 388 + 389 + 390 + 391 + 392 + 393 + 394 + 395 + 396 + 397 + 398 + 399 + 400 + 401 + 402 + 403 + 404 + 405 + 406 + 407 + 408 + 409 + 410 + 411 + 412 + 413 + 414 + 415 + 416 + 417 + 418 + 419 + 420 + 421 + 422 + 423 + 424 + 425 + 426 + 427 + 428 + 429 + 430 + 431 + 432 + 433 + 434 + 435 + 436 + 437 + 438 + 439 + 440 + 441 + 442 + 443 + 444 + 445 + 446 + 447 + 448 + 449 + 450 + 451 + 452 + 453 + 454 + 455 + 456 + 457 + 458 + 459 + 460 + 461 + 462 + 463 + 464 + 465 + 466 + 467 + 468 + 469 + 470 + 471 + 472 + 473 + 474 + 475 + 476 + 477 + 478 + 479 + 480 + 481 + 482 + 483 + 484 + 485 + 486 + 487 + 488 + 489 + 490 + 491 + 492 + 493 + 494 + 495 + 496 + 497 + 498 + 499 + 500 + 501 + 502 + 503 + 504 + 505 + 506 + 507 + 508 + 509 + 510 + 511 + 512 + 513 + 514 + 515 + 516 + 517 + 518 + 519 + 520 + 521 + 522 + 523 + 524 + 525 + 526 + 527 + 528 + 529 + 530 + 531 + 532 + 533 + 534 + 535 + 536 + 537 + 538 + 539 + 540 + 541 + 542 + 543 + 544 + 545 + 546 + 547 + 548 + 549 + 550 + 551 + 552 + 553 + 554 + 555 + 556 + 557 + 558 + 559 + 560 + 561 + 562 + 563 + 564 + 565 + 566 + 567 + 568 + 569 + 570 + 571 + 572 + 573 + 574 + 575 + 576 + 577 + 578 + 579 + 580 + 581 + 582 + 583 + 584 + 585 + 586 + 587 + 588 + 589 + 590 + 591 + 592 + 593 + 594 + 595 + 596 + 597 + 598 + 599 + 600 + 601 + 602 + 603 + 604 + 605 + 606 + 607 + 608 + 609 + 610 + 611 + 612 + + + 1 + 1.371 + 1.914 + 2.548 + 3.25 + 4.008 + 4.812 + 5.658 + 6.541 + 7.458 + 8.406 + 9.383 + 10.387 + 11.417 + 12.47 + 13.546 + 14.644 + 15.763 + 16.902 + 18.06 + 19.236 + 20.43 + 21.642 + 22.87 + 24.114 + 25.374 + 26.649 + 27.938 + 29.243 + 30.561 + 31.893 + 33.238 + 34.596 + 35.968 + 37.351 + 38.747 + 40.155 + 41.575 + 43.007 + 44.449 + 45.903 + 47.368 + 48.843 + 50.33 + 51.826 + 53.333 + 54.85 + 56.377 + 57.913 + 59.459 + 61.015 + 62.58 + 64.154 + 65.738 + 67.33 + 68.931 + 70.541 + 72.16 + 73.787 + 75.423 + 77.067 + 78.719 + 80.379 + 82.048 + 83.724 + 85.408 + 87.1 + 88.8 + 90.508 + 92.223 + 93.945 + 95.675 + 97.412 + 99.156 + 100.908 + 102.667 + 104.432 + 106.205 + 107.985 + 109.771 + 111.564 + 113.364 + 115.171 + 116.984 + 118.804 + 120.631 + 122.464 + 124.303 + 126.149 + 128 + 129.859 + 131.723 + 133.594 + 135.47 + 137.353 + 139.242 + 141.136 + 143.037 + 144.944 + 146.856 + 148.774 + 150.698 + 152.628 + 154.563 + 156.504 + 158.451 + 160.403 + 162.36 + 164.324 + 166.292 + 168.266 + 170.246 + 172.231 + 174.221 + 176.216 + 178.217 + 180.223 + 182.234 + 184.25 + 186.272 + 188.298 + 190.33 + 192.367 + 194.408 + 196.455 + 198.506 + 200.563 + 202.624 + 204.691 + 206.762 + 208.838 + 210.919 + 213.004 + 215.094 + 217.189 + 219.289 + 221.394 + 223.503 + 225.616 + 227.734 + 229.857 + 231.985 + 234.117 + 236.253 + 238.394 + 240.539 + 242.689 + 244.843 + 247.002 + 249.165 + 251.332 + 253.504 + 255.68 + 257.86 + 260.045 + 262.234 + 264.427 + 266.624 + 268.826 + 271.032 + 273.241 + 275.456 + 277.674 + 279.896 + 282.122 + 284.353 + 286.587 + 288.826 + 291.068 + 293.315 + 295.566 + 297.82 + 300.079 + 302.341 + 304.607 + 306.878 + 309.152 + 311.43 + 313.712 + 315.998 + 318.287 + 320.581 + 322.878 + 325.179 + 327.484 + 329.792 + 332.105 + 334.421 + 336.74 + 339.064 + 341.391 + 343.722 + 346.056 + 348.394 + 350.736 + 353.082 + 355.431 + 357.783 + 360.139 + 362.499 + 364.863 + 367.229 + 369.6 + 371.974 + 374.351 + 376.732 + 379.117 + 381.504 + 383.896 + 386.291 + 388.689 + 391.091 + 393.496 + 395.904 + 398.316 + 400.731 + 403.15 + 405.572 + 407.998 + 410.426 + 412.858 + 415.294 + 417.732 + 420.174 + 422.62 + 425.068 + 427.52 + 429.975 + 432.433 + 434.895 + 437.36 + 439.828 + 442.299 + 444.773 + 447.251 + 449.731 + 452.215 + 454.702 + 457.193 + 459.686 + 462.183 + 464.682 + 467.185 + 469.691 + 472.2 + 474.712 + 477.227 + 479.745 + 482.266 + 484.791 + 487.318 + 489.848 + 492.382 + 494.918 + 497.458 + 500 + 501.961 + 503.922 + 505.882 + 507.843 + 509.804 + 511.765 + 513.725 + 515.686 + 517.647 + 519.608 + 521.569 + 523.529 + 525.49 + 527.451 + 529.412 + 531.373 + 533.333 + 535.294 + 537.255 + 539.216 + 541.176 + 543.137 + 545.098 + 547.059 + 549.02 + 550.98 + 552.941 + 554.902 + 556.863 + 558.824 + 560.784 + 562.745 + 564.706 + 566.667 + 568.627 + 570.588 + 572.549 + 574.51 + 576.471 + 578.431 + 580.392 + 582.353 + 584.314 + 586.275 + 588.235 + 590.196 + 592.157 + 594.118 + 596.078 + 598.039 + 600 + 601.961 + 603.922 + 605.882 + 607.843 + 609.804 + 611.765 + 613.725 + 615.686 + 617.647 + 619.608 + 621.569 + 623.529 + 625.49 + 627.451 + 629.412 + 631.373 + 633.333 + 635.294 + 637.255 + 639.216 + 641.176 + 643.137 + 645.098 + 647.059 + 649.02 + 650.98 + 652.941 + 654.902 + 656.863 + 658.824 + 660.784 + 662.745 + 664.706 + 666.667 + 668.627 + 670.588 + 672.549 + 674.51 + 676.471 + 678.431 + 680.392 + 682.353 + 684.314 + 686.275 + 688.235 + 690.196 + 692.157 + 694.118 + 696.078 + 698.039 + 700 + 701.961 + 703.922 + 705.882 + 707.843 + 709.804 + 711.765 + 713.725 + 715.686 + 717.647 + 719.608 + 721.569 + 723.529 + 725.49 + 727.451 + 729.412 + 731.373 + 733.333 + 735.294 + 737.255 + 739.216 + 741.176 + 743.137 + 745.098 + 747.059 + 749.02 + 750.98 + 752.941 + 754.902 + 756.863 + 758.824 + 760.784 + 762.745 + 764.706 + 766.667 + 768.627 + 770.588 + 772.549 + 774.51 + 776.471 + 778.431 + 780.392 + 782.353 + 784.314 + 786.275 + 788.235 + 790.196 + 792.157 + 794.118 + 796.078 + 798.039 + 800 + 801.961 + 803.922 + 805.882 + 807.843 + 809.804 + 811.765 + 813.725 + 815.686 + 817.647 + 819.608 + 821.569 + 823.529 + 825.49 + 827.451 + 829.412 + 831.373 + 833.333 + 835.294 + 837.255 + 839.216 + 841.176 + 843.137 + 845.098 + 847.059 + 849.02 + 850.98 + 852.941 + 854.902 + 856.863 + 858.824 + 860.784 + 862.745 + 864.706 + 866.667 + 868.627 + 870.588 + 872.549 + 874.51 + 876.471 + 878.431 + 880.392 + 882.353 + 884.314 + 886.275 + 888.235 + 890.196 + 892.157 + 894.118 + 896.078 + 898.039 + 900 + 901.961 + 903.922 + 905.882 + 907.843 + 909.804 + 911.765 + 913.725 + 915.686 + 917.647 + 919.608 + 921.569 + 923.529 + 925.49 + 927.451 + 929.412 + 931.373 + 933.333 + 935.294 + 937.255 + 939.216 + 941.176 + 943.137 + 945.098 + 947.059 + 949.02 + 950.98 + 952.941 + 954.902 + 956.863 + 958.824 + 960.784 + 962.745 + 964.706 + 966.667 + 968.627 + 970.588 + 972.549 + 974.51 + 976.471 + 978.431 + 980.392 + 982.353 + 984.314 + 986.275 + 988.235 + 990.196 + 992.157 + 994.118 + 996.078 + 998.039 + 1000 + 1001.961 + 1003.922 + 1005.882 + 1007.843 + 1009.804 + 1011.765 + 1013.725 + 1015.686 + 1017.647 + 1019.608 + 1021.569 + 1023.529 + 1025.49 + 1027.451 + 1029.412 + 1031.373 + 1033.333 + 1035.294 + 1037.255 + 1039.216 + 1041.176 + 1043.137 + 1045.098 + 1047.059 + 1049.02 + 1050.98 + 1052.941 + 1054.902 + 1056.863 + 1058.824 + 1060.784 + 1062.745 + 1064.706 + 1066.667 + 1068.627 + 1070.588 + 1072.549 + 1074.51 + 1076.471 + 1078.431 + 1080.392 + 1082.353 + 1084.314 + 1086.275 + 1088.235 + 1090.196 + 1092.157 + 1094.118 + 1096.078 + 1098.039 + 1100 + 1101.961 + 1103.922 + 1105.882 + 1107.843 + 1109.804 + 1111.765 + 1113.725 + 1115.686 + 1117.647 + 1119.608 + 1121.569 + 1123.529 + 1125.49 + 1127.451 + 1129.412 + 1131.373 + 1133.333 + 1135.294 + 1137.255 + 1139.216 + 1141.176 + 1143.137 + 1145.098 + 1147.059 + 1149.02 + 1150.98 + 1152.941 + 1154.902 + 1156.863 + 1158.824 + 1160.784 + 1162.745 + 1164.706 + 1166.667 + 1168.627 + 1170.588 + 1172.549 + 1174.51 + 1176.471 + 1178.431 + 1180.392 + 1182.353 + 1184.314 + 1186.275 + 1188.235 + 1190.196 + 1192.157 + 1194.118 + 1196.078 + 1198.039 + 1200 + + + 255 + 510 + + diff --git a/target/dm3q/overlay/values/bools.xml b/target/dm3q/overlay/values/bools.xml new file mode 100644 index 00000000000..774ff9b58d8 --- /dev/null +++ b/target/dm3q/overlay/values/bools.xml @@ -0,0 +1,9 @@ + + + true + true + true + true + false + true + diff --git a/target/dm3q/overlay/values/dimens.xml b/target/dm3q/overlay/values/dimens.xml new file mode 100644 index 00000000000..4adfdeecfce --- /dev/null +++ b/target/dm3q/overlay/values/dimens.xml @@ -0,0 +1,20 @@ + + + 0.050980393 + 0.5019608 + 1.0 + 0.0 + 238.0dip + 205.0dip + 354.0dip + 20.0dip + 4.0dip + 980.0px + 4.0dip + 2.0mm + 4.0dip + 1.8699951mm + 1.4699707mm + 5.069977mm + 2.5299988mm + diff --git a/target/dm3q/overlay/values/integers.xml b/target/dm3q/overlay/values/integers.xml new file mode 100644 index 00000000000..3d80c3e49a6 --- /dev/null +++ b/target/dm3q/overlay/values/integers.xml @@ -0,0 +1,19 @@ + + + 10 + 772 + 230103 + 834907 + 360 + 4 + 3000 + 101 + 255 + 1 + 13 + 612 + 106 + 128 + 255 + 0 + diff --git a/target/dm3q/overlay/values/strings.xml b/target/dm3q/overlay/values/strings.xml new file mode 100644 index 00000000000..1035aeb1aca --- /dev/null +++ b/target/dm3q/overlay/values/strings.xml @@ -0,0 +1,6 @@ + + + M 0,0 H -9.466666666666667 V 26.66666666666667‬ H 9.466666666666667 V 0 H 0 Z @dp + com.samsung.provisioning.SILENT_PROVISIONING_CHECK + com.samsung.provisioning.SILENT_PROVISIONING_CHECK_RESULT + diff --git a/target/dm3q/overlay/xml/power_profile.xml b/target/dm3q/overlay/xml/power_profile.xml new file mode 100644 index 00000000000..a08e345a93e --- /dev/null +++ b/target/dm3q/overlay/xml/power_profile.xml @@ -0,0 +1,182 @@ + + + 0 + 19.61 + 63.8 + 276.8 + 0 + 0 + 0 + 0 + 0 + 11.4 + 21.75 + 107 + 287 + 37.9 + 177.02 + 92.98 + + 8.77 + 8.77 + + 0 + 0 + 0 + 0 + + 3 + 4 + 1 + + + 307200 + 441600 + 556800 + 672000 + 787200 + 902400 + 1017600 + 1113600 + 1228800 + 1344000 + 1459200 + 1555200 + 1670400 + 1785600 + 1990800 + 2016000 + + + 14 + 16 + 18 + 20 + 22 + 24 + 28 + 29 + 32 + 35 + 39 + 42 + 46 + 50 + 54 + 60 + + + 499200 + 614400 + 729600 + 844800 + 940800 + 1056000 + 1171200 + 1286400 + 1401600 + 1536000 + 1651200 + 1785600 + 1920000 + 2054400 + 2188800 + 2323200 + 2457600 + 2592000 + 2707200 + 2803200 + + + 28 + 33 + 39 + 45 + 49 + 57 + 64 + 72 + 80 + 91 + 101 + 120 + 133 + 153 + 178 + 202 + 238 + 277 + 321 + 321 + + + 595200 + 729600 + 86400 + 998400 + 1132800 + 1248000 + 1363200 + 1478400 + 1593600 + 1708800 + 1843200 + 1977600 + 2092800 + 2227200 + 2342400 + 2476800 + 2592000 + 2726400 + 2841600 + 2956800 + 3187200 + 3360000 + + + 80 + 92 + 109 + 122 + 139 + 157 + 171 + 188 + 205 + 224 + 249 + 281 + 334 + 374 + 404 + 460 + 500 + 560 + 614 + 715 + 1080 + 1139 + + 7.7 + 19.6 + 4855 + 5000 + 3.5 + 12 + 33 + 4000 + 1 + 120 + 300 + + 0 + + 4000 + + .0002 + .002 + .02 + .2 + 2 + + diff --git a/target/dm3q/patches/camera/customize.sh b/target/dm3q/patches/camera/customize.sh new file mode 100644 index 00000000000..b1ade2981c4 --- /dev/null +++ b/target/dm3q/patches/camera/customize.sh @@ -0,0 +1,35 @@ +echo "Add stock camera libs" +BLOBS_LIST=" +system/lib64/libAEBHDR_wrapper.camera.samsung.so +system/lib64/libBeauty_v4.camera.samsung.so +system/lib64/libDualCamBokehCapture.camera.samsung.so +system/lib64/libEventDetector.camera.samsung.so +system/lib64/libFace_Landmark_API.camera.samsung.so +system/lib64/libFace_Landmark_Engine.camera.samsung.so +system/lib64/libFacialAttributeDetection.arcsoft.so +system/lib64/libFacialBasedSelfieCorrection.camera.samsung.so +system/lib64/libFood.camera.samsung.so +system/lib64/libLocalTM_pcc.camera.samsung.so +system/lib64/libMPISingleRGB40.camera.samsung.so +system/lib64/libMPISingleRGB40Tuning.camera.samsung.so +system/lib64/libSceneDetector_v1.camera.samsung.so +system/lib64/libSmartScan.camera.samsung.so +system/lib64/libWideDistortionCorrection.camera.samsung.so +system/lib64/libaiclearzoom_raw.arcsoft.so +system/lib64/libaiclearzoomraw_wrapper_v1.camera.samsung.so +system/lib64/libbeautyshot.arcsoft.so +system/lib64/libface_landmark.arcsoft.so +system/lib64/libfacialrestoration.arcsoft.so +system/lib64/libfrtracking_engine.arcsoft.so +system/lib64/libhigh_dynamic_range_bokeh.so +system/lib64/libhumantracking.arcsoft.so +system/lib64/libhybridHDR_wrapper.camera.samsung.so +system/lib64/libimage_enhancement.arcsoft.so +system/lib64/libmacroclearshot_raw.arcsoft.so +system/lib64/libmacroclearshot_raw_wrapper_v1.camera.samsung.so +system/lib64/libsimba.media.samsung.so +" +for blob in $BLOBS_LIST +do + ADD_TO_WORK_DIR "$TARGET_FIRMWARE" "system" "$blob" 0 0 644 "u:object_r:system_lib_file:s0" +done diff --git a/target/dm3q/patches/camera/module.prop b/target/dm3q/patches/camera/module.prop new file mode 100644 index 00000000000..df636d27378 --- /dev/null +++ b/target/dm3q/patches/camera/module.prop @@ -0,0 +1,4 @@ +id=camera +name=Camera fix +author=salvogiangri +description=Various camera-related patches.