From 7fe4d7bbcbe1950839c963d4ba07f71a6db362b6 Mon Sep 17 00:00:00 2001 From: "Koushik K. Dutta" Date: Tue, 6 Apr 2010 23:04:52 -0700 Subject: [PATCH] because Chris Soyars doesnt like adb reboot recovery. whaaat!? --- extendedcommands.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/extendedcommands.c b/extendedcommands.c index a2679a6..1500500 100644 --- a/extendedcommands.c +++ b/extendedcommands.c @@ -729,7 +729,8 @@ void show_advanced_menu() NULL }; - static char* list[] = { "Key Test", + static char* list[] = { "Reboot Recovery", + "Key Test", NULL }; @@ -741,6 +742,9 @@ void show_advanced_menu() switch (chosen_item) { case 0: + __reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_RESTART2, "recovery"); + break; + case 1: { ui_print("Outputting key codes.\n"); ui_print("Go back to end debugging.\n");