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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user