With the new version, there was a modification to the modem layout.
Users on the older bootloader would have non-functioning radio in this case. Another issue would be the display flickering.
Add assert to alert user to update his bootloader (motoboot.img)
Change-Id: I73588865646da3a962fd98309ff5710cbdee085c
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
Change-Id: I0d58b350e96f1c57190759e2cd8c71aec99efdf2
This is a WIP attempt to unify all of the variants.
*Credits to dhacker for the original setup
PS2: Use info instead of error
Change-Id: I4e4889c1fb0da81ba432ec40c4da162400008d3a