593 Commits

Author SHA1 Message Date
Kuba Wojciechowski
a6c0c869be sm6250-common: Disable kpti
It can also help increase performance by a lot in some scenarios.

Change-Id: Ica465f586a44129047c266597316045fab762550
Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-10-28 09:56:13 +01:00
ahmedtohamy1
efb706fb1c sm6250-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-10-28 09:56:13 +01:00
helliscloser
8b0ab10b5a sm6250-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.

Enabling or completely removing the prop here d6233e0e7c doesn't seem to make an effect.
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-10-28 09:56:13 +01:00
TheMysticle
64f37c7ee8 sm6250-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-10-28 09:56:13 +01:00
Ghosuto
43cc36aba0 sm6250-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-10-28 09:56:13 +01:00
johnmart19
60eb24b559 sm6250-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-10-28 09:56:13 +01:00
Rve27
2770d77d1d sm6250-common: Enable ScrollOptimizer
Change-Id: I1d415521e3e10839afb87f1c6691a6057deab797
Signed-off-by: Rve27 <rve27github@gmail.com>
Signed-off-by: Quince <quinceroms@gmail.com>
2025-10-28 09:56:08 +01:00
Mathieu Chartier
913a55abc7 sm6250-common: Speed profile services and wifi-service to reduce RAM and storage
Signed-off-by: Mathieu Chartier <mathieuc@google.com>
Signed-off-by: Quince <quinceroms@gmail.com>
2025-10-28 09:50:49 +01:00
b869d35022 sm6250-common: drop kernel-level
Signed-off-by: Onelots <onelots@onelots.fr>
2025-10-07 23:29:43 +02:00
740b514ccd sm6250-common: Set FCM level to 6
Signed-off-by: Onelots <onelots@onelots.fr>
2025-10-06 20:47:17 +02:00
basamaryan
86fdbe913f sm6250-common: Update WFD system blobs from dada OS2.0.217.0.WOCMIXM
Change-Id: I95dfb07cae97f3c8716a7cb6d87a7081de986748
2025-10-06 00:21:17 +02:00
LuK1337
2c50f6b888 sm6250-common: Migrate to AIDL LiveDisplay HAL
Change-Id: I334dc83bf29ad247cbe7dd4c49f4e6d953e91b24
2025-10-05 19:33:56 +02:00
102efa7ebd sm6250-common: blur is enabled in EvolutionX sources
Signed-off-by: Onelots <onelots@onelots.fr>
2025-06-04 14:46:45 +02:00
Giovanni Ricca
f424bff9f7 sm6250-common: Inherit TimeKeep sepolicy makefile
Change-Id: Iaa0797083a1c8989e38f68bbd0c0fea8d675bb45
2025-06-04 01:12:53 +02:00
Giovanni Ricca
8b33d98bd3 sm6250-common: Drop init_xiaomi_atoll common target
If needed, device-specific trees already provide libinit.

Change-Id: Id88f547f9708dd71a4ca5476f12882bafe4e2ba8
2025-06-04 01:12:53 +02:00
Bruno Martins
95a99827fa sm6250-common: Migrate Lineage Health to soong_config_set
Change-Id: I2eff39e83b9673aa2989d05de65c646241ba61da
2025-06-04 01:12:53 +02:00
Bruno Martins
3a93e38562 sm6250-common: Set camera override format from reserved via soong config
Change-Id: I6a089e783f26c4515940d74f8e912dffa2789550
2025-06-04 01:12:51 +02:00
basamaryan
6d14dd63cd sm6250-common: Drop TARGET_DISABLED_UBWC
Unused after switching to C2

Change-Id: I0186d9865d62ca61848d85f0044660095541654a
2025-06-04 01:11:20 +02:00
Hridaya Prajapati
489d5cad72 sm6250-common: sepolicy: remove duplicate IR rules
Change-Id: I825fac0d61b9dac2fb3e875ccc9df4232d335f50
2025-06-04 01:11:20 +02:00
donjohanliebert
d0d8d96e88 sm6250-common: fix lag while app opening and QS lags
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>

