summaryrefslogtreecommitdiffstats
path: root/bootloader.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow custom bootloader msg offset in block miscMatt Mower2014-07-161-0/+12
| | | | | | | | Use board define BOARD_RECOVERY_BLDRMSG_OFFSET with a decimal integer to define a custom offset where the bootloader message should be read/written. Change-Id: Id13a23dd41bb7d907b96d657b8e21eb839dfeaa9
* Do not wipe block misc on bootloader msg updateMatt Mower2014-07-161-2/+2
| | | | | | | | | | | When set_bootloader_message_block() is called, it fopens /misc in write binary mode, wiping all contents other than what is being written. The bootloader msg structure is only 1024+32+32 bytes, so some manufacturers store more than just a bootloader msg on /misc. fopen in read+append mode so that only the bootloader msg is written and the rest of the partition is left untouched. Change-Id: I2d2fbdf067282744864a19d404ca7dc12f688a98
* Update to latest AOSP masterDees_Troy2013-09-041-38/+106
|\ | | | | | | Merge in latest commits from AOSP master and fix merge conflicts
| * Move to using the new unified fstab in recovery.Ken Sumrall2013-02-201-21/+22
| | | | | | | | | | | | | | Instead of reading it's own fstab, have recovery invoke fs_mgr to read the unified fstab. Change-Id: I80c75d2c53b809ac60a4a69f0ef7ebfa707c39e9
* | Fix handling of AOSP recovery commandsDees_Troy2013-04-081-0/+72
| |
* | Move all AOSP code out of recovery binaryDees_Troy2013-04-041-2/+65
| | | | | | | | | | | | Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
* | TWRP-ify AOSP codeDees_Troy2012-09-051-0/+2
|/ | | | | | | 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
* turn recovery into a C++ binaryDoug Zongker2011-10-311-0/+202
Change-Id: I423a23581048d451d53eef46e5f5eac485b77555