78 Commits

Author SHA1 Message Date
mayuresh
6adf374d18 Spacewar: add various missing manifest hal entries
android.hardware.audio.effect.IFactory/default in the VINTF manifest. No alternative instances declared in VINTF
android.hardware.gatekeeper.IGatekeeper/default in the VINTF manifest. No alternative instances declared in VINTF
vendor.qti.hardware.alarm.IAlarm/default in the VINTF manifest. No alternative instances declared in VINTF
vendor.qti.hardware.radio.am.IQcRilAudio/slot1 in the VINTF manifest. No alternative instances declared in VINTF
vendor.qti.hardware.radio.am.IQcRilAudio/slot2 in the VINTF manifest. No alternative instances declared in VINTF
vendor.qti.hardware.radio.ims.IImsRadio/imsradio0 in the VINTF manifest. No alternative instances declared in VINTF
vendor.qti.hardware.radio.ims.IImsRadio/imsradio1 in the VINTF manifest. No alternative instances declared in VINTF
vendor.qti.hardware.radio.qcrilhook.IQtiOemHook/oemhook0 in the VINTF manifest. No alternative instances declared in VINTF
vendor.qti.hardware.radio.qcrilhook.IQtiOemHook/oemhook1 in the VINTF manifest. No alternative instances declared in VINTF
vendor.qti.hardware.radio.qtiradio.IQtiRadioStable/slot1 in the VINTF manifest. No alternative instances declared in VINTF
2026-01-15 10:53:26 +03:00
Purushottam Kushwaha
2b6f715c81 Spacewar: wifi: Add secondary interface using gEnableConcurrentSTA=wlan1
gEnableConcurrentSTA=wlan1 will create wlan1 while insmod driver.

[Mashopy: This also fix 'E android.hardware.wifi@1.0-service: Unknown iface name: wlan0' logspam]

