1855 Commits

Author SHA1 Message Date
6377047d50 msm8998-common: Guard dynamic_partitions definition behind device's codename
* Without this guard, the super_dummy generation would be applied to all the devices and so break the build for non-concerned devices.

Signed-off-by: Onelots <onelots@onelots.fr>
2025-12-03 23:47:03 +01:00
99c1c20f1d msm8998-common: dependencies: sync sony timekeep
Signed-off-by: Onelots <onelots@onelots.fr>
2025-12-02 19:36:31 +01:00
9e622c5104 msm8998-common: sepolicy: Address sysfs denial
avc:  denied  { write } for  name="trigger" dev="sysfs" ino=51496 scontext=u:r:hal_light_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

- Allow hal_light_default to access sysfs nodes.

Signed-off-by: Onelots <onelots@onelots.fr>
2025-11-02 22:37:27 +01:00
¨raystef66¨
97c0ec06c9 msm8998-common: Allow gmscore_app to read system_adbd_properties
avc:  denied  { read } for  name="u:object_r:system_adbd_prop:s0" dev="tmpfs" ino=19100 scontext=u:r:gmscore_app:s0:c512,c768 tcontext=u:object_r:system_adbd_prop:s0 tclass=file permissive=0 app=com.google.android.gms
2025-11-02 22:33:49 +01:00
0af8408b7e msm8998-common: Setup for EvolutionX 11.x
Signed-off-by: Onelots <onelots@onelots.fr>
2025-11-02 15:52:37 +01:00
basamaryan
0d5c2f903d msm8998-common: Drop legacy ANT remnants
QSSI only has platform/external/ant-wireless/hidl since a while

Change-Id: Ibccfdc7e72efd3c9d3ff62bda3e729b99433a567
2025-10-26 17:56:22 -04:00
Edrick Sinsuan
f45734fc54 msm8998-common: Remove button swap from Device Settings
Handled by Lineage HAL.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-27 19:26:10 -04:00
Edrick Sinsuan
1aa8d15e53 msm8998-common: Move super dummy image creation to Android.mk
We can't do this in BoardConfigCommon.mk anymore.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:30:44 -04:00
Edrick Sinsuan
3b63dc8ae4 msm8998-common: Update kernel level to 6
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:30:44 -04:00
Edrick Sinsuan
add2142314 msm8998-common: Do not include libsdmextension
This is broken for now and causes invalid source split config.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:18:05 -04:00
Edrick Sinsuan
a18b1c6480 msm8998-common: Move property overrides to system and vendor props
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:18:05 -04:00
Edrick Sinsuan
8d58b3e316 msm8998-common: Update SDM graphics blobs for 4.14
Imported from Sony Yoshino - Android 11 4.14 v9a. This fixes the ELF
checks and allows SDE support.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:18:05 -04:00
basamaryan
d4b97153ea msm8998-common: overlay: Adjust status bar padding
Change-Id: I566af750d6aea4be7b32a65b86f251ae90cf390a
2025-07-24 17:18:05 -04:00
Edrick Sinsuan
3c156b7c30 msm8998-common: sepolicy: Address settings app sysfs_vibrator denials
Fixes vibration settings in the device settings app.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:18:05 -04:00
Edrick Sinsuan
821e163b73 msm8998-common: sepolicy: Allow kernel to create qipcrtr_socket
12-31 19:04:11.193 76 76 W kworker/u16:1: type=1400
audit(0.0:22): avc: denied { create } for scontext=u:r:kernel:s0
tcontext=u:r:kernel:s0 tclass=qipcrtr_socket permissive=0

This is needed. Otherwise, data and wifi will not work properly.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:18:05 -04:00
Edrick Sinsuan
ac3506ce3e msm8998-common: Update extract-files.py namespaces for k4.14
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:18:05 -04:00
Edrick Sinsuan
1d2f80e54d msm8998-common: Disable ELF checks for SDM blobs
Will be removed if fixed.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:18:05 -04:00
Edrick Sinsuan
8c3c93cb6d msm8998-common: sepolicy: Allow netmgrd to read and write to RMNET modules
With the updated RMNET configuration, netmgrd needs access to the RMNET
sysfs modules to configure rmnet_perf_opt_mode.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:18:05 -04:00
Edrick Sinsuan
31114352b3 msm8998-common: vendor: data: Reconfigure MSM8998 RMNET
The configuration provided by kholk causes page allocation failures
due to the enablement of data aggregation of upload packets which
our platform does not support. Restore the stock msm8998 upload packets
configuration.

Furthermore, some of the newly added configurations are outdated compared
to our kernel's RMNET actual capabilities. Update them to fully make use of
the new RMNET drivers by basing the configuration on msmnile.

TCP MTU probing should be returned to what OnePlus' recommends as
it is not a requirement for supporting the new RMNET.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:18:05 -04:00
SirRGB
45936dbe5b msm8998-common: update graphene camera
* 42799d3da0
* v74

Signed-off-by: SirRGB <sirrgb@proton.me>
2025-07-24 17:18:05 -04:00
SirRGB
d93a7de8d3 msm8998-common: import graphene camera
* 36f2dd34e1
* also override Aperture

Signed-off-by: SirRGB <sirrgb@proton.me>
2025-07-24 17:18:04 -04:00
Edrick Sinsuan
ec7ec2ef15 msm8998-common: DeviceSettings: Remove RGB color control
No one really needs these.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:43 -04:00
Edrick Sinsuan
7725d4a453 msm8998-common: Enable ADPF and build sendhint utility
Needed for the newly added powerhint actions.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:43 -04:00
Edrick Sinsuan
618d1d7081 msm8998-common: powerhint: Update UCLAMP configuration
We were missing a lot of important powerhint configurations that
can improve how we handle UCLAMP. Let's get those configurations
that are appropriate for our device. Also let's use the updated values
from GS101's main branch.

