575 Commits

Author SHA1 Message Date
Yumi Yukimura
afb73fb73e Spacewar: Migrate to QTI USB Gadget AIDL HAL
Change-Id: I6adbca2fab9a3fe0477d17f9786166828b786710
2025-09-01 16:11:34 +00:00
BrainKub
30db96478e Spacewar: disable fluence for speakerphone
When making a call on speakerphone, the noise cancelling was too strong, which drowned out all the sound from the microphone.

Change-Id: I7c2a55c5e53b1773ee6a0a5bf41b671aae67d4c9
2025-09-01 16:11:34 +00:00
BrainKub
01120904f8 Spacewar: import mixer paths from NOS 3.2
Change-Id: Ie605634c4604a016b57e86c26cec787afbdc382c
2025-09-01 16:11:34 +00:00
basamaryan
d49bbcdb02 Pong: Drop legacy ANT remnants
QSSI only has platform/external/ant-wireless/hidl since a while

Change-Id: Ibccfdc7e72efd3c9d3ff62bda3e729b99433a567

Signed-off-by: abhixv <abhi.sharma1@hotmail.com>
2025-09-01 16:11:34 +00:00
Ghosuto
dda5d8bf5f Spacewar: overlay: Configure number of physical SIM slots
Needed by telephony-common.

Signed-off-by: abhixv <abhi.sharma1@hotmail.com>
2025-09-01 16:11:34 +00:00
rmp22
83a391fc8a Spacewar: Optimize dalvik heap config for performance
Signed-off-by: abhixv <abhi.sharma1@hotmail.com>
2025-09-01 16:11:34 +00:00
abhixv
22cf425f66 Spacewar: Build libwpa_client
Signed-off-by: abhixv <abhi.sharma1@hotmail.com>
2025-09-01 16:11:34 +00:00
abhixv
39530395ee Manifest: ignore some manifest entries
Signed-off-by: abhixv <abhi.sharma1@hotmail.com>
2025-09-01 16:11:34 +00:00
EcrosoftXiao
4913ce31c0 Spacewar: audio: Nuke unsupported haptics output configuration
* Fixes Pixel ringtones

Change-Id: Ib81fd4209be8201d13aeea485910169371f82582
Signed-off-by: Bartłomiej Rudecki <ejbtrd@gmail.com>
2025-09-01 16:11:34 +00:00
Chris Goldsworthy
0047765da7 Spacewar: rootdir: Reduce mlock() limit to 64 KB
Reduce the per-process limit of the mlock() family of system calls to
64 KB on account of a new CTS requirement.

Change-Id: I211668956bb6098e87cb7ef68bb7f1510d93d76f
2025-09-01 16:11:34 +00:00
Chris Goldsworthy
dc5619e0d2 Spacewar: 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
2025-09-01 16:11:34 +00:00
Michael Bestas
47f48103db Spacewar: Migrate powershare to soong_config_set
Change-Id: I2489e8d95d968556a854d7b8314f098d37c382b7
2025-09-01 16:11:34 +00:00
Bruno Martins
448e19c896 Spacewar: Switch to PowerShare AIDL
Change-Id: I97400638493a3b9d5a3b87fa6831c9affc7c3def
2025-09-01 16:11:34 +00:00
Bruno Martins
46561309f1 Spacewar: Set camera override format from reserved via soong config
Change-Id: I6a089e783f26c4515940d74f8e912dffa2789550
2025-09-01 16:11:34 +00:00
Bruno Martins
fa22f97e73 Spacewar: Set UDFPS extension lib via soong config
Change-Id: I8a709bde4843b61420ea1003a749952d2619e2da
2025-09-01 16:11:34 +00:00
Bruno Martins
cbf9346e76 Spacewar: Migrate Lineage Health to soong_config_set
Change-Id: I2eff39e83b9673aa2989d05de65c646241ba61da
2025-09-01 16:11:34 +00:00
feiyuchen
07c8ee1523 Spacewar: 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-09-01 16:11:34 +00:00
Andy Hung
00e40527f8 Spacewar: rootdir: Optimize for Spatial Audio
Add CAP_SYS_NICE.
Allow util_clamp_min for Spatializer Effect worker thread.
Reduce glitches caused by core migration.
Reduce power consumption as Spatializer Effect is DSP compute bound.
This change only affects Spatial Audio Effect processing.

