575 Commits

Author SHA1 Message Date
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
Aaron Kling
0632aac9a9 Spacewar: Re-enable broken dup rules check
All failures of this have been resolved

Change-Id: I56a923ac90b98e63c093c8cb65cb1059dde57c49
2025-01-20 13:13:17 +01:00
Aaron Kling
3e933d0b0d Spacewar: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2025-01-20 13:13:17 +01:00
Cosmin Tanislav
79c4a6043a Spacewar: do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
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
Bruno Martins
ee86e65c71 Spacewar: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
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
Michael Bestas
067436f660 Spacewar: Use AOSP default Codec2/OMX ranks
debug.stagefright.ccodec=4
is the default value in frameworks.

debug.stagefright.omx_default_rank=0
was used to rank OMX SW codecs lower than OMX HW codecs
but we have removed all OMX SW codecs now.

Change-Id: Idf55ec02c2c0f4d2fa73f949cffef0d820a54570
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
Michael Bestas
fe97864436 Spacewar: Remove unused media_codecs
Change-Id: I944c5815b2f2566bcbf6a0930e67398b945dd6a2
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
Michael Bestas
58a32add72 Spacewar: Drop COMMON_LUNCH_CHOICES
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.

Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
2025-01-20 13:13:17 +01:00
DY3413
d000c4ac1c Spacewar: Use common libqti-perfd-client
- Add libqti-perfd-client namespace import

Change-Id: I9278d402937e87ebd06a91ad482982cb27a2b5fa
Signed-off-by: DY3413 <milosix3413@gmail.com>
2025-01-20 13:13:17 +01:00
Michael Bestas
dfc615804f Spacewar: Move to common power-libperfmgr
Change-Id: Ia5d5cd84d557d95ee447a321bc81e3c8fa2c2c11
2025-01-20 13:13:17 +01:00
luk1337
e69aa9ba93 Spacewar: Add extra blobs to make checkelf happy
Change-Id: I34945e373b62714538813cc0fd12ee8ad4f04e1f
2025-01-20 13:13:17 +01:00
BrainKub
886b3e304d Spacewar: Fix ELF check failures
Change-Id: I36b0b57c98ed2b5959f7c7ea66b8b7f31089ff1e
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-01-20 13:13:17 +01:00
Nolen Johnson
f5deb18212 Spacewar: Shim libwvdrmengine with libcrypto_shim as well
* libwvhidl's patch was resolving the symbol, but lets be proper.

Change-Id: Id30791bdacb0be7066618a7cb8f24eb8e9349281
2025-01-20 13:13:17 +01:00
Michael Bestas
4dade89a8f Spacewar: Patch libwfdservice to resolve duplicate dependencies
Fixes:
error: module "libwfdservice" variant
"android_arm_armv8-a_cortex-a76_static": depends on multiple
versions of the same aidl_interface:
android.media.audio.common.types-V2-cpp-source,
android.media.audio.common.types-V3-cpp-source

Change-Id: I8086a80fcc238d6b03d16640ee2c4e134129bbab
2025-01-20 13:13:17 +01:00
Michael Bestas
2e108eb3bb Spacewar: Switch to python extract-utils
Change-Id: Ida4b83459d9739ac880b26a91df974e1db8423e9
2025-01-20 13:13:17 +01:00
Beverly
2106ea55f0 Spacewar: overlay: Update pixel pitch
Bug: 319894241
Flag: ACONFIG com.android.systemui.device_entry_udfps_refactor DEVELOPMENT
Test: manual

