Yan Yan
f3bdcb730e
sm6150-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
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
1a99a64259
sm6150-common: Setup zram with post-boot script
...
* This way zram size can be optimized.
Change-Id: Ida4fca8aab88ab5af3dcba166e98cf722bab6614
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:59:14 +00:00
Pranav Vashi
f489c33789
sm6150-common: Remove XiaomiParts doze
...
Change-Id: Ie16ddda3347682b103217bd304d1b170f88654f0
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:55:22 +00:00
Pranav Vashi
774f4d6eef
sm6150-common: Disable zram writeback
...
* Disabled on many devices with reports to lagginess in long term and random reboot in some instances.
Change-Id: I73985159766da08cd35b0288db29cfafc7db62b0
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:55:22 +00:00
basamaryan
bc0dc1d83f
sm6150-common: rootdir: Remove /data/vendor/dolby on upgrade
...
This is required after switching to the OnePlus Dolby Atmos stack
Based on:
09e0c6ad23
346519f7f2
Change-Id: I2ac8f83899a0866975aa6cbce26da9670b16843d
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com >
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:44:29 +00:00
Sugakesshaa
df74c24026
sm6150-common: Import Dolby C2 Media service
...
from OnePlus 11 CPH2447_15.0.0.401(EX01)
Change-Id: Icdfc5b11c7635d0707c2a39f54e0c8d149c771bc
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:44:20 +00:00
Omkar Chandorkar
4a839cb4df
sm6150-common: Introduce Dolby Atmos support
...
Change-Id: I46b62d08ad51c321c997792301524fc0c18d6ba6
Co-authored-by: Sugakesshaa <sugakesshaa@gmail.com >
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:44:17 +00:00
Michael Bestas
e54a6dbc60
sm6150-common: Enable UFFD GC
...
Kernel has support for it now.
Change-Id: I3863ee71477f321fe47646571b857fdc39a1902b
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:43:14 +00:00
Michael Bestas
a34a72f2d5
sm6150-common: Enable ELF checks for libwpa_client dependent libs
...
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Yung Ti Su
7bd3a629c4
sm6150-common: Enabling sound trigger V2_3
...
Bug: 139071862
Test: manual
Signed-off-by: Yung Ti Su <andysu@google.com >
Change-Id: I4123b0af64fc7bed934026540136e3811fab32f3
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Yumi Yukimura
37ec15de96
sm6150-common: Disable UFFD GC via OVERRIDE_ENABLE_UFFD_GC
...
* Our kernel (4.14) does not support features needed for UFFD GC.
Leaving it enabled results in long waiting time on the first boot.
Change-Id: Ia8a17467e13d343c03ee29e514994946e7e84985
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Yumi Yukimura
6d996151e4
sm6150-common: Migrate to QTI USB Gadget AIDL HAL
...
Change-Id: I6adbca2fab9a3fe0477d17f9786166828b786710
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Yumi Yukimura
cdd98bc410
sm6150-common: Switch to common QTI USB init scripts
...
Change-Id: I42864edf1cf554815fa24b12892afd21835d13c7
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Yumi Yukimura
72ac1f5b90
sm6150-common: Build QTI Thermal AIDL HAL
...
Change-Id: I21406af9d90fe6be1402f30e1b19958e4f46eec9
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Giovanni Ricca
ab5e8a68a5
sm6150-common: Don't explicitly build qcom.fmradio
...
* It is now built by default
Change-Id: Ia7d9d3253fae17c161bfae82a0562dcb73b14964
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
basamaryan
4e04a9498d
sm6150-common: media: Import media_codecs.xml
...
From b2d81d3d10/media_codecs.xml
Change-Id: Ia3905329085e72a55c9e964e07ecd8a000a913f0
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Tim Zimmermann
d192a7813b
sm6150-common: Uprev audio HAL to V7
...
Updated audio policy by running:
'hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh \
device/xiaomi/sm6150-common/configs/audio/audio_policy_configuration.xml 7.0'
with some manual intervention.
Change-Id: Iede32c176742e89577365341732a86f6ecaee514
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
dianlujitao
adae1ea661
sm6150-common: remove OMX
...
* OMX HW video codecs are no longer used after enabling Codec2
* OMX HW audio codecs won't work without QCOM A/V enhancements, which
we don't have on Lineage.
Change-Id: I65852151c8fb6387add5fc4402ba3f13c97b5f64
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
basamaryan
6e2d634d89
sm6150-common: media: Import Codec2 configs
...
From sunfish TQ3A.230805.001.S1
Change-Id: Ie2ecfa912e0fe0892a2e6b8ddc3a6b6aa3213d40
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
LuK1337
2d72c7b003
sm6150-common: Move WfdCommon boot jar declaration to vendor
...
Change-Id: I8fa2c0f64692873b432cc252ec88b388a32023a1
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
basamaryan
d0cac07a5c
sm6150-common: Bring back QCOM WFD
...
This reverts commit 4a838e1a9b and d5d80a5347 .
Change-Id: Ib6b2ffc341fc22511ebacdd6b716257090209b3b
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Michael Bestas
f923da358a
sm6150-common: Migrate mount point creation out of Android.mk
...
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
LuK1337
55d5eb4546
sm6150-common: Build gralloc.qcom
...
Camera HAL wants it and crashes if it loads default gralloc
implementation instead.
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/8059
Change-Id: I47965713c822cfdfc369975f8975f21f70133608
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Michael Bestas
a8fff34607
sm6150-common: Update display flags & packages
...
Required after display HAL blueprint conversion
Change-Id: Ifc4e10703d3424607b9dc8bcc8e417d1c88cc2f3
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
basamaryan
20d156bcab
sm6150-common: Move to Xiaomi fingerprint AIDL
...
Change-Id: I68dba7184034fd37454c7d32a065f041cb611625
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Kelvin Zhang
041d3cf3ac
sm6150-common: Allow to access bootable/deprecated-ota targets
...
Sm6150-common is still using non-AB update.
non-AB code will be moved to a separated namespace, add
deprecated-ota to sm6150-common namespace list ahead of time to avoid
breakage.
Test: th
Bug: 324360816
Change-Id: I909064be36e8febe80492cf010eb6eac3d6bc33d
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Bruno Martins
673205bdbf
sm6150-common: Mark CNE symlink target as required package
...
Change-Id: I0bfe65ba61b6aa9916fe6459be2a84d772939a2f
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
danielml
295458ae00
sm6150-common: Skip building unneeded libraries
...
Change-Id: I0a34776c3354e37c6ae3d2b9eca9150d902b99fc
Signed-off-by: danielml <daniel@danielml.dev >
2024-10-15 13:23:42 -04:00
Cosmin Tanislav
aaae514afd
sm6150-common: do not manually build dependencies
...
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-10-15 13:23:42 -04:00
Aaron Kling
940cae663a
sm6150-common: Remove software omx codec references
...
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.
Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2024-09-16 14:16:53 -04:00
Yumi Yukimura
5f487d9349
sm6150-common: Switch to QTI Memtrack AIDL HAL
...
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
2024-09-16 14:16:53 -04:00
danielml
e091c0a9a5
sm6150-common: Build xiaomi-telephony-stub
...
To provide the required Xiaomi IMS methods
Change-Id: I1e75476a0d2ed55b5eae2a0a2c6ca4c3c4e2c0f1
2024-08-06 16:26:04 +05:30
Sebastiano Barezzi
31c2bcd4ca
sm6150-common: rootdir: Move from Android.mk
...
Change-Id: I84413356ca330dd266534f933fe86d2897e9be7e
2024-08-06 14:24:18 +05:30
basamaryan
10bc03f013
sm6150-common: Revert "Preopt SystemUI for AOSP builds."
...
This reverts commit c027a3e451 .
Reason for revert: This is already done in vendor/lineage.
Change-Id: I7961e8e75a7f865da02f4409a40cb86c4d90592f
2024-07-03 01:57:02 +05:30
Bruno Martins
6d916c791d
sm6150-common: Convert WiFi firmware symlinks to install_symlink targets
...
The last bit that was preventing building hermetic images.
Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2024-06-24 03:00:27 +05:30
Bruno Martins
127a13fd01
sm6150-common: Move to new RFS install_symlink targets
...
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-06-24 02:55:15 +05:30
basamaryan
caf4fd3282
sm6150-common: Use the common excluded-input-devices.xml
...
Change-Id: I22da0119acb1df87eb093ab311fa86369817ca8a
2024-06-22 17:27:09 +05:30
Michael Bestas
7dc92aba67
sm6150-common: Build missing libraries for 14 QPR3
...
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-06-17 12:23:25 +02:00
Bruno Martins
22ae2ff2f8
sm6150-common: Use common libqti-perfd-client and power-libperfmgr
...
Change-Id: I22d6b35c72629553817005deaefcae60abc72cfd
2024-05-19 18:07:53 +02:00
basamaryan
2a17de6423
sm6150-common: Don't explicitly include updatable_apex.mk
...
It is inherited by base_system.mk as of QPR2
Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-04-10 13:26:48 -04:00
Michael Bestas
f531fce60d
sm6150-common: Switch to android.hardware.usb@1.3-service.dual_role_usb
...
Change-Id: Ibd14f7d31dfaf41e040302eda3bc49f351deb618
2024-04-10 13:26:48 -04:00
Michael Bestas
9202e79a7a
sm6150-common: Build recovery QTI health AIDL service
...
We have a recovery partition.
Change-Id: I10841b26feea3c214349a20b2eedec74924f993a
2024-04-10 13:26:46 -04:00
Bruno Martins
53d51eceb1
sm6150-common: Move to QTI health AIDL service
...
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.
Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
2024-04-10 13:26:46 -04:00
LuK1337
d58ad40aa3
sm6150-common: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
...
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
2024-04-10 13:26:45 -04:00
Krzysztof Kosiński
7c273239a4
sm6150-common: Add prebuilt protobuf 3.9.1 to vendor partition.
...
Needed to work around a Qualcomm HAL prebuilt.
Bug: 203713560
Bug: 258322017
Bug: 254854421
Test: Forrest
Change-Id: I4eebc60f10fbea6a66127ed3e08441db32536f78
2024-04-10 13:26:45 -04:00
Gabriel Biren
6885f726e2
sm6150-common: Update makefile to use the AIDL Wifi Vendor HAL.
...
Bug: 274964641
Test: Pre-submit tests
Change-Id: I4d9114377fe75b593bbfe6a59f03d8f5d607d6a1
2024-04-10 13:26:45 -04:00
Josh Wu
6735f03614
sm6150-common: Switch BtAudio to AIDL
...
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2024-04-10 13:26:45 -04:00
Tim Zimmermann
0e2890fafe
sm6150-common: Inherit non_ab_device.mk
...
* This is required to build applypatch for updating recovery
Change-Id: I38053691f7724b5d6c30159c410d5d04ac136180
2023-12-15 14:06:36 +01:00
Daniel Rosenberg
8563c5735c
sm6150-common: Enable casefolding support on userdata
...
This enables casefolding, which is required for removal of sdcardfs.
Test: Wipe data and boot. lsattr /data/media, check for +F
Bug: 138322712
Change-Id: I020aa6bb9c121e7bda83c07bc9fb37dcfa26702c
2023-08-21 19:38:38 +02:00
Michael Bestas
630f539308
sm6150-common: Build Lineage Health HAL
...
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-08-20 18:47:33 +02:00