Test: instrumented
Test: adb shell 'uclampset -a -p $(pgrep -of
android.hardware.audio.service)'
Test: adb shell cat "/proc/$(adb shell pgrep -of
android.hardware.audio.service)/status"
Test: adb shell 'ps -Tl -p $(pgrep -of android.hardware.audio.service)'
Bug: 181148259
Bug: 260918856
Bug: 261228892
Bug: 261686532
Bug: 262803152
Merged-In: I59ea99e8a1720f61954747f6c29e14cfea9a0f56
Change-Id: I59ea99e8a1720f61954747f6c29e14cfea9a0f56
2025-09-01 16:11:34 +00:00
Andy Hung
b4f96fdea2 Spacewar: rootdir: Enable RT priority inheritance
Test: instrumented
Bug: 181148259
Bug: 260918856
Merged-In: If56e449a9c6f1a49e372591893d8714534574e3a
Change-Id: If56e449a9c6f1a49e372591893d8714534574e3a
2025-09-01 16:11:34 +00:00
emilchung
45ecfdac2c Spacewar: 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-09-01 16:11:34 +00:00
Wiktor Rudzki
7867c30a63 Spacewar: Fix CarrierConfig RRO package name
Also fix the comment above it.

Change-Id: Id62173e3bb1e553ebcc3c99cf3c68e4548c2f265
2025-09-01 16:11:34 +00:00
Bruno Martins
87fef89b79 Spacewar: Use common PowerShare HAL
Change-Id: I1c7731a1152de4b24986708354ac1c0fb4119cc5
2025-09-01 16:11:34 +00:00
Wiktor
d57128d7d5 Revert^2 "Spacewar: Rename bootloader unlock property for fingerprint blob"
This reverts commit d17ff518f8b17c7e87b3f5c922f74a0f7a79a3f4.

Reason for revert: Breaks enrolling new fingerprints

Change-Id: Ie07edf715386dbbedb59d7de1ac2186d7394cd55
2025-09-01 16:11:34 +00:00
Lorenzo Colitti
c3aef1f0f2 Spacewar: Delete dhcpcd init entries, since dhcpcd is no more.
Bug: 27192644
Change-Id: I1aa25190c07f027884421d91c1e93f214493382d
2025-09-01 16:11:34 +00:00
Ethan Chen
eb9ea9dd7a Spacewar: Remove wigig components
Change-Id: If730bffdf749f30ddf0dfeec8ce769848b19b17e
2025-09-01 16:11:34 +00:00
David Sehr
3a6807a38c Spacewar: 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-09-01 16:11:34 +00:00
basamaryan
2d9a507002 Spacewar: Don't explicitly set as an AB target
AB is the default

Change-Id: I93346d29da38405bf571f138ae905d67966c1f9c
2025-09-01 16:11:34 +00:00
Bruno Martins
802ced871c Spacewar: 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
2025-09-01 16:11:34 +00:00
Bruno Martins
56b866c926 Spacewar: overlay-lineage: Declare support for wireless charging
Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
2025-09-01 16:11:34 +00:00
Michael Bestas
fa0330c010 Spacewar: Use overlay instead of property to enable WiFi display
Change-Id: I755c2d94747df53f806a2b834548fb676a23dac0
2025-09-01 16:11:34 +00:00
Wiktor Rudzki
acba71f59d Spacewar: Use FIX_SONAME for fingerprint.lahaina
Change-Id: If5aa29ed85259a48e14396abbbc23c4cb5ce4f29
2025-09-01 16:11:34 +00:00
DY3413
04ee2c29c3 Revert "Spacewar: Rename bootloader unlock property for fingerprint blob"
Now init will properly set ro.boot.flash.locked based on the verifiedbootstate.

This reverts commit fb67c09946.

