628 Commits

Author SHA1 Message Date
kenway214
fd9edbe073 sm6225-common: props: Force disable low ram config 2026-01-28 22:21:48 +08:00
someone5678
eff0ba440a sm6225-common: Import QCOM audio effects from OnePlus 9R
From:
qssi-user 14 UKQ1.230924.001 1702916091049 release-keys
2026-01-24 14:57:13 +08:00
ANUSH MADATHUMKARA
7247cff543 sm6225-common: audio: use QCOM Implementation for Audio Effects
* AOSP effects doesn't give as thicc'n'sicc bass boost as the QC effects
do.
2026-01-24 14:55:03 +08:00
Sebastiano Barezzi
a43b4bad3c sm6225-common: Reorder Soong namespace includes 2026-01-24 14:22:07 +08:00
Keosh
7443fefbef sm6225-common: Build DSPVolumeSynchronizer 2026-01-24 14:22:07 +08:00
Nicooo-Afk
d4157d46cf sm6225-common: Update perfconfigstore from OS2.0.208.0.VNGMIXM 2026-01-23 03:08:53 +00:00
Kishore Srivenkata Ganesh Bolisetty
fa68eeeece sm6225-common: Enable IO Cgroups
* Set the property "ro.vendor.iocgrp.config=1"
* Ensures performance of foreground applications don't get effected by
background applications.
2026-01-23 10:12:33 +08:00
NikitaSavc
08731f3af1 sm6225-common: Remove fqname for vendor.qti.hardware.pal@1.0
We can use either <interface> or <fqname> only, they cannot be used
together
2026-01-23 10:12:33 +08:00
Liekoo
3bfb966a5f sm6225-common: media: Switch to sw enc/dec for vp9 codec 2026-01-23 10:12:33 +08:00
Liekoo
da6b48ecef sm6225-common:[SQUASH] Reduce GPU workload
- Enable backpressure
- Disables SSC QMI logging
- Reduce HWUI render ahead
- Set Display idle time to 32
- Disable Display Opt Refresh

in our case gpu is weak
2026-01-22 14:21:40 +08:00
Liekoo
bd9f7ea096 sm6225-common: remove duplicated properties 2026-01-22 14:05:02 +08:00
Bruno Martins
d64f62f969 sm6225-common: Work around using prebuilt audio primary HAL 2026-01-22 14:01:14 +08:00
chrisl7
892bc03bfb sm6225-common: props: Disable dynamic refreshrate 2026-01-22 14:01:14 +08:00
markakash
af15a94a61 sm6225-common: Use 8Gb dalvik heap size config
- Helps fix java.lang.OutOfMemoryError: Failed to allocate a 24 byte
   allocation with 2582544 free bytes and 2522KB until OOM, target
footprint 268435456, growth limit 268435456; giving up on allocation
because <1% of heap free after GC
2026-01-22 11:31:48 +08:00
Saroj-Tajpuriya
55f4f5b4d4 sm6225-common: sepolicy: Add binder call permissions for various HALs in system_app 2026-01-22 11:31:48 +08:00
me-cafebabe
bdede2db9c sm6225-common: rootdir: Remove duplicate definition of service 'time_daemon'
* /vendor/etc/init/init.time_daemon.rc already defines it

Change-Id: I080f55adbfce6c3f0b8efe088a39145c9e54c2af
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
2026-01-22 11:31:48 +08:00
Danny Lin
5ee80a20ef sm6225-common: Disable EGL image tracking 2026-01-22 11:31:48 +08:00
Chris Goldsworthy
9997680391 sm6225-common: rootdir: Remove redundant mlock() limit setting
The per-process limit for the mlock() family of system calls only
needs to be set in one group of config files. Remove from here as it
is being set in init.qcom.rc.

Change-Id: Ia7d46800eabe2954e3e2618a38ff180c88fee348
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
2026-01-22 11:31:48 +08:00
Yan Yan
b6a52ff7c2 sm6225-common: Add feature flag for IPSEC_TUNNEL_MIGRATION
This commit adds the IPSEC_TUNNEL_MIGRATION feature flag,
with XFRM_MIGRATE used as the implementation

