This commit is contained in:
Koushik Dutta 2010-08-17 22:21:53 -07:00
parent f0e31b89b9
commit 38e8b2b6a9
2 changed files with 6 additions and 2 deletions

View File

@ -797,6 +797,7 @@ void show_advanced_menu()
"Report Error",
"Key Test",
"Restart adbd",
"Process dump",
NULL
};
@ -853,6 +854,10 @@ void show_advanced_menu()
__system("kill $(ps | grep adbd)");
__system("/sbin/adbd &");
}
case 6:
{
__system("ps");
}
}
}
}
@ -912,5 +917,5 @@ void handle_failure(int ret)
return;
mkdir("/sdcard/clockworkmod", S_IRWXU);
__system("cp /tmp/recovery.log /sdcard/clockworkmod/recovery.log");
ui_print("/tmp/recovery.log was copied to /sdcard/clockworkmod/recovery.log. Please open ROM Manager to report the issue.");
ui_print("/tmp/recovery.log was copied to /sdcard/clockworkmod/recovery.log. Please open ROM Manager to report the issue.\n");
}

View File

@ -36,7 +36,6 @@
#define RECOVERY_MODE_FILE "/data/.recovery_mode"
#define UPDATE_BINARY BOARD_HIJACK_RECOVERY_PATH"/update-binary"
#define UPDATE_PACKAGE BOARD_HIJACK_RECOVERY_PATH"/recovery.zip"
#define PRERECOVERY_BOOT BOARD_HIJACK_RECOVERY_PATH"/prerecoveryboot.sh"
int
exec_and_wait(char** argp)