501 Commits

Author SHA1 Message Date
me-cafebabe
d7a25d2828 veux: overlay: Disable high performance transitions
Partially picked from I3663bdeb0fdc23d0b0044fe9dfc8baf3a0c5be10.

Change-Id: Ida4e02e2bbe40e8fd7a74ed77f90190f7bda56bc
2025-12-19 17:25:55 +01:00
Michael Bestas
c62e935962 veux: sepolicy: Remove commonized vendor_nfc_prop definition
Change-Id: I336f8ecd48dc111aba762e4bccf635d767a12b12
2025-11-25 00:02:30 +01:00
LuK1337
37728b0c77 veux: Opt out of speaker_layout_channel_mask field
Required for ABI compatibility with audio HAL compiled before 15 QPR2.

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/9426
Change-Id: Ic910f0634ee0707c21dad77f5264fd89fb33f1c0
2025-11-17 11:22:20 +01:00
Alexander Winkowski
0a994d9a07 veux: Increase timeout for waiting AudioPolicy service
Starting from Android 15 QPR2, the following error may occur on boot:

05-07 08:30:39.558  1587  1587 D AudioSystem: getService: checking for service media.audio_policy: 0x0
05-07 08:30:39.558  1587  1587 E AudioProductStrategies-JNI: AudioSystem::listAudioProductStrategies error -32
05-07 08:30:39.558  1587  1587 W AudioProductStrategy: : initializeAudioProductStrategies failed

It results in SystemUI crash when playing voice messages and some other media content:

05-07 08:31:28.497  2035  2035 E AndroidRuntime: FATAL EXCEPTION: main
05-07 08:31:28.497  2035  2035 E AndroidRuntime: Process: com.android.systemui, PID: 2035
05-07 08:31:28.497  2035  2035 E AndroidRuntime: java.lang.RuntimeException: Null or empty currentSystemRoutes. Something is wrong.
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at android.media.MediaRouter2.loadSystemRoutes(MediaRouter2.java:664)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at android.media.MediaRouter2.<init>(MediaRouter2.java:643)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at android.media.MediaRouter2.findOrCreateProxyInstanceForCallingUser(MediaRouter2.java:436)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at android.media.MediaRouter2.getInstance(MediaRouter2.java:393)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at com.android.settingslib.media.RouterInfoMediaManager.<init>(go/retraceme 98c1d6b541fb48b642632a57fb1abda3fa1bc8c0067c3f3b805d743ecdfb8ef1:39)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at com.android.settingslib.media.InfoMediaManager.createInstance(go/retraceme 98c1d6b541fb48b642632a57fb1abda3fa1bc8c0067c3f3b805d743ecdfb8ef1:34)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at com.android.systemui.media.controls.domain.pipeline.MediaDeviceManager.onMediaDataLoaded(go/retraceme 98c1d6b541fb48b642632a57fb1abda3fa1bc8c0067c3f3b805d743ecdfb8ef1:120)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at com.android.systemui.media.controls.domain.pipeline.MediaDataManager$Listener.onMediaDataLoaded$default(go/retraceme 98c1d6b541fb48b642632a57fb1abda3fa1bc8c0067c3f3b805d743ecdfb8ef1:30)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at com.android.systemui.media.controls.domain.pipeline.MediaSessionBasedFilter$onMediaDataLoaded$1.run(go/retraceme 98c1d6b541fb48b642632a57fb1abda3fa1bc8c0067c3f3b805d743ecdfb8ef1:45)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:991)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:102)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:232)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:317)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:8934)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
05-07 08:31:28.497  2035  2035 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)

Increasing the timeout a bit fixes this issue.

Change-Id: I096895c5deca3984d9a1b30cc5e15d690e4844a8
2025-10-30 13:49:25 +01:00
Kuba Wojciechowski
b6eaaffa9c veux: Disable kpti
It can also help increase performance by a lot in some scenarios.

Change-Id: Ica465f586a44129047c266597316045fab762550
Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-10-25 18:29:50 +02:00
ahmedtohamy1
acecf1199a veux: Compile HWUI for performance
optimizing compiler flags for HWUI. * -fno-omit-frame-pointer, -marm, -mapcs

