From 819a3e4a3ecf0a7a0ddc893451fc1f09d6280292 Mon Sep 17 00:00:00 2001 From: jt1134 Date: Sat, 4 Aug 2012 03:58:37 -0500 Subject: updater.sh: CDMA: flash recovery_kernel to recovery partition flashing boot.img to recovery partition causes the user to get stuck in recovery when using 3 button recovery, as the bootmode is never cleared recovery_kernel is a decoy kernel, that loads param.ko to clear the bootmode, then sets a flag on data to load recovery from the kernel partition, then reboots Change-Id: I76d266a73c5dc4c78cef79325448a7ac06a7770b --- updater.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater.sh b/updater.sh index 831f67d..448e459 100755 --- a/updater.sh +++ b/updater.sh @@ -175,7 +175,7 @@ elif /tmp/busybox test -e /dev/block/mtdblock0 ; then /tmp/bml_over_mtd.sh boot 72 reservoir 2004 /tmp/boot.img if ! $IS_GSM ; then - /tmp/bml_over_mtd.sh recovery 102 reservoir 2004 /tmp/boot.img + /tmp/bml_over_mtd.sh recovery 102 reservoir 2004 /tmp/recovery_kernel fi # unmount system (recovery seems to expect system to be unmounted) -- cgit v1.1