No description
Find a file
Tao Bao b6918c7c43 Log update outputs in order
Although stdout and stderr are both redirected to log file with no
buffering, we are seeing some outputs are mixed in random order.
This is because ui_print commands from the updater are passed to the
recovery binary via a pipe, which may interleave with other outputs
that go to stderr directly.

In recovery, adding ui::PrintOnScreenOnly() function to handle
ui_print command, which skips printing to stdout. Meanwhile, updater
prints the contents to stderr in addition to piping them to recovery.

Change-Id: Idda93ea940d2e23a0276bb8ead4aa70a3cb97700
2015-06-02 22:15:40 -07:00
applypatch Stop using libstdc++. 2015-05-19 11:33:18 -07:00
edify Remove an uninitialized value. 2014-12-18 22:50:08 +00:00
etc init sets the default PATH itself, better. 2015-05-12 14:35:31 -07:00
fonts more font improvements and cleanup 2013-03-07 13:34:24 -08:00
minadbd Fix build following adb change. 2015-05-08 10:50:54 -07:00
minui Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
minzip Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
mtdutils Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
res-hdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
res-mdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
res-xhdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
res-xxhdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
res-xxxhdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
testdata Add support for ECDSA signatures 2013-10-10 14:19:19 -07:00
tests More test makefile cleanup. 2014-10-17 01:05:08 +00:00
tools Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
uncrypt uncrypt: Switch to C++ 2015-05-06 11:43:11 -07:00
updater Log update outputs in order 2015-06-02 22:15:40 -07:00
adb_install.cpp Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
adb_install.h Factor out option variables from int to bool types 2015-03-25 15:56:15 -07:00
Android.mk Stop using libstdc++. 2015-05-19 11:33:18 -07:00
asn1_decoder.cpp Add missing includes. 2015-01-28 12:09:05 -08:00
asn1_decoder.h Add support for ECDSA signatures 2013-10-10 14:19:19 -07:00
bootloader.cpp Move to using the new unified fstab in recovery. 2013-02-19 17:37:22 -08:00
bootloader.h add the functions for multi-stage packages to updater 2013-11-26 15:46:57 -08:00
CleanSpec.mk recovery: minui: add adf backend 2014-04-25 15:47:34 -07:00
common.h Rotate logs only when there are actual operations 2015-04-07 22:02:27 -07:00
default_device.cpp Auto-detect whether to use the long-press UI. 2015-04-10 15:14:35 -07:00
device.cpp Move the menu header out of the menu. 2015-04-13 15:46:15 -07:00
device.h Move the menu header out of the menu. 2015-04-13 15:46:15 -07:00
fuse_sdcard_provider.c Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
fuse_sdcard_provider.h Switch minadb over to C++. 2015-04-10 13:59:19 -07:00
fuse_sideload.c Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
fuse_sideload.h Switch minadb over to C++. 2015-04-10 13:59:19 -07:00
install.cpp Log update outputs in order 2015-06-02 22:15:40 -07:00
install.h Factor out option variables from int to bool types 2015-03-25 15:56:15 -07:00
interlace-frames.py update tools for making recovery images 2014-03-11 14:29:50 -07:00
NOTICE Automated import from //branches/master/...@140824,140824 2009-03-24 18:36:42 -07:00
README.md Auto-detect whether to use the long-press UI. 2015-04-10 15:14:35 -07:00
recovery.cpp Add an alternate screen for viewing recovery logs. 2015-05-06 21:17:05 -07:00
roots.cpp Merge "always use volume mount option when mounting a partition" 2015-03-31 23:56:02 +00:00
roots.h Revert "Erase PST partition if its marked to be erased." 2015-03-31 09:48:50 -07:00
screen_ui.cpp Log update outputs in order 2015-06-02 22:15:40 -07:00
screen_ui.h Log update outputs in order 2015-06-02 22:15:40 -07:00
ui.cpp Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
ui.h Log update outputs in order 2015-06-02 22:15:40 -07:00
verifier.cpp Add missing includes. 2015-01-28 12:09:05 -08:00
verifier.h do verification and extraction on memory, not files 2014-01-16 13:29:28 -08:00
verifier_test.cpp Log update outputs in order 2015-06-02 22:15:40 -07:00
verifier_test.sh Add support for ECDSA signatures 2013-10-10 14:19:19 -07:00

The Recovery Image

Quick turn-around testing

mm -j && m ramdisk-nodeps && m recoveryimage-nodeps

# To boot into the new recovery image
# without flashing the recovery partition:
adb reboot bootloader
fastboot boot $ANDROID_PRODUCT_OUT/recovery.img