628 Commits

Author SHA1 Message Date
Bruno Martins
e9bcd75d1f sapphire: Convert WiFi firmware symlink to install_symlink target
The last bit that was preventing building hermetic images.

Change-Id: I618780b1c10c14ab8a00a7a9135a52386d156d39
2026-01-05 11:48:29 +08:00
Bruno Martins
ee04fcb4d6 sapphire: Declare IMS and WFD libs as symlinks during extraction
Change-Id: I2a035323a483b8b2422b4a54219b2f6268ab4a61
2026-01-05 11:48:29 +08:00
Bruno Martins
ba4d0ceb92 sapphire: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2026-01-05 11:48:29 +08:00
Jaegeuk Kim
3af45a6dc7 sapphire: fastab: set readahead_size_kb=128 to partitions
This can avoid memory pressure.

Bug: 181567573
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I654c4d3bf24fa741c3fb0255431a26d8dcf5f153
Signed-off-by: Kajal4414 <81718060+Kajal4414@users.noreply.github.com>
Signed-off-by: angelomds42 <angelomds42@gmail.com>
2026-01-05 11:48:29 +08:00
SVB
fa85c44464 sapphire: rootdir: Allow all filesystems for USB-OTG
Signed-off-by: kajal4414 <81718060+kajal4414@users.noreply.github.com>
Signed-off-by: angelomds42 <angelomds42@gmail.com>
2026-01-05 11:48:29 +08:00
Mohammad Kibria
3648ef4d41 sapphire: fstab: Remove erofs unnecessary entry 2026-01-05 11:48:29 +08:00
RJ RAIJIN
a817e497f8 sapphire: Fix qti_power_hal
* This fixes the following logspam:

E/ QTI PowerHAL: Failed to acquire lock for hint_id: 1040
E/ QTI PowerHAL: Failed to acquire lock for hint_id: 1041
E/ QTI PowerHAL: Failed to acquire lock for hint_id: 10A5

Change-Id: I03746ea83251d8b731afb8d307526d15320c3cf9
Signed-off-by: artemscine <artempemine@gmail.com>
2026-01-05 11:48:28 +08:00
NikitaSavc
ce9210d237 sapphire: rootdir: Drop legacy init.qcom.post_boot.sh
* It's not using for 5.4/5.10/5.15 QCOM kernel family

Change-Id: I4d165a95f597df47f4d2ec07199b5dac0a347b61
Signed-off-by: NikitaSavc <micraftur@gmail.com>
2026-01-05 11:48:28 +08:00
Jake Weinstein
18566e5d11 sapphire: Define TARGET_BOARD_PLATFORM in device makefile
This allows us to use it in QC Split Product Makefiles

Change-Id: Ibd7493eb8c266b524a8f51aad658837798cc3d2d
Signed-off-by: Mesquita <mickaelmendes50@gmail.com>
Signed-off-by: omnitrix21 <okand7946@gmail.com>
2025-10-13 09:21:02 +08:00
Liekoo
8f2128c165 sapphire: drop dolby 2025-10-13 09:21:02 +08:00
Liekoo
c486b05dd5 sapphire: Switch to 64bit build 2025-10-13 09:21:02 +08:00
ramshell688
cbc4043e29 sm6225-common: overlay: Drop config power decouple mode
* this component is not all devices support it.
* bye-bye AOD flickering.
2025-10-13 09:21:02 +08:00
itsnouralawad
4774fe7f1d sm6225-common: Update blobs from V816.0.10.0.UNGMIXM 2025-10-13 09:21:02 +08:00
itsnouralawad
95dd28b374 sm6225-common: Update blobs from V816.0.7.0.UNGMIXM 2025-10-13 09:21:02 +08:00
AdarshGrewal
a1f89e203b sm6225-common: Enable hwc vds
* fuck you qcom

