recovery: Fix compilation for non MSM target

Make mdp5 version variable scope valid for non-MSM target.

Change-Id: Ib02c7d8f79c6d29e8f14b58810f628c3a80d416d
recovery: Add option in recovery menu to update from sdcard

The recovery ui now has an option to choose an update package from sdcard.

Change-Id: I127fbc33a6a6b0795b7f1234d8a12c1387dab384
recovery: add wrapper for get_memory_surface()

Function is used by "fastmmi" factory test application
and have to be visible there.

Change-Id: I04f7c93b04ee837c74d4d925e929f2833bc4e7d6
recovery: Expose libminui as a shared library

libminui is now also generated as a .so in addition to a static
library.

Change-Id: Ia40adc82f9c00bfe6af8c813edd2683cfacd2ad7
Merge "recovery: Fix compilation for non MSM target"
Merge "recovery: add wrapper for get_memory_surface()"
Merge "recovery: Expose libminui as a shared library"
Merge "recovery: Add option in recovery menu to update from sdcard"
Check format bit to format the /data & /cache

Read bootselect paritition and if format bit is set
then start formatting of data and cache partitions.
After successful completion of the formatting, reset
the format bit using reliable write API

Change-Id: Ib2b8090991e8a012f936c19b4c5d005ed66ec599
Merge "Check format bit to format the /data & /cache"