Change-Id: Iaa9576cb95ebe73043b7030b2b176f67bc90e3a1
2025-01-20 13:13:17 +01:00
Bruno Martins
fef60069fa Spacewar: Convert WiFi firmware symlinks to install_symlink targets
The last bit that was preventing building hermetic images.

Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2025-01-20 13:13:17 +01:00
LuK1337
7b901309c8 Spacewar: Turn "64-bit" rfsa copy into symlink
Change-Id: I2d2be3e37d2618523937178480c4f3d433d1dee7
2025-01-20 13:13:17 +01:00
Bruno Martins
af63ca6067 Spacewar: Declare IMS libs as symlinks during extraction
Change-Id: Ia1b8097d28dd4888232fe383b830515b1b9bafaa
2025-01-20 13:13:17 +01:00
Michael Bestas
b1a0a63852 Spacewar: Shim widevine with libcrypto_shim
The following change
e202e51cb0
removed symbols that our libs require.

Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29
2025-01-20 13:13:17 +01:00
Michael Bestas
555679f727 Spacewar: Switch to AIDL USB HALs
Change-Id: I70f6a4e57eef577d86987bfae44f381a4f107624
2025-01-20 13:13:17 +01:00
BrainKub
efae8739d9 Spacewar: Allows glyphs app to access the virtual device manager service
E SELinux : avc:  denied  { find } for pid=2868 uid=1000 name=virtualdevice scontext=u:r:glyph_app:s0:c232,c259,c512,c768 tcontext=u:object_r:virtual_device_service:s0 tclass=service_manager permissive=0

Change-Id: I2574f502b5b4facdd16447fabdc77f0bc563f55d
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-01-20 13:13:17 +01:00
BrainKub
ca864426b1 Spacewar: Remove no longer built kernel modules
These modules are not built during kernel build.

Change-Id: I1a7316f2efced7ebea5203b873d55544e9e2b373
2025-01-20 13:13:17 +01:00
BrainKub
f71edf7372 Spacewar: rootdir: Import init.class_main.sh
This is necessary for correct initialization of the network when the device starts. Without this, starting the mobile network takes more than 2 minutes, which is unbearably long

Change-Id: Ic3e1e0b87b874fe34e2a4e83bd4cd1640234f456
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-01-20 13:13:17 +01:00
BrainKub
87ac41bf64 Spacewar: Fix sepolicy denials for glyph
Change-Id: Ib78fb9302563aef4ec1efeb0ba646d947440659d
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-01-20 13:13:17 +01:00
BrainKub
6a4d44ca6d Spacewar: Add permissions for led paths
Change-Id: I81ff5fbd214531360ee452d5a6de09afdc9050c4
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-01-20 13:13:17 +01:00
Bruno Martins
4df60e5d21 Spacewar: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2025-01-20 13:13:17 +01:00
Chirayu Desai
62f68427dd Spacewar: Disable UFFD GC
Unable to determine UFFD GC flag for kernel version "5.4.268-qgki".
You can fix this by explicitly setting PRODUCT_ENABLE_UFFD_GC to "true" or
"false" based on the kernel version.
1. Set PRODUCT_ENABLE_UFFD_GC to "true" if the kernel supports userfaultfd(2)
   and MREMAP_DONTUNMAP.
2. Set PRODUCT_ENABLE_UFFD_GC to "false" otherwise.

Change-Id: Ie77d9a86a7fe94e4cade1868ffea27194f724e03
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
Jake Weinstein
4dc939d6c8 Spacewar: Remove Adaptive display calibration
P3 has strange behavior, such as recent apps
changing colorspaces from P3 to sRGB.
This calibration doesn't look very good
on this device anyway.

Change-Id: I1e2359887ee7710fb14db2abf902f6ba32a4be08
2025-01-20 13:13:17 +01:00
Edwin Moquete
19b94acf58 Spacewar: Disable display refresh rate override
This got enabled by default on U, and it causes apps like
Chrome and Youtube to set the refresh rate to 30FPS when
playing some videos.

Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
2025-01-20 13:13:17 +01:00
DarkJoker360
9a7b1af81c Spacewar: Drop duplicate sepolicy label
Change-Id: I396d836f341fca4e7d6f0ca192cfe4504e59533f
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
2025-01-20 13:13:17 +01:00