Source: https://android.googlesource.com/device/google/gs101/+/refs/heads/main/powerhint_a0.json

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:43 -04:00
Edrick Sinsuan
ee3a29c507 msm8998-common: init.qcom.rc: Update UCLAMP configuration
- Update UCLAMP boot time values according to: https://android.googlesource.com/device/google/gs101/+/refs/heads/main/conf/init.gs101.rc
- Remove useless UCLAMP disabling on charger as these get overwritten
by the powerHAL for top-app and that it causes the latency_sensitive
configurations to be lost after charging.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:43 -04:00
Edrick Sinsuan
71ebda5186 msm8998-common: powerhint: Configure UCLAMP powerhint based on GS101
Reference:
https://android.googlesource.com/device/google/gs101/+/refs/heads/android13-qpr3-release/powerhint_a0.json#57

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:43 -04:00
Edrick Sinsuan
7b4ba904d5 msm8998-common: init.qcom.rc: Configure UCLAMP at init based on GS101
Reference:
https://android.googlesource.com/device/google/gs101/+/refs/heads/android13-qpr3-release/conf/init.gs101.rc

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:43 -04:00
Vivekachooz
0ebc634ba8 msm8998-common: switch from schedtune to uclamp 2025-07-24 17:17:43 -04:00
Vivekachooz
4ccc6fed1d msm8998-common: powerhint: Switch to uclamp boosting 2025-07-24 17:17:43 -04:00
Edrick Sinsuan
4a8e90cf34 msm8998_common: No longer override cgroups and task_profiles for schedtune
We're planning to support UCLAMP and this is no longer needed.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:43 -04:00
Edrick Sinsuan
e8df7483bd msm8998-common: Add product prop for Hey Google functionality
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:43 -04:00
Murat Kozan
301d97ea46 msm8998-common: overlay: Enable assistant app pinning 2025-07-24 17:17:43 -04:00
Edrick Sinsuan
958b095aed msm8998-common: Build KeyHandler package
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:41 -04:00
Edrick Sinsuan
a68e2315a7 msm8998-common: DeviceSettings: Remove KeyHandler for alert slider
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:41 -04:00
SirRGB
8487c84df8 msm8998-common: DeviceSettings: Drop touchgestures
Signed-off-by: SirRGB <sirrgb@proton.me>
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:41 -04:00
Eamon Powell
b42c242b98 msm8998-common: Update powerhint for AIDL power HAL
Change-Id: If65f03d9a910cee67d6da9088c28b780d40ccf09
2025-07-24 17:17:40 -04:00
Namkhai B
4b197fbe4f msm8998-common: props: enable blur 2025-07-24 17:17:40 -04:00
Roberto Sartori
6c5b4fc68f msm8998-common: set kernel level to 5
Signed-off-by: Roberto Sartori <roberto.sartori.android@gmail.com>
2025-07-24 17:17:40 -04:00
Alex Sarraf
cbb81d1f39 msm8998-common: display: Disable SF client composition cache
Disable SF client composition cache. Helps with framework
client target fence management.

Change-Id: I73e03e76f51d00fafad38479be00f4005be50665
2025-07-24 17:17:40 -04:00
LuK1337
e6b212f247 msm8998-common: Enable APK Verity
fs-verity is already in the kernel, so enabling the feature.

Test: atest com.android.apkverity.ApkVerityTest
Bug: 142494008
2025-07-24 17:17:40 -04:00
Edwin Moquete
a4a4384ba3 msm8998-common: Disable display refresh rate override
This got enabled by default on U, and it causes apps like
Chrome and Youtube to set the refresh rate to 30FPS when
playing some videos.

Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
2025-07-24 17:17:40 -04:00
P.Adarsh Reddy
c218a7df8e msm8998-common: Enable incremental FS feature. 2025-07-24 17:17:40 -04:00
Anushek Prasal
64dd08a629 msm8998-common: Add dimens for alert slider
* crdroid feature

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-07-24 17:17:40 -04:00
SirRGB
ce2325474f msm8998-common: add hw/sony/timekeep to deps
* switch from robertos fork to the lineage one

Signed-off-by: SirRGB <sirrgb@proton.me>
2025-07-24 17:17:40 -04:00
Edrick Sinsuan
0f05c363d9 msm8998-common: Disable LiveDisplay in Settings
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:40 -04:00
Edrick Sinsuan
c1d8642e42 msm8998-common: Include keys in vendor/lineage-priv
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:40 -04:00
hoaysly
93ae494fe3 msm8998-common: align audio output policy with kernel 4.4
This was initially removed during 4.14 porting, but we can now add it back.

Signed-off-by: hoaysly <153692157+hoaysly@users.noreply.github.com>
2025-07-24 17:17:40 -04:00
Edrick Sinsuan
909a342bf5 msm8998-common: Enable doze by default
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:40 -04:00
Edrick Sinsuan
0e67e3c6a8 msm8998-common: Define config_oemFastChargerStatusPath
Needed by FWB.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:40 -04:00
Edrick Sinsuan
2e5047bc6e msm8998-common: DeviceSettings: Set proper values for vibration settings
f6d6a46091

Co-authored-by: Roberto Sartori <roberto.sartori.android@gmail.com>
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:40 -04:00