Signed-off-by: Onelots <onelots@onelots.fr>
2025-04-27 22:50:23 +02:00
8071bdc058 sm6250-common: bump dependencies
Signed-off-by: Onelots <onelots@onelots.fr>
2025-04-15 17:09:17 +02:00
Ritesh
084964e4bc miatoll: Update Dolby Atmos
Signed-off-by: Ritesh <SahanyRitesh@proton.me>
2025-04-15 17:04:24 +02:00
Roger Liao
d414d600fd sm6250-common: Update kernel target level
Updating kernel target level to Android R

checkvintf Error
checkvintf E : files are incompatible:
    Runtime info and framework compatibility matrix are
    incompatible: Kernel FCM version is not specified, but kernel version
    4.19.95 is found. Fix by specifying kernel FCM version in device
checkvintf E : manifest. For example, for a *-r kernel:
checkvintf E : <kernel target-level="5"/>
checkvintf E : INCOMPATIBLE

Bug: 148823278
Change-Id: Ia30013045b0fe15abc859dda503aed790aaeeb76
2025-04-15 16:41:10 +02:00
Yumi Yukimura
0b36252472 sm6250-common: manifest: Bump target-level to 6
Change-Id: I8d419d248f29b7d316a87d55e19ae7ff141e19a5
2025-04-15 16:41:10 +02:00
Michael Bestas
cb79eb3fbc sm6250-common: Remove android.hardware.contexthub
Change-Id: I62bc93aee19c8070e4563825a07cfc48774e9b93
2025-04-15 16:41:10 +02:00
Yung Ti Su
0dfe385b86 sm6250-common: Enabling sound trigger V2_3
Bug: 139071862
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I4123b0af64fc7bed934026540136e3811fab32f3
2025-04-15 16:41:10 +02:00
Suren Baghdasaryan
be7834d8f7 sm6250-common: rootdir: Replace writepid with task_profiles command for cgroup migration
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.

Bug: 191283136
Test: build and boot
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I249ecc45a001a69d73b06b77154f9b6e5f9964d9
2025-04-15 16:41:10 +02:00
Yumi Yukimura
c55e213350 sm6250-common: Drop TARGET_RECOVERY_DEVICE_MODULES
* It's deprecated on 15 QPR2
* Building a library as module doesn't get it executed? and libinit
  still does its job in recovery mode without migrating this

Change-Id: I7be000356fe7d7bd099615d334892d1686bece0e
2025-04-15 16:41:10 +02:00
Michael Bestas
68733f1d03 sm6250-common: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-04-15 16:41:10 +02:00
Giovanni Ricca
f214e4db38 fixup! sm6250-common: Remove vendor RenderScript implementation.
Change-Id: Ief6f1bc84d3fa9f96a49cb72e583070ed38448ff
2025-04-15 16:41:10 +02:00
5ff0ec7aa4 sm6250-common: Initialize EvolutionX
Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-17 23:50:48 +01:00
fca758ed41 sm6250-common: properties: enable blur in properties
* This can be expensive on the GPU, so let's enable it only on devices with pretty decent GPUs

Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-17 23:24:03 +01:00
Tyler Wear
97239d8b80 sm6250-common: tetheroffload: Version 1.1
Update tetheroffload to version 1.1.

Change-Id: I004e44e416a88a1b39a4c80366df9008722f096b
2025-03-12 13:45:00 +01:00
LuK1337
9be4c94274 sm6250-common: amplifier: Use hw_module_t->dso instead of RTLD_NEXT
W audio_amplifier: amp_module_open: enable_snd_device not found (undefined symbol: enable_snd_device)
E audio_hw_primary: Amplifier initialization failed

Change-Id: If313889c4749c589d0682982f1d804e4069ffff9
2025-03-12 13:45:00 +01:00
Michael Bestas
13c252199f sm6250-common: Convert amplifier to blueprint
dlopen audio.primary instead of linking against it to avoid soong
namespace hell.

