* RenderScript is deprecated on newer platforms and
is being officially replaced.
* On April 19, 2021, Google announced that RenderScript
will be deprecated in Android 12, and recommended
porting existing code to Vulkan.
https://android-developers.googleblog.com/2021/04/android-gpu-compute-going-forward.html
Signed-off-by: pix106 <sbordenave@gmail.com>
* We only use drm@1.2 prebuilt blobs for widevine
* Silenced some log spam when boot up
Signed-off-by: Ratoriku <a1063021545@gmail.com>
Signed-off-by: raiyanbinmohsin <raiyanbinmohsinshishir@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Remove pro audio capability in sdm660 device make file
as ultra low latency/ raw flag not supported for sdm660
audio policy.
Issues Fixed: AudioLoopbackLatency CtsVerifier test fails due to pro audio
capability with mean latency <= 20ms. Removing the pro audio feature
passes the test with mean latency <= 800 ms.
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Populates a new feature flag to record the level of OpenGL ES dEQP
test support.
Bug: 159841535
Change-Id: I9ed8ec8af0c76962cfd77a91d806cad95de70c28
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Schedtune paths are depreceated from Android S and updated to utilclamp
as our kernel doesnt support utilclamp, these configs are modified to fix lags and stutters
since power hal and perf stack are still dependent on schedtune
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Basically make system a GSI, but this should avoid us the headache made by VNDK libs not being built based on proprietary interfaces
Change-Id: I1ca876b5d2a82d41af76f4c327b89a181bb3d6bd
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
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: clarencelol <clarencekuiek@icloud.com>
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>
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>
* 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>
* 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>
starting with Android 12 most HAL libraries are not included in VNDK anymore
they need to be explicitly pulled in to `/vendor` for odm blobs
to be allowed to access them:
QCamera : <MCI><ERROR> mm_camera_load_shim_lib: 3306: dlopen failed
with error dlopen failed: library
"android.frameworks.sensorservice@1.0.so" not found: needed by
/odm/lib/libmmcamera2_stats_modules.so in namespace (default)
android.frameworks.sensorservice@1.0 is used by at least mm-camera framework.
Signed-off-by: pix106 <sbordenave@gmail.com>
* Fixes error
F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/qcrild": library "android.hardware.radio@1.5.so" not found: needed by /vendor/lib64/libril-qc-hal-qmi.so in namespace (default)
Signed-off-by: pix106 <sbordenave@gmail.com>
* Might as well remove it from the manifest, since it's not required
* Fixes error:
F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/qcrild": library "android.hardware.secure_element@1.2.so" not found: needed by /vendor/lib64/libril-qc-hal-qmi.so in namespace (default)
Signed-off-by: pix106 <sbordenave@gmail.com>
This is to avoid failed QCOM HAL resolution.
Some roms uses BoardConfigQcom.mk and some roms uses BoardConfigQcom.mk.
So adding it into poth product and broad won't be an issue.
Signed-off-by: pix106 <sbordenave@gmail.com>
* It was only useful to jason, which needs a copy of libpowermanager in vendor
Change-Id: I754c666730d841fd71837358fe87a5ce1a3d7921
Signed-off-by: pix106 <sbordenave@gmail.com>