Commit Graph

413 Commits

Author SHA1 Message Date
Omkar Chandorkar
4f04aaa486 Spacewar: sepolicy: label camera blobs
Change-Id: Iff82e7a62c05c0f1e9a1c269c6a6266704c3ddd2
2025-03-20 15:19:54 +00:00
xenxynon
048bc45558 Spacewar: add more camera blobs
Change-Id: If0ae59ef1d845f1d37373b4a81e92265c608d063
Signed-off-by: xenxynon <flynryder427@gmail.com>
2025-03-20 15:19:54 +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
xenxynon
c4b3fde531 Spacewar: patch com.qti.chi.override.so to load libcamera_metadata_shim
Change-Id: Ic51e05b48fa821cb5c18223c10ed07d859b4bc5e
2025-03-20 15:19:54 +00:00
xenxynon
358a3ac8be Spacewar: allow platform_app to read audio_config_prop
* 02-05 18:15:40.846 W/.nothing.camera(29563): type=1400 audit(0.0:794): avc:  denied  { read } for  name="u:object_r:audio_config_prop:s0" dev="tmpfs" ino=2153 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:audio_config_prop:s0 tclass=file permissive=0 app=com.nothing.camera

Change-Id: Ibb6be84ff1821f10405eac8db15bc1b30e843165
2025-03-20 15:19:54 +00:00
chandu078
802712e2ce Spacewar: Fix denials for Nothing Camera
Change-Id: I6f10faa814b8b2725dae24ff563f2c91114fb49e
2025-03-20 15:19:54 +00:00
xenxynon
937f514b86 Spacewar: include nothing camera
Change-Id: Ia303bdc8db3a152da8304da25a95f2a91f3657d2
2025-03-20 15:19:41 +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
Cosmin Tanislav
909cdec5e1 Spacewar: disable brightness slider gamma conversion
Change-Id: Ia9a9d8e98053bcdbfccbee5fe2bdb0b030e7b60f
2025-03-04 20:52:45 +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
c8a598f1c6 Spacewar: build GlyphAdapter
It is necessary for interaction with applications using glyphsdk. Tested in Glyph Composer and gliphify

Change-Id: Ib9260aac3355c3b3833b3d39f7da619be00a757e
2025-03-01 17:29:59 +00:00
dianlujitao
4fd5440084 Spacewar: move to aidl bootctrl hal
Change-Id: I50fd09148097f0cda03c1a105340a3fd5f55ce8d
2025-03-01 13:04:21 +00:00
Bruno Martins
353baa6bac Spacewar: Use aidl sensors multihal
Change-Id: I21da3da39e9726dca693d6bcbe42e93be861f7c7
2025-02-14 21:37:24 +00:00
Bruno Martins
9fd01a444d Spacewar: sepolicy: Remove duplicate snxxx AIDL rules
These are now part of qcom/sepolicy_vndr.

Change-Id: I709c29e827d51e22507027862a56cca1efcdc984
2025-02-14 00:50:53 +03:00
Michael Bestas
66ddb477c6 Spacewar: Drop libvulkan target that is built by default
Change-Id: Ic5d73508b850fac7c7427caf12eb4a8e87e3deca
2025-02-09 18:17:49 +00:00
Michael Bestas
0dccd2bf33 Spacewar: Don't build libtinyxml
Not used anywhere

Change-Id: I95d2296321b8f597fbf12bd3f57b4b2f512008f1
2025-02-09 18:17:31 +00:00
Wiktor Rudzki
b2e489b98c Spacewar: Remove useless libperfmgr label
Common one is now being used.

Change-Id: I3c9dd34146bc64b1ae548ed5427753e25e0d8e96
2025-02-09 16:14:21 +01:00
LuK1337
a5c3f1d2af Spacewar: Switch to common lights HAL
Change-Id: If515e7c3f6e5b6895076f1d8381fb2c22bd1b3de
2025-02-09 16:14:02 +01:00
BrainKub
f9f3115c27 Spacewar: Update CarrierConfig from NOS 3.0
Change-Id: I87233c5d943f8aa74bc683e41e437ac18ec540cc
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-02-09 16:12:59 +01: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
Cosmin Tanislav
1c778d4b03 Spacewar: let vibrator service access richtap dev
Change-Id: I19cf413ebe128ac952e2f5237907b7bb7afcbc7f
2025-02-01 21:32:36 +01:00
Cosmin Tanislav
251be0e2e9 Spacewar: import vendor namespace
For libaacvibrator.

Change-Id: If961a25831f3b6115171aaf6cf5b415257aa24bf
2025-02-01 21:31:03 +01:00
BrainKub
270058b238 Spacewar: Import Richtap blobs
Use libaacvibrator from eqs, because ours isn't working on AOSP

