- Android 12 now writes XML files in binary format by default. This can cause incompatibility with TWRP which can hang when attempting to read XML files e.g. /data/system/storage.xml
- This commit sets the persist.sys.binary_xml property to false so that XML files are written in text format.
Change-Id: Ibc6ee9a611cdda5947145603218465e17ed11ff8
* Choreographer VSync has some performance impact for CPU rendered apps
as the app has to wait for VSync to start a new frame draw. When the
frame draw time exceeds one VSync, this has a direct impact on the FPS.
debug.cpurend.vsync property controls the VSync for CPU rendered apps.
Disable VSync for CPU rendered app, by setting this property to false.
01-16 20:42:21.500 W/TransactionTracing(788): Could not find layer handle 0x7011020130
01-16 20:42:23.216 W/TransactionTracing(788): Could not find layer id -1
Change-Id: I453c9efe4b6e53e97c1891851c58f20dc71cb64e
Signed-off-by: dotkit <ewprjkt@proton.me>
[ 2.759039] init: Do not have permissions to set 'audio.offload.disable' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.759060] init: Do not have permissions to set 'audio.sys.noisy.broadcast.delay' to '600' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.759074] init: Do not have permissions to set 'audio.sys.offload.pstimeout.secs' to '3' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.759137] init: Do not have permissions to set 'persist.audio.fluence.voicecomm' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.759207] init: Do not have permissions to set 'persist.audio.fluence.voicecall' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.759222] init: Do not have permissions to set 'persist.audio.fluence.voicerec' to 'false' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.759235] init: Do not have permissions to set 'persist.audio.fluence.speaker' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.759289] init: Do not have permissions to set 'persist.vendor.bt.a2dp_offload_cap' to 'sbc-aptx-aptxhd-aac-ldac' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.759309] init: Do not have permissions to set 'ro.qc.sdk.audio.ssr' to 'false' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.759323] init: Do not have permissions to set 'ro.qc.sdk.audio.fluencetype' to 'none' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.760215] init: Do not have permissions to set 'ro.iorapd.enable' to 'false' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.760229] init: Do not have permissions to set 'iorapd.perfetto.enable' to 'false' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.760241] init: Do not have permissions to set 'iorapd.readahead.enable' to 'false' in property file '/vendor/build.prop': SELinux permission check failed
[ 2.760276] init: Do not have permissions to set 'persist.device_config.runtime_native_boot.iorap_readahead_enable' to 'false' in property file '/vendor/build.prop': SELinux permission check failed
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: I12dfdf4830e041b2c4e50eb8136ac0fb7146cc8e
Signed-off-by: Chenyang Zhong <zhongcy95@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: Chenyang Zhong <zhongcy95@gmail.com>
Previously we relied on debug.sf.disable_backpressure=1 to disable
backpressure propagation. Now that the prop is gone in S, drop
the backpressure prop for GL client to maintain the same behavior
as before. From past experience, backpressure propagation often
increases jank rate instead of reducing it for some reason.
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
* It has been removed in Android S
* 2ec5391acf
Change-Id: I23a210a37ad257f0c8b7a3c5e1d59b2ac20cde9a
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Blurs on android12 are extremely janky, even with EXPENSIVE_RENDERING
raising GPU frequency.
W FrameTracker: Missed SF frame:1
W FrameTracker: Missed SF frame:4
W FrameTracker: Missed SF frame:68
W FrameTracker: Missed SF frame:68
W FrameTracker: Missed SF frame:65
...
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>