Change-Id: I749551ac2b841c97483dfaafdd325cd68221a00f
2025-10-13 09:21:02 +08:00
quic_swarbu
5898e95055 sm6225-common: display: Disable the property debug.sf.enable_gl_backpressure
Change-Id: Ib328ee094d7c164b50007703ab7610661c2ec017
2025-10-13 09:21:02 +08:00
itsnouralawad
96805dc66c Revert "sm6225-common : Welcome PixelOS !"
We are adapting for Crd

This reverts commit 9140801aa6df433b3392519296c91918f0e99d1b.
2025-10-13 09:21:02 +08:00
basamaryan
5c343afa39 sm6225-common: overlay-lineage: Disable turbulence noise
Change-Id: I390163d0197e0cb7091b8e5df77337a42cba2efb
2025-10-13 09:21:02 +08:00
itsnouralawad
1c810248f2 sm6225-common: sepolicy: Allow vendor_hal_perf_default to read vendor_sysfs_displayfeature
W vendor.qti.hard: type=1400 audit(0.0:58764): avc:  denied  { read } for  name="modes" dev="sysfs" ino=84033 scontext=u:r:vendor_hal_perf_default:s0 tcontext=u:object_r:vendor_sysfs_displayfeature:s0 tclass=file permissive=0
2025-10-13 09:21:02 +08:00
Fabian Leutenegger
85ddadc5f9 sm6225-common: sepolicy: Allow vendor_hal_perf_default to access surfaceflinger
Change-Id: If46befdd3559fd2632e8df4bef7389bc7fd5ff42
Signed-off-by: artemscine <artempemine@gmail.com>
2025-10-13 09:21:02 +08:00
chrisl7
c4d7eff1e9 sm6225-common: rootdir: Give thermal profiles permissions
05-01 19:34:36.590 W/binder:2826_4(2826): type=1400 audit(0.0:3287): avc:  denied  { write } for  name="sconfig" dev="sysfs" ino=65252 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_thermal:s0 tclass=file permissive=0
05-01 19:34:36.594 W/FileUtils(2826): No such file /sys/class/thermal/thermal_message/sconfig for writing
05-01 19:34:36.594 W/FileUtils(2826): java.io.FileNotFoundException: /sys/class/thermal/thermal_message/sconfig: open failed: EACCES (Permission denied)

Change-Id: Ie22a96daf93288eefa65e469487bd914c105d7cd
Signed-off-by: NikitaSavc <micraftur@gmail.com>
2025-10-13 09:21:02 +08:00
UnmoveD
97c467be18 sm6225-common: sepolicy: Solve vendor_hal_perf_default denials
avc:  denied  { search } for  name=1567 dev=proc ino=60290820 scontext=u:r:vendor_hal_perf_default:s0 tcontext=u:r:hal_graphics_composer_default:s0 tclass=dir permissive=0

avc:  denied  { getpgid } for  scontext=u:r:vendor_hal_perf_default:s0 tcontext=u:r:hal_graphics_composer_default:s0 tclass=process permissive=0

avc:  denied  { read } for  name="cpuset" dev="proc" ino=937978 scontext=u:r:vendor_hal_perf_default:s0 tcontext=u:r:hal_graphics_composer_default:s0 tclass=file permissive=0

Signed-off-by: UnmoveD <unmoved2121@gmail.com>
2025-10-13 09:21:02 +08:00
saikiran2001
74b5b4b5b7 sm6225-common: Guard vendor_subsystem_ramdump in user builds 2025-10-13 09:21:01 +08:00
Midas Chien
1c50f16609 sm6225-common: Don't latch unsignal buffers
Set debug.sf.latch_unsignaled=1 is used to allow surfaceflinger to
latch unsignal buffers that can give more time for buffer to render.
But if the buffer takes longer time to finish, it will block whole
display pipeline result to jank.

Bug: 157964883
Test: scrolling, launch
Change-Id: I56c3e05921de5fc9569bf3f93fde03022a64b6a4
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2025-10-13 09:21:01 +08:00
Alex Sarraf
0cf402e588 sm225-common: display: Set debug.sf.auto_latch_unsignaled to 0
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.