Change-Id: Ia7ce00bbc9cb030320bc3bd84f8795c3583ef8b1
CRs-Fixed: 2258995
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2026-01-14 23:37:40 +03:00
xenxynon
d1c34891e7 Spacewar: drop android.hardware.tetheroffload.control manifest entry
10-19 19:55:47.098 W/HidlServiceManagement(2413): Waited one second for android.hardware.tetheroffload.control@1.1::IOffloadControl/default
10-19 19:55:47.098 I/hwservicemanager(632): Since android.hardware.tetheroffload.control@1.1::IOffloadControl/default is not registered, trying to start it as a lazy HAL (if it's not configured to be a lazy HAL, it may be stuck starting or still starting).
10-19 19:55:47.099 I/HidlServiceManagement(2413): getService: Trying again for android.hardware.tetheroffload.control@1.1::IOffloadControl/default...
10-19 19:55:47.101 W/libc    (632): Unable to set property "ctl.interface_start" to "android.hardware.tetheroffload.control@1.1::IOffloadControl/default": PROP_ERROR_HANDLE_CONTROL_MESSAGE (0x20)
10-19 19:55:47.101 I/hwservicemanager(632): Tried to start android.hardware.tetheroffload.control@1.1::IOffloadControl/default as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
10-19 19:55:47.072 E/init    (1): Control message: Could not find 'android.hardware.tetheroffload.control@1.1::IOffloadControl/default' for ctl.interface_start from pid: 632 (/system/system_ext/bin/hwservicemanager)

Change-Id: I970e97248073347604cd019fdd7411c83661c189
2026-01-14 23:37:40 +03:00
chandu078
dd1985e325 Spacewar: audio: Remove hardware acceleration audio effect
Unused effect and led to errors during querying and loading configurations.

E EffectsFactoryConfigLoader: Error querying effect 7d1580bd-297f-4683-9239-e475b6d1d69f on lib offload_bundle.
E EffectsFactoryConfigLoader: EffectLoadXmlEffectConfig 1 errors during loading of configuration: /vendor/etc/audio/sku_cape/audio_effects.xml.
E EffectsFactory: Effect config is partially invalid, skipped 1 elements.

Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2026-01-14 23:37:39 +03:00
aswin7469
c9ab545a3e Spacewar: import msm_irqbalance.conf
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2026-01-14 23:37:39 +03:00
aswin7469
aa17d2c3fe Spacewar: mixer_paths: Fix noise cancellation on voip calls
* Apply c4524313d16d8cc9f000ed92d0806ffd7ee8fd9e to voip call paths as well
  this is a dirty fix as in stock voip call and voice call uses diffrent values
  well, something is btr than nothing

TO-DO: figure out acdb id's and rewrite this properly hence fix nos cam recording too
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2026-01-14 23:37:39 +03:00
aswin7469
7e7614fb28 Spacewar: audio: Adjust mixer_paths for in call noise cancellation
* Goodix tuning for noise cancellation is broken for aosp roms and loads
  incorrect input device in calls
* Correct the paths after comparing with stock logs

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2026-01-14 23:37:39 +03:00
BrainKub
7b8eb196d1 Revert "Spacewar: Remove QTI perfd"
UI stutters appear with lineage-libperfmgr

This reverts commit 54f61e8807.

Change-Id: Ib9cb5ade6d576db63348cca3867640ba04e74418
2026-01-14 23:35:54 +03:00
xenxynon
9b05d00d87 Spacewar: nuke dirac
Change-Id: I35b5e48e4e72a7c3d29ff2f5737e9b36f78fb622
2026-01-14 23:34:52 +03:00
BrainKub
4a7e30031a Spacewar: use correct mixer path for camcorder
On the stock ROM nothing camera uses the recorder-mic-zoom path, and in lineageos, the default path is recorder-mic, so copy the microphone settings to it. This will fix the audio recording in stereo without editing the audio hal.

Change-Id: I1b63ee965bbae003cd2a96e7776de270f809a041
2025-09-01 16:16:45 +00:00
BrainKub
01120904f8 Spacewar: import mixer paths from NOS 3.2
Change-Id: Ie605634c4604a016b57e86c26cec787afbdc382c
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
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
Yumi Yukimura
585818047d Spacewar: manifest: Bump target-level to 6
Change-Id: I8d419d248f29b7d316a87d55e19ae7ff141e19a5
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
Omkar Chandorkar
0f3d614ed7 Spacewar: Remove time limitation for HBM
- Thermal and Ambient Light limitation is good enough

Change-Id: I90377cb6b1d1b1df69538585e05f18b262ecd20f
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: xenxynon <flynryder427@gmail.com>
2025-03-20 15:20:07 +00:00
Omkar Chandorkar
2ee09f8046 Spacewar: Enable thermal mitigation for HBM
Change-Id: Iea2fad7c0b701355c57079f8490bab3539c95503
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: xenxynon <flynryder427@gmail.com>
2025-03-20 15:20:07 +00:00
Omkar Chandorkar
f7c7f7353e Spacewar: Allow more brightness range for manual use
- ~500nits seems reasonable for non auto-brightness usecase

Change-Id: I53d3b8257c72bcd85762a1c79455193cf0c89ee9
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: xenxynon <flynryder427@gmail.com>
2025-03-20 15:20:07 +00:00
Omkar Chandorkar
5041332d9d Spacewar: Trigger HBM at lower ambient light
Change-Id: I4cded34d1529e79f32015c2bff5bd7c18796098c
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: xenxynon <flynryder427@gmail.com>
2025-03-20 15:20:07 +00:00
Omkar Chandorkar
980769911f Spacewar: Update to 2.5.6
Change-Id: Idd1853f3154e64f7019587f8c2844cf143b4700e
Signed-off-by: xenxynon <flynryder427@gmail.com>
2025-03-20 15:20:07 +00:00
Omkar Chandorkar
834a1cb10e Spacewar: setup displayconfig
Change-Id: Idef40d0b839da23ffc92d686db7ea04d27cf6d7c
Signed-off-by: xenxynon <flynryder427@gmail.com>
2025-03-20 15:20:07 +00:00
xenxynon
9ada4be239 Spacewar: whitelist libencoderjpeg_jni.so
- don't preload it

Change-Id: I456dc430920c7aa54257d0a293c632dc1c684e99
2025-03-20 15:19:54 +00:00
xenxynon
2dde7678d0 Spacewar: update vendor public.libraries.txt
- from qssi-user-15-AQ3A.240929.001-2501081938-release-keys

Change-Id: I58c1ad18f36a12f215c62cc25a302a9d089f81e6
2025-03-20 15:19:54 +00:00
BeYkeRYkt
baafbc5c53 Spacewar: fix inverted microphone channels for camcorder
* SND_DEVICE_IN_HANDSET_DMIC_STEREO is used if CAMCORDER is used
as the source, or any other device unassociated with voice calls or VOIP
communication.

We use stereo for the camcorder, so each audio channel has its own microphone. In
the current configuration, the microphone at the bottom of the device (the main
microphone) corresponds to the left audio channel, and the microphone at the top
corresponds to the right audio channel. This setup is inverted.

Swap the microphones used for each channel to fix this.

Change-Id: Iddde70d70080fd0c9b41bb7cfa7ba70ddb418b37
2025-03-06 00:03:05 +03:00
Josh Wu
de314c1d13 Spacewar: Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2025-03-03 17:10:36 +03:00
Tyler Wear
e86a225815 Spacewar: tetheroffload: Version 1.1
Update tetheroffload to version 1.1.

Change-Id: I004e44e416a88a1b39a4c80366df9008722f096b
2025-03-02 18:28:39 +03:00
BrainKub
57c1c4a815 Spacewar: import dirac libs from NOS 3.0
Change-Id: Ic715dab5f90e3eba2fac3e522aded56a3a78c118
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-02-09 16:11:04 +01:00
pjgowtham
3cda316691 Spacewar: Switch to oss audio HAL
LVIMFS/LVACFS feature was preventing us from using oss audio hal.
Now that it is sorted out, let's just switch to oss audio HAL.

This reverts commit 67d09c99d7.

Change-Id: I44486535b2fa765d978203c696f5adfd5ca0b46a
2025-02-09 16:09:44 +01:00
Bruno Martins
1d9ca74671 Spacewar: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2025-01-20 13:13:17 +01:00
dianlujitao
642623a448 Spacewar: 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
2025-01-20 13:13:17 +01:00
Malathi Gottam
17ee17087c Spacewar: media_profiles: Edit profiles xml in accordance with schema
Export of Video Editor codec profiles & levels and
configuration of Video editor capalibilies,
these two entries are no longer needed hence removed.

Original-Change-Id: I8252415f37f2b1089e7281eec32deda9fd6e98cf
Change-Id: Ib8b4f52b4b83a0a31a66d118c75005ac9945a4e9
2025-01-20 13:13:17 +01:00
Michael Bestas
0bc77db4a5 Spacewar: Remove media_codecs_google_c2*
AOSP codecs can be used by default and it is not necessary to include
them device side.

Change-Id: I8227b06f0466b614f12fa9008402b92461ea3dd0
2025-01-20 13:13:17 +01:00
Aaron Kling
53e201c8a8 Spacewar: 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
2025-01-20 13:13:17 +01:00
Wiktor Rudzki
e51a29c5fe Spacewar: Import media configs to tree
Change-Id: I34593dbec4476e49129b22683cebae7f8ca602b7
2025-01-20 13:13:17 +01:00
Yumi Yukimura
d12081ab15 Spacewar: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
2025-01-20 13:13:17 +01:00
aswin7469
db08cad8b4 Spacewar: mixer_paths: Fix noise cancellation on voip calls
* Apply c4524313d16d8cc9f000ed92d0806ffd7ee8fd9e to voip call paths as well
  this is a dirty fix as in stock voip call and voice call uses diffrent values
  well, something is btr than nothing

TO-DO: figure out acdb id's and rewrite this properly hence fix nos cam recording too
Change-Id: Ieff88bc76998bd044e8a95efaf99d3092cf3d552
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2025-01-20 13:13:17 +01:00
DarkJoker360
6b3b9d441f Spacewar: Update from NothingOS 3.0 OBT
Co-authored-by: Jake Weinstein <jake@aospa.co>
Co-authored-by: aswin7469 <aswinas@pixysos.com>
Co-authored-by: BrainKub <fyhtjnt@gmail.com>
Change-Id: Ief104e379cfdd9d2b46b4fb79d21a6e848e119ca
2025-01-20 13:13:17 +01:00
Karan Parashar
b86cd43745 Spacewar: powerhint: Update comment for gpu frequency
Change-Id: I634dd2692df2f4907a32a6a03495eb176d650f81
2023-09-11 21:34:03 +02:00
Karan Parashar
cdf9cab753 Spacewar: powerhint: Tune interaction boosts
Change-Id: I2736da55bf4c917c43a2341351c3d5b33a190fa3
2023-09-11 21:34:03 +02:00
Adithya R
3f62dd6928 Spacewar: Fine-tune and cleanup powerhint
* adapt gpu freqs for lisa

Change-Id: I6b7d34c8a44561b739cd46859296390542da64e9
Signed-off-by: Karan Parashar <karan@pixelos.net>
2023-09-11 21:34:03 +02:00
bheatleyyy
2e77442f71 Spacewar: powerhint: Initial adaptation for yupik
Squashed:

dubai: powerhint: Setup uclamp boosting

- boosting uclamp on top-app seems to be more performing efficient boosting
  compared to directly boosting cpu min freqs. Needs further testing

Co-authored-by: basamaryan <basam.aryan@gmail.com>
Change-Id: I95f96a90345a4933ad53a56086e1906d00ff98a6
2023-09-11 21:34:03 +02:00
DennySPB
b7fbccf7a7 Spacewar: powerhint: Decrease launch boost to 3sec
* 5s is just too much long plus battery drainer

Signed-off-by: DennySPB <dennyspb@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I41d17b7e530d5eb146c79a46987a614f7d8ee655
Signed-off-by: clhex <clhexftw@protonmail.com>
2023-09-11 21:34:03 +02:00
Sebastiano Barezzi
754eeee357 Spacewar: powerhint: Remove unnecessary boosts
dubai: powerhint: Don't mess with UFS clkgate

Change-Id: Ifad2383bfb92260f97f6140cadae34b6ed60a4d4

dubai: powerhint: Drop EnergyAware node

Change-Id: I42adc40264df0b9c0b03c6862bb0c5703710254d

dubai: powerhint: Drop display early_wakeup node

Change-Id: I32707afebc486c17f41efceb0f8b95a0eae9f2e4

dubai: powerhint: Remove hints for Adaptive Battery CPU Throttling

Change-Id: Ibddd335c7ade110788e746132e7ba2fe84e95744

dubai: powerhint: Remove Google-specific camera hints

Change-Id: I06a83be233490f0b23cebd83bb71172b7044727b

dubai: powerhint: Remove audio hints

Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
Change-Id: I350286255c1906c8ccfa029a5717e72fb4c162e4

dubai: powerhint: Drop PM QoS boosting

Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
Change-Id: If2dba79844e8c429cd897f5030bfb210659e3afe

Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Co-authored-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
Co-authored-by: Nauval Rizky <enuma.alrizky@gmail.com>
Change-Id: Ibec9d01d29d537e97d75d29cfcecbe5026a64a67
2023-09-11 21:34:03 +02:00
kubersharma001
1bd46e43ca Spacewar: Import powerhint.json from coral
* From: https://android.googlesource.com/device/google/coral/+/android-11.0.0_r42/powerhint.json

Change-Id: I8dba2912afb27e0432bdce601ce38f2934bb0186
2023-09-11 21:34:03 +02:00
Wei Wang
54f61e8807 Spacewar: Remove QTI perfd
Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4
2023-09-11 21:34:03 +02:00
x0x00044
b592201a62 Spacewar: Import public.libraries.txt from NOS 1.5.5
Change-Id: Ibe6fc106fc4e2a81c6900d7e2cecf36f9a2173c8
2023-09-11 21:34:03 +02:00
Samyak Jain
4aad560384 Spacewar: audio: Remove 2 instance support for "primary input"
As FM app no longer uses app loopback,
2 instances of "primary input" is not needed

Change-Id: I7d5e941e916bdf221798ca89360e4751d4af322b
2023-09-11 21:34:03 +02:00
Steve Kondik
fe36e652c1 Spacewar: audio: Remove hw_acc effect
* Not used.

Change-Id: I68882a0435b8459031ae31ecc46af6bb62eacf17
2023-09-11 21:34:03 +02:00