628 Commits

Author SHA1 Message Date
dpenra
d81404292f sapphire: props: system.props: added
persist.sys.cam.skip_detach_image=true

Due to broken parallel process for leica camera on a14 qpr2, it is suggested to add this to enable parallel processing
2026-01-05 11:48:35 +08:00
karthik558
67afd54337 sapphire: props: Add props to improve battery backup 2026-01-05 11:48:35 +08:00
Aryan Biswas
8a4fb530ab sapphire: props: Improve Touch response and scrolling 2026-01-05 11:48:35 +08:00
Panchajanya1999
f897a1b526 sapphire: Do not use phase offsets as duration.
- SurfaceFlinger Durations work fine in some scenarios like during
fling, browsing on chrome and etc. But it breaks HWUI graph during
activities like scrolling or JankBench tests, even when the the
governor is set to performance.

Test- Open UIBench.apk and look for jitter
Fixes- Total duration in UIBench. Major reduction from 11ms to 6ms on
sm6150
2026-01-05 11:48:35 +08:00
romgharti
0438a8e1a9 sapphire: Remove ro.vendor.perf.scroll_opt
- Fixes some scroll lags and system ui
2026-01-05 11:48:34 +08:00
wenchangliu
02b48dff59 sapphire: media: Add "can-swap-width-height" for video codecs
[VSR-4.2-004.002] MUST support identical size ranges horizontally
as vertically (for example, support portrait videos of the same size
if they support a landscape video size.)
2026-01-05 11:48:34 +08:00
Michael Bestas
64bcd5e508 sapphire: media: Enable slow-cpu media_codecs
bengal/khaje is a slow cpu
2026-01-05 11:48:34 +08:00
Liekoo
6c945168df sm6225-common: Move to QTI health AIDL service[1]
remove the remmants of deprecated health
2026-01-05 11:48:34 +08:00
Alexander Martinz
ab194e7eef sm6225-common: props: Enable perf hint window
Ping perf to issue cpu hints when rendering is slow.

*enable smooth motion
2026-01-05 11:48:34 +08:00
Liekoo
648ef4cac0 sapphire: Update blobs from sapphiren OS2.0.11.0.VNGMIXM 2026-01-05 11:48:34 +08:00
Guidix
df4522d638 sapphire: Inherit thermal for legacy SOCs 2026-01-05 11:48:34 +08:00
Cyber Knight
12861cff6d sapphire: props: Apply dex2oat optimizations
- Set only 4 threads to be utilized for dex2oat as dex2oat supports
concurrent jobs since [1].
- Moreover, set only 4 threads to be utilized for boot image dex2oat as
well.

[1]:
93c605c0d6
2026-01-05 11:48:34 +08:00
boedhack99
a0d0580d3e sapphire: rootdir: Remove legacy paths support symlink
- Fix not have legacy storage spams logs
2026-01-05 11:48:34 +08:00
Omkar Chandorkar
cb4143fa7f sm6225-common: rootdir: Move vendor.sensors from early-boot to boot
- Fixes broken sensors due to race condition
2026-01-05 11:48:34 +08:00
Sebastiano Barezzi
3146f4ab96 sm6225-common: udfps: s/hander/handler
Change-Id: I49726102bf33d54a29f2aae1bea707c9a55694b2
2026-01-05 11:48:34 +08:00
Liekoo
d81fcb3cf7 sapphire: Configure zRAM using fstab
* "32-bit overflow" CAF mentioned in the function wrapper inside
post-boot
  script sounds very bs, since if it's 64-bit it won't be affected
anyways

* We do the setup using fstab instead to allow setting up more flags
such
  as setting up backing device and compression streams; as such kanged
from
  Pixels

* zRAM size = 50% physical memory size to satisfy what CAF really wants

