summaryrefslogtreecommitdiffstats
path: root/ui.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Have recovery reboot using the new android_reboot() function.Ken Sumrall2011-03-111-2/+2
| | | | | | | | The new android_reboot() function is a nicer way to reboot the system. I can optionally sync() and remount read-only writable filesystems. This fixes bug 3350709. Change-Id: Ic4c8676debd642e57bce3107b99dd810d90b6f82
* don't reboot for inactivity if USB is connectedDoug Zongker2011-03-091-13/+38
| | | | | | | (Cherry-pick back from master.) Bug: 4071007 Change-Id: I28355c593770df678968185171bdd19dabe7f062
* change the default recovery assets to be in holograph styleDoug Zongker2011-03-021-11/+9
| | | | | | | | Also remove the weird backwards compatibility thing for animations with fewer than 10 frames. Frames are always named "name01.png", "name02.png", ..., no matter how many there are. Change-Id: I7af64fdec1bfcdb0464998b735ec8d6c626ffe9d
* make recovery UI images more general; allow for installation animationDoug Zongker2011-03-011-50/+136
| | | | | | | | | | | Change some of the UI parameters (# of indeterminate progress bar frames, fps, etc.) from #defined constants to variables that can be set by the device-specific recovery_ui code (via a new function). Support overlaying different images on top of the base installation icon to animate it. Make the FPS control more accurate. Change-Id: I9268b389b7ea6b3ed9e0c7eae37baf4272e60edd
* make recovery reboot after 2 minutes of no activityDoug Zongker2011-01-251-4/+31
| | | | | | | | | | | | | | | If recovery sits for 2 minutes in prompt_and_wait(), and you've never turned the screen on via the magic keypress, go ahead and reboot. (We used to assume that the user could pull the battery to get out of this state, but on devices with nonremovable batteries...) If you've ever enabled display of the log/menu since recovery started, we assume you know what you're doing and will stay in recovery until you choose to reboot. Bug: 3387873 Bug: 3387274 Change-Id: I041621e5db132df9a925e6808845a7c45e1b427a
* am 28cae98c: am 4bc98062: add --show_text option to recoveryDoug Zongker2010-09-031-0/+8
|\ | | | | | | | | | | | | Merge commit '28cae98c834fb4bc47588b34dc3fe19811d5162b' * commit '28cae98c834fb4bc47588b34dc3fe19811d5162b': add --show_text option to recovery
| * add --show_text option to recoveryDoug Zongker2010-09-031-0/+8
| | | | | | | | Change-Id: Ie6c6c920260dfa759fbb15b1f352d6bb0fa7146c
| * Revert 21f0f97ebabb47adcbfe8d38b02685f2019b4eb3Ying Wang2010-09-011-1/+1
| | | | | | | | Change-Id: I46e4d7fe76e4219207e46f19e50188e38bb932b7
| * Fix for crespo.Ying Wang2010-08-311-1/+1
| | | | | | | | Change-Id: I008510bf614606a46a630c7adc39464ce1143ec3
* | EMMC support in applypatchDoug Zongker2010-07-081-1/+1
| | | | | | | | | | | | | | | | Let applypatch read and write EMMC partitions as well as MTD ones. This enables incremental updates that include boot image changes, as well as OTA of new recovery partitions. Change-Id: I3766b9e77c639769ddf693b675da51d57f6e6b1d
* | support for ext4/EMMC filesystems in updater binaryDoug Zongker2010-07-021-1/+1
| | | | | | | | | | | | | | | | | | Make the mount and format functions take extra parameters describing the filesystem type and add support for mounting and formatting ext4 filesystems on EMMC. Change recovery to consistently use stdout for status messages instead of mixing stdout and stderr.
* | support installing any .zip file on the sdcardDoug Zongker2010-04-081-2/+2
|/ | | | | | | | Replaces the "install sdcard:update zip" menu option with one that displays a menu of zip files (and subdirs) on the sdcard and lets you pick which one to install. Change-Id: I85c94c0e9bc8e05ca52031fc29ca2624c2695ced
* bump updater API version to 3; deprecate firmware update commandDoug Zongker2010-02-031-21/+0
| | | | | | | | | Remove support for the HTC-specific "firmware" update command and the corresponding edify function write_firmware_update(). This functionality is now done by an edify extension library that lives in vendor/htc. Change-Id: I80858951ff10ed8dfff98aefb796bef009e05efb
* simplify construction of the recovery progress barDoug Zongker2009-10-091-23/+11
| | | | | | | | | | | Instead of six separate images for the left end, right end, and tiled center portion of the full and empty progress bars, just use two images: a full bar and an empty bar. Draw the left side of the full bar and the right side of the empty one, moving the boundary rightward to "fill" the bar. This makes recovery trivially smaller, and allows fancier images to be used as progress bars. Support paletted PNG images as resources.
* don't complain if recovery icon is shortDoug Zongker2009-09-151-1/+5
| | | | | | | | If the a recovery icon file is so short that we can't even read the 8-byte header, put a message in the log but not on the device screen. We intentionally have zero-length files for some icons on some devices, if they're never shown (eg, the firmware installation icons are only used on HTC devices).
* fix compile warnings in recovery, change imagesDoug Zongker2009-07-231-0/+1
| | | | | | | | | gcc 4.4 complains about some of the recovery ui functions not being declared. To include the header, we have to fix the 'volatile' declaration (otherwise there's a compiler error). Move the dream-specific images to vendor/htc/dream, make the default images a generic phone.
* split out device-specific recovery UI code into vendor directoriesDoug Zongker2009-06-111-8/+2
| | | | | | | | | Take some device-specific details of the recovery UI (eg, what keys to press to bring up the interface and perform actions, exact text of the menu, etc.) and split them out into separate C functions. Arrange to take implementations of those functions from the appropriate vendor directory at build time. Provide a default implementation in case no vendor-specific one is available.
* AI 144105: am: CL 144082 Remove the unused "unpacking" recovery icon.Doug Zongker2009-04-021-1/+0
| | | | | | | Original author: dougz Merged from: //branches/donutburger/... Automated import of CL 144105
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-0/+542
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-542/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-111-9/+131
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+420