Commit Graph

545 Commits

Author SHA1 Message Date
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
OliverSyx
7174c52149 spacewar: Use hwui and add some hwui props for improve perf 2026-01-14 23:36:49 +03:00
MySelly
e6072b52ee spacewar: Enable debug.performance.tuning 2026-01-14 23:35:54 +03:00
Cyber Knight
9e5f39d735 spacewar: Apply dex2oat optimizations
- Set only 4 threads to be utilized for dex2oat as dex2oat supports concurrent jobs since [1].
- Moreover, set only 4 threads to be utilized for boot image dex2oat as well.

[1]: 93c605c0d6

Change-Id: I8cf2544efeb4cd0c9befbaa2c208eed68c4204ac
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2026-01-14 23:35:54 +03:00
Jabiyeff
977bc57197 spacewar: Force disable iorapd
* Its eating more RAM and slow down device
* Thanks for CAFEBABE find this

Change-Id: I648564f842033810a376661ecf2c8719e4137e1b
Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
Signed-off-by: rayrzy <vrayananda@yahoo.com>
2026-01-14 23:35:54 +03:00
Ghosuto
91b0da6fd0 spacewar: overlay: Enable screen-off UDFPS support 2026-01-14 23:35:54 +03:00
Danny Lin
6b0fd2ac6c spacewar: properties: ro.sf.blurs_are_expensive 1
We need to boost the GPU for smooth high-radius blurs as blurring is an
expensive rendering job.

Change-Id: Ia3968313601d2b04ce50c01ee61dc9944ee26187
2026-01-14 23:35:54 +03:00
nyxalune
98dc9ecfd8 Spacewar: optimize it 2026-01-14 23:35:54 +03:00
nyxalune
a3f20c8107 Spacewar; enable LTO and O3 flags 2026-01-14 23:35:54 +03:00
eblonmusk
b5a3dcc86b Spacewar: props: For smoother scrolling and better responsiveness 2026-01-14 23:35:54 +03:00
eblonmusk
6a95619573 Spacewar: Enable usage of dex2oat64 2026-01-14 23:35:54 +03:00
eblonmusk
6eb772d170 Spacewar: enable pre-rendering 2026-01-14 23:35:54 +03:00
eblonmusk
00dd138e47 Spacewar: tune schedtune and cpuset params after boot complete 2026-01-14 23:35:54 +03:00
Alexander Koskovich
21c14aab67 Spacewar: overlay: Use CarrierConfig CSP boolean.
* Overlay was deprecated a while ago for this

Change-Id: I6e23a5063681c576f6a32378d82b20c943cf8f15
2026-01-14 23:35:54 +03:00
Wiktor Rudzki
a27f225d85 Spacewar: Remove deprecated vibration patterns
These patterns have been removed in the following change
595277d3b6

Change-Id: I3119a4af1989fd47c18188c372dad54c8886c1c8
2026-01-14 23:35:54 +03:00
Michael Bestas
ced0225a59 Spacewar: Remove deprecated config_mobile_tcp_buffers/networkAttributes
Change-Id: Ieda947e283cde11cf74a01dc1b438e1deeb902c9
2026-01-14 23:35:54 +03:00
Michael Bestas
a3f4928389 Spacewar: Align pinner files with Pixel
Change-Id: Ifca8a28ea579af3508100760171b5009331d35e4
2026-01-14 23:35:54 +03:00
kyasu
3ef15c707d Spacewar: Disable thumbnail_block_model of libstagefright
Fixes loading of preview images (for example, in Telegram)

Change-Id: I86f92335af282d3de508150bbbcb3026993ec48c
2026-01-14 23:35:54 +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