Change-Id: Ic9d420864cb5a6f1018210a84f0f3e6636550caa
2025-03-12 13:45:00 +01:00
Arne Coucheron
d77a8ae6e0 sm6250-common: Drop BOARD_HAVE_QCOM_FM flag
Change-Id: Ic0569d7c8c37427150c2f1dc6e3d1040d619dfc1
2025-03-12 13:45:00 +01:00
0dd26289eb sm6250-common: remove_packages: do not remove Photos
* A feature from EvoX (custom image on AOD) need Photos app in order to work
* As of now, we have way enough free space, we can afford to bring photos back

Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-09 23:09:38 +01:00
Pranav Vashi
44d3119b4e miatoll: Use jemalloc to fix MIUI camera
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-03-09 19:37:18 +01:00
Alcatraz323
a214d92da8 sm6250-common: Build DSPVolumeSynchronizer
Change-Id: I46f37b21fc9f0dd7cfb7f1d72ebd07ae5375bb2f
2025-03-09 19:36:56 +01:00
Adithya R
afac20ea12 miatoll: Add support for Dolby Atmos
Co-authored-by: Sugakesshaa <sugakesshaa@pixelos.net>
Change-Id: Ia97eb58c63d02e95f546fd35874d0201525331c2
Signed-off-by: basamaryan <basam.aryan@gmail.com>
Signed-off-by: Ritesh <SahanyRitesh@proton.me>
2025-03-08 17:36:30 +01:00
Le Hong Duc
682f6fb2ab sm6250-common: remove_packages: remove unwanted packages
* Inherit sdm845-common's remove package without using mini gapps

Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-07 15:57:11 +01:00
Michael Bestas
cd2ad7cd4f sm6250-common: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2025-03-07 11:38:22 +01:00
98a52de7eb sm6250-common: use armv8-2a variant
fixes the error error: Incorrect TARGET_2ND_ARCH_VARIANT, armv8-a. Use armv8-2a instead...

Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-07 11:33:51 +01:00
Bruno Martins
764ea1da50 sm6250-common: sepolicy: Remove duplicate snxxx AIDL rules
These are now part of qcom/sepolicy_vndr.

Change-Id: I709c29e827d51e22507027862a56cca1efcdc984
2025-02-09 18:46:17 +01:00
Adithya R
7d53ee0f25 sm6250-common: Switch to dot product CPU variant
* miatoll:/ $ cat /proc/cpuinfo | grep -m 1 Features
   Features: fp asimd evtstrm aes pmull sha1 sha2 crc32
   atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp

 * From this, it's evident that our CPU (Snapdragon 720G)
   supports all the features of ARMv8.2-DotProd [1].
   Moreover AOSP sets this arch variant in their generic
   cortex-a55 ART target as well [2]. This should unlock
   some optimizations in different code paths.

[1]:
https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features
[2]:
https://android.googlesource.com/device/generic/art/+/refs/heads/master/armv8_cortex_a55/BoardConfig.mk#23

Change-Id: I484bb2bcc181c62e29c04bc6e467e5edea8ac0d8
2025-02-09 17:44:28 +00:00
Alexander Winkowski
48e01ea658 sm6250-common: Use SPDX copyright headers
Change-Id: I0ea8da2780914a239929d48de9b9caaccf098224
2025-02-09 17:44:24 +00:00
basamaryan
bd8d1eb48d sm6250-common: Use the common Xiaomi FCM
Change-Id: I0ca395bc5c23c26e1546d3dd1839592530cc0e3f
2025-02-09 18:36:50 +01:00
Bruno Martins
47fec2d874 sm6250-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2025-02-09 18:36:50 +01:00
x0x00044
921ec967a5 sm6250-common: overlay: Remove config_cellBroadcastAppLinks
- This is true by default.

Change-Id: I9f91f4bf49995975d434ad8b74b175693409862a
2025-02-09 18:01:26 +01:00
Nolen Johnson
feb28c4d40 sm6250-common: Don't declare BOARD_VENDOR
* Only matters when it differs from the device OEM.

Change-Id: Id9af8263cb42dc7a0e3a9ce8677385e224910302
2025-02-09 18:01:25 +01:00