Commit Graph

563 Commits

Author SHA1 Message Date
Adithya R
ef02dd1eed Spacewar: Silence some spammy logging
HWC and cit sensor logspam is so intense it bumps up logd's idle CPU
usage up to over 3%. With this change, logs are much cleaner and logd
idle CPU usage is reduced to under 1%, while still allowing error logs
to pass through.
- Do this only in user/debug builds (except eng).
- Add wifi and cnss too while we're at it, they can get noisy at times.
2026-01-14 23:37:40 +03:00
Bruno Martins
e6dfc68280 Spacewar: overlay: Enable config_proximityCheckOnFpsUnlock
The device ships with PocketMode app, which effectively disables
listening to fingeprints in case the proximity sensor is covered.

Change-Id: If67a0a98c753726ae2eed4d76e073275d7ae74da
2026-01-14 23:37:40 +03:00
Subratam6296
42e9e8b022 Spacewar: overlay: Add overlay to improve signal reception
Signed-off-by: kssrao13882 <kssrao13882@gmail.com>
2026-01-14 23:37:40 +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
aswin7469
042f9712cd Spacewar: Update bluetooth properties from NOS 3.2
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2026-01-14 23:37:40 +03:00
aswin7469
e6d89ef9d4 Spacewar: Update auto brightness values from NOS 3.0
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2026-01-14 23:37:40 +03:00
Michael Bestas
7d4b1939b2 Spacewar: sepolicy: Remove duplicate labels
Change-Id: I3575e6bad93b2f9d69f94033944c44b7f9fbc243
2026-01-14 23:37:40 +03:00
LuK1337
bf96ed196f Spacewar: Remove vendor/lineage device framework matrix inclusion
See: I78da6340f38b93fdc4c3694cb8f431f387d16c0d
Change-Id: I0b9f527de50ca02082be9b92375559f4893b2688
2026-01-14 23:37:40 +03:00
nyxalune
24cba99fd6 Spacewar: Set EPPE 2026-01-14 23:37:40 +03:00
Vikas batchu
49130c82bc Spacewar: Disable game_default_frame_rate override
-- this feature overrides fps during game play to a
   constant value irrespective of actual game frame rate
   which is not appropriate.

Change-Id: If072c09dd1f448648eef6199fdebff3853145412
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
Michael Wright
6ce821b470 Spacewar: overlay: Enable haptic text cursor
Support has landed in WebView, so time to turn it on in framework!
2026-01-14 23:37:39 +03:00
Dan Pasanen
59c7d065ba Spacewar: overlay: Enable config_vibrateOnIconAnimation
* need those sexy vibes.
2026-01-14 23:37:39 +03:00
nyxalune
27e1b0ec23 Spacewar: Update BuildFingerprint 2026-01-14 23:37:39 +03:00
ShevT
4e8be25f75 Spacewar: init: Leds permissions
Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
2026-01-14 23:37:39 +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
Maitreya25
f81802c1b3 Spacewar: Tweak input boost
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2026-01-14 23:37:39 +03:00
Adithya R
6e4d87407f Spacewar: rootdir: Import cgroup tuning from gs101
Change-Id: I1836d414cc61da1a749ee163a2c6922cc5f7701e
Signed-off-by: Karan Parashar <karan@pixelos.net>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2026-01-14 23:37:39 +03:00
Martin Liu
7fc45986dd Spacewar: adjust thread count and cpuset after setup wizard
Test: check dex2oat settings
Bug: 150665820
Change-Id: Idd43a1e7cd0be71d2c766b2b8cc70f8e0fdfb066
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
Jake Weinstein
86a5c00976 Spacewar: Configure schedutil up/down rate limit
With this change, the schedutil governor
has to wait 500 microseconds to increase
frequencies and 20 milliseconds to decrease
frequency. It improves performance at a
slight cost to power.

Change-Id: Ied25fc112cbb49d70ea496e0beded612478ef897
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2026-01-14 23:37:39 +03:00
Jake Weinstein
f6de4b9723 Spacewar: Move background cpuset to CPU0-1
Background tasks are not UX-critical.
Free up cores to work on more important
UX tasks.

