diff --git a/common.h b/common.h index df26597..7d46cc0 100644 --- a/common.h +++ b/common.h @@ -56,6 +56,7 @@ enum { BACKGROUND_ICON_NONE, BACKGROUND_ICON_INSTALLING, BACKGROUND_ICON_ERROR, + BACKGROUND_ICON_CLOCKWORK, BACKGROUND_ICON_FIRMWARE_INSTALLING, BACKGROUND_ICON_FIRMWARE_ERROR, NUM_BACKGROUND_ICONS diff --git a/recovery.c b/recovery.c index 741d59e..bf0575a 100644 --- a/recovery.c +++ b/recovery.c @@ -910,6 +910,7 @@ main(int argc, char **argv) { script_assert_enabled = 0; is_user_initiated_recovery = 1; ui_set_show_text(1); + ui_set_background(BACKGROUND_ICON_CLOCKWORK); if (extendedcommand_file_exists()) { LOGI("Running extendedcommand...\n"); diff --git a/res/images/icon_clockwork.png b/res/images/icon_clockwork.png new file mode 100755 index 0000000..b05951d Binary files /dev/null and b/res/images/icon_clockwork.png differ diff --git a/roots.c b/roots.c index 0f6b3d7..bfb828f 100644 --- a/roots.c +++ b/roots.c @@ -269,6 +269,9 @@ int format_volume(const char* volume) { return 0; } +#if 0 LOGE("format_volume: fs_type \"%s\" unsupported\n", v->fs_type); return -1; +#endif + return format_unknown_device(volume); } diff --git a/ui.c b/ui.c index d973a50..133f4da 100644 --- a/ui.c +++ b/ui.c @@ -62,6 +62,7 @@ static int ui_has_initialized = 0; static const struct { gr_surface* surface; const char *name; } BITMAPS[] = { { &gBackgroundIcon[BACKGROUND_ICON_INSTALLING], "icon_installing" }, { &gBackgroundIcon[BACKGROUND_ICON_ERROR], "icon_error" }, + { &gBackgroundIcon[BACKGROUND_ICON_CLOCKWORK], "icon_clockwork" }, { &gProgressBarIndeterminate[0], "indeterminate1" }, { &gProgressBarIndeterminate[1], "indeterminate2" }, { &gProgressBarIndeterminate[2], "indeterminate3" }, @@ -164,7 +165,7 @@ static void draw_text_line(int row, const char* t) { } } -#define MENU_TEXT_COLOR 7, 133, 74, 255 +#define MENU_TEXT_COLOR 255, 160, 49, 255 #define NORMAL_TEXT_COLOR 200, 200, 200, 255 #define HEADER_TEXT_COLOR NORMAL_TEXT_COLOR