aboutsummaryrefslogtreecommitdiffstats
path: root/device.cpp
Commit message (Collapse)AuthorAgeFilesLines
* recovery: Fix "Wipe data" wrong "System reset" namingAdrian DC2017-01-171-1/+1
| | | | | | | | | * Right now the "system reset" performs a data wipe, because the real system reset was moved to advanced by Ib9bc6967b98d022880cfe7fa8e324cd64b07d248 Change-Id: I302161ed757f449469ce05019f6bfe5b205c5800 (cherry picked from commit 41ed544fb8d6ad2626d5eb4c35c9bcb38e2aed8e)
* recovery: Add wipe system partition optionMichael Bestas2016-04-051-0/+2
| | | | Change-Id: Id606cef249a7464037443de6265055803c290d82
* recovery: Implement sysbarTom Marshall2016-03-071-2/+10
| | | | | | | | | | | | Add a system bar (navigation bar) similar to the main Android system with back and home buttons. This makes it easier for users to figure out how to go back on devices that lack hardware buttons, and also provides a quick way to get back to the main menu. Note only buttons that do not have a hardware equivalent are shown, in order to prevent redundancy and confusion. Change-Id: I7538749978837571a8c250c3c8e54ac127b39d84
* recovery: User recovery shouldn't allow mounting systemPat Erley2016-02-111-0/+4
| | | | | | OPO-489 Change-Id: I157116fdc7c85a42ce3c978b52f949e3cbc25b31
* recovery: Remove insecure wipe from menu on user buildsPat Erley2016-02-051-0/+4
| | | | | | | | This would allow people who gain access to a pin-locked device to remove the pin and gain access to media. This will still allow wipes from Android to preserve media. Change-Id: I73bc9d176297081a41c8d29fc77638d665442fe8
* recovery: Menu rewrites and cleanupsTom Marshall2016-02-041-22/+98
| | | | | | | | | | | | | | * Introduce a menu stack for navigating sub-menus. The menu data structure format is a bit messy, but necessary in order to provide a string list for the ui. * Create "advanced" sub-menu for rarely used and dangerous commands. * Create "factory reset" sub-menu for various reset and wipe commands. * Separate "wipe data" and "factory reset" items. Change-Id: Ib9bc6967b98d022880cfe7fa8e324cd64b07d248
* recovery: Allow devices to reboot to download modeAndreas Blaesius2015-11-251-0/+4
| | | | Change-Id: Ib6ccf98ed68efacbb3b8c8238945da60b23a20d7
* sr: Touch UITom Marshall2015-11-251-0/+4
| | | | Change-Id: I4ee87f3474aec0496c47bb561ddecc74e151cbbf
* recovery: datamedia supportTom Marshall2015-11-251-3/+5
| | | | Change-Id: I4cef82973a15111bee92cd7c81f0e1db8d211991
* recovery: Awakening of MiniVoldTom Marshall2015-11-251-9/+7
| | | | | | A minimal vold client for recovery. Change-Id: Id25d955dc1861a910e5f5fc27d9a19e245d66833
* Add back and home key handling.Steve Kondik2015-11-201-0/+15
| | | | Change-Id: I5abac0f1b59d480b859f77ce16126f13fccd440b
* Move the menu header out of the menu.Elliott Hughes2015-04-131-18/+0
| | | | | | | | | | | This makes it easier for us to deal with arbitrary information at the top, and means that headers added by specific commands don't overwrite the default ones. Add the fingerprint back, but broken up so it fits even on sprout's display. Change-Id: Id71da79ab1aa455a611d72756a3100a97ceb4c1c
* Auto-detect whether to use the long-press UI.Elliott Hughes2015-04-101-7/+43
| | | | Change-Id: Ie77a5584e301467c6a5e164d2c62d6f036b2c0c0
* Move "Mount /system" to the main menu.Elliott Hughes2015-04-101-3/+5
| | | | | | | Everyone's adding secret key combinations for this anyway, and it's very useful when debugging. Change-Id: Iad549452b872a7af963dd649f283ebcd3ea24234
* Move default implementations into Device.Elliott Hughes2015-04-091-0/+54
The current abstract class was a nice idea but has led to a lot of copy & paste in practice. Right now, no one we know of has any extra menu items, so let's make the default menu available to everyone. (If we assume that someone somewhere really does need custom device-specific menu options, a better API would let them add to our menu rather than replacing it.) Change-Id: I59f6a92f3ecd830c2ce78ce9da19eaaf472c5dfa