1075 Commits

Author SHA1 Message Date
Joey Huab
89b32fa7db msm8953-common: Drop AntHalService 2025-09-17 23:08:57 +09:00
LuK1337
3ca13d0fe2 msm8953-common: Migrate to AIDL LiveDisplay HAL
Change-Id: I4e8be836e94d442b40c63a1ac7dade3c9d9c784c
2025-09-17 23:06:14 +09:00
genoxci
d8b162f68f msm8953-common: touch: Drop Lineage Touch 2025-09-17 22:56:21 +09:00
Al Mahmud
40db32a405 msm8953-common: switch to common AIDL IR service 2025-06-09 23:59:45 +09:00
Joey Huab
58d2b7873d msm8953-common: Initialize for Evolution X 10.x 2025-05-26 17:44:21 +09:00
Bruno Martins
c781ccf90e msm8935-common: Set vendor init lib via soong config
Change-Id: I8f7e6b987bee58dbf09ca9ad7cfd5a7e99e19c3b
2025-05-09 22:20:45 +02:00
Giovanni Ricca
e0f2c22435 msm8953-common: Temporarily downgrade kernel clang version
19.0.1 doesn't boot for us. Let's keep using the old one for now.

Change-Id: I6693b36674539c20870be49d564b652a93478de1
2025-04-19 22:14:02 +02:00
Giovanni Ricca
3e87f86b13 msm8953-common: Build device-specific light HAL
Change-Id: Ic87830bac5a757e530eb255d5e72ddd495cf00bf
2025-04-19 22:14:02 +02:00
Giovanni Ricca
e50ed064ca Revert "aidl: light: Add support for upstream LED timed mode"
Needs to be fixed kernel side as it causes some unwanted crashes.
Let's just revert the commit and hope for the best ...

Change-Id: I112f43b6224ec1fc9bf2564186c73a05238080ae
2025-04-19 22:13:57 +02:00
Giovanni Ricca
9363f3e0dc msm8953-common: light: Rename HAL
Change-Id: I812659cfe585c20bc26a9448b9f6401e8d94e5f9
2025-04-19 22:11:30 +02:00
Giovanni Ricca
1f1379e75b msm8953-common: Fork light HAL from hardware/lineage/interfaces
HEAD: android_hardware_lineage_interface @
sa7d52a839d32efc6c704d9b20a1ab269fc5bce38

Change-Id: Iab02caa5dd57b7b0e3a65c6921b3d0c865ffeb2b
2025-04-19 22:04:06 +02:00
Ivan Vecera
91815b026b msm8953-common: rro_overlays: Enable WPA3-SAE for SoftAP
Test: Create WPA3 enabled wifi hotspot and connect to it using another device
Change-Id: I081e3b6cb7e3ed019dab70f2b9736cf7546392c3
2025-03-22 14:21:17 +01:00
Yumi Yukimura
d89cfae03e msm8953-common: rro_overlays: WifiOverlay: Move to vendor
Change-Id: Iac1e29563145b3f9e2ffddbd604ed982a247a5b2
2025-03-22 14:21:17 +01:00
Alexander Koskovich
56631d4d9a msm8953-common: rro_overlays: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
2025-03-22 14:21:17 +01:00
Alexander Martinz
3aa11a492a msm8953-common: audio: switch to open source sound trigger hal
The audio hal expects the version of the android and sound trigger
hal to match.

As the prebuilt sound trigger hal is built with a BSP based on
Android 10, the version is older than expected and sound trigger fails
to initialize.

11-11 11:37:55.774  4103  4107 I soundtrigger: audio_extn_sound_trigger_init: Enter
11-11 11:37:55.775  4103  4107 I soundtrigger: audio_extn_sound_trigger_init: DLOPEN successful for /vendor/lib/hw/sound_trigger.primary.sdm845.so
11-11 11:37:55.775  4103  4107 E soundtrigger: audio_extn_sound_trigger_init: Incompatible API versions ahal:0x200 != sthal:0x101

Test: atest CtsSoundTriggerTestCases
Test: atest VtsHalSoundtriggerV2_0TargetTest
Test: atest VtsHalSoundtriggerV2_1TargetTest
Test: atest VtsHalSoundtriggerV2_2TargetTest

Depends-On: https://review.lineageos.org/344863
Change-Id: I23b052149bf243f86ebfa13dbbc5053abe4b92e1
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2025-03-22 14:21:13 +01:00
Harshal Ahire
e9f2497ae2 msm8953-common: enable sound trigger hidl hal 2.3
Change-Id: Ieac067b937c06f1ce4f74abf0b884fc1bf92b5c9
2025-03-22 14:18:26 +01:00
Jaideep Sharma
6990f43a2d msm8953-common: Update sound trigger HIDL version to 2.2
Change-Id: Idb683714c52bfdf17ea709c6f47d312582042190
2025-03-22 14:18:26 +01:00
Bruno Martins
763f44cf9d msm8953-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2025-03-22 14:18:26 +01:00
Wang Han
7abd1ec13b msm8953-common: Remove libaacwrapper from PRODUCT_PACKAGES
* It does not exist at all and is replaced by libwfdaac.