Change-Id: I01b17f15256a95513b59fd1c7d9d6d71979cebcc
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2026-01-14 23:37:39 +03:00
Jake Weinstein
9d7302530c Spacewar: Increase CPU Boost duration from 120ms to 200ms
Increases scroll responsiveness

Change-Id: Id8d174f7dd2944510291afa0e99e412cb9d35873
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2026-01-14 23:37:39 +03:00
Jake Weinstein
ae7aea7d1c Spacewar: rootdir: Manually place msm_drm and msm_kgsl_3d0 IRQs
After unbalancing, move these IRQs to separate cores
to improve latency.

Change-Id: Ib1c22f9c8d8c00cf74351099e88fbb5ae70e9114
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
New Author Name
0ac88c2c0f spacewar: Expose aux cameras to com.snapchat.android 2026-01-14 23:37:39 +03:00
nyxalune
dc5658d409 Spacewar: sepolicy: Remove duplicate aac_richtap_dev_device_declaration 2026-01-14 23:37:39 +03:00
nyxalune
1da7c58a3a S0acewar: sepolicy: Migrate to soong_config for camera override
Replace deprecated TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED with soong_config_det as per build syst requirements
2026-01-14 23:37:39 +03:00
John Galt
b31209173f Spacewar: CameraProvider: set saner values
Set max to a saner of 200.

Also prior to this change, 80 was default for torch, so set 80 as
default.

Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
2026-01-14 23:37:39 +03:00
John Galt
cb57c98d7d Spacewar: camera: add enabled bool for finished workarounds
Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
2026-01-14 23:37:39 +03:00
bengris32
0ae35d08d3 Spacewar: camera: Implement setTorchModeExt
Change-Id: Id61420be75b7efd1d13a4b0ee1d103ebd3835516
Signed-off-by: electimon <electimon@gmail.com>
Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
2026-01-14 23:37:39 +03:00
bengris32
07752625fb Spacewar: camera: Implement supportsSetTorchModeExt
Change-Id: I2ec2f4a30723763e6123a1b742468752f38e3d2f
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
2026-01-14 23:37:39 +03:00
Dhina17
a23b24d3b7 Spacewar: Implement Torch Light Brightness Control
Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
2026-01-14 23:37:39 +03:00
nyxalune
d8f9400b4d Spacewar: update build flags 2026-01-14 23:37:39 +03:00
nyxalune
9e3551751a Spacewar: cleanup!
Revert "spacewar: Fix screen record lag"

This reverts commit 5d7b9103de.

Spacewar: cleanup! again! haha.

Spacewar: cleanup

Revert "Spacewar: sepolicy: Allow PowerOffAlarm app to find alarm service"

This reverts commit bcf41ef21e5687e782d0af3f1ac9e82389e6cd05.
2026-01-14 23:37:39 +03:00
Ghosuto
f814a8b5db Spacewar: Set SurfaceFlinger uclamp.min to 20%
- improved rendering stability

