Software Encryption issue fixed
1. Changing the class for mpdecision from
default to main. This is required as
mpdecision access /data folder, so that
when we start encryption vold signals all
main services to stop. In the class default
case mpdecision would still run and keep the
data partition busy, which would cause the
encryption to fail.
2. Provide 16K for footer region of data partition
/data should have 16K data for the encryption footer.
In "fstab.qcom" we specify this by adding
"encryptable=footer" option for the /data parition.
However after factory reset these paritions will
be wiped out and mounted using the parition tables
mentioned in "recovery.fstab".
In this case the /data should again leave the 16K for
the encryption footer. So "length=-16384" needs to be
added for the /data parition for the encryption to
work after factory reset is done. Similarly BoardConfig
is changed for userdata partition by reducing it by
16kb.
Change-Id: I188ee4ea959bb8eb791b9387fc6adf299ffdc498
3 files changed