The extra 2-3 frames benefit jank without adding much input latency.
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* for some reason, some apps automatically detects that we're rooted due to verityUtils failing to measure the apps apk fs-verity.
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* follows vendor/qcom/opensource/usb/vendor_product.mk
* enable full usb function
* partially ported sepolicy_vndr
Signed-off-by: pix106 <sbordenave@gmail.com>
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.
Bug: 230638462
Test: adb shell getprop | grep bluetooth
Change-Id: Id6cd7901555edafef141bbc1bbd5e06dc3a54d0c
Signed-off-by: pix106 <sbordenave@gmail.com>
This prop has no effect as of T QPR1.
See: cf25e33147
Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
Signed-off-by: pix106 <sbordenave@gmail.com>
If the prop "debug.hwui.skia_atrace_enabled" is enabled, too many
skia tracing calls will be printed in every frame. This has obvious
overhead on performance/power, and can cause many janks. So disable
it by default, and user can set it manually if necessary.
Signed-off-by: OmarAlCoptan <omarcoptan9@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Extend buffer size for offload playback to reduce the frequency of CPU
wake up.
It makes ADSP to process more data one time and reduce the number of
times to wake up CPU.
Bug: 137973303
Test: MP3 playback
Change-Id: Ib0b2a8827647ed780bb20bd9dfa2a383153eb282
Signed-off-by: pix106 <sbordenave@gmail.com>
This will send HWUI timings to HintManager for better CPU scheduling.
Setting a 30% margin for CPU should heavily reduce CPU loads for HWUI and
use GPU for the rest.
Signed-off-by: pix106 <sbordenave@gmail.com>
* Its eating more RAM and slow down device
* Thanks for CAFEBABE find this
Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Fixes lag while playing 1080p/2k video on youtube
Change-Id: Ia717f5c0075b6adaedaf20dd6be689737edc1415
Signed-off-by: wHo-EM-i <ehteshammalik18998@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* These were moved to sysprops in Android 13.
976d33062b%5E%21/#F0
Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
The class of device is a string with a list of uint8t values:
90,2,12
The meaning is as follows:
{Service Field, Major class, Minor class}
Service Field: 0x5A -> 90
Bit 17: Networking
Bit 19: Capturing
Bit 20: Object Transfer
Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)
Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct
Change-Id: I07e83ca352ff969be0e53a0f63b6c940b6c34dfb
Signed-off-by: pix106 <sbordenave@gmail.com>
* Disabling client composition cache improves system smoothness and fix issues like lags when media output is showed on qs panel
Signed-off-by: Vitorgl2003 <vitorgl.2003@gmail.com>
Signed-off-by: ImPrashantt <prashant33968@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Caused incoming caller number not being parsed correctly by Phone app on
VoLTE and VoWiFi. No idea why Lenovo enabled this ancient prop.
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: Clarence K <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
In Android R, the SurfaceFlinger calculate phase offsets
based on duration. Adopt the new way of specifying
phase offsets to SurfaceFlinger.
Bug: 158464992
Test: scrolling, app launching/closing, playing video
Change-Id: Ia717f5c0075b6adaedaf20dd6be689737edc1415
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
[ 8.598055] init: Do not have permissions to set 'ro.vendor.qti.am.reschedule_service' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
[ 8.598101] init: Do not have permissions to set 'ro.sys.fw.dex2oat_thread_count' to '8' in property file '/vendor/build.prop': SELinux permission check failed
[ 8.598698] init: Do not have permissions to set 'bt.max.hfpclient.connections' to '1' in property file '/vendor/build.prop': SELinux permission check failed
[ 8.598747] init: Do not have permissions to set 'vendor.hw.fm.init' to '0' in property file '/vendor/build.prop': SELinux permission check failed
[ 8.598819] init: Do not have permissions to set 'camera.aux.packagelist' to 'com.google.android.GoogleCamera,com.android.camera,org.codeaurora.snapcam' in property file '/vendor/build.prop': SELinux permission check failed
[ 8.598960] init: Do not have permissions to set 'persist.vendor.dpm.loglevel' to '0' in property file '/vendor/build.prop': SELinux permission check failed
[ 8.599199] init: Do not have permissions to set 'persist.backup.ntpServer' to '"0.pool.ntp.org"' in property file '/vendor/build.prop': SELinux permission check failed
[ 8.599244] init: Do not have permissions to set 'persist.vendor.overlay.izat.optin' to 'rro' in property file '/vendor/build.prop': SELinux permission check failed
[ 8.599327] init: Do not have permissions to set 'camera.hal1.packagelist' to 'com.android.camera,com.android.camera2,com.instagram.android' in property file '/vendor/build.prop': SELinux permission check failed
[ 8.599361] init: Do not have permissions to set 'ro.media.recorder-max-base-layer-fps' to '60' in property file '/vendor/build.prop': SELinux permission check failed
[ 8.599492] init: Do not have permissions to set 'ro.vendor.qti.sys.fw.bservice_enable' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
[ 8.599580] init: Do not have permissions to set 'persist.vendor.qti.telephony.vt_cam_interface' to '2' in property file '/vendor/build.prop': SELinux permission check failed
[ 8.599837] init: Do not have permissions to set 'ro.build.shutdown_timeout' to '2' in property file '/vendor/build.prop': SELinux permission check failed
[ 4.408490] init: Do not have permissions to set 'ro.audio.soundfx.dirac' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
[ 4.408557] init: Do not have permissions to set 'persist.audio.dirac.speaker' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
[ 4.408589] init: Do not have permissions to set 'persist.dirac.acs.controller' to 'qem' in property file '/vendor/build.prop': SELinux permission check failed
[ 4.408619] init: Do not have permissions to set 'persist.dirac.acs.ignore_error' to '1' in property file '/vendor/build.prop': SELinux permission check failed
[ 4.408648] init: Do not have permissions to set 'persist.dirac.acs.storeSettings' to '1' in property file '/vendor/build.prop': SELinux permission check failed
Signed-off-by: Prashant <prashant33968@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>