601 Commits

Author SHA1 Message Date
basamaryan
9f48fe7af8 sm7125-common: Disable blurs by default
Change-Id: Ia323bb8f66e3515bdf16ff3a14c919b8bd859eba
2026-01-13 19:47:41 +05:30
basamaryan
69cec4a226 sm7125-common: overlay: Reduce blur radius
Change-Id: Id6339df82156099ca14da684f236931b3ecf51ce
2026-01-13 16:13:14 +05:30
LuK1337
e3709c3a5f sm7125-common: Opt out of speaker_layout_channel_mask field
Required for ABI compatibility with audio HAL compiled before 15 QPR2.

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/9426
Change-Id: Ic910f0634ee0707c21dad77f5264fd89fb33f1c0
2026-01-09 23:20:13 +05:30
theshaenix
36fc00c6f7 sm7125-common : fine tuned the post boot script
- Improved the overall script behaviour
2026-01-09 18:14:43 +05:30
theshaenix
691ae80522 sm7125-common:migrate recovery init rc files to Soong
Move init.recovery.qcom.rc and init.recovery.usb.rc from
PRODUCT_COPY_FILES to proper prebuilt_etc modules.

This aligns recovery configuration with Soong-only builds,
ensures correct installation under /recovery/root, and
improves maintainability going forward.
2026-01-09 18:13:24 +05:30
aminfauzi
7f7b28b7ec sm7125-common: Fix for aux camera lens missing in Aperture
Signed-off-by: aminfauzi <aremean0107@gmail.com>
2026-01-09 18:13:24 +05:30
theshaenix
698b0793e0 Revert "sm7125-common: overlay: Enable BoostFramework support"
This reverts commit 2a5f329dcdbd63684e8d33ee2827df64b3b93783.
2026-01-09 18:13:23 +05:30
me-cafebabe
ba3f515548 sm7125-common: overlay: Disable high performance transitions
Change-Id: I70c593a8efe1499f8e0917b4e80652b7f3d71198
2026-01-09 18:13:23 +05:30
Pranav Vashi
61f4eca83c sm7125-common: Update pinner files
Change-Id: Ibec6b6d6d1689fde16837ca526cb245cd5f9711c
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2026-01-09 18:13:23 +05:30
Edgar Arriaga
0daafe0ad3 sm7125-common: overlay: Set default pin amount for home app
Bug: 288900050
Test: dumpsys pinner
Flag: EXEMPT refactor

Change-Id: Ieed912786ce51f420da9b0e96ea5d93c22244176
2026-01-09 18:13:23 +05:30
theshaenix
176d45a401 sm7125-common: Drop zram writeback 2026-01-09 18:13:21 +05:30
Cassie
7cca5eb75f sm7125-common: overlay: Use the new auto network selection UI
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2026-01-09 18:12:51 +05:30
Georg Veichtlbauer
677534ab57 sm7125-common: Drop config_setColorTransformAccelerated
It's now enabled by default

Change-Id: I57f059c872fc2ad2fd15e788b1391eeebaff9bde
2026-01-09 18:12:51 +05:30
Sebastiano Barezzi
39eaf77d3b sm7125-common: overlay: Enable config_dozePulsePickup
Change-Id: Ice5cd780eb77e2ae78a3a84a0140c321ad84f143
2026-01-09 18:12:51 +05:30
Bruno Martins
32010fe8a6 sm7125-common: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2026-01-09 18:12:51 +05:30
x0x00044
1c92a3aa64 sm7125-common: overlay: Remove config_cellBroadcastAppLinks
- This is true by default.

Change-Id: I9f91f4bf49995975d434ad8b74b175693409862a
2026-01-09 18:12:47 +05:30
theshaenix
580d92d48e sm7125-common: switch to libprotobuf-cpp-lite-3.9.1-vendorcompat 2026-01-06 01:13:30 +05:30
minaripenguin
063ebd6340 sm7125-common: prop: Tune lmkd system properties
Signed-off-by: Mayur <ultramayur123@gmail.com>
2026-01-06 00:01:39 +05:30
Andrzej Perczak
d927eafa9d Import lmkd props from google gki
Reference: https://github.com/LineageOS/android_hardware_google_pixel/blob/lineage-19.1/mm/device_gki.mk
Signed-off-by: Mayur <ultramayur123@gmail.com>
2026-01-06 00:01:39 +05:30
Tim Murray
78c36e6e7a sm7125-common: prop: Set lmkd's swap_free_low_percentage to 100
Ref: 5f975896d4

Signed-off-by: Mayur <ultramayur123@gmail.com>
2026-01-06 00:01:39 +05:30
Mayur
27f7258f40 sm7125-common: prop: set lmk to kill heaviest task
Signed-off-by: Mayur <ultramayur123@gmail.com>
2026-01-06 00:01:39 +05:30
nullxception
79073ee5fb sm7125-common: props: Disable LMKD log stats
TARGET_LMKD_STATS_LOG is not used anymore and log stats is enabled by
default, so we have to explicitly disable it from runtime.

