- proper choose_file_menu() to free up used memory

Change-Id: Ie6c482c5ffddd7ebebdc99bbe8ae856e53e1405f
Fix format_device() for new vold paths
This completes the previous patch committed: https://github.com/CyanogenMod/android_bootable_recovery/commit/f4c69bf953881288088be92751712fe92ed94dbd
This how we should always check for valid volumes in recovery start of vold changes to data/media devices

Change-Id: I6912b1b2a473ea8737ea3e415e9a0172bb35eff1
Nandroid menu fixes:
- fix memory overflow bug if vold managed volumes reach MAX_NUM_MANAGED_VOLUMES.
- easier editing: this completes previous two commits to clean up Install Zip menu and Advanced menu

Change-Id: I349cc7b04878b92d902e1ee826d9b4c5bc77cf83
move all recovery settings to one file
fix mount error when changing backup format on non data media devices

Change-Id: I50442a226af1d102786c833c0b53c25bf63c67a6
remove useless code

Change-Id: I021697b42791bc6323c5fa0d9704d27ecfe2c8c1
Loki:
* update to v2.1
* fix broken LG devices + add new ones
* proper code for recovery
* do not lokify after a failed adb install
* use original loki format sources for easier future updates
* fix all compiler warnings
Change-Id: I19826bc9672658ff0af05e33b03e8ac5c5a06e1e
Merge "remove useless code" into cm-10.2
Merge "- proper choose_file_menu() to free up used memory" into cm-10.2
Merge "move all recovery settings to one file fix mount error when changing backup format on non data media devices" into cm-10.2
Merge "Nandroid menu fixes: - fix memory overflow bug if vold managed volumes reach MAX_NUM_MANAGED_VOLUMES. - easier editing: this completes previous two commits to clean up Install Zip menu and Advanced menu" into cm-10.2
Merge "Fix format_device() for new vold paths This completes the previous patch committed: https://github.com/CyanogenMod/android_bootable_recovery/commit/f4c69bf953881288088be92751712fe92ed94dbd This how we should always check for valid volumes in recovery start of vold changes to data/media devices" into cm-10.2
Bump recovery to 6.0.4.6

Change-Id: I692b104b28533532cc2f192db8b337c6c46c32b6
recovery: Fix the configuration of default_backup_format

I believe that this was missed (and therefore broken) in this commit:

commit a46e1bd7b32dc3ab660518a1aeab2f99d1ec518b
Author: philz-cwm6 <phytowardt@gmail.com>
Date:   Sun Dec 1 22:26:45 2013 +0100

    Define paths for recovery settings files in a separate header

    Also, use get_primary_storage_path() to define the locations of .no_conf
    .many_confirm, and .hidenandroidprogress instead of hard-coding /sdcard/

    Change-Id: I50442a226af1d102786c833c0b53c25bf63c67a6
    (cherry picked from commit bd0fe453f6ca242f0ed868b4c0934af29d499bba)

Conflicts:
	nandroid.c

Change-Id: I7e6541071b35f0725accabd9cb6cc27b3f7d0a57