always do a clean reboot

Change-Id: I576c054dc5ab6a080e499f26c8cb2a66ecb8ae42
fix the following bugs to better handle new vold code
- do not show partition sdcard entries for vold managed volumes until we have a valid blk_device2. That also caused a memory overflow
- make it possible again to partition old style blk_device volumes
- enable format voldmanaged devices to ext2 and ext3 with existing binaries by using optional blk_device2 (defined in recovery to NULL but not currently implemented by fs_mgr
- fix unexpected behavior when in format/partition menus and insert an usb key (REFRESH return code)
- ensure_path_unmounted() could not unmount /sdcard path on /data/media devices
- format_device() and format_volume() properly handle /sdcard path argument on /data/media devices

Change-Id: I2d5872690805e70175ba1346fd03978e3c2b879e
Do not log to screen when mounting/unmounting sdcards.
This will preserve logging for format/usb mount and for all USB OTG storage

Change-Id: I0ab41632b4b97d23a43471755e21d9750c6cfa04
friendly write_recovery_version()

Change-Id: I43ad3d2600b9529d726aac435f0091713786ac4f
One less integer

Change-Id: Ie94b28694c12182652464c4b8e61ab4c67905b07
minui: Match API to AOSP

 * AOSP added a "bold" flag for image based fonts. Stay compatible
   with that API since there are other components using minui.

Change-Id: I6c0f12f7f8f1df8dd27779b47883ccff96f2d291
Add guard makefile for allowing simple recovery build

Change-Id: I6ec438f61cafce69c5083977c4330277f56aa060
Revert "minui: Match API to AOSP"

 * Breaks every device because of their deprecated graphics.c overloads.
 * Revert until we clean this mess up.

This reverts commit 48ccdcef23664c52d092875cef3585e828341914.
Prevent scroll drifting in swipe recovery

Change-Id: I8179607517f55b2941924b5726e0e57b012f8e18
minui: Allow devices to blank/unblank using LCD backlight

* Some devices rely on the LCD backlight to blank/unblank the display,
  support them by allowing a custom LCD backlight path to be used.

Change-Id: I8406b4b55cd7a2afc4f8f8ba65de2c53b949489d
Merge "minui: Allow devices to blank/unblank using LCD backlight" into cm-10.2
recovery: Add a proper CleanSpec.mk

 * Clean all the stuff that conflicts with AOSP recovery.

Change-Id: I175329c446a014c451f4c0fc5a9a4472941afc10
recovery: Clean ALL the things

 * We need to clean everything, otherwise nasty things happen when
   switching to alternate recovery module.

Change-Id: I9ea88179f5329112c587b649328c1c83df0bd5d9
Quickly install from last install path

This patch stores the last path a zip was installed
from and adds a menu option to jump there quickly
when installing new zips.

Patchset 1) initial commit
Patchset 2) remove un-need call to dirname()
            increase install_menu_items[] size
Patchset 3) removed use of stat
            more install_menu_items[] changes
Patchset 4) removed unused variable info
Patchset 5) removed unused variables
            general clean up

Change-Id: I02d2fde26b375fad36dbab50ec2a8b8a52afc003
install zip menu fixes:
    * fix memory overflow if num_extra_volumes = MAX_NUM_MANAGED_VOLUMES
    * simpler to manage install zip menu
    * better ordered listing of volume storage paths

Change-Id: I11d8f76bfe4a60623842810b7bdddd18e5cb99f9