From 687bc12ccfbda26ad134b27d09d1d70a2b8705a6 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Wed, 20 Jan 2010 16:34:10 -0800 Subject: save the recovery log from before HTC firmware updates When doing a firmware (radio or hboot) update on HTC devices, save the recovery log in block 1 of the cache partition, before the firmware image and the UI bitmaps. When we boot back into recovery after the firmware update to reformat the cache partition, copy that log out of cache before reformatting it and dump it into the current invocation's log. The practical upshot of all this is that we can see the log output from radio and hboot updates. Change-Id: Ie0e89566754c88f4bed6a90d8a0aa04047b01a27 --- firmware.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware.h') diff --git a/firmware.h b/firmware.h index aeb8f97aa..04507bbf0 100644 --- a/firmware.h +++ b/firmware.h @@ -30,6 +30,7 @@ int firmware_update_pending(); * Returns 0 if no radio image was defined, nonzero on error, * doesn't return at all on success... */ -int maybe_install_firmware_update(const char *send_intent); +int maybe_install_firmware_update(const char *send_intent, + const char *log_filename); #endif -- cgit v1.2.3