RJ RAIJIN
f0a9fa1223
Spacewar: Fix Qti_Power_Hal logspam
...
* This fixes the following logspam:
E/ QTI PowerHAL: Failed to acquire lock for hint_id: 1040
E/ QTI PowerHAL: Failed to acquire lock for hint_id: 1041
E/ QTI PowerHAL: Failed to acquire lock for hint_id: 10A5
2026-01-14 23:37:40 +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
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
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
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
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
eblonmusk
00dd138e47
Spacewar: tune schedtune and cpuset params after boot complete
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
Chris Goldsworthy
0047765da7
Spacewar: rootdir: Reduce mlock() limit to 64 KB
...
Reduce the per-process limit of the mlock() family of system calls to
64 KB on account of a new CTS requirement.
Change-Id: I211668956bb6098e87cb7ef68bb7f1510d93d76f
2025-09-01 16:11:34 +00:00
Chris Goldsworthy
dc5619e0d2
Spacewar: rootdir: Remove redundant mlock() limit setting
...
The per-process limit for the mlock() family of system calls only
needs to be set in one group of config files. Remove from here as it
is being set in init.qcom.rc .
Change-Id: Ia7d46800eabe2954e3e2618a38ff180c88fee348
2025-09-01 16:11:34 +00:00
feiyuchen
07c8ee1523
Spacewar: rootdir: Add "system" group to Audio HAL
...
needed for using EdgeTpu.
Due to this code goes to AOSP, please see CL details and test result in
b/289097511#comment24.
Bug: 289097511
Change-Id: Ie0969309346cd85b4bb8ac71860a529710c73345
2025-09-01 16:11:34 +00:00
Andy Hung
00e40527f8
Spacewar: rootdir: Optimize for Spatial Audio
...
Add CAP_SYS_NICE.
Allow util_clamp_min for Spatializer Effect worker thread.
Reduce glitches caused by core migration.
Reduce power consumption as Spatializer Effect is DSP compute bound.
This change only affects Spatial Audio Effect processing.
Test: instrumented
Test: adb shell 'uclampset -a -p $(pgrep -of
android.hardware.audio.service)'
Test: adb shell cat "/proc/$(adb shell pgrep -of
android.hardware.audio.service)/status"
Test: adb shell 'ps -Tl -p $(pgrep -of android.hardware.audio.service)'
Bug: 181148259
Bug: 260918856
Bug: 261228892
Bug: 261686532
Bug: 262803152
Merged-In: I59ea99e8a1720f61954747f6c29e14cfea9a0f56
Change-Id: I59ea99e8a1720f61954747f6c29e14cfea9a0f56
2025-09-01 16:11:34 +00:00
Andy Hung
b4f96fdea2
Spacewar: rootdir: Enable RT priority inheritance
...
Test: instrumented
Bug: 181148259
Bug: 260918856
Merged-In: If56e449a9c6f1a49e372591893d8714534574e3a
Change-Id: If56e449a9c6f1a49e372591893d8714534574e3a
2025-09-01 16:11:34 +00:00
emilchung
45ecfdac2c
Spacewar: rootdir: add context_hub into audio hal group
...
While implementing the capo nanoapp for audio configuration, we met
some chre socket connected error due to the access group denied.
Add context_hub group for audio hal to connect chre socket.
go/capo-algo
Bug: 141128522
Bug: 149069556
Test: FULL build with audio hal part and local prebuilts nanoapp.
Test: Audio HAL communicates normally with CHRE socket.
Change-Id: Iea84411682f4c3e08f8b37a5b21818b0e9b04983
2025-09-01 16:11:34 +00:00
Lorenzo Colitti
c3aef1f0f2
Spacewar: Delete dhcpcd init entries, since dhcpcd is no more.
...
Bug: 27192644
Change-Id: I1aa25190c07f027884421d91c1e93f214493382d
2025-09-01 16:11:34 +00:00
Ethan Chen
eb9ea9dd7a
Spacewar: Remove wigig components
...
Change-Id: If730bffdf749f30ddf0dfeec8ce769848b19b17e
2025-09-01 16:11:34 +00:00
Bruno Martins
802ced871c
Spacewar: Move to QTI health AIDL service
...
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.
Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
2025-09-01 16:11:34 +00:00
DY3413
aadfe7950a
Spacewar: ueventd: Remove permission from /dev/st21nfc
...
Spacewar uses NXP NFC
Change-Id: I620d4b9b8eecfec515b8395b3774f377f41d99b8
2025-09-01 16:11:34 +00:00
Michael Bestas
f16bd3ee11
Spacewar: Build Lineage Health HAL
...
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
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
dianlujitao
ce10b6f8bb
Spacewar: Nuke ATFWD
...
It's normally not used at all.
Change-Id: Idb824b3b8c783b6ac962e604df05f9154beb4ed2
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
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
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
Alexander Koskovich
dd90f2d61f
Spacewar: Switch to /vendor_dlkm for kernel modules
...
* This lets us flash /vendor regardless of the kernel situation.
Change-Id: Ie1c18354b26006e416d06474f5844ceef3cfbaf3
2023-09-20 23:28:10 +02:00
Tim Zimmermann
39c98903c9
Spacewar: Switch to EROFS for /vendor and /odm
...
* No more disabling encryption
Change-Id: Id0bdda24542625875f24419b3b248b1a67879398
2023-09-20 23:27:59 +02:00
x0x00044
cf59a7f76e
Spacewar: Update from NothingOS 2.0.2 Hotfix build
...
- Update rootdir chowns
- Uppercase the device name again
Co-authored-by: aswin7469 <aswinas@pixysos.com >
Change-Id: I96d837889cdbd4cd9652a7f5d5e716c3767c8aca
2023-09-20 23:24:11 +02:00
Abhiprayah Tiwari
2bcb4fec91
Spacewar: init: Move testscripts file from main rc to test rc
...
Moving init.qcom.testscripts.sh service start from
init.qcom.rc to init.test.rc to prevent it from having
any signature in user builds.
Change-Id: Ifa69537f8394e0919d26d6db300910620278ed76
2023-09-11 21:34:03 +02:00
Ethan Chen
65f9d3ddfe
Spacewar: Remove unused LKCore service entries
...
Change-Id: I000d7a467d1313c7b0dadb4ec8272560ba363ea7
2023-09-11 21:34:03 +02:00
Ethan Chen
787f89fb0f
Spacewar: Do not override GLES version
...
Change-Id: I32513c3cf5e8d3b70bb0d674e13d785d1d03541a
2023-09-11 21:34:03 +02:00
Arian
2ad17a3815
Spacewar: rootdir: Don't start/import removed scripts
...
Change-Id: Iab1ce460122775fa885a0a484b1203757fe48a1e
2023-09-11 21:34:03 +02:00
Ethan Chen
61ffda7d93
Spacewar: Remove unnecessary QTI logkit directories
...
* We do not use logkit
Change-Id: I7719bbcebbd053addd16684926eff30d46b945d8
2023-09-11 21:34:03 +02:00
Arian
d57adb74e1
Spacewar: rootdir: Remove conditional starting of msm_irqbalance and don't disable it
...
Change-Id: I80965f5659bacbd8e373d572396712e41fbe2b73
2023-09-11 21:34:03 +02:00
Bruno Martins
4abebe1911
Spacewar: Delete class_main init shell script
...
Apart from useless battery capacity faking, all this does is to
start/stop data and radio services based upon the baseband type
of several QCOM targets. Since all the supported targets in this
common tree are of the same type, simply start all relevant services
unconditionally and get rid of one more shell script.
Change-Id: I1297b2537fcbea31d514bab5e248691cabdf523c
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
Melody Olvera
2f8a676ed7
Spacewar: rootdir: Remove debugfs
...
Change-Id: I210ce48935c6f56278b01b5b7cfba91baceb4c1e
2023-09-11 21:34:03 +02:00
Fabian Leutenegger
a698a8478e
Spacewar: Add permissions for more led paths
...
Change-Id: Ife039818545cd47bc80e9482d4f5e5b2d73dffee
2023-09-11 21:34:03 +02:00
Mohit Aggarwal
5afa8c62fc
Spacewar: time-services: Remove time_daemon rc definition
...
time_daemon starts from its own init rc
init: processing action (ro.crypto.state=encrypted && ro.crypto.type=file && post-fs-data) from (/vendor/etc/init/init.time_daemon.rc:7)
init: starting service 'time_daemon'...
Fixes:
ignored duplicate definition of service 'time_daemon'
Change-Id: Ia92d88eb2ec9696bc8ce075e74833cde572cb1e1
2023-09-11 19:54:36 +02:00
aswin7469
b8e38e9a0a
Spacewar: rootdir: kill some useless debug
...
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-09-11 19:54:36 +02:00
Alexander Koskovich
765c29c56e
Spacewar: init: Use task_profiles for vendor.audio-hal
...
Change-Id: I76ff226b7fe1b301b3492a924a39b7b2ff91d4b1
2023-09-11 19:54:36 +02:00
Arian
035f199ef6
Spacewar: Drop perf learning module
...
This depends on caf BoostFramework
Change-Id: I1d3e6750ecb88db83f265cc06b175cbc0cfb9726
2023-09-11 19:54:36 +02:00
Arian
31283ca607
Spacewar: Drop IO Prefetcher
...
This depends on caf BoostFramework
Change-Id: Ie3ea41f7be323472124a395b8fee52aa7333c2fc
2023-09-11 19:54:36 +02:00
x0x00044
b4e2c6c944
Spacewar: Update to NothingOS 1.5.6
...
Co-authored-by: hiper25 <2243168976@qq.com >
Co-authored-by: aswin7469 <aswinas@pixysos.com >
Change-Id: I87c4254383459007aca00107d14f86f01fd16760
Signed-off-by: x0x00044 <zlewchan@outlook.com >
2023-09-11 19:54:36 +02:00
a-huk
20867c4e11
Spacewar: init: Disable adsprpcd
...
It is crashing and spamming logcat:
09-06 16:49:05.988 787 18832 I adsprpcd: vendor/qcom/proprietary/adsprpc/src/log_config.c:407: file_watcher_thread exiting for domain 0
09-06 16:49:05.998 787 787 I adsprpcd: vendor/qcom/proprietary/adsprpc/src/rpcmem_android.c:191: rpcmem_deinit_internal: closed ION fd 5
09-06 16:49:05.998 787 787 I adsprpcd: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2787: fastrpc_apps_user_deinit done
09-06 16:49:06.000 787 787 E adsprpcd: vendor/qcom/proprietary/adsprpc/src/adsprpcd.c:48:adsp daemon will restart after 25ms...
09-06 16:49:06.039 787 787 I adsprpcd: vendor/qcom/proprietary/adsprpc/src/rpcmem_android.c:158: rpcmem_init_internal: opened ION device fd 5, configured heap IDs: system (0x2000000), contig (0x400000), secure (0x200), secure flags (0x80080000)
09-06 16:49:06.039 787 787 I adsprpcd: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2847: fastrpc_apps_user_init done
09-06 16:49:06.039 787 787 I adsprpcd: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1237: remote_handle_open: Successfully opened handle 0x0 for '":;./\attachguestos on domain 0
09-06 16:49:06.041 787 18833 I adsprpcd: vendor/qcom/proprietary/adsprpc/src/listener_android.c:111: listener thread starting
09-06 16:49:06.041 787 18834 I adsprpcd: vendor/qcom/proprietary/adsprpc/src/log_config.c:345: file_watcher_thread starting for domain 0
09-06 16:49:06.041 787 18834 E adsprpcd: vendor/qcom/proprietary/adsprpc/src/log_config.c:268:Error 0x200: fopen failed for /vendor/lib/rfsa/adsp/adsprpcd.farf. (No such file or directory)
09-06 16:49:06.041 787 18834 E adsprpcd: vendor/qcom/proprietary/adsprpc/src/log_config.c:268:Error 0x200: fopen failed for /vendor/dsp/adsprpcd.farf. (No such file or directory)
09-06 16:49:06.041 787 787 E adsprpcd: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1125: Error 0x4e: remote_handle64_invoke failed for handle 0xbbab82d0, method 4 on domain 0 (sc 0x4010100) (errno Success)
09-06 16:49:06.041 787 787 E adsprpcd: vendor/qcom/proprietary/adsprpc/src/adspmsgd.c:112:Error 0x4e: adspmsgd_init failed for handle 0xbbab82d0 filter 16 with errno Success
09-06 16:49:06.041 787 787 E adsprpcd: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1125: Error 0x4e: remote_handle64_invoke failed for handle 0xbbab82d0, method 3 on domain 0 (sc 0x3000000) (errno Operation not permitted)
04-05 08:35:52.265 941 14909 E android.hardware.camera.provider@2.5-service_64: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1191: Error 0x8000040d: remote_handle_invoke failed for handle 0x3, method 4 on domain 3 (sc 0x4020200) (errno Success)
04-05 08:35:52.266 941 14909 E android.hardware.camera.provider@2.5-service_64: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1191: Error 0x8000040d: remote_handle_invoke failed for handle 0x3, method 4 on domain 3 (sc 0x4020200) (errno Success)
04-05 08:35:52.266 941 14909 E android.hardware.camera.provider@2.5-service_64: vendor/qcom/proprietary/adsprpc/src/listener_android.c:221:Error 0x8000040d: listener response with result 0x0 for ctx 0x2566, handle 0x183279e8, sc 0xffffffff failed : listener thread exited (errno Success)
04-05 08:35:52.266 941 14909 E android.hardware.camera.provider@2.5-service_64: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1213: Error 0x8000040d: remote_handle64_invoke failed for handle 0x7b22cb30, method 3 on domain 3 (sc 0x3000000) (errno Success)
04-05 08:35:50.739 941 14911 E android.hardware.camera.provider@2.5-service_64: vendor/qcom/proprietary/adsprpc/src/log_config.c:268:Error 0x200: fopen failed for /vendor/lib/rfsa/adsp/android.hardware.camera.provider@2.5-service_64.farf. (No such file or directory)
04-05 08:35:50.739 941 14911 E android.hardware.camera.provider@2.5-service_64: vendor/qcom/proprietary/adsprpc/src/log_config.c:268:Error 0x200: fopen failed for /vendor/dsp/cdsp/android.hardware.camera.provider@2.5-service_64.farf. (No such file or directory)
04-05 08:35:50.739 941 14911 E android.hardware.camera.provider@2.5-service_64: vendor/qcom/proprietary/adsprpc/src/log_config.c:268:Error 0x200: fopen failed for /vendor/dsp/android.hardware.camera.provider@2.5-service_64.farf. (No such file or directory)
04-05 08:35:50.645 941 14779 E android.hardware.camera.provider@2.5-service_64: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1191: Error 0x8000040d: remote_handle_invoke failed for handle 0x3, method 4 on domain 3 (sc 0x4020200) (errno Success)
04-05 08:35:50.646 941 14779 E android.hardware.camera.provider@2.5-service_64: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1191: Error 0x8000040d: remote_handle_invoke failed for handle 0x3, method 4 on domain 3 (sc 0x4020200) (errno Success)
04-05 08:35:50.646 941 14779 E android.hardware.camera.provider@2.5-service_64: vendor/qcom/proprietary/adsprpc/src/listener_android.c:221:Error 0x8000040d: listener response with result 0x0 for ctx 0x2170, handle 0x183279e8, sc 0xffffffff failed : listener thread exited (errno Success)
04-05 08:35:50.646 941 14779 E android.hardware.camera.provider@2.5-service_64: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1213: Error 0x8000040d: remote_handle64_invoke failed for handle 0x7b22cef0, method 3 on domain 3 (sc 0x3000000) (errno Success)
Change-Id: I0f62bd33fc17640f170b21cd847ac8bdca415e13
2023-09-11 19:54:36 +02:00
aswin7469
5a83ea4b1a
Spacewar: Remove unused fastcharge hax
...
* NOS 1.5 doesnt have slow charge mode
Change-Id: Iad56438e9e8f80aed4deb2427c90a86736e2e3c7
2023-09-11 19:54:36 +02:00