* Use LZ4 compression even for regular devices
2026-01-05 11:48:34 +08:00
srfarias
861546257e sapphire: overlay: Make the UI smoother
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2026-01-05 11:48:34 +08:00
Terminator-J
c64b791cc5 sapphire: overlay: Offload WM shell to another thread
Reduces jitter/jank when pulling down shade
2026-01-05 11:48:34 +08:00
Adithya R
13f4a6d1bd sapphire: overlay: Disable alpha compositing in WM
* Completely eliminates occasional jank in few animations
2026-01-05 11:48:33 +08:00
Tim Zimmermann
08c65aa987 sapphire: Set number of physical SIM slots
Required on Android 16, otherwise telephony fails
2026-01-05 11:48:33 +08:00
Bruno Martins
046abfb557 sm6225-common: Migrate sensor HAL to AIDL interface 2026-01-05 11:48:33 +08:00
klekleidione
bf0ad5e408 sapphire: overlay: Disable doze display state supported 2026-01-05 11:48:33 +08:00
danielml
af8af50f73 sm6225-common: Build xiaomi-telephony-stub
To provide the required Xiaomi IMS methods

Change-Id: I1e75476a0d2ed55b5eae2a0a2c6ca4c3c4e2c0f1
2026-01-05 11:48:33 +08:00
Arian
e777a67bf7 sapphire: udfps: Compare against the aidl AcquiredInfo 2026-01-05 11:48:33 +08:00
Liekoo
eabae142b0 sapphire: Switch to Fingerprint AIDL 2026-01-05 11:48:33 +08:00
Michael Bestas
876d2ce2dd sapphire: Switch to AIDL thermal HAL 2026-01-05 11:48:33 +08:00
Jake Weinstein
c3f65d6a5e sm6225-common: init: Make less cores available for background tasks
With SurfaceFlinger and HWC on the foreground cpuset,
important rendering tasks are moved off of the background
cpusets, so let's reserve one little core for foreground
and top-app.
2026-01-05 11:48:33 +08:00
Liekoo
13736475fd sm6225-common:rootdir: Move background cpuset to CPU0-1
Background tasks are not UX-critical.
Free up cores to work on more important
UX tasks.
2026-01-05 11:48:33 +08:00
Jun Wang
219d0dadb2 sm6225-common: props: Disable Skia tracing by default 2026-01-05 11:48:33 +08:00
Ali Hasan
e4c752c867 sapphire: Switch to common Health 2026-01-05 11:48:33 +08:00
Sarthak Roy
5df62adacf sapphire: sepolicy: Address charger_vendor denial 2026-01-05 11:48:33 +08:00
aamirr-ali
525603c709 sm6225-common: Add missing lineage health fcm entry
vendor.lineage.health.IChargingControl/default (@1)
2026-01-05 11:48:33 +08:00
Adithya R
dec8af29aa sm6225-common: rootdir: Dynamically set IRQ affinity for KGSL and MSM_DRM 2026-01-05 11:48:33 +08:00
Jake Weinstein
cbd2041715 sm6225-common: perf: Do not balance msm_drm and kgsl_3d0 IRQs
These are critical for display performance and should not be balanced
in order to improve latency and responsiveness.

After unbalancing, move these IRQs to separate cores
to improve latency.
2026-01-05 11:48:33 +08:00
Prabhanjan Kandula
33aee25a5c sapphire: rootdir: Avoid delay for vblank disable from DRM
Set drm_vblank_offdelay parameter to -1, to make DRM
issue the vblank disable immediately with out delay.
By defailt  the DRM framework has a delay of 5 secs
timeout before issuing the vblank disable.
2026-01-05 11:48:33 +08:00
PainKiller3
f96189fef8 sapphire: props: Disable vsync for CPU rendered Apps
Choreographer VSync has some performance impact for CPU rendered apps
as the app has to wait for VSync to start a new frame draw. When the
frame draw time exceeds one VSync, this has a direct impact on the FPS.
debug.cpurend.vsync property controls the VSync for CPU rendered apps.

