* Background ART heap compaction for cached apps has been recommended for
Android Go devices for a while, and Google has enabled it for the Pixel
5 on RQ1A.201205.010. This feature should help fit more cached apps in
memory
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
Android 12 added this config to offload some window management to a
dedicated thread. Enable it to improve performance when the main System
UI thread is busy.
Change-Id: I387d7f5034b43e05e79a40095d61c01bb5982fe1
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]
Oneplus 5,5t were launched with Nougat (API level 25), 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: clarencelol <clarencekuiek@icloud.com>
Change-Id: If8c09fa1868f60a451ced9e094e5796e46545fc0
* Fix for hidl power stats errors.
- Now with this we fixing both errors:
BatteryStatsService: Unable to load Power Hal or power.stats HAL
hwservicemanager: getTransport: Cannot find entry android.hardware.power.stats@1.0::IPowerStats/default in either framework or device manifest.
hwservicemanager: getTransport: Cannot find entry android.hardware.power@1.0::IPower/default in either framework or device manifest.
* Disabling client composition cache improves system smoothness and fix issues like lags when media output is showed on qs panel
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
Signed-off-by: improbir <ghosh_probir@yahoo.com>
Signed-off-by: Abhishek001konni <Abhishek001konni@gmail.com>
Fixes:
warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated.
Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
Change-Id: I752602079de8ff4c5370fe3ec861b8746838d878
- 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.
Some devices have extra pointers in this structure that if non-zero
causes libsec-ril.so to segfault
Change-Id: I9fd07a4747ef0fb1388ebbec472f2dda8dea4003
* There is zero reason to ever build without blobs. We've even seen
this situation with official builds from our servers. It's always
better for a build to fail than it is for it to produce something
that has no chance at working.
Change-Id: I4968795670c91f691e9ecdc0e4af62e16ba3a93a
Shipping API level less than 26 corresponds to legacy FCM version.
This addresses the following build warning:
Warning: Shipping FCM Version is inferred from Shipping API level. Declare Shipping FCM Version in device manifest directly.
Change-Id: Ib230c345ff7deb552597824838b8809ceefbbe8a
* So, this one from bullhead can cause everything to get janky AF
every time RenderScript is actually used, and finding one that
actually loads (no missing symbols) AND actually works well is,
well, challenging. The device works fine with the "normal"
non-adreno driver in AOSP, so let's use that until/unless we find
an actually working adreno driver.
Change-Id: I4ab19269eb49f5f2aed375d9055d68c1b9835f69
* Oddly, disabling MAC randomization fully breaks AP, which really
just points to a platform problem. But it seems that our device
can actually handle the "randomization", which doesn't actually
randomize anything (for us). ¯\_(ツ)_/¯
This reverts commit 1e39b786ec.
Change-Id: I8bbcdb968a08f0c700cf436cfdde453b51f96170