* I0731bb767ae22863bcb2245eb2f8d5e94d7b3672 dropped `late-fs`
to prevent bootanimation from starting in charge_only_mode.
Unfortunately, we missed a few small bits of `late-fs`
trigger than charge_only_mode depends on. The only remaining
parts of `late-fs` that have been omitted are "fs tuning" and
the Pixel optimizations that early start bootanimation.
Change-Id: Iec9146ba7902e78f02361ad3aa53ff76e89feabc
* Pixel boot enhancements start boot animation and
its dependencies in `late-fs`. Hence our charger mode
was horridly broken in 11. to mitigate this, just don't
run `late-fs` on charger - the only net loss is some
"read optimizations", which are no-ops here as we won't
be reading/writing anything in charger mode.
Change-Id: I0731bb767ae22863bcb2245eb2f8d5e94d7b3672
We are enabling software navigation bar using overlay. Thus, this is
not required. Not to mention, this causes SELinux denials as well.
[ 8.853895] selinux: avc: denied { set } for property=qemu.hw.mainkeys pid=1262 uid=0 gid=0 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
Change-Id: I36473bb7b5e2c22cbc60b96d0fab0f4446314701
* This gives proper permission to /dev/diag node so that diag driver can load successfully
Before in log:
Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
After in log:
Diag_Lib: qpLogDiagInit <== result : 1
Diag_Lib: QMID : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
Change-Id: If42a58753fa71d345f19d615bb70720fc26c95fe
* wcnss-service is in charge of copying your wcnss ini from /system to
/data where framework reads it. If /data is encrypted, or being
encrypted, this can't happen. Move it to late_start so it tries to run
after encrpytion and mount has happened.
Change-Id: I63dce20f84935ac22dd737c9b63b40c69f3e815d