Signed-off-by: Mayur <ultramayur123@gmail.com>
2026-01-06 00:01:38 +05:30
theshaenix
9517a2b2f4 sm7125-common: sepolicy: drop the hal_secure_element_default 2026-01-05 23:52:27 +05:30
Yumi Yukimura
902d9b8b8c sm7125-common: Update some soong config variables to bool type 2025-12-06 14:38:29 +05:30
LuK1337
2ad26e321b sm7125-common: Remove vendor/lineage device framework matrix inclusion
See: I78da6340f38b93fdc4c3694cb8f431f387d16c0d
Change-Id: I0b9f527de50ca02082be9b92375559f4893b2688
2025-12-06 14:31:26 +05:30
Sourajit Karmakar
4b55992686 sm7125-common: Disable FRP
* This should really be disabled after unlocking the bootloader.

Change-Id: Icf5305cba66e9e613000a6ef53b32fa59760a7f2
2025-12-06 14:27:15 +05:30
theshaenix
9ee13c15a6 sm7125-common: Cleanup for QPR1
* dropped  Offending entries:
- android.frameworks.schedulerservice@1.0.vendor
- android.hardware.automotive.audiocontrol@1.0.vendor
- android.hardware.automotive.audiocontrol@2.0.vendor
- android.hardware.vibrator@1.0.vendor
- android.hardware.vibrator@1.1.vendor
- android.hardware.vibrator@1.2.vendor
- android.hardware.vibrator@1.3.vendor
- android.hardware.vr@1.0.vendor
2025-12-06 14:22:42 +05:30
theshaenix
895a9d4a5f sm7125: drop libprotobuf
- in new QRP1 this is being provided by the source , hence manual declaration creates conflicts
2025-12-06 14:14:04 +05:30
Kelvin Zhang
b9551ec7b2 sm7125-common: Allow to access bootable/deprecated-ota targets
Sm7125-common is still using non-AB update.
non-AB code will be moved to a separated namespace, add
deprecated-ota to sm6150-common namespace list ahead of time to avoid
breakage.

Test: th
Bug: 324360816
Change-Id: I909064be36e8febe80492cf010eb6eac3d6bc33d
2025-11-30 12:19:40 +05:30
Michael Bestas
9839b86f36 sm7125-common: Build recovery QTI health AIDL service
We have a recovery partition.

Change-Id: I10841b26feea3c214349a20b2eedec74924f993a
2025-11-30 12:19:40 +05:30
theshaenix
3728b1aea2 sm7125-common: Drop the unused android.hardware.power@1.2.vendor 2025-11-30 12:19:40 +05:30
Bruno Martins
5e170e74b3 sm7125-common: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.

Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
2025-11-30 12:19:39 +05:30
theshaenix
d7b1c2071f sm7125-common: Cleanup 2025-11-30 12:19:39 +05:30
aminfauzi
d1362347cd sm7125-common: fingerprint: preload HAL early for first-boot SetupWizard
Add an  trigger to start the fingerprint HAL immediately
after /data is mounted. Keeps  to avoid race
conditions, but ensures the HAL is available early enough for
first-boot SetupWizard enrollment.

This fixes the issue where fingerprint setup fails during initial
device setup but works after skipping and opening Settings.

Signed-off-by: aminfauzi <aremean0107@gmail.com>
2025-11-30 12:19:39 +05:30
theshaenix
e86c2261b6 sm7125-common: Enable EPPE 2025-11-30 12:19:39 +05:30
theshaenix
740b46504e sm7125-common: migrate to Adil MultiHAL 2025-11-30 12:19:39 +05:30
Omkar Chandorkar
3fcf8d108e sm7125-common: overlay: Steal CarrierConfig from phone1
* From Nothing OS 2.0.4

Change-Id: I8b761a30c86d72d6bd454332ec3042a22c1a7aac
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Mayur <ultramayur123@gmail.com>
2025-11-21 16:56:35 +05:30
aminfauzi
bccfa62cd8 sm7125-common: prop: Improve signal strength with missing optimization properties
Signed-off-by: aminfauzi <aremean0107@gmail.com>
2025-11-09 19:50:54 +05:30
aminfauzi
9cbeaf7f9a sm7125-common: prop: Clean up network mode conflict - keep only vendor.prop definition
Signed-off-by: aminfauzi <aremean0107@gmail.com>
2025-11-09 19:50:46 +05:30
1xtAsh
a8876fd7e7 sm7125-common: Disable default framerate for games
This props fixes frame rate restrictions in games

Signed-off-by: 1xtAsh <ashraykrsingh321@gmail.com>
2025-11-09 19:50:37 +05:30
ahmedtohamy1
bfa2e40a46 sm7125-common: Compile HWUI for performance
optimizing compiler flags for HWUI. * -fno-omit-frame-pointer, -marm, -mapcs