Change-Id: I3b2684b9980d6856f1817e5a40e42861ea86ae24
2025-03-22 14:18:26 +01:00
Giovanni Ricca
cdc3adb624 msm8953-common: Update poweroff stack from FP3
Inline with oneplus msm8998-common

Change-Id: I39be086fdc2d6405b47d6b914469117e13097fcd
2025-03-20 09:26:45 +01:00
Giovanni Ricca
2f9dd94887 msm8953-common: Drop TARGET_RECOVERY_DEVICE_MODULES
Dead as of QPR2, and we only use it to set dalvik
props anyway.

Change-Id: I185ce300cf67e5855d86e2ea29ac982175c8e442
2025-03-10 21:08:25 +01:00
Michael Bestas
0b0283eb65 msm8953-common: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-03-10 16:23:16 +01:00
Tyler Wear
7e7750fe72 msm8953-common: tetheroffload: Version 1.1
Update tetheroffload to version 1.1.

Change-Id: I004e44e416a88a1b39a4c80366df9008722f096b
2025-03-04 09:07:16 +01:00
Suren Baghdasaryan
9bcb7d9b10 msm8953-common: Switch lmkd to use minfree levels for kill decisions
Enable ro.lmk.use_minfree_levels flag to use minfree levels to decide
when lmkd should kill. This makes lmkd work the same way lowmemorykiller
kernel driver used to work.

Bug: 77299493
Bug: 75322373
Test: lmkd_unit_test
Change-Id: Ic29d7fd21af1cb6af3a7d2a175d210775a09987e
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2025-02-14 16:54:00 +01:00
Suren Baghdasaryan
3b0aaa3b58 msm8953-common: Increase ro.lmk.medium to prevent kills at medium vmpressure
Setting ro.lmk.medium to 800 to prevent important processes from being
killed at medium vmpressure levels.

Bug: 77299493
Test: lmkd_unit_test
Merged-In: I37e1651a0a2b148a852e5bde86501024d4f87bbf
Change-Id: I37e1651a0a2b148a852e5bde86501024d4f87bbf
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
(cherry picked from commit c954ec2eb318518cfa5c6f64a688fd8c809e91c5)
2025-02-14 16:53:56 +01:00
Suren Baghdasaryan
6a8e50b920 msm8953-common: Set lmkd configuration properties
Bug: 63631020

Change-Id: I16a183e8e4625e8b98cefdc9c8a7b650556a2b55
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2025-02-14 16:53:52 +01:00
Pullakavi Srinivas
57a64dacdf msm8953-common: Disable SF composition prediction model.
CRs-Fixed: 3243885
Change-Id: I64f82a25768b561bb343fdb7686b7d6c020d024a
2025-02-14 10:52:29 +01:00
Alex Sarraf
9713502ef7 msm8953-common: Disable SF client composition cache
Disable SF client composition cache. Helps with framework
client target fence management.

Change-Id: I73e03e76f51d00fafad38479be00f4005be50665
2025-02-14 10:52:22 +01:00
David Sehr
398193f4d7 msm8953-common: Enable usage of dex2oat64
Use 64-bit dex2oat for better dexopt time.

Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
2025-02-14 10:44:32 +01:00
Jan Altensen
b3a794833e msm8953-common: move to new fm vendor jni variable
Change-Id: I48a4c0005a0761ca4c6ff574fca0153d2dbf54c9
2025-02-10 12:22:41 +01:00
Nolen Johnson
f0d617c3c1 msm8953-common: Adapt to new no FM firmware download flag
Change-Id: Ifae8243501a25c4bdbccdcddebd42a2118995805
2025-02-07 20:13:48 +01:00
feiyuchen
e4e0676ba6 msm8953-common: rootdir: Add "system" group to Audio HAL
needed for using EdgeTpu.
Due to this code goes to AOSP, please see CL details and test result in
b/289097511#comment24.

Bug: 289097511
Change-Id: Ie0969309346cd85b4bb8ac71860a529710c73345
2025-01-31 08:51:55 +01:00
Andy Hung
814aa44b41 msm8953-common: rootdir: Enable RT priority inheritance
Test: instrumented
Bug: 181148259
Bug: 260918856
Merged-In: If56e449a9c6f1a49e372591893d8714534574e3a
Change-Id: If56e449a9c6f1a49e372591893d8714534574e3a
2025-01-31 08:51:07 +01:00
emilchung
5c23a83493 msm8953-common: rootdir: add context_hub into audio hal group
While implementing the capo nanoapp for audio configuration, we met
some chre socket connected error due to the access group denied.