Bug: 273379472
Test: build, flash and verify with "adb shell pm list features"
Test: atest IpSecManagerTunnelTest
Change-Id: Id2ee3e65183e32ea63f6251ba921e1e4c6b09ed0
2026-01-22 11:31:48 +08:00
Pranav Vashi
d81f06e54b sm6225-common: overlay: Disable 5G toggle 2026-01-22 11:31:48 +08:00
Michael Bestas
fafa8de99e sm6225-common: Patch some blobs to depend on libtinyxml2-v34.so 2026-01-22 11:31:48 +08:00
Cosmin Tanislav
0ff9685426 sm6225-common: remove unused OtaShowListeningScreen 2026-01-22 11:31:48 +08:00
Cosmin Tanislav
128054bba7 sm6225-common: remove unused send_mic_mute_to_AudioManager 2026-01-22 11:31:48 +08:00
Cosmin Tanislav
8b8b845848 sm6225-common: remove platform_number_verification_package 2026-01-22 11:31:47 +08:00
Michael Bestas
070ea11f01 sm6225-common: Remove deprecated telephony overlays
These are no longer wired up and should be set in CarrierConfig
where needed
2026-01-22 11:31:47 +08:00
Michael Bestas
d51803488d sm6225-common: Remove config_camera_sound_forced overlay 2026-01-22 11:31:47 +08:00
Cosmin Tanislav
a97ac8324e sm6225-common: remove unused config_speed_up_audio_on_mt_calls 2026-01-22 11:31:47 +08:00
Liekoo
a679744f18 sm6225-common: fixup offending entries 2026-01-22 11:31:47 +08:00
muralivijay
a8113ee28f sm6225-common: add secure_element
Could not find
'android.hardware.secure_element@1.2::ISecureElement/eSE1'
2026-01-22 11:31:47 +08:00
Liekoo
dbe6e3368c sm6225-common: overlay: Update CarrierConfig from Sapphire v2.0.207.0.VNGMIXM 2026-01-22 11:31:47 +08:00
LuK1337
f2773e6cf0 sm6225-common: Remove vendor/lineage device framework matrix inclusion 2026-01-22 11:31:47 +08:00
beingashwani
337b15f334 sapphire: props: fixup! add props for better battery backup 2026-01-22 11:31:47 +08:00
Yumi Yukimura
66396e6cee sapphire: config: Update some soong config variables to bool type 2026-01-22 11:31:47 +08:00
artemscine
bbba778a66 sapphire: overlay: Enable raise to wake AOSP impl 2026-01-22 11:31:47 +08:00
Bruno Martins
a28f66950f sapphire: : Disable LSM audio feature 2026-01-22 11:31:46 +08:00
Liekoo
e2e9983b01 sapphire: Update to version OS2.0.207.0.VNGMIXM 2026-01-22 11:31:46 +08:00
Liekoo
d84602a2c2 sapphire: remove nonexistent imports 2026-01-22 11:31:46 +08:00
Michael Bestas
9aea5a6287 sm6225-common: Remove deprecated config_mobile_tcp_buffers/networkAttributes 2026-01-22 11:31:46 +08:00
Liekoo
34e170a545 sapphire: add the missing QTI health VNDK 2026-01-22 11:31:46 +08:00
SamarV-121
be3e89be8b sapphire: Remove obsolete debug.sf.disable_backpressure
* It has been removed in Android S
 *
2ec5391acf
2026-01-22 11:31:46 +08:00
Georg Veichtlbauer
b6bc0f9518 sapphire: Remove obsolete SurfaceFlinger properties
* debug.sf.hw & debug.egl.hw were removed.
2026-01-22 11:31:46 +08:00
Ali Hasan
60ec2753f6 sapphire: migrate to QTI health AIDL service 2026-01-22 11:31:46 +08:00
Ali Hasan
ccdfa0509a sapphire: revert QTI health AIDL service 2026-01-22 11:31:46 +08:00
Ali Hasan
37b45e3c78 sapphire: add props for variable refresh rate 2026-01-22 11:31:46 +08:00
Liekoo
5f237fbfb9 sapphire: add missing Lineage Health Permission 2026-01-22 11:31:46 +08:00
Saroj-Tajpuriya
384e067254 [SQUASH] sapphire: parts: Import XiaomiParts
e261035d91/parts

Change-Id: I442f48780ca020f3e420ee4ccaf8ac07b05457cb
Signed-off-by: Anush02198 <anush.4376@gmail.com>
Signed-off-by: Ramadhani <ramadhanifals@gmail.com>
Signed-off-by: Drenzzz <naufalnazya@gmail.com>

garnet: parts: Fix cannot find symbol error for UQPR2

Signed-off-by: Ramadhani <ramadhanifals@gmail.com>
Signed-off-by: Drenzzz <naufalnazya@gmail.com>

garnet: parts: Migrate to CompoundButton.OnCheckedChangeListener