Disable VSync for CPU rendered app, by setting this property to false.
2026-01-05 11:48:33 +08:00
Ali Hasan
91cef10d27 sapphire: sapphiren/sapphire has two SIM slots 2026-01-05 11:48:33 +08:00
Liekoo
e551a55000 sapphire: Kang libqcrilNrSmsModule.so from salami 2026-01-05 11:48:33 +08:00
Liekoo
6e10fc8bd0 clean-up 2026-01-05 11:48:32 +08:00
Liekoo
a6b5b2cc83 sapphire: define correct value for CharginControl-parameters 2026-01-05 11:48:32 +08:00
Tuan Anh
e98f56b213 Sapphire: Add libbase_shim for STFlashTool 2026-01-05 11:48:32 +08:00
AmeChanRain
26f9584bef sapphire: Use Shim for missing symbols
04-03 15:00:34.291  1443  1443 F linker  : CANNOT LINK EXECUTABLE
"/vendor/bin/hw/vendor.dolby.media.c2@1.0-service": cannot locate symbol
"_ZN7android13FilterWrapper17getParamReflectorEv" referenced by
"/vendor/lib64/libcodec2_hidl@1.0.so"...
04-03 15:00:34.324  1444  1444 F linker  : CANNOT LINK EXECUTABLE
"/vendor/bin/hw/vendor.qti.media.c2@1.0-service": cannot locate symbol
"_ZN7android13FilterWrapper17getParamReflectorEv" referenced by
"/vendor/lib64/libcodec2_hidl@1.0.so"...
04-03 15:00:34.339  1445  1445 F linker  : CANNOT LINK EXECUTABLE
"/vendor/bin/hw/vendor.qti.media.c2audio@1.0-service": cannot locate
symbol "_ZN7android13FilterWrapper17getParamReflectorEv" referenced by
"/vendor/lib64/libcodec2_hidl@1.0.so"...
04-03 15:00:35.065  1613  1613 F linker  : CANNOT LINK EXECUTABLE
"/vendor/bin/vendor.dpmd": cannot locate symbol
"_ZN7android8hardware6Parcel7setDataEPKhm" referenced by
"/vendor/lib64/vendor.libdpmframework.so"...
2026-01-05 11:48:32 +08:00
Aaron Kling
750060f3d2 sapphire: Remove software omx codec ref 2026-01-05 11:48:32 +08:00
Liekoo
8ea8e24483 sm6225-common: add the missing backslash 2026-01-05 11:48:32 +08:00
UnmoveD
90c494eaaa sapphire: Fix stack memory address return in UdfpsHandler 2026-01-05 11:48:32 +08:00
Guidix
fc416d2100 sapphire: Build FastCharge instead of lineage fastcharge
- Add FastCharge to PRODUCT_PACKAGES.
- Address FastCharge related SEpolicy rules.
- Define sysfs_fastcharge as a domain.
- Setup permission of fast charging node at boot.
- Setup Fast Charging node using RRO overlay
- Drop Lineage fastcharge related policies

Co-authored-by: cyberknight777 <cyberknight755@gmail.com>
2026-01-05 11:48:32 +08:00
chrisl7
aec584a2fb sapphire: Kill leaudio_configs 2026-01-05 11:48:32 +08:00
Arian
b3b8026b11 sapphire: Build audioadsprpcd, libbatterylistener, libhfp_pal from source 2026-01-05 11:48:32 +08:00
Ali Hasan
f3ba99e2c1 sapphire: add missing qcc blobs 2026-01-05 11:48:32 +08:00
Danny Lin
bf1081357d sapphire: Optimize native executables for Cortex-A73 CPU
Allow the compiler to take advantage of ARMv8a extensions to improve
performance in native executables, not just Java code compiled by ART.

Change-Id: I0e28dee8fb0e587dc0ceb742daa083d9cd16138d
Signed-off-by: Alexey Shelby <shelbyhell@proton.me>
2026-01-05 11:48:32 +08:00