Add context_hub group for audio hal to connect chre socket.

go/capo-algo

Bug: 141128522
Bug: 149069556
Test: FULL build with audio hal part and local prebuilts nanoapp.
Test: Audio HAL communicates normally with CHRE socket.
Change-Id: Iea84411682f4c3e08f8b37a5b21818b0e9b04983
2025-01-31 08:50:17 +01:00
Giovanni Ricca
a32dafe437 msm8953-common: Simplify FMRadio section
* `libfmjni` is now built by default

Change-Id: I875d69ad37535d9e9dc3b661084e58b06d56e4a6
2025-01-30 19:10:24 +01:00
Giovanni Ricca
816150e7f7 fixup! msm8953-common: Remove vendor RenderScript implementation
Change-Id: I4b81e67be511e64c50ae053eba86a30ae3294191
2025-01-25 15:00:41 +01:00
LuK1337
9326e51bb9 msm8953-common: Switch to common lights HAL
Change-Id: If515e7c3f6e5b6895076f1d8381fb2c22bd1b3de
2025-01-25 12:25:18 +01:00
Michael Bestas
18e20d4d44 msm8953-common: Migrate mount point creation out of Android.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-01-25 12:25:18 +01:00
Michael Bestas
bcd9eaa6fb msm8953-common: Update display flags & packages
Required after display HAL blueprint conversion

Change-Id: Idb002fc81fca3321f70fb3bba83f4af44354ce81
2025-01-25 12:25:18 +01:00
Michael Bestas
847a369884 msm8953-common: Remove OMX audio codecs
* OMX HW audio codecs won't work without QCOM A/V enhancements, which
   we don't have on Lineage.
 * OMX SW audio codecs no longer exist.

Change-Id: I940be6716b603e848c44839bb87ad690eb55e86f
2025-01-25 12:25:17 +01:00
Giovanni Ricca
44b82fe705 msm8953-common: Drop libmmosal_proprietary
* Seems to be unused.

Change-Id: Idd45fcdc4b25f7ae585aeddd115d0bdde91bbc06
2025-01-17 15:22:34 +01:00
Nolen Johnson
f5f2d3a22a msm8953-common: Drop libmm-color-convertor
* Follow up to prior commit.

Change-Id: Ic0e2e953f1f32256b61f8fb262f6fec1f83b109c
2025-01-17 15:22:34 +01:00
Giovanni Ricca
19890fdd2d msm8953-common: Drop libsensor_user_cal
* Nothing depends on it

Change-Id: Id2a24318808105f23d0b72b5a1312a7496f6fb1f
2025-01-17 15:22:34 +01:00
Jeferson
7fd3667fdd msm8953-common: Remove activity_recognition libs
* E ActivityRecognitionHardware: activity_recognition HAL is deprecated.
   is_supported is effectively a no-op

Change-Id: I2ea52288799e52424e984af25a8477e204b0df88
2025-01-17 15:22:34 +01:00
Bruno Martins
3edbce2dc3 msm8953-common: Mark CNE symlink target as required package
Change-Id: I0bfe65ba61b6aa9916fe6459be2a84d772939a2f
2025-01-17 15:22:34 +01:00
Giovanni Ricca
f6eef4a460 msm8953-common: rootdir: Android.mk -> Android.bp
* Also decommonize fstab as it would become a mess to maintain :D.

Change-Id: I1f1885af7d84c1be01dd257d99b43a84f4be49f6
2025-01-17 15:22:34 +01:00
Michael Bestas
c8904b898f msm8953-common: gps: Convert remaining Android.mk to bp
Change-Id: I75e6af92795fe755a48557aa06106406b14c6750
2025-01-17 15:22:33 +01:00
Michael Bestas
7ee57398ee msm8953-common: gps: Remove unused implementations
Change-Id: I079edea073f3ae43eaebbf04712e99ec1a931b10
2025-01-17 15:22:33 +01:00
Nolen Johnson
50ab32852a msm8953-common: Nuke update-sha1sums.py
* We have py extract to do this now.

Change-Id: I031938ddb78e8f343864da521dc577cfcb67ee45
2025-01-17 15:22:33 +01:00
Beverly
d80acf00d4 msm8953-common: Update lock icon padding
It should not change based on density changes.

Test: visual inspection
Bug: 264738021
Change-Id: I98f948b4a1bd7e6cc560f14e2e1b14a0bde76f01
2025-01-17 15:22:33 +01:00