Change-Id: I1e381bbf41607aed31d6a2c4c33ddee93455de6e
2025-09-01 16:11:34 +00:00
Sami Tolvanen
4bda881fbd Spacewarr: set ro.oem_unlock_supported=1
Bug: 26039090
Change-Id: I79bc274db94944487a2af8210c3ab51f1356a1c0
2025-09-01 16:11:34 +00:00
DY3413
9a037baa46 Spacewar: Remove unused firmware on yupik
Change-Id: Id1d2446469f83fe22a34d15b11c253dc1923876f
2025-09-01 16:11:34 +00:00
Sebastiano Barezzi
b370903d04 Spacewar: Use only full qualified name for manifest entries
* As recommended by Google for multiple different versions of the same HAL in VINTF manifests
* https://android.googlesource.com/platform/hardware/interfaces/+/master/drm/1.1/README.md#devices-launching-with-android-pie

Change-Id: I4922d72ab60ca1aae78c010aeb610f9bca9012cb
2025-09-01 16:11:34 +00:00
Michael Bestas
ff3e48391c Spacewar: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2025-09-01 16:11:34 +00:00
Michael Bestas
8d3348a345 Spacewar: Don't build gralloc.default
Change-Id: I4aaef1b9dfa59bd1bfe472334ee8e3ced1a008c1
2025-09-01 16:11:34 +00:00
DY3413
aadfe7950a Spacewar: ueventd: Remove permission from /dev/st21nfc
Spacewar uses NXP NFC

Change-Id: I620d4b9b8eecfec515b8395b3774f377f41d99b8
2025-09-01 16:11:34 +00:00
DY3413
b197158c16 fixup! Spacewar: Libraries are now automatically added to PRODUCT_PACKAGES
Change-Id: I716124c195e4e59350c468c7e56d78eb7c077d8a
2025-09-01 16:11:34 +00:00
Michael Bestas
a3994d0cf2 Spacewar: Remove unused build description override
Change-Id: I3d53f1cc5d4711403b53b723b95a175e6220702c
2025-09-01 16:11:34 +00:00
DY3413
2ca8615cf8 Spacewar: Use TARGET_USES_FOD_ZPOS instead of direct variable assignment
Change-Id: I1d9fb57383389c4d56a57b21ada841fa3f5455bc
2025-09-01 16:11:34 +00:00
BrainKub
aadaf8857e Spacewar: Update from NOS3.0-250303-1817
Change-Id: I8703ca6b45a10473941e629fa347aa3256dde4ac
2025-09-01 16:11:34 +00:00
Michael Bestas
f8f29ea4fd Spacewar: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-09-01 16:11:34 +00:00
Michael Bestas
4f5d060695 Spacewar: Enable UFFD GC
Kernel has support for it now.

Change-Id: I3863ee71477f321fe47646571b857fdc39a1902b
2025-09-01 16:11:34 +00:00
Yan Yan
eadd1d93e1 Spacewar: Add feature flag for IPSEC_TUNNEL_MIGRATION to B5/R3/B9
This commit adds the IPSEC_TUNNEL_MIGRATION feature flag,
with XFRM_MIGRATE used as the implementation

Verified on redfin

Bug: 273379472
Test: build, flash and verify with "adb shell pm list features"
Test: atest IpSecManagerTunnelTest
Change-Id: Id2ee3e65183e32ea63f6251ba921e1e4c6b09ed0
2025-09-01 16:11:34 +00:00
Yumi Yukimura
585818047d Spacewar: manifest: Bump target-level to 6
Change-Id: I8d419d248f29b7d316a87d55e19ae7ff141e19a5
2025-09-01 16:11:34 +00:00
LuK1337
0e6d327693 Spacewar: Add libwfdservice_shim for WFD
e69a5be2449122f90220151f9d01ace15221facf in system/hardware/interfaces
broke the ABI ;'(

Change-Id: I3badfc56581a6bf3de5d7e996fa51f59eb164aae
2025-09-01 16:11:34 +00:00
Cosmin Tanislav
c92ffbe1dd Spacewar: switch to common QCOM AIDL bootctrl HAL
Change-Id: I04ab771d3b1c38b58913607fbff1bb3b55e1fe25
2025-09-01 16:11:34 +00:00
abhixv
4b39dc4c4a Spacewar: audio: Nuke unsupported haptics output configuration
* Fixes Pixel ringtones

Signed-off-by: abhixv <abhi.sharma1@hotmail.com>
2025-09-01 16:11:34 +00:00
adityayyy
f3c5686214 Revert "Spacewar: Switch to oss audio HAL"
This reverts commit 3cda316691.
2025-09-01 16:11:34 +00:00