Signed-off-by: JaswalAshish <ashish@m.ms.evolution-x.org>
Change-Id: Ia141b59cd1334eede94cfbec5a66c2d0d7784cd4
2025-11-09 19:29:34 +05:30
helliscloser
c997706fe1 sm7125-common: Explicitly disable "Enable GL comp backpressure"
When blur is enabled,
There is severe lag in; Launcher3 while scrolling apps in App drawer, Scrolling through recents and occasionally on QS pull down.

Explicitly disabling the "Enable GL comp backpressure" prop seems to slove the issue.

Lag & janks are gone now, even with blur.

Change-Id: Ia82d84d6ee867caa52ae93b72fbff132070bf808
Signed-off-by: helliscloser <mrumais@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-11-09 19:29:06 +05:30
TheMysticle
7bca1e3cbd sm7125-common: Enable ADPF CPU hints for improved UI performance
Turns on `debug.sf.enable_adpf_cpu_hint` to allow SurfaceFlinger to utilize Android Dynamic Performance Framework CPU hints, improving overall UI responsiveness and frame pacing on Snapdragon devices.

Change-Id: Ia715ab89ffc8a18130904e5588f9e4b487a20faa
2025-11-09 19:28:48 +05:30
Ghosuto
eae47e3ba2 sm7125-common: Enable Client Composition Cache
- All latest soc use it by default. with this cache can improve performance by reusing composition, This can result in smoother UI performance and potentially lower power consumption

- cons: It does increase memory usage because the system needs to store these results, but its not a big issue cause most devices are 12gb ver. and fine for 8gb also

Signed-off-by: Ghosuto <clash.raja10@gmail.com>
2025-11-09 19:28:36 +05:30
johnmart19
3b12dc0491 sm7125-common: Enable full ART optimizations with VDEX/ODEX
Enable comprehensive ART optimizations including VDEX and ODEX
generation for all system components to improve first-boot
performance and reduce application startup latency.

Configuration:
- WITH_DEXPREOPT := true          # Global dexpreopt enable
- DEX_PREOPT_DEFAULT := generate-vdex-and-image  # VDEX+ODEX gen
- WITH_DEXPREOPT_DEBUG_INFO := false  # Exclude debug symbols

Results:
- Verified generation of .odex files (optimized dex)
- Verified generation of .vdex files (verification dex)
- ART images created for core system components
- First boot time significantly reduced
- Application startup latency improved

Test procedure:
1. Full system build with 'm evolution' command
2. Verified artifacts in:
   - system/framework/oat/arm64/*.odex
   - system/framework/oat/arm64/*.vdex
   - system/app/*/oat/arm64/*.odex
   - system/priv-app/*/oat/arm64/*.vdex
3. Confirmed valid ART runtime loading during boot

Signed-off-by: johnmart19 <johnivan19999@gmail.com>
Signed-off-by: Quince <quinceroms@gmail.com>
2025-11-09 19:28:23 +05:30
Rve27
b9141a9f34 sm7125-common: Enable ScrollOptimizer
Change-Id: I1d415521e3e10839afb87f1c6691a6057deab797
Signed-off-by: Rve27 <rve27github@gmail.com>
Signed-off-by: Quince <quinceroms@gmail.com>
2025-11-09 19:28:11 +05:30
theshaenix
d5b0780c14 sm7125-common: rootdir: kang post_boot from miatolls common tree
* Synced post_boot script from Evolution-X miatolls common tree
  https://github.com/Evolution-X-Devices/device_xiaomi_sm6250-common/blob/bka/rootdir/bin/init.qcom.post_boot-atoll.sh
2025-11-09 19:26:16 +05:30
someone5678
51e6b220d3 sm7125-common: Build vendor.qti.hardware.capabilityconfigstore@1.0
Log:
07-08 14:11:18.637  1300  1300 F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
07-08 14:11:18.724  1366  1366 F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/vppservice": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by /vendor/lib64/libvpplibrary.so in namespace (default)
07-08 14:11:23.638  3100  3100 F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
07-08 14:11:28.644  3177  3177 F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
07-08 14:11:33.651  3194  3194 F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
07-08 14:11:28.395  5816  5816 F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
07-08 14:11:45.348  7112  7112 F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
2025-11-09 19:26:15 +05:30
theshaenix
1990a776fb sm7125-common: overlay: Aperture: Ignore redundant aux camera IDs
- Hide camera ID 6 (duplicate 1x lens)
- Hide camera ID 7 (logical/composite stub)
- Prevents duplicate selector and crash when switching lenses
2025-11-09 19:25:33 +05:30
theshaenix
3b20b70f4d sm7125-common: overlay: Allow aux camera package allowlist
- Add config_cameraAuxPackageAllowlist overlay
- Ensures Aperture can access auxiliary lenses
  when vendor aux camera whitelist is present
2025-11-09 19:25:33 +05:30