Change-Id: If4295efc5fd665d229bdba5757971b63ff5ef6ad
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-02-01 21:27:21 +01:00
Cosmin Tanislav
29292fa394 Spacewar: implement richtap vibrator service
Change-Id: Ieab0cfca22c0fd8a63c33ce2a6a21e982e57aee8
2025-02-01 21:05:42 +01:00
Michael Bestas
7988896784 Spacewar: Add firmware extraction support
Change-Id: If6cb6334a8f7b2fcc77c8947569eba1b2002190a
2025-01-22 21:00:42 +01:00
Michael Bestas
f16bd3ee11 Spacewar: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2025-01-20 13:13:17 +01:00
BrainKub
b4040a29bc Spacewar: import Nt feature props
Needed by nothing-fwk

Change-Id: Ia117483da1d9a54d76366e11b9e136ef2d1947a2
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-01-20 13:13:17 +01:00
Wiktor Rudzki
f1f2697dce Spacewar: Inherit nt-fwk makefile
Needed by HotwordEnrollment

Change-Id: I048108091d74a57166f5e506f8c0979d604f2a23
2025-01-20 13:13:17 +01:00
LuK1337
2545ab2eb9 Spacewar: Move WfdCommon boot jar declaration to vendor
Change-Id: I8fa2c0f64692873b432cc252ec88b388a32023a1
2025-01-20 13:13:17 +01:00
BrainKub
275fe6f6bc Spacewar: Update from NothingOS 3.0 Release
Change-Id: I835119e04f35171f6f9c1e7c11f9e8910e8b59ce
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-01-20 13:13:17 +01:00
BrainKub
b95e07609f Spacewar: Sepolicy: allow glyph app to access battery supply
Change-Id: Ifdbe1061ded2888140022b21eac589d44ca483c8
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-01-20 13:13:17 +01:00
saku-bruh
418670facd Spacewar: Allow lineage powershare to acces battery supply
W powershare@1.0-: type=1400 audit(0.0:17): avc:  denied  { search } for  name="qcom-battery" dev="sysfs" ino=102870 scontext=u:r:hal_lineage_powershare_default:s0 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0

Change-Id: If8e2894548a004dea4ca27c7e1f5d09477012222
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-01-20 13:13:17 +01:00
Wiktor Rudzki
b87b03c010 Spacewar: Nuke nothingparts sepolicy
We don't use this app anymore.

Change-Id: Ia429f7a25fb37f8292fe9fac40709d32377ea543
2025-01-20 13:13:17 +01:00
Michael Bestas
d194de4f11 Spacewar: Migrate mount point creation out of Android.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-01-20 13:13:17 +01:00
Paul Crowley
2b3e602d13 Spacewar: Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
2025-01-20 13:13:17 +01:00
Sebastiano Barezzi
e0f7d49791 Spacewar: overlay: Configure additional camera framerates
Change-Id: I51efca86d2169c01fb96af97ef9fe250e2b221ed
2025-01-20 13:13:17 +01:00
Vivekachooz
67d09c99d7 Spacewar: Completely move to prebuilt audio
Change-Id: I947216297237da965617d09d74542106b6a804df
2025-01-20 13:13:17 +01:00
LuK1337
7713b48011 Spacewar: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2025-01-20 13:13:17 +01:00
Wiktor Rudzki
320c9acf44 Revert "Spacewar: Declare BOARD_VENDOR"
Not needed anymore.

This reverts commit 053c064f24.

Change-Id: I28aa460ab81f0c2dd99e77fa3802588e117f04a5
2025-01-20 13:13:17 +01:00
Alexander Koskovich
3342929cf5 Spacewar: CarrierConfigOverlay: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
2025-01-20 13:13:17 +01:00
Sebastiano Barezzi
6e382cd579 Spacewar: rootdir: Move to Android.bp
Change-Id: I28c3cb806d47e0e2c4f1fc0cf909d90638f2d2af
2025-01-20 13:13:17 +01:00
dianlujitao
ce10b6f8bb Spacewar: Nuke ATFWD
It's normally not used at all.

Change-Id: Idb824b3b8c783b6ac962e604df05f9154beb4ed2
2025-01-20 13:13:17 +01:00
Michael Bestas
7064ecf26b Spacewar: Libraries are now automatically added to PRODUCT_PACKAGES
Change-Id: Ie92fe02b7e6279195bf28944942c815db773b798
2025-01-20 13:13:17 +01:00
Nolen Johnson
0997ca72bc Spacewar: overlay: Drop OtaShowListeningScreen
This does nothing in Lineage, even with GMS.

Change-Id: I3dd4390bb10e6c2e9d9f619080d5fef9f98fe71f
2025-01-20 13:13:17 +01:00
LuK1337
f78a04018e Spacewar: Remove send_mic_mute_to_AudioManager overlay
* send_mic_mute_to_AudioManager hasn't been doing anything
  since Android 4.4, therefore there's no reason to keep it.

Change-Id: I74ed33265fccd59def5c2f9e67a9e8a28ce4dbc9
2025-01-20 13:13:17 +01:00
Georg Veichtlbauer
00ada9b28b Spacewar: overlay: Update deprecated screen power items
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
2025-01-20 13:13:17 +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