- 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.
* This caused numerous issues. The biggest of which being that /cache's
block device was labeled incorrectly as it was latemounted. Due to
this, Lineage Updater would fail to write to /cache directories for
updates, causing them to fail.
* Lesson learned, several optimizations Google included on the Pixel's
won't work/aren't feasible on non-A/B devices.
This reverts commit ed5a9106b1dfcfa1f1790d68e49bfc1d17e285f6.
Change-Id: I21f277c6888e06453866b8fd99004f38dce07ebb
If the noatime flag isn't set the atime information is updated on
every read access. This is bad for performance and flash lifetime.
Change-Id: I9d1a64e1a876dd239fc4593c2d7ffa75790f3a6a
* 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
* 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
* Apparently this is now required on all non full treble devices since
google added a sleep(1) in libhidl...
Change-Id: I6d8492dd7c56bfdb2ca00f3477634a46fa55b1c0
It's not meant to be set as a board config flag. Simply do it by
inheriting the makefile that now also exists for devices launched
with Jelly Bean.
Change-Id: I2ca1f9d207be90c58495b3e20c5e2275e09b18bc
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
This allows us to get rid of the dac_override SELinux rules, by applying
proper permissions to the files managed by the daemon. While at it, also
Treble-ized the location of said files.
Change-Id: I344b4c80412af0b22dc35da234ef3c9f88983761
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
* These were removed in 0570b23 and 3d4186f as I blamed them
for UI performance degradation.
* Further testing shows that they actually reduce jank in some cases.
Change-Id: I6f3ae240366cc49e1a25d2f76ddd847ced0fb8f4
Legacy credential hash support was obsolete and got removed completely.
From now on all the devices need to rely on gatekeeper, which
in case of legacy devices should be the software implementation.
This fixes setting a lockscreen PIN/password/pattern.
Ref: a758727c96
Change-Id: I020d1807db13b73f9990ac3704eadba49b65ee5c