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>
* Should fix bootloops on ROMs which require APEX to boot, such as EvoX
* If APEX is being flattened, disable it manually as well since some ROMs have it enabled by default, even if we flatten it.
* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future
Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
565 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@4.0::IAllocator/default in either framework or device manifest.
4126 W Gralloc4: allocator 3.x is not supported
565 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@3.0::IAllocator/default in either framework or device manifest.
4126 W Gralloc3: allocator 3.x is not supported
4126 I Gralloc2: Adding additional valid usage bits: 0x0
Signed-off-by: pkm774 <mprabhat774@gmail.com>
* Breaking /product/overlay
* Also this makes many platform specific overlays with current system API on vendor partition which breaks newer android version compatibilities (broken stuffs in gsis)
Change-Id: I45eb18b0754726fb4f779521a0245dfcb1259b17
All devices use pre-R audio.bluetooth_qti.default.so and platina uses
pre-R audio hal, in which the new set_event_callback API is not
implemented and the audio service will crash due to mismatched struct.
Change-Id: Ia330ac05d84d3dfb3a639458d66a3dc29689e67c
- Improve code with reference and split gain category
This reverts commits
- 471da74
- de7135d
- f6c011d
All credit goes to Stylog, this is just revert commits with few improvement
Co-authored-by: clarencelol <clarencekuiek@icloud.com>
* jasmine thermal leads to:
- 50% reduction in Geekbench scores for multi-core
- Problem with rapid charging for higher ambient temperature
These wayne-configs fix the above issues
hardware/google/pixel/power-libperfmgr from android-11.0.0_r25
SQUASHED:
Revert all HIDL interface and nuke previous changes
Import Pixel libperfmgr AIDL Power HAL
Adapt and rebrand for xiaomi_sdm660
Remove Google-specific display LPM control
Remove Google-specific camera and audio hints
Remove VR hints handling
Remove audio hints handling
Remove dumpstate support
Initialize powerHAL when boot is completed
Add support for tap-to-wake feature control
Add sepolicy rules for power-libperfmgr
Enable power-libperfmgr
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
To eliminate linker error and fix ims_rtp_daemon:
--------------------------------------------------
CANNOT LINK EXECUTABLE "/vendor/bin/ims_rtp_daemon": library "libavservices_minijail.so" not found: needed by main executable
to fix error: build/make/core/base_rules.mk:329: error: device/xiaomi/sdm660-common/data-ipa-cfg-mgr/hal: MODULE.TARGET.SHARED_LIBRARIES.liboffloadhal already defined by vendor/qcom/opensource/data-ipa-cfg-mgr/hal.
Signed-off-by: etahamad <220190166@fa-hists.edu.eg>
* From LA.UM.9.6.2.r1-03300-89xx.0
To eliminate these errors:
--------------------------
CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "libdisplayconfig.qti.so" not found: needed by /vendor/lib/libwfddisplayconfig_proprietary.so in namespace (default)
CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "vendor.display.config@2.0.so" not found: needed by /vendor/lib/libwfddisplayconfig_proprietary.so in namespace (default)
* +Adding some props also
When device is in Enforce mode, this happens:
---------------------------------------------
E init: Do not have permissions to set 'persist.radio.VT_CAM_INTERFACE' to '2' in property file '/vendor/build.prop': SELinux permission check failed
As example, so, moving those props to system/build.prop (from vendor/build.prop) fixes the issue.
Test: adb logcat -b all -d *:E > logcat-err.log and check for any init props related errors
Fix: Enforcing the Device Tree
* The mediametrics packages are part of the AOSP media stack already.
* libavserviceextensions is not available in Lineage.
Change-Id: Ia05789b6d59ad04e236b20155ac8b9575b0bdab1
There is no evidence that Qualcomm devices running a rather recent IMS
stack need to include AOSP RCS packages. RCS already worked before this
change and continues to do so, but the main goal was to get rid of some
of the RCS related log spam, which was accomplished here.
Change-Id: I219546e29d288373877e9bcd194a60ef5e09f224
* It's proprietary and already included in vendor makefiles.
* Remove antradio_app target which is dead
Change-Id: Ic19703a39e3e691a04b226b2cb2a27b02703724d
* Required if rom switched to ProductConfigQcom to build hals
Change-Id: Iddbc6ae3e21cebab3f55b4907abc08527523b81a
Signed-off-by: OdSazib <odsazib@gmail.com>
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.
This change uses component-override to enable the service by default.
Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.
Bug: 135048762
Test: adb shell pm query-services \
com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
adb shell pm query-services \
com.android.bluetooth/.hid.HidDeviceService
adb shell pm query-services \
com.android.bluetooth/.sap.SapService
Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
Our blobs are compiled against libprotobuf-full-cpp.so, but
starting in R, Android is using a versioned naming approach,
e.g. libprotobuf-cpp-full-3.9.1.so.
See https://r.android.com/1109518
The entry in public.libraries.txt is needed to allow the
linker to find and use the lib outside the VNDK.
See https://source.android.com/devices/tech/config/namespaces_libraries
[wight554: added libprotobuf-cpp-lite as well]
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I28222c89e1e07017867088492a726ee9d45d8e6f
... for aosp_* targets so that we don't need to update vendor.img everytime
there is a change in the VNDK libraries
Bug: 140136207
Test: build, m
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: Ibfe67b4cca6ef6648ad39a50154cb539348b008a
This change sets the new Vulkan dEQP level feature flag to the value
corresponding to the Vulkan dEQP tests for Android 11.
Change-Id: Ia70f8e432bf8b32420904587c9b45529e4045959
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
- It's loaded as app library, hence not needed to be a boot jar
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I1b1357be08b511f5af7663dee256849e2f2b1b63
Ensure that A2DP still works in case one disables offload in the
Developer options for whatever reason.
Change-Id: I7e7336d03f1423938962c8859efcca0b2dad3a0f
* its not used in our current a2dp configurations
* useless due the fact our normal audio policy xml not contain offload
support
Change-Id: I13a405af01627aa98d0e45aa90cf22d5204f8812
* Remove unnecessary dependencies on liblbs_core.so
* Hardcode vendor loc HIDL version to 3.0 to enable vendor HIDL when
building w/o BSP.
Change-Id: I01f661f1d1e038737801f5a9db88e3388d470f74
* The 64-bit variants are used by IMS blobs but no longer automatically
built along with the 32-bit counterparts.
Change-Id: I387e4345c3088bbaf55e24bcfe286ccd877507a6
* Remove Double Definition
* Reordeder Alphabetic
* Move Audio and Media Files to Configs
* Move Wifi Configuration to Configs
* Cleanup Overlay and Reorder
* Move Privapp Permission to new Folder
* Reorder Properties and rename mk
* Move Xiaomi Doze to new Folder
Add JNI and libqti_vndfwk_detect module name to product_packages
to specify module to be installed to device. Here explicitly
specify both the core and vendor variant in PRODUCT_PACKAGES.
CRs-Fixed: 2372775
Change-Id: Ic64f5ac0cfbbe9e105a6b48b5bc7687c8d23d7e8
Enable Thermal HAL for sdm660_64. It adds Thermal HAL
to manifest.xml and thermal service to PRODUCT_PACKAGES.
Change-Id: Id5070101c7a91955c050a9c5c8520cfa43cc8186
All sdm660 xiaomi device didn't launched with oreo-mr1 and it will be easer for add other device (jason, lavender, nitrogen, platina, tulip and whyred) who didn't launched with oreo-mr1 in xiaomi-sdm660 org
* Our ims.apk doesn't load ims-ext-common.jar, and it's moved to /product
on 10 where PRODUCT_BOOT_JARS doesn't work.
* Create a system copy of the jar and add it to boot classpath to make
it loadable from the apk without extra work,
Change-Id: Ia530a530bd4469e12500410fc5e8ba393de60b18
With VNDK enablement, libqdmetadata is copying to both
system and vendor partitions.
CRs-Fixed: 2396145
Change-Id: I135257092bf31ca0dcf10555f99a96711439bea7
libion needs to be explicitly added to PRODUCT_PACKAGES
since vendor code which is not shipped as source has a
dependency on this lib.
Change-Id: I75bcef582930b1eb49d72d505401a75f7c596254
Add move_wifi_data service from /data/misc/wifi to
/data/vendor/wifi for OTA update.
Change-Id: I134fb663d1f358028eebb80106634d6eb0b87bc0
CRs-Fixed: 2270608