* As per the init.qcom.rc service defination has vendor prefix
* This Fixes:
I init : Command 'start rmt_storage' action=boot (/vendor/etc/init/hw/init.target.rc:161) took 0ms and failed: service rmt_storage not found
Change-Id: I271adb887b9420d631e67eb4e7f436f0cd931f32
Signed-off-by: pix106 <sbordenave@gmail.com>
Google's prebuilt cgroups.json and task_profiles.json for products
launched with previous API levels only covers
ro.product.first_api_level >= 28. [1]
Xiaomi sdm660 devices were launched with Nougat/Nougat MR1/Oreo (API levels 24-26), so schedtune and
task groups are completely broken. Since the system also checks
/vendor/etc for vendor profiles, make a copy of cgroups_28.json
and task_profiles_28.json and ship them to /vendor/etc. Profiles
for previous API levels are all the same anyway.
Test: boot and check /dev/stune/
[1] system/core/libprocessgroup/profiles/
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Signed-off-by: SakilMondal <mondalsakil@gmail.com>
Change-Id: I8e54ae2d79034f54447616d79294573bf74ed6e1
Signed-off-by: pix106 <sbordenave@gmail.com>
- 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: If6430597d8459e62dd78aa458c58237c71618970
Signed-off-by: pix106 <sbordenave@gmail.com>
* Due to commit I9b346b4053ec12c8a78a143a4dc0e708c44888a2
"Support EGL_KHR_partial_update without EGL_EXT_buffer_age"
in libhwui, EGL_EXT_buffer_age extension was forcibly enabled
if EGL_KHR_partial_update was available, even if the EGL driver
was not providing EGL_EXT_buffer_age support
* On older Adreno drivers, renderthread sources could use bufferAge
specific swap behaviours and would result in partially missing
display redraws upon animations and rotated screens,
for instance flashing action bars, blinking loading bars
and half black displays in landscape rotations
Change-Id: I16fe13f0726792522e382716f8f24eccf2a27701
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Enable backpressure for client composition to avoid jank due to
HWC queue stuffing.
Test: 1. Open Camera
2. Swipe horizontally to go back to previous app.
Bug: 138083790
Change-Id: I3d26aa470c1660b23bd97133f39858f92638aca8
[clarencelol: As we disable debug.sf.disable_backpressure, we need debug.sf.enable_gl_backpressure to improve our hwc]
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Add flag AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD to explicitely indicate support
for gapless transitions for offload output profiles in audio policy
configuration file.
Bug: 158191844
Test: atest AudioTrackOffloadTest
Change-Id: Iafee0cbc0a67fa12d2f0751b58ef7fa301ba45e4
Signed-off-by: pix106 <sbordenave@gmail.com>
Add AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD to compress offload case.
Bug: 188113788
Test: Play compress offload music and check app type from logcat
Change-Id: If31a50ffafb43cb350c84fcc60774af116f30ff8
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Updated audio policy manager configuration files to comply
with the changes in the XML schema.
Bug: 142480271
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioEffectV7_0TargetTest
[Ratoriku: Adapt to xiaomi sdm660]
Change-Id: I55d3728c809d27e58d5d496a1c7d637050dde53a
Signed-off-by: raiyanbinmohsin <raiyanbinmohsinshishir@gmail.com>
Signed-off-by: Martin Štrobl <recordyletsplays@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Add diag hal interface for system client communication with vendor diag
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Nullified remaining QTI Bluetooth remnants
* Remove some props
* Using usb audio hal from source
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Quoting commit afc09932f6fa07c5f6beffbcdc2bb4691e527321 in
system/sepolicy [1]:
"Devices launching with R or eariler can this by setting following
under BoardConfig.mk"
It is impractical to replace every prop definition from qcom to
vendor_property_type for old platforms like SDM660, so relax the
enforcement to avoid triggering millions of neverallows.
ref:
[1] afc09932f6
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Targeting S+ (version 31 and above) requires that an explicit value
for android:exported be defined when intent filters are present
Change-Id: I12d27c23624eb5259da582b86ac1bd7572754f0c
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* While it fixed the Dual SIM dropping but it introduced UI bug
like when the data is off, it still showed as turned on in UI
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
We are going to enforce that each property has an explicit owner, such
as system, vendor, or product. This attaches vendor_property_type to
properties defined under vendor sepolicy directories.
Bug: 159097992
Test: m selinux_policy && boot device
Change-Id: Ibed833cd9e5d786e82985ded6bc62abdf8cd9ded
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* It is forced to use bpf in Android S. Also we have it backported in k4.4, so this overlay is totally useless now
Signed-off-by: Ratoriku <a1063021545@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>