Add wipe functions, compiles in CM7, text shows in UI, zips install

Zip install works, had to move mincrypt code into TWRP to prevent
a crash when checking the zip signature.
Added wipe functions
Made it compile in CM7
Made text show up in console and logging
This commit is contained in:
Dees_Troy
2012-09-14 13:36:32 -04:00
parent 32c8eb81af
commit 38bd760b58
16 changed files with 767 additions and 427 deletions
+4
View File
@@ -28,7 +28,9 @@
#include <time.h>
#include <unistd.h>
#ifdef ANDROID_RB_RESTART
#include <cutils/android_reboot.h>
#endif
#include "common.h"
#include "device.h"
@@ -131,7 +133,9 @@ void RecoveryUI::process_key(int key_code, int updown) {
break;
case RecoveryUI::REBOOT:
#ifdef ANDROID_RB_RESTART
android_reboot(ANDROID_RB_RESTART, 0, 0);
#endif
break;
case RecoveryUI::ENQUEUE: