Change-Id: I42170d51a517170b58d532addd9c38496e43457c
jasmine_sprout: Remove QTI perfd
Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4
jasmine_sprout: Declare BOARD_VENDOR
* Needed for xiaomi-perfmgr power AIDL guards
Change-Id: Idbb48e0f9b01090a456ad5d3f2d51f4dfab55672
jasmine_sprout: Create dummy libqti-perfd-client
* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future
[SebaUbuntu]: Cleanup Android.bp and add copyright header
Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb
jasmine_sprout: libqti-perfd-client: Remove namespace declaration
It's pointless when using extern "C".
Change-Id: Ibdf9f06a70aa3a75687b33781c78cf2172bb334d
jasmine_sprout: libqti-perfd-client: return a dummy value
Return a positive integer for perf lock acquire and release so
that Goodix/FPC fingerprint sensor blobs will not complain.
Goodix:
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_acquire: Failed to acquire perf lock, err: 0
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_release: Perf lock release error 0
FPC:
E fpc_tac : fpc_perf_lock_acquire: Incorrect params, Failed to acquire perf lock, err
E fpc_tac : fpc_perf_lock_release: Perf lock release error 0
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I861672e9a738c2204755d802670f4b28b662f286
jasmine_sprout: libqti-perfd-client: Move to C
* Why bothering with C++ mangling when we can just build it as a standard C library?
Change-Id: I45ea977edf7ea7fab6fece76f3049654a8d24c5d
jasmine_sprout: Add powerhint.json jasmine
Change-Id: If270fc906fd833bb6b0d3b00621c0b079346e47d
jasmine_sprout: rootdir: Initial libperfmgr init config
* From coral, heavily stripped down
Change-Id: Ib6846e4f4f23baf56910d2330e26846b99830218
jasmine_sprout: sepolicy: Initial libperfmgr sepolicy
Change-Id: I3d0a259bc89b4ecd0bf1632199172710d98230e0
jasmine_sprout: Don't explicitly build older minor version HIDL libs
Change-Id: Ib0caa49054a79b1f01ffc751826286a29c642e06
jasmine_sprout: Remove QTI perf reminants
jasmine_sprout: Add back ro.vendor.extension_library definition
* We aren't using QCOM's perfd but our blobs still check for this.
* To avoid unnecessary errors, let's just add it back.
Change-Id: Icc44b330f21a658cfa8ded691a6628d8f62c3649
Signed-off-by: pix106 <sbordenave@gmail.com>
This is no longer needed as of Android 13.
Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
android.hardware.memtrack The HIDL interface of android.hardware.memtrack is
no longer supported for Android S.
Test: atest VtsHalMemtrackTargetTest pass
Bug: 186539435
Change-Id: Iaafd526fc5a601f7e8189ec764399d99c660beb0
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Fixes: Could not find 'aidl/android.system.keystore2.IKeystoreService/default'
for ctl.interface_start from pid: 617 (/system/bin/servicemanager)
Signed-off-by: pix106 <sbordenave@gmail.com>
With android-12.0 these need to be explicitly installed to /vendor since they are not included in VNDK anymore.
Ref:
d610435ac4
Change-Id: I4a526208351f3c18c0315803f394a5e77ee80f38
Signed-off-by: wHo-EM-i <ehteshammalik18998@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Enable soundtrigger hidl hal 2.3 for SP with
kernel version 4.19.
Signed-off-by: raiyanbinmohsin <raiyanbinmohsinshishir@gmail.com>
Signed-off-by: wHo-EM-i <ehteshammalik18998@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
- These seem to be long gone/not available to be source compiled?
- Anyways, these seem to have no actual function and are not needed other than to avoid logspams
unknown target 'libldacBT_dec'
unknown target 'libldacBT_bco'
Change-Id: Ia65d4e72128352132a7ad1a00c61d9596ece714a
Signed-off-by: SparXFusion <s2234nadar@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Since there are no need for us to do any specific changes here
Signed-off-by: Ratoriku <a1063021545@gmail.com>
Signed-off-by: raiyanbinmohsin <raiyanbinmohsinshishir@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Needs an external patch to BoardConfigQcom.mk to ensure the platform is
included as a supported QSSI target
- Requires: Allow targets to upgrade to UM 4.19 family in vendor/{rom}
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: Ia5c0084914314288b819971e30557839e375f091
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
The blobs link against this interface library because of a fallback
mechanism when mapper@3.0 isn't made available (all our devices should
always provide that, never 2.0). Consequently this results in a silent
failure (not even a linker error appears) when trying to open the GPU
through EGL:
I AdrenoGLES-0: Driver Path : /odm/lib64/egl/libGLESv2_adreno.so
W libEGL : eglInitialize(0xb40000743497a2d0) failed (EGL_BAD_ALLOC)
E libEGL : call to OpenGL ES API with no current context (logged once per thread)
F RenderEngine: eglQueryStringImplementationANDROID(EGL_VERSION) failed
Adding this library - which is not explicitly linked/used by any other
bits in the OSS part of the stack - resolves that error.
Note that while the composer has a similar fallback mechanism to 2.0 it
only uses (and links against) the AOSP interface
(`android.hardware.graphics.mapper@2.0`), not the QTI one at
`vendor.qti.hardware.display.mapper@2.0`.
Note^2: All these hidl interfaces are defined as `system_ext`, which is
the desired place for packages (in this case interface
updates/extensions to the AOSP variant) may they ever land upstream.
We have not configured such a partition currently (on super) but instead
rely on it being in `/system/system_ext`. This is not compatible with
GSIs; we just request the vendor variant to be put on `/vendor`
(`.vendor` postfix on the package name).
Signed-off-by: Marijn Suijten <marijns95@gmail.com>
Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Bug: 187912470
Test: make -j128
Test: deep buffer and compress offload via speaker, USB headset, BT
earphone
Test: phone call via handset
Test: hotword detection
Signed-off-by: pix106 <sbordenave@gmail.com>
* Build libgui_vendor from source
* Using CAF's way of media_{codecs, profiles}
* Uprev media.c2
* Cleanup dead and unused target
Signed-off-by: pix106 <sbordenave@gmail.com>
* cgroups and task_profiles exists in system/etc/task_profiles, but it does not has API26 ones so we add it
* Schedtune sometimes fail maybe because of this but still unsure
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Powerstats are so buggy lmao, it keeps error android.hardware.power.stats@1.0-service.xiaomi_sdm660: Failed to getEnergyData
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Retune some fps values based on CAF
* Removed some unused decoder
* From LA.UM.8.2.r1-07400-sdm660.0
* Build some media extensions
* Added some media codecs from google
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* clean some duplicates,deprecated and not uses anymore
* build vendor.qti.hardware.btconfigstore@1.0 from source
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* 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>