This fixes compilation error for UQPR2.

Signed-off-by: Ramadhani <ramadhanifals@gmail.com>
Signed-off-by: Drenzzz <naufalnazya@gmail.com>

garnet: parts: Checkout thermal profiles to xiaomi-sm8250 implementation

Signed-off-by: Ramadhani <ramadhanifals@gmail.com>
Signed-off-by: Drenzzz <naufalnazya@gmail.com>

garnet: parts: Fix thermal profile screen state handling

Signed-off-by: Ramadhani <ramadhanifals@gmail.com>
Signed-off-by: Drenzzz <naufalnazya@gmail.com>

garnet: Remove order preference for Thermal Profiles
- In Infinity X rom this tab at top spoils the look of Battery section

Signed-off-by: Ramadhani <ramadhanifals@gmail.com>
Signed-off-by: Drenzzz <naufalnazya@gmail.com>

garnet: parts: Drop doze settings

Signed-off-by: kleidione <kleidione@gmail.com>
Signed-off-by: Drenzzz <naufalnazya@gmail.com>

garnet: parts: Refactor ClearSpeakerFragment code

 - Removed unused imports
 - Proper resource release by using try-finally block
 - Added null checks for MediaPlayer methods
 - Remove audio parameter as its unused

Change-Id: I7dc2ba7baf6e0193e13583a7454da296254d7333
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Coptan99 <omarcoptan9@gmail.com>
Signed-off-by: Drenzzz <naufalnazya@gmail.com>

garent: parts: Get rid of proguard flags

This is obsolete.

Change-Id: I1b692d3e1a96c49ac6efd54907ea23c4b4494f7e
Signed-off-by: Ramadhani <ramadhanifals@gmail.com>
Signed-off-by: Drenzzz <naufalnazya@gmail.com>

garnet: parts: Supports 90hz refresh rate
Co-Authored-By: Arian <39061882+ArianK16a@users.noreply.github.com>

sapphire: parts: Remove unused HDR override in BootCompletedReceiver for
non-HDR devices

Removed the `overrideHdrTypes` method and its call in
`BootCompletedReceiver`
since the target device does not support HDR10, Dolby Vision, HLG, or
HDR10+.
Also removed unused imports (`DisplayManager`, `Display`,
`HdrCapabilities`,
`IntentFilter`, `IBinder`) to clean up the code. This prevents the
system from
falsely advertising HDR capabilities, avoiding potential app
compatibility issues.
The `ThermalUtils` and `RefreshUtils` service startups remain unchanged.

Signed-off-by: Saroj-Tajpuriya
<80759612+saroj-nokia@users.noreply.github.com>

garnet: parts: Start parts services as early as possible on bootup

BOOT_COMPLETED intent is broadcast only after the device is unlocked and
user data (encrypted storage) is available.
Use LOCKED_BOOT_COMPLETED intent for services that don't require
accessing data.

Change-Id: I800df08f9c61925ac394f3e6d4861ba68a157797
Signed-off-by: kenway214 <kenway214@outlook.com>
Co-Authored-By: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: UnmoveD <unmoved2121@gmail.com>

sapphire: Remove HDR type override from BootCompletedReceiver

sapphire: parts: Add permissions and whitelist for Xiaomi parts

