* All new devices launching with Android 9 must use system-as-root,
which is the case of MIX 3 (perseus). Move stuff that goes against
such setup to the individual device trees.
Change-Id: I1178d0ac197634547e5771b3ae4e9cf6e15db3c8
Reduce readahead from 512KiB to 128KiB to reduce thrashing when we
have a lot of apps running.
Bug: 110908295
Bug: 80426378
Test: manual - device boots
Test: manual - check app launch does not take long
Test: cts-tradefed.sh run cts -m CtsCameraTestCases
Change-Id: I59c1f2f8a6fbb5e0d956ba07a40a2bfac3b61481
These services are pretty useless for production builds. Moreover,
cnss_diag was running in the background and continuously writing logs
to sdcard/wlan_logs, so disable them.
Change-Id: I4a9dea38179f39ca939174b60a132f1cbbc1fa44
* Several mount points got updated for treble compliance,
so keep fstab up-to-date and also remove contexts accordingly.
Change-Id: I3dc7e08e9b64b759b03f1a93c85f161a5c1a554f
* The lib responsible for audio postprocessing (libvolumelistener)
from Xiaomi causes stuttering distorted audio. Replace with a working
copy from enchilada.
Change-Id: I27d631e5fea0dbd338c18a529b26d1ef700affd7
* The purpose is to apply the same BT A2DP fix that used to be
applied in the individual device trees.
Change-Id: I500948b5e1e11ee11097ee2e115b0c23dd808a12
* Apparently relying on property persist.vendor.sys.ssr.enable_ramdumps=0
to be set results in trying to stop the service too early. Forcebly
stop it after boot is completed.
Change-Id: I00ee60039c52c0656a29ee16c4f006718b3b5f9a
* For some reason Xiaomi decided to start the service unconditionally
with an unknown arg, thus causing it to crash everytime.
* Match it with CAF and start it if persist.sys.ssr.enable_ramdumps is set.
Change-Id: I27496f7b65f9d7217a97f3738140056fcbf0e149
* It's cool, and more importantly... it actually works!
Oh look, it even displays battery level. Wow. :-P
Change-Id: I6351e2eac6df89aa1b6b98e4e6b2815fa5c37794