diff --git a/Android.mk b/Android.mk index e625daf..a951957 100644 --- a/Android.mk +++ b/Android.mk @@ -26,7 +26,7 @@ LOCAL_MODULE := recovery LOCAL_FORCE_STATIC_EXECUTABLE := true -RECOVERY_VERSION := ClockworkMod Recovery v2.0.1.7 +RECOVERY_VERSION := ClockworkMod Recovery v2.0.1.9 LOCAL_CFLAGS := -DRECOVERY_VERSION="$(RECOVERY_VERSION)" RECOVERY_API_VERSION := 2 LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION) diff --git a/recovery.c b/recovery.c index c0caa66..d169cdb 100644 --- a/recovery.c +++ b/recovery.c @@ -495,7 +495,6 @@ main(int argc, char **argv) return nandroid_main(argc, argv); return busybox_driver(argc, argv); } - ui_print(EXPAND(RECOVERY_VERSION)"\n"); create_fstab(); __system("/sbin/postrecoveryboot.sh"); @@ -508,6 +507,7 @@ main(int argc, char **argv) fprintf(stderr, "Starting recovery on %s", ctime(&start)); ui_init(); + ui_print(EXPAND(RECOVERY_VERSION)"\n"); get_args(&argc, &argv); int previous_runs = 0;