aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* am 4d4b233e: am 2f6877a0: recovery: init backgroundIcon properly to avoid ↵yetta_wu2013-07-080-0/+0
|\ | | | | | | | | | | | | recovery mode crash * commit '4d4b233eae51d5580b58cb00d3aa45ecbb1b255e': recovery: init backgroundIcon properly to avoid recovery mode crash
| * am 2f6877a0: recovery: init backgroundIcon properly to avoid recovery mode crashyetta_wu2013-06-251-0/+4
| |\ | | | | | | | | | | | | * commit '2f6877a0220475303907203308c018d789ea1a53': recovery: init backgroundIcon properly to avoid recovery mode crash
| | * recovery: init backgroundIcon properly to avoid recovery mode crashyetta_wu2013-06-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We met factory issue that some devices would crash in recovery mode because the backgroundIcon array did not reset to NULL when initializing. Bug: 9568624 Change-Id: I13c7a7cc1053a7ffdbadd71740c1a2b4a2af6bba Signed-off-by: yetta_wu <yetta_wu@asus.com> Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | recovery: init backgroundIcon properly to avoid recovery mode crashyetta_wu2013-07-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We met factory issue that some devices would crash in recovery mode because the backgroundIcon array did not reset to NULL when initializing. Bug: 9568624 Change-Id: I13c7a7cc1053a7ffdbadd71740c1a2b4a2af6bba Signed-off-by: yetta_wu <yetta_wu@asus.com> Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | recovery: copy logs to cache more aggressivelyDoug Zongker2013-07-021-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | Copy logs to /cache immediately upon a package installation failure; don't wait for recovery to finish. (If the user reboots without exiting recovery the "right" way, the logs never get copied at all.) Change-Id: Iee342944e7ded63da5a4af33d11ebc876f6c0835
* | | am 8cd12112: am d51bfc9b: Merge "Fix the potential segmentation fault"Doug Zongker2013-06-041-1/+7
|\ \ \ | |/ / | | | | | | | | | * commit '8cd12112e444e01163526fe6ab237f6164b0018b': Fix the potential segmentation fault
| * | am d51bfc9b: Merge "Fix the potential segmentation fault"Doug Zongker2013-06-041-1/+7
| |\ \ | | |/ | |/| | | | | | | * commit 'd51bfc9b1fe89321af3c629e7b23a747050332e1': Fix the potential segmentation fault
| | * Merge "Fix the potential segmentation fault"Doug Zongker2013-06-041-1/+7
| | |\
| | | * Fix the potential segmentation faultJin Feng2013-06-041-1/+7
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Extral newline can trigger recovery segmentation fault Test case: host$ adb shell 'echo -en "--update_package=ota_update.zip\n--show_text\n\n" > /cache/recovery/command' host$ adb reboot recovery Change-Id: If1781c1f5ad94a273f1cb122b67cedd9fb562433 Signed-off-by: Jin Feng <jin88.feng@gmail.com>
* | | am da1ebaef: recovery: save logs from the last few invocations of recoveryDoug Zongker2013-05-210-0/+0
|\ \ \ | |/ / | | | | | | | | | * commit 'da1ebaef0aa8e38db6edf8bfc3d96290461a424f': recovery: save logs from the last few invocations of recovery
| * | recovery: save logs from the last few invocations of recoveryDoug Zongker2013-05-211-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | Extends the last_log mechanism to save logs from the last six invocations of recovery, so that we're more likely to have useful logs even if the device has repeatedly booted into recovery. Change-Id: I08ae7a09553ada45f9e0733fe1e55e5a22efd9f9
* | | am 7c3ae45e: recovery: turn on text display for install errors in debug buildsDoug Zongker2013-05-210-0/+0
|\ \ \ | |/ / | | | | | | | | | * commit '7c3ae45ef9306d2ff4b491e0488c8849bf15ce90': recovery: turn on text display for install errors in debug builds
| * | recovery: turn on text display for install errors in debug buildsDoug Zongker2013-05-213-8/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hopefully this will reduce the number of OTA "bugs" reported that are really just someone having changed their system partition, invalidating future incremental OTAs. Also fixes a longstanding TODO about putting LOGE() output in the on-screen display. Change-Id: I44e5be65b2dee7ebce2cce28ccd920dc3d6e522e
* | | recovery: save logs from the last few invocations of recoveryDoug Zongker2013-05-161-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | Extends the last_log mechanism to save logs from the last six invocations of recovery, so that we're more likely to have useful logs even if the device has repeatedly booted into recovery. Change-Id: I08ae7a09553ada45f9e0733fe1e55e5a22efd9f9
* | | recovery: turn on text display for install errors in debug buildsDoug Zongker2013-05-163-8/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hopefully this will reduce the number of OTA "bugs" reported that are really just someone having changed their system partition, invalidating future incremental OTAs. Also fixes a longstanding TODO about putting LOGE() output in the on-screen display. Change-Id: I44e5be65b2dee7ebce2cce28ccd920dc3d6e522e
* | | Merge "verifier: update to support certificates using SHA-256"Doug Zongker2013-04-1113-109/+254
|\ \ \
| * | | verifier: update to support certificates using SHA-256Doug Zongker2013-04-1013-109/+254
| | | | | | | | | | | | | | | | Change-Id: Ifd5a29d459acf101311fa1c220f728c3d0ac2e4e
* | | | am 4e21482d: Add liblogYing Wang2013-04-093-2/+3
|\ \ \ \ | |/ / / |/| / / | |/ / | | | * commit '4e21482d979f6f81b34f92e664adf137555d4504': Add liblog
| * | Add liblogYing Wang2013-04-093-2/+3
| | | | | | | | | | | | | | | Bug: 8580410 Change-Id: Ie60dade81c06589cb0daee431611ded34adef8e6
* | | am b5bd4fb7: (-s ours) am 2f50df00: am c09444eb: am f91bd41c: am 1c302caf: ↵Jean-Baptiste Queru2013-03-110-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | (-s ours) am c14a7fbd: (-s ours) Reconcile with jb-mr1-release - do not merge * commit 'b5bd4fb79544b1939e9f977a88a707bdc90cf66c':
| * | am 2f50df00: am c09444eb: am f91bd41c: am 1c302caf: (-s ours) am c14a7fbd: ↵Jean-Baptiste Queru2013-03-110-0/+0
| |\ \ |/ / / | | | | | | | | | | | | (-s ours) Reconcile with jb-mr1-release - do not merge * commit '2f50df0058dff23fbdfc6b123bb92aaa90aea09b':
| * | am c09444eb: am f91bd41c: am 1c302caf: (-s ours) am c14a7fbd: (-s ours) ↵Jean-Baptiste Queru2013-03-110-0/+0
| |\ \ | | |/ | |/| | | | | | | | | | Reconcile with jb-mr1-release - do not merge * commit 'c09444eb5b66a5702db99d9b7de23cb73bf11aa4':
| | * am f91bd41c: am 1c302caf: (-s ours) am c14a7fbd: (-s ours) Reconcile with ↵Jean-Baptiste Queru2013-03-110-0/+0
| | |\ | | | | | | | | | | | | | | | | | | | | jb-mr1-release - do not merge * commit 'f91bd41c46ec8bd085c361ea0bdf53efe13c87ca':
| | | * am 1c302caf: (-s ours) am c14a7fbd: (-s ours) Reconcile with jb-mr1-release ↵Jean-Baptiste Queru2013-03-110-0/+0
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | - do not merge * commit '1c302cafdd793ae250f767b88da718b916751feb':
| | | | * am c14a7fbd: (-s ours) Reconcile with jb-mr1-release - do not mergeJean-Baptiste Queru2013-03-110-0/+0
| | | | |\ | | | |/ / | | | | | | | | | | * commit 'c14a7fbd895aed1ce34c0682ece5ef361f21dd1c':
| | | | * Reconcile with jb-mr1-release - do not mergeJean-Baptiste Queru2013-03-110-0/+0
| | | | |\
* | | | | | more font improvements and cleanupDoug Zongker2013-03-0711-33/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Get rid of the notion of a font's "ascent"; the reference point for drawing is the top-left corner of the character box rather than the baseline. Add some more space between the menu entries and make the highlight bar around the text. Replace the default font.png with two images; the build system will include one or the other based on the resolutions of the device. Restore the original compiled-in bitmap font, to fall back on when font.png can't be found (eg, in the charger binary). Add support for bold text (when a font.png image is used). Change-Id: I6d211a486a3636f20208502b1cd2aeae8b9f5b02
* | | | | | recovery: change font for menus to be an imageDoug Zongker2013-03-045-255/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of representing the font used for menus and log messages in the recovery binary, load it from a resource PNG image. This allows different devices to substitute their own font images. Change-Id: Ib36b86db3d01298aa7ae2b62a26ca29e6ef18014
* | | | | | am ec838b88: Merge "minadbd: remove unnecessary header files."Nick Kralevich2013-03-011-2/+0
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit 'ec838b885dd8b74b8682dd2498c7da8f7afca291': minadbd: remove unnecessary header files.
| * | | | | Merge "minadbd: remove unnecessary header files."Nick Kralevich2013-03-011-2/+0
| |\ \ \ \ \
| | * | | | | minadbd: remove unnecessary header files.Nick Kralevich2013-03-011-2/+0
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: Iff2b53d9e63b279d0262cd2e9cfb11e0ca4d6b42
* | | | | | Add a CleanSpec for bootable/recoveryBen Murdoch2013-02-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ifa7a3aa5e2e3fd5d13266115d592bbfd0aa309c5
* | | | | | Move to using the new unified fstab in recovery.Ken Sumrall2013-02-194-149/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of reading it's own fstab, have recovery invoke fs_mgr to read the unified fstab. Change-Id: I80c75d2c53b809ac60a4a69f0ef7ebfa707c39e9
* | | | | | am f7d42340: am c560a67b: add optional overscan compensation to recovery ↵Doug Zongker2013-01-023-5/+32
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | graphics * commit 'f7d423403d0aed6b8488559185e2246257abc58b': add optional overscan compensation to recovery graphics
| * | | | | am c560a67b: add optional overscan compensation to recovery graphicsDoug Zongker2013-01-023-5/+32
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit 'c560a67b12350102ba237fa70cedc7c972ad4e4b': add optional overscan compensation to recovery graphics
| | * | | | add optional overscan compensation to recovery graphicsDoug Zongker2012-12-183-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If your screen is a TV, it may not actually be displaying the edges of the framebuffer. Allow specifying an overscan percentage, and move each edge of the framebuffer in by that percent of the width/height. (The gr_* layer just lies to the caller about the size of the framebuffer, telling the caller it's smaller than it really is, and offsets all drawing commands to match.) Change-Id: I11bb2feb39ae522bd3e957a14ebdecf3609e0fdc
* | | | | | am 6a1d21a0: am bb01d0c1: add NextCheckKeyIsLong() and EnqueueKey() methodsDoug Zongker2012-12-182-9/+35
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit '6a1d21a0ceb1fb46e9113f3d2a81390612806dfd': add NextCheckKeyIsLong() and EnqueueKey() methods
| * | | | | am bb01d0c1: add NextCheckKeyIsLong() and EnqueueKey() methodsDoug Zongker2012-12-182-9/+35
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit 'bb01d0c12b29e6ff4a9169c21c95408e7eb882c5': add NextCheckKeyIsLong() and EnqueueKey() methods
| | * | | | add NextCheckKeyIsLong() and EnqueueKey() methodsDoug Zongker2012-12-172-9/+35
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NextCheckKeyIsLong() is called right before each call to CheckKey() to tell the implementation if the key is a long-press or not. (To be used on devices with few buttons.) It's done as a separate method (rather than a parameter to CheckKey) to not break existing recovery UI implementations. EnqueueKey() can be called from CheckKey() to put arbitrary code codes in the synchronous queue (to be processed by HandleMenuKey). Change-Id: If8a83d66efe0bbc9e2dc178e5ebe12acd216324b
* | | | | am 9028fb4d: Merge "Pass the correct pointer to munmap on failure."Elliott Hughes2012-12-171-4/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '9028fb4d4ceed040c7d3ae9b1ceaa5a7472856ba': Pass the correct pointer to munmap on failure.
| * | | | Merge "Pass the correct pointer to munmap on failure."Elliott Hughes2012-12-171-4/+4
| |\ \ \ \
| | * | | | Pass the correct pointer to munmap on failure.Elliott Hughes2012-12-171-4/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This won't ever happen, and you're probably screwed anyway if it does, but that's no excuse... Change-Id: I2c56f607e351e84308a72b41b834d13aaa98fc62
* | | | | am 27f31606: (-s ours) am aa0dbb25: Reconcile with jb-mr1-factory-release ↵The Android Open Source Project2012-11-060-0/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | jb-mr1-release - do not merge * commit '27f31606390eeed50d27f2c243dfbfe79e8b5ae2':
| * | | | am aa0dbb25: Reconcile with jb-mr1-factory-release jb-mr1-release - do not mergeThe Android Open Source Project2012-11-060-0/+0
| |\ \ \ \ | | |/ / / | | | | | | | | | | * commit 'aa0dbb25a0ae51a8e53018fe05bf59164d9804cb':
| | | | |
| | | \ \
| | *-. \ \ Reconcile with jb-mr1-factory-release jb-mr1-release - do not mergeThe Android Open Source Project2012-11-060-0/+0
| | |\ \ \ \ | | | |_|/ / | | |/| | / | | | | |/ Change-Id: Ibef4c059b7a7e055fe562c60656a9f7f7de4841a
* | | | | move key loading to verifier codeDoug Zongker2012-11-024-103/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an option to verifier_test to load keys from a file, the way the recovery does. Change-Id: Icba0e391164f2c1a9fefeab4b0bcb878e91d17b4
* | | | | reduce some recovery loggingDoug Zongker2012-10-192-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make minzip log only a count of files when extracting, not individual filenames. Make patching only chatter about free space if there's not enough and compact the other messages. Only the last 8k of the recovery log gets uploaded; this makes it more likely that we will get all of it. Change-Id: I529cb4947fe2185df82b9da5fae450a7480dcecd
* | | | | am cd74108c: resolved conflicts for merge of 78afed1c to jb-mr1-dev-plus-aospKenny Root2012-10-1611-53/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'cd74108cdac228e946ca8b6ea2ff11ab62941a6d': Remove HAVE_SELINUX guards
| * | | | resolved conflicts for merge of 78afed1c to jb-mr1-dev-plus-aospKenny Root2012-10-1611-53/+4
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Change-Id: I861e3a6aa07c448909b2ae54618bba178bd6e457
| | * \ \ \ Merge "Remove HAVE_SELINUX guards"Kenny Root2012-10-1611-53/+4
| | |\ \ \ \