Add wipe options
- wipe system
- wipe data
- wipe cache
- wipe dalvik cache
- wipe system and data
- wipe cache and dalvik cache
Remove multiple "no" in confirmation
Add confirmation before fixing permissions
Removed advanced restore of /boot /wimax as Xperia 2011 devices don't have /boot partition
Reverse kang Wil Wheaton Recovery enhancements.

Change-Id: Ia9eace0ff0826801515b335ac6543c1271948612
Signed-off-by: garwedgess <garethwilliams21@gmail.com>
Fixed up Install zip menu, sideload and toggle signature mixed up
Remove confirmation of install from sideload, as it can be cancelled at anytime
Bump version to 6.0.3.2

Change-Id: Ieb03cb1b06e3a9a2eaab61ac3d6c2e02922cea4c
revert mmcutils. cleanups and fixes.

Change-Id: I2b0c3918528e5f7e6f4d2f8df1592c55f98317d3
Changed ui_set_background to go back to clockwork icon after backup/restore & after install from sdcard
add getprop

Change-Id: Id7a87626d2351d49750e9982d6f81d2646d9d36d
nandroid: fixed ui_set_background
switch icon back to clockwork after wipes
Delete sideloaded file once installed

If not deleted, it will be unexpectedly re-installed in case
the user starts and then cancels adb sideload.

Change-Id: Idfea3b5d5c95ab29fd946cd404d1255105105ce3
Signed-off-by: garwedgess <garethwilliams21@gmail.com>
Rename prebuilt recovery su to su.recovery, so it does not interfere with devices that have a shared recovery/boot.

Change-Id: Id542215a31c4617e230474b65ecf54bbc8117d4e
Signed-off-by: garwedgess <garethwilliams21@gmail.com>
recovery: fix sideload cancel

Change-Id: I76fcea55cc38edc713211742890b00acf8de4117
Signed-off-by: garwedgess <garethwilliams21@gmail.com>
Fix recovery filesystem table output to log

Use fprintf when printing to a specified stream.

Change-Id: I863e3b570e3cf560deec9e8bb39cb339f40ae94c
Signed-off-by: garwedgess <garethwilliams21@gmail.com>
support version 2 (2048-bit e=65537) keys in recovery

Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
Change-Id: I9849c69777d513bb12926c8c622d1c12d2da568a
Signed-off-by: garwedgess <garethwilliams21@gmail.com>
recovery: Fix adb backup

Using http://goo.gl/6AQ3u might fail. The resulting backup
consists of a tarball of the filesystem being backed up,
but it might end up truncated, for reasons yet unknown.

Issuing adb backup data, for instance, causes recovery to
call tar, streaming it's stdout <a> through a socket <b>.
The adb client reads from <b> and copies what it to the
final backup file.

Somehow, sometimes, not all the content generated at <a> is
read at the adb client, which causes a truncated tar file
to result. I'm unsure why this happens: Doesn't <a> get
flushed before <b> is closed? Or is it that <b> is closed
with outstanding data in its buffers, which never make it
to the other side?

Either calling sync() or sleep() seems to remedy the issue,
but I'm not sure if sync() has any effect on sockets or
pipes. I also understand that sleeping for some time is not
the best solution to a race condition.

Therefore, I'm adding calls to sync() and sleep() and
waiting for reviews from someone who knows better how
these calls work.

Patch set 2: Remove sync() call

Change-Id: If4733066fdad809eb73e87c670f37acc4debe82d
Signed-off-by: garwedgess <garethwilliams21@gmail.com>
Merge branch 'lupus-cwm' of https://github.com/garwedgess/LuPuS-CWM into lupus-cwm