diff --git a/extendedcommands.c b/extendedcommands.c index 29dfb93..c3cb9b9 100644 --- a/extendedcommands.c +++ b/extendedcommands.c @@ -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"); } \ No newline at end of file diff --git a/hijack/hijack.c b/hijack/hijack.c index eb55de5..e7bc355 100644 --- a/hijack/hijack.c +++ b/hijack/hijack.c @@ -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)