Change-Id: I3856caaf0a68e7e720819f25338d1eb9196f56b0
2025-10-13 09:21:01 +08:00
Jake Weinstein
4956043b1f sm6225-common: props: Rename property to disable MTE in system_server
Matches Android 14 D1

commit 6d9f5fc6ee46136163be16ec53cc70b4cba02c83
Author: Evgenii Stepanov <eugenis@google.com>
Date:   Fri Jun 16 16:47:21 2023 -0700

    Rename sysprop for MTE mode in system_server.

    Move the system property that controls MTE mode in system_server out of
    arm64.memtag.process namespace. Process sysprops affect the MTE mode of
    any process with the given name; using such property in a product means
    that any process or test unfortunately named "system_server" would be
    affected.

    Bug: 280343521
    Test: debuggerd `pidof system_server` | head -30 | grep tagged_addr
          affected by the new property
          not affected by the old property

Signed-off-by: angelomds42 <angelomds42@gmail.com>
Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
2025-10-13 09:21:01 +08:00
Rheygine Medel
ca9724ef33 sm6225-common: Disable blur on app launch
This change adds the system property that disables blur during app
launch.
2025-10-13 09:21:01 +08:00
pkm774
c8ecadcf81 sm6225-common: Disable slow blur effect to avoid laggish blur effect 2025-10-13 09:21:01 +08:00
itsnouralawad
693074a3f7 sm6225-common : Update from V816.0.6.0.UMGIDXM 2025-10-13 09:21:01 +08:00
itsnouralawad
59391275af sm6225-common : Welcome PixelOS ! 2025-10-13 09:21:01 +08:00
itsnouralawad
db07a617d6 sm6225-common : SQUASH : Use common Dolby package , Unpin Dolby blobs , Re-Enable volume leveler 2025-10-13 09:21:01 +08:00
SamarV-121
af4eaaea6f sm6225-common: Disable continuous transaction tracing on all build types
Change-Id: I95657a00e38f1229675682e784b20cca12c119b0
2025-10-13 09:21:01 +08:00
Jens Reidel
7bfdb8081a sm6225-common: rootdir: Enable mgame mi_thermald mode
Out of all the modes that run the CPU at advertised speeds without
underclocking, mgame has the most conservative thermal limits.

Change-Id: I491f608a7be5c9497c70b3e49501d7abf58a980c
2025-10-13 09:21:01 +08:00
artemscine
331863fa51 sm6225-common: Set dynamic partitions values according to stock
Change-Id: I56d735d102fb618bb2263c926078c7a022e55278
2025-10-13 09:21:01 +08:00
itsnouralawad
29ca554c64 sm6225-common: Disable Audio compression 2025-10-13 09:21:01 +08:00
Fabian Leutenegger
4f61929088 sm6225-common: Patch displayfeature.default.so to use v33 libstagefright_foundation
* this fixes a fatal crash within displayfeature that prevented it from starting

Change-Id: Ic102dc1fb5b27a849b55253d8b81828efd15c1fa
2025-10-13 09:21:01 +08:00
Ali Hasan
8160a28c5c sm6225-common: overlay: Update CarrierConfig from V14.0.14.0.TMTMIXM
Change-Id: I937a6e595b4c2ca250eca3316b366dd296748eb6
2025-10-13 09:21:01 +08:00
chandu078
b2c88bdbb8 sm6225-common: blobs: Update IMS system from T1TBS33.32-8-9-7-2
* Match with LA.QSSI.13.0.r1.11.00.00.913.072.01 QSSI tag.