- Added `privapp_whitelist_org.lineageos.settings.xml

- Updated AndroidManifest.xml with required permissions:
  - `android.permission.INTERACT_ACROSS_USERS_FULL` for cross-user
interactions.
  - `android.permission.WRITE_SETTINGS` for modifying system settings.

- Whitelisted `android.permission.WRITE_SECURE_SETTINGS` for the
`org.lineageos.settings`
   package to ensure functionality requiring secure settings
modification.

Signed-off-by: kenway214 <kenway214@outlook.com>
Signed-off-by: UnmoveD <unmoved2121@gmail.com>

sapphire: parts: Introduce Display Satutaion Service and TileUtils

* Adjust Saturation Value Handling for Device Color Mode Compatibility

This update refines the saturation adjustment mechanism. When the seek
bar progress is set, the method executes
the command "service call SurfaceFlinger 1022 f [saturation]" via
Runtime.getRuntime().exec() to apply the saturation changes.
However, it was observed that when the device's color mode is set to
"saturated," a saturation value of 1.0 does not trigger any visual
changes.
To address this, the code now sets a value of 1.001 for a seek bar value
of 100, ensuring the desired effect is consistently applied.

* TileUtils Implementation: Implemented TileUtils to handle the addition
of Quick Settings tiles, specifically for the saturation feature.
This is done with reference to the guidelines provided by Google
https://developer.android.com/develop/ui/views/quicksettings-tiles#prompt-user
this ensuring a seamless integration and user experience when creating
new tiles.

Signed-off-by: Pabloescobar-reborn <pabloescobarreborn77@gmail.com>
Co-Authored-By: kenway214 <kenway214@outlook.com>
Co-Authored-By: AnierinB <anierin@evolution-x.org>
Co-Authored-By: SKULSHADY <anushekprasal@gmail.com>
Co-Authored-By: jhenrique09 <jhenrique09.mcz@hotmail.com>
Signed-off-by: UnmoveD <unmoved2121@gmail.com>

sapphire: parts: Remove unused import for DisplayManager in
BootCompletedReceiver

sapphire: parts: Introduce High Brightness Mode (HBM) and Auto HBM QS
tile

* Before anyone bullies me for this, I know this is very dumb way, but
it works.....
  ( its just a haxx not actual hbm)

* Also introduce TileHandlerActivity to add support for long-press
actions on QS tiles
- AutoHbmTileService → AutoHbmActivity

Signed-off-by: pabloescobar-reborn <pabloescobarreborn77@gmail.com>
Signed-off-by: kenway214 <kenway214@outlook.com>
Co-Authored-By: AnierinB <anierin@evolution-x.org>
Signed-off-by: UnmoveD <unmoved2121@gmail.com>
Signed-off-by: Saroj-Tajpuriya
<80759612+saroj-nokia@users.noreply.github.com>

sapphire: parts: Switch back to thermal profiles
nuked thermal tile service

Signed-off-by: UnmoveD <unmoved2121@gmail.com>

sapphire: parts: Introduce GameBar v4.0

Signed-off-by: kenway214 <kenway214@outlook.com>

peridot: parts: Add FPS meter support with selectable method for GameBar

- Introduced `GameBarFpsMeter` class to support FPS overlay using the
new Android 13+ TaskFpsCallback API.
- Added fallback legacy sysfs method
(`/sys/class/drm/sde-crtc-0/measured_fps`) for older devices.
- Updated GameBar to show FPS using selected method.

Signed-off-by: kenway214 <kenway214@outlook.com>

bump to v4
4

Signed-off-by: UnmoveD <unmoved2121@gmail.com>

sapphire: parts: Fix compilation error in BootCompletedReceiver for
DozeUtils

Signed-off-by: Saroj-Tajpuriya
<80759612+saroj-nokia@users.noreply.github.com>

Update BootCompletedReceiver.java

Signed-off-by: Saroj-Tajpuriya
<80759612+saroj-nokia@users.noreply.github.com>

sapphire: parts: remove duplicate TileHandlerActivity

Signed-off-by: Saroj-Tajpuriya
<80759612+saroj-nokia@users.noreply.github.com>

Co-Authored-By: AspectPower <AspectPower@proton.me>
Co-Authored-By: kenway214 <kenway214@outlook.com>
Co-Authored-By: AnierinB <anierin@evolution-x.org>
Co-Authored-By: SKULSHADY <anushekprasal@gmail.com>
Co-Authored-By: jhenrique09 <jhenrique09.mcz@hotmail.com>
Co-Authored-By: Arian <39061882+ArianK16a@users.noreply.github.com>
Co-Authored-By: Jyotiraditya Panda <jyotiraditya@aospa.co>
Co-Authored-By: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-Authored-By: Coptan99 <omarcoptan9@gmail.com>
Co-Authored-By: Drenzzz <naufalnazya@gmail.com>
Co-Authored-By: Ramadhani <ramadhanifals@gmail.com>
Co-Authored-By: Anush02198 <anush.4376@gmail.com>
Co-Authored-By: UnmoveD <unmoved2121@gmail.com>
2026-01-22 11:31:45 +08:00
Sebastiano Barezzi
914dce7be1 Partially Revert "sm6225-common: Move to QTI health AIDL service[1]"
This reverts commit abac408e02130491c39919ca9ba497285162dae9.
2026-01-22 11:31:45 +08:00
AdarshGrewal
7621e4f08f sapphire: Include MiuiCamera if exists 2026-01-22 11:31:45 +08:00
donjohanliebert
637d9bfb4f sapphire: Fix lag while app opening and QS lags 2026-01-22 11:31:45 +08:00
Liekoo
0b9c0c02f7 sapphire: [SQUASH] adapt NFC for sapphiren 2026-01-22 11:31:45 +08:00