summaryrefslogtreecommitdiffstats
path: root/recovery_ui.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* TWRP-ify AOSP codeDees_Troy2012-09-051-0/+86
| | | | | | | Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere
* C++ class for device-specific codeDoug Zongker2011-10-311-95/+0
| | | | | | | | | | Replace the device-specific functions with a class. Move some of the key handling (for log visibility toggling and rebooting) into the UI class. Fix up the key handling so there is less crosstalk between the immediate keys and the queued keys (an increasing annoyance on button-limited devices). Change-Id: I698f6fd21c67a1e55429312a0484b6c393cad46f
* turn recovery into a C++ binaryDoug Zongker2011-10-311-0/+8
| | | | Change-Id: I423a23581048d451d53eef46e5f5eac485b77555
* Allow applying an OTA package manually from cache.Michael Ward2011-06-241-0/+1
| | | | Change-Id: I8f78377555c658a992ca95cadf11b67ddc93fed8
* make recovery UI images more general; allow for installation animationDoug Zongker2011-03-011-0/+6
| | | | | | | | | | | 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
* generalize "install from sdcard" to "install from external storage"Doug Zongker2010-07-301-1/+2
| | | | | | | Allow sideloading of OTA packages from USB drives that appear as /dev/block/sda1. Change-Id: I1908576c24547cd0088475d8c8917699cd906868
* change log recovery to generic device_recovery_start functionDoug Zongker2010-02-021-0/+3
| | | | | | | | | | Remove (or at least stop calling) the HTC-specific mechanism for preserving the recovery log from before a radio or hboot update. Replace it with a generic device_recovery_start() function which each device's code can implement to do whatever it wants on recovery startup. Change-Id: If3cca4b498c0b1cf0565236404ecf56a1fc46123
* fix compile warnings in recovery, change imagesDoug Zongker2009-07-231-2/+2
| | | | | | | | | 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.
* add function for device-specific wipe data featuresDoug Zongker2009-06-191-0/+8
| | | | | | | | Some devices want to do special things when recovery wipes data (eg, wipe data in their baseband processor as well). Add a hook in the device-specific recovery library that gets called when data is wiped. Also add an amend root for the "mbm" partition.
* split out device-specific recovery UI code into vendor directoriesDoug Zongker2009-06-111-0/+68
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.