Change-Id: I8b3a4a5bbeadeb9b36dc1e04f8ecdb08d3c231cf
2025-10-13 09:21:00 +08:00
itsnouralawad
fb2129deb3 sm6225-common : Remove blur prop
let the ROM decide whenever to enable blur or disable it
2025-10-13 09:21:00 +08:00
itsnouralawad
711224212f sm6225-common : Move deprecated blobs to prebuilt 2025-10-13 09:21:00 +08:00
kssrao13882
eb46cbc423 sm6225-common: overlay: Add CPU temperature divider
Change-Id: Iac249c840b81d5421d5484cfd4bc6b7f516ab68d
2025-10-13 09:21:00 +08:00
Sebastiano Barezzi
2fcc551a3c sm6225-common: rootdir: Drop debugfs stuff
Change-Id: Ibb5f24200f8d772cecf4166a90d27419329a337d
2025-10-13 09:21:00 +08:00
Ali Hasan
cc2b57b0de sm6225-common : Switch to HyperOS charger
Change-Id: If12d65e6f9bb2bcddc4c562365d3c647cef8edda
2025-10-13 09:21:00 +08:00
itsnouralawad
1a34138b36 sm6225-common : Update blobs from V816.0.4.0.UNGMIXM 2025-10-13 09:21:00 +08:00
baalajimaestro
232fe353c2 sm6225-common: props: Optimise dex flags
This is a squash of the following commits:

1. Optimise dex flags for a faster boot

* Used multiple threads and speed profile to hasten the first boot

2. Rework dex flags again

When I went through https://source.android.com/devices/tech/dalvik/configure my previous configs felt wrong, this one should be perfect (I hope).
Even though there is a slight trade-off for boot time by using the speed profile, we do make up for it by using 8 threads.
PRODUCT_DEX_PREOPT_DEFAULT_COMPILER_FILTER attempts to compile all prebuilts fully optimised to speed level, thus the phone doesnt need to deal with it.
I also do know that this might be a trade-off on size, but I do see the first boot time is more worthy to trade-off.
The speed level mentioned here runs dex verification and compiles all AOT methods.

3. Switch certain dexopt profiles to verify

Prebuilt apps like Gmail/Google App, will be updated by google play, and there is no need spend time and space optimising what is going to be replaced.
Switch to Google's recommendation of using verify for an OTA package.
Applications still stay on speed.
Instead, replace the install profile with speed-profile making apps perform better.
2025-10-13 09:21:00 +08:00
LinkBoi00
5c2077cafa sm6225-common: overlay: Switch to AVC 3.1 for screen recording
In weaker SOCs, AVC 3.1 seems to pull less load on the CPU/GPU
and therefore using it has performance advantages in screen recording
2025-10-13 09:21:00 +08:00
minaripenguin
456ff6bd02 sm6225-common: props: Set Brightness slider curve Implementation 2025-10-13 09:21:00 +08:00
Ivan Martynov
559de7ab5f sm6225-common: props: Disable QCRIL power saving
* Currently mobile network signal and speed was not giving wanted results for daily drive
* Disable QCRIL battery saving mode to have maximum network Performance

Change-Id: I893dc82491996a3ce203f26d9df32919b74c728c
2025-10-13 09:21:00 +08:00
UtsavBalar1231
c1c96fd4e9 sm6225-common: sepolicy: Allow init.qcom.usb.sh to create files in uvc.0 dir
* During the UVC conifguration initialiation qcom USB script tries to create multiple folder and symlinks
* so allow qcom USB script to succesfully create them without any denials.

Change-Id: I601c038a2c83301a9427350d12ad80aced03fe22
2025-10-13 09:21:00 +08:00
minaripenguin
c8ac4e19dd sm6225-common: overlays: Disable intrusive gms components
* these processes were not allowed to run in background and yet they still persist everytime causing logspam and unnecessary broadcast, we may want to disable "GmsIntentOperationService" but some users on xda reported broken notifications on stuffs like google keep and maybe other google apps that relies on GmsIntentOperationService broadcasts.

07-24 09:29:26.041  2997  5548 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
07-24 09:29:26.042  2879  2879 I Zygote  : Process 8201 exited due to signal 9 (Killed)
07-24 09:29:26.043  2997  3023 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiversdm845-common: overlay: Disable intrusive gms components

Change-Id: Icf85dd512072c6898be9d0c9ba88f17702fdaf54
2025-10-13 09:21:00 +08:00