Signed-off-by: JaswalAshish <ashish@m.ms.evolution-x.org>
Change-Id: Ia141b59cd1334eede94cfbec5a66c2d0d7784cd4
2025-10-25 18:28:36 +02:00
ghostrider-reborn
8f4f2b1539 veux: overlay: Disable alpha compositing in WM
* Completely eliminates occasional jank in few animations

Change-Id: Ia4cb48664a52242374419a923d07fcf584fe50cf
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-10-25 18:27:37 +02:00
helliscloser
d7c04bd8bb veux: Explicitly disable "Enable GL comp backpressure"
When blur is enabled,
There is severe lag in; Launcher3 while scrolling apps in App drawer, Scrolling through recents and occasionally on QS pull down.

Enabling or completely removing the prop here d6233e0e7c doesn't seem to make an effect.
Explicitly disabling the "Enable GL comp backpressure" prop seems to slove the issue.

Lag & janks are gone now, even with blur.

Change-Id: Ia82d84d6ee867caa52ae93b72fbff132070bf808
Signed-off-by: helliscloser <mrumais@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-10-25 18:22:48 +02:00
TheMysticle
dc871ad9cc veux: Enable ADPF CPU hints for improved UI performance
Turns on `debug.sf.enable_adpf_cpu_hint` to allow SurfaceFlinger to utilize Android Dynamic Performance Framework CPU hints, improving overall UI responsiveness and frame pacing on Snapdragon devices.

Change-Id: Ia715ab89ffc8a18130904e5588f9e4b487a20faa
2025-10-25 18:19:11 +02:00
Ghosuto
59b402643a veux: Enable Client Composition Cache
- All latest soc use it by default. with this cache can improve performance by reusing composition, This can result in smoother UI performance and potentially lower power consumption

- cons: It does increase memory usage because the system needs to store these results, but its not a big issue cause most devices are 12gb ver. and fine for 8gb also

Signed-off-by: Ghosuto <clash.raja10@gmail.com>
2025-10-25 18:17:04 +02:00
johnmart19
33fd4ccc3f veux: Enable full ART optimizations with VDEX/ODEX
Enable comprehensive ART optimizations including VDEX and ODEX
generation for all system components to improve first-boot
performance and reduce application startup latency.

Configuration:
- WITH_DEXPREOPT := true          # Global dexpreopt enable
- DEX_PREOPT_DEFAULT := generate-vdex-and-image  # VDEX+ODEX gen
- WITH_DEXPREOPT_DEBUG_INFO := false  # Exclude debug symbols

Results:
- Verified generation of .odex files (optimized dex)
- Verified generation of .vdex files (verification dex)
- ART images created for core system components
- First boot time significantly reduced
- Application startup latency improved