Signed-off-by: Ghosuto <clash.raja10@gmail.com>
2026-01-14 23:37:39 +03:00
(Dyneteve
6cc5930d12 Spacewar: Enable AOSP surfaceflinger
- AOSP SurfaceFlinger is smoother than CAF

Change-Id: Id671da2363fb09303a7d7241d5ae95e55ff16475
2026-01-14 23:37:39 +03:00
Jaegeuk Kim
3ca6146b60 Spacewar: fstab: set readahead_size_kb=128 to data
This can avoid memory pressure.

Bug: 181567573

Change-Id: I654c4d3bf24fa741c3fb0255431a26d8dcf5f153
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2026-01-14 23:37:39 +03:00
Sanjivns
f956d2af59 spacewar: prop: Add a property to enable prefetching video
persist.mm.enable.prefetch, if set to true, will enable
prefetching of video input from upstream source to help
improve playback performance for high frame-rate and
high bitrate content

Signed-off-by: Hikari-Soni <247soni01@gmail.com>
Signed-off-by: Drenzzz <naufalnazya@gmail.com>
Signed-off-by: Omar Mohamed <omarcoptan9@gmail.com>
Signed-off-by: Sanjivns <113604406+Sanjivns@users.noreply.github.com>
2026-01-14 23:37:38 +03:00
kenway214
952c1373ae spacewar: display: Fix HDR functionality by enabling Vulkan
This commit resolves an issue where High Dynamic Range (HDR) content
was not being displayed correctly on peridot after android 15 qpr2
The problem stemmed from Vulkan graphics API support not being
enabled in the device's build configuration. While the device's
hardware (SM8635) natively supports Vulkan, the ROM's build system
was not configured to include or link against the required Vulkan
libraries and Hardware Abstraction Layers (HALs).
By adding  to the device's BoardConfig,
the Android build system now correctly compiles and integrates Vulkan
support. This enables the display framework and underlying vendor HALs
to utilize Vulkan, which is essential for the device's HDR pipeline.
An observation post-fix is the change in how SurfaceFlinger processes
HDR content. Initially, when viewing HDR content, SurfaceFlinger reported
, which typically corresponds to HAL_DATASPACE_BT709
or SRGB_LINEAR, meaning the content was treated as standard dynamic range (SDR).
After enabling Vulkan, the same application layer now correctly shows
 (HAL_DATASPACE_BT2020_PQ), which is the
appropriate dataspace for HDR10 (Perceptual Quantizer) content.
After this change, HDR content is now rendered perfectly, confirming
its dependency on a fully enabled Vulkan graphics stack.

Signed-off-by: kenway214 <kenway214@outlook.com>
Signed-off-by: AnilShebin <anilshebin@gmail.com>
2026-01-14 23:36:53 +03:00
ghostrider-reborn
7f46887233 spacewar: Enable frame pacing for smoother visual performance
- Enabled `vendor.perf.framepacing.enable` to improve visual smoothness by regulating frame timing. This enhancement ensures consistent frame delivery, reducing stuttering and enhancing overall visual quality, particularly in graphics-intensive applications such as games.

Signed-off-by: TogoFire <togofire@mailfence.com>
Signed-off-by: ihsan <ihsanulrahman@gmail.com>
Signed-off-by: Niranjan BR <niranjankannan2003@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
Signed-off-by: ryzenforce990 <superxorn@horizondroid.com>
2026-01-14 23:36:53 +03:00
pjgowtham
6585cc85a4 spacewar: Disable logging sensors-hal events
This sets log_level to 0

This is done especially to disable spammy logging of ambient light sensor events.
2026-01-14 23:36:53 +03:00
Guidix
a890c45033 spacewar: props: Enable support for kernel idle timer
- Kernel idle time enabled, as it supports better power management
2026-01-14 23:36:53 +03:00
imjyotiraditya
b46f0a4a98 spacewar: props: Enable config_avoidGfxAccel
- This flag turns off GPU/CPU intensive UI effects and
  reduces the RAM footprint.

- Using this is a better compromise than the 'low_ram' flag
  as this does not disable features in the rom but still
  reduces RAM usage and gives better smoothness in the UI.
 android-15
2026-01-14 23:36:53 +03:00
Ghosuto
3e90f0238c spacewar: Add burn-in protection for statusbar and navbar 2026-01-14 23:36:53 +03:00
KenHV
22cfd8a991 spacewar: Fix screen record lag 2026-01-14 23:36:53 +03:00
ZVNexus
f1552a29c5 spacewar: Enable Qualcomm TrueWireless™ Stereo 2026-01-14 23:36:53 +03:00
LuK1337
638d2fa93e spacewar: Set ro.netflix.bsp_rev
* This prop makes Netflix select L1 instead of L3.

Change-Id: Idc0368803ca082e99392fb136f2cdc41a4cb0c87
2026-01-14 23:36:53 +03:00
sirNewbies
2af6b1ac4d spacewar: props: Enhance Audio Quality 2026-01-14 23:36:53 +03:00