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
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>
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>
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
- 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>
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>
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>
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.
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)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.