Test procedure:
1. Full system build with 'm evolution' command
2. Verified artifacts in:
   - system/framework/oat/arm64/*.odex
   - system/framework/oat/arm64/*.vdex
   - system/app/*/oat/arm64/*.odex
   - system/priv-app/*/oat/arm64/*.vdex
3. Confirmed valid ART runtime loading during boot

Signed-off-by: johnmart19 <johnivan19999@gmail.com>
Signed-off-by: Quince <quinceroms@gmail.com>
2025-10-25 18:14:21 +02:00
Rve27
f390bd492a veux: Enable ScrollOptimizer
Change-Id: I1d415521e3e10839afb87f1c6691a6057deab797
Signed-off-by: Rve27 <rve27github@gmail.com>
Signed-off-by: Quince <quinceroms@gmail.com>
2025-10-25 18:13:16 +02:00
Mathieu Chartier
207ecf732b veux: Speed profile services and wifi-service to reduce RAM and storage
Signed-off-by: Mathieu Chartier <mathieuc@google.com>
Signed-off-by: Quince <quinceroms@gmail.com>
2025-10-25 18:11:41 +02:00
etylix
5564b6e66a veux: props: RIL edits for battery life.
Changed “ro.ril.disable.power.collapse” value to zero.
Seems to be a debate on what value is more effective but after more reading and testing found that a value of “0” shows more improvement.
Have also added “ro.mot.eri.losalert.delay=1000 “ that helps smooth out disconnects and reconnects, saving battery.

Signed-off-by: Onelots <onelots@onelots.fr>
2025-10-13 11:31:59 +02:00
Julival Bittencourt
ecf8b92307 veux: configs: Declare android.hardware.graphics.allocator IAllocator
kernel msg:
           servicemanager: Caller(pid=19920,uid=10371,sid=u:r:untrusted_app:s0:c115,c257,c512,c768) Could not find android.hardware.graphics.allocator.IAllocator/default in the VINTF manifest. No alternative instances declared in VINTF.
2025-10-13 00:00:38 +02:00
Yumi Yukimura
f174c6666e veux: Build AOSP Radio HIDL->AIDL Wrapper
Depends-On: I790728a9be289042e5a07589934a2dd50463a507
Change-Id: Iaeb8d37f4a7f02e6e812bc4da1b413c9a6493f8f
2025-10-12 23:55:06 +02:00
930cf34d6e veux: Initialize for EvolutionX 11.X
Signed-off-by: Onelots <onelots@onelots.fr>
2025-10-03 14:52:03 +02:00
dfffba1703 TEMP: veux: manually define TARGET_DEVICE
Signed-off-by: Onelots <onelots@onelots.fr>
2025-10-02 18:39:15 +00:00
38fa4e3942 veux: Include MiuiCamera 2025-10-02 18:39:14 +00:00
thepriyanshujangid
8e00cb924d veux: hidl: add missing FCM entries
The following HALs in device manifest are not declared in FCM <= level 6:
  android.hardware.ir.IConsumerIr/default (@1)
  android.hardware.light.ILights/default (@2)
  android.hardware.usb.gadget.IUsbGadget/default (@1)
  vendor.lineage.health.IChargingControl/default (@2)
  vendor.lineage.health.IFastCharge/default (@2)
2025-09-30 21:32:39 +02:00
¨raystef66¨
7aefe1b80e veux: update FCM on IChargingControl and IFastCharge
vendor.lineage.health.IChargingControl/default (@2)
vendor.lineage.health.IFastCharge/default (@2)
2025-09-30 21:32:39 +02:00
Cassie
3712b81799 veux: overlay: Use the new auto network selection UI
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
2025-08-12 15:10:02 +02:00
kailua
1538157a16 veux: update-sha1sums: chmod +x 2025-07-28 16:29:30 +02:00
LuK1337
d34309000e veux: Migrate to py extract utils
Signed-off-by: Onelots <onelots@onelots.fr>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: Skyblueborb <tomaszborbely0710@gmail.com>
2025-07-28 16:29:24 +02:00
8bae52b351 veux: Build DeviceAsWebcam
Signed-off-by: Onelots <onelots@onelots.fr>
2025-06-04 14:51:47 +02:00
Alexander Koskovich
b09998d9a9 veux: Opt out of VIDEO_ENCODE flag for DeviceAsWebcam
DeviceAsWebcam is using USAGE_VIDEO_ENCODE [1] for buffers and
this results in combined usage: (VIDEO_ENCODER | CAMERA_OUTPUT).

On Qcom devices DeviceAsWebcam has red & blue colors swapped.

Originally we tried swapping HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS
with HAL_PIXEL_FORMAT_YCrCb_420_SP_VENUS in libgrallocutils,
however that inverted regular camera recording colors in some cases.

[1] d079a82ba4

Change-Id: I6c5f03fe7016f687855351c7ba15270050ea02e2
2025-06-04 14:50:00 +02:00
Yumi Yukimura
6785c1012d veux: rootdir: Remove non-working UVC streaming formats
Test results from land:
* mjpeg 720P: Has a green border on top

Test results from ugglite:
* YUYV: Works for only some seconds, then get stuck
* mjpeg 720P: No video and leads to the following SMMU error
* mjpeg 1080P: Works for only some seconds, then get stuck

Test results from pine:
* YUYV: The left and right parts of image are not synced
* mjpeg 720P: No video and leads to the following SMMU error

Let's keep mjpeg 1080P... as it doesn't have serious issue and looks clear

[  102.676956] CAM-SMMU cam_smmu_check_vaddr_in_range:319 Cannot find vaddr:0000000000000000 in SMMU. cpp uses invalid virtual address
[  102.687715] MSM-CPP msm_cpp_iommu_fault_handler:790 Fault on  identity=0x10002, frame_id=003
[  102.687734] MSM-CPP msm_cpp_dump_addr:716 stripe 0: in 77623a00, out1 77e00000 out2 77e00000, out3 77e00000, out4 77e00000
[  102.687741] MSM-CPP msm_cpp_dump_addr:716 stripe 1: in 77623b26, out1 77e00140 out2 77e00140, out3 77e00140, out4 77e00140
[  102.687748] MSM-CPP msm_cpp_dump_addr:716 stripe 2: in 77623c66, out1 77e00280 out2 77e00280, out3 77e00280, out4 77e00280
[  102.687755] MSM-CPP msm_cpp_dump_addr:716 stripe 3: in 77623da6, out1 77e003c0 out2 77e003c0, out3 77e003c0, out4 77e003c0
[  102.687761] MSM-CPP msm_cpp_dump_addr:716 stripe 4: in 7773a100, out1 77ef0000 out2 77ef0000, out3 77ef0000, out4 77ef0000
[  102.687768] MSM-CPP msm_cpp_dump_addr:716 stripe 5: in 7773a354, out1 77ef0280 out2 77ef0280, out3 77ef0280, out4 77ef0280
[  102.687829] CAM-SMMU cam_smmu_check_vaddr_in_range:319 Cannot find vaddr:0000000000000000 in SMMU. cpp uses invalid virtual address
[  102.694793] MSM-CPP msm_cpp_iommu_fault_handler:779 msm_cpp_iommu_fault_handler:779: Invalid queuelen

Change-Id: I75708c1e6372bbaffb85d0b0a7ae64f3075aa53e
2025-06-04 14:50:00 +02:00
Yumi Yukimura
d4bc838cc8 veux: Set UVC gadget streaming bandwidth to 1024
* Avoids the image getting truncated. Thanks to nift4 for inspiration.

Change-Id: I04dc6468d928cdd85745dc3f58c105bed96729f8
2025-06-04 14:50:00 +02:00
Yumi Yukimura
da28cb061b veux: Setup DeviceAsWebcam
Change-Id: Icf8e10cd21c4eef9a66af624971ffe9c4d39d992
2025-06-04 14:49:40 +02:00
1018776b3c veux: drop fastcharge implementation
Signed-off-by: Onelots <onelots@onelots.fr>
2025-06-04 14:49:30 +02:00
c4a299168b veux: removepackages: do not override Aperture
Signed-off-by: Onelots <onelots@onelots.fr>
2025-06-04 14:49:30 +02:00
johnmart19
0bf5c4849e veux: Guard Qualcomm thermal service hals
* Crashing on Veux, Alioth and some other devices

* Crash:
 * Earlier versions:
    - E android.hardware.thermal@2.0-service.qti: ThermalHAL not initialized properly.
    - E ThermalHalWrapper: Couldn't get temperatures because of HAL error: ThermalHAL not initialized properly.
 * Current one:
    - E ThermalManagerService$ThermalHalWrapper: Couldn't getCurrentCoolingDevices due to invalid status
    - E ThermalManagerService$ThermalHalWrapper: java.lang.IllegalArgumentException: ThermalHAL not initialized properly.
2025-06-04 14:49:30 +02:00
66181999e2 veux: drop ViperFX
* Since that Dolby is back, we don't need this additional package anymore

Signed-off-by: Onelots <onelots@onelots.fr>
2025-06-04 14:49:29 +02:00
49523ef5e7 veux: drop vendorsetup.sh
* We have no use of this now that we can use lunch to clone everything we need.

Signed-off-by: Onelots <onelots@onelots.fr>
2025-06-04 14:49:29 +02:00
yingjiew
fd480e995d veux: gps: Avoid access of deprecated LocUnorderedSetMap entry
When there is no client listens to some DataItemId, we will remove
the map entry. Can't access the deleted entry's iterator anymore.

Change-Id: Id64aadebf7362667fbcf0fd5191f888ed9241727
CRs-Fixed: 3886536
(cherry picked from commit 0049d459cc1772f328e29a4c6b6d129af132e7b8)
2025-06-04 14:49:29 +02:00
Michael Bestas
5b8a8bf765 veux: gps: Remove CleanSpec.mk
Change-Id: Id5a91ac0dfc35cd4c84218f02e50c0905e04c43a
2025-06-02 20:07:14 +02:00
Hridaya Prajapati
6110a1c6e4 veux: switch to common AIDL IR service
Change-Id: I36c05aaa312969e479896c6e63a26a68cf897afa
2025-06-02 20:07:14 +02:00
Sebastiano Barezzi
24a1854cfa veux: Move to Xiaomi IR AIDL
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
2025-06-02 20:07:14 +02:00
Yumi Yukimura
f3025a6b08 veux: Migrate to QTI USB Gadget AIDL HAL
Change-Id: I6adbca2fab9a3fe0477d17f9786166828b786710
2025-06-02 20:07:14 +02:00
904cb3bfd6 veux: Don't explicitly set as an AB target
* Veux is A/B, and nowadays A/B is the default behavior.

Signed-off-by: Onelots <onelots@onelots.fr>
2025-06-02 20:07:14 +02:00
sayann70
3f1a816d6d veux: aidl: Add google_battery to FCM & Manifest
02-09 23:48:41.292  1618  2197 W ActivityManager: Unable to start service Intent { cmp=com.google.android.turboadapter/.GoogleBatteryService } U=0: not found
02-09 23:48:41.293  1618 13122 W ActivityManager: Unable to start service Intent { cmp=com.google.android.turboadapter/.GoogleBatteryService } U=0: not found
02-09 23:48:41.308 15351 15351 E ActivityThread: Service com.google.android.apps.turbo.deadline.library.BatteryFlagService has leaked ServiceConnection axe@16c727f that was originally bound here

Signed-off-by: sayann70 <sayansarkarda2@gmail.com>
2025-06-02 20:07:14 +02:00
718aeef877 veux: props: silent some useless spam
* Silences HWUI, AppOpps and others

Signed-off-by: Onelots <onelots@onelots.fr>
2025-06-02 20:07:14 +02:00
SimpleJony
5e0c46bc2a veux: rootdir: give thermal profiles permissions and fix thermal permissions
01-04 20:38:40.022 3663 12914 W FileUtils: No such file /sys/class/thermal/thermal_message/sconfig for writing
01-04 20:38:40.022  3663 12914 W FileUtils: java.io.FileNotFoundException: /sys/class/thermal/thermal_message/sconfig: open failed: EACCES (Permission denied)
--
05-26 13:15:30.474  2332  3692 W FileUtils: No such file /sys/class/thermal/thermal_message/sconfig for writing
05-26 13:15:30.474  2332  3692 W FileUtils: java.io.FileNotFoundException: /sys/class/thermal/thermal_message/sconfig: open failed: ENOENT (No such file or directory)

Change-Id: Ia1e96e641dc2cedf1b6ab50dc23e703f2dd880af

Co-authored-by: bittencourtjulival <julival.bitencourt@gmail.com>
2025-06-02 20:07:14 +02:00
94afd90696 veux: audio: drop audio_effects.conf
Signed-off-by: Onelots <onelots@onelots.fr>
2025-06-02 20:07:14 +02:00
Pranav Vashi
51c564cf30 veux: dolby: Add profiles overlay for moto dolby
Change-Id: Ided92625cb73f530656e86929b3ba70fea1e940d
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-06-02 20:07:14 +02:00
Pranav Vashi
d187bc363a veux: dolby: Update dax-default from moto
Change-Id: I430adc74c64093bf3c1439e66607567cb6444b80
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-06-02 20:07:14 +02:00
Pranav Vashi
81b7421044 veux: libstagefright_foundation-v33 moved to lineage compat
Change-Id: Ib1fd8644e6c2567c89d67967f31c62582cc006ef
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-06-02 20:07:14 +02:00
dogpoopy
62d71f1263 veux: Switch dolby soundfx to libswdap
* libhwdap.so doesn't work with devices that doesn't have dolby hardware support
* libswdap.so from https://github.com/reiryuki/Dolby-Atmos-Moto-G52-Magisk-Module.git

[@neobuddy89: Pin libswdap.so from above module]
Change-Id: Icb22599d2d439a837b537b59330f30e558869532
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-06-02 20:07:14 +02:00
Pranav Vashi
280fa8dc46 veux: audio: Add dolby to audio effects
Change-Id: Ie4865489f79b617f2568fc29b382c56bb0cd6f11
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-06-02 20:07:14 +02:00
Pranav Vashi
48684c0c51 veux: audio: Apply NLSound 4.0 optimization for dolby
Change-Id: I221799b79f80933cc8302418f1290893722a5368
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-06-02 20:07:14 +02:00