aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* store partition length in recovery.fstabDoug Zongker2011-02-172-9/+41
| | | | | | Don't hardcode magical partition behavior in roots.c. Change-Id: I587fc2c066575b51c11efd2e45a50f5b864df484
* Fix x86 build.Ying Wang2011-02-083-7/+0
| | | | Change-Id: Iada6268b0a72ee832113ea397334cc7950a37051
* am 5df22d03: am 5cae445e: make recovery reboot after 2 minutes of no activityDoug Zongker2011-01-253-4/+42
|\ | | | | | | | | * commit '5df22d03d2e7c6de213d83a58e0af39c42f839ca': make recovery reboot after 2 minutes of no activity
| * am 5cae445e: make recovery reboot after 2 minutes of no activityDoug Zongker2011-01-253-4/+42
| |\ | | | | | | | | | | | | * commit '5cae445e43c5928daba0a76745b0dd2657274eda': make recovery reboot after 2 minutes of no activity
| | * make recovery reboot after 2 minutes of no activityDoug Zongker2011-01-253-4/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 da993fcf: am 8d58c957: Merge "Free allocated struct after freeing field"Doug Zongker2011-01-211-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'da993fcf2665102435b05d6b20a4c4e8f8bd3b8f': Free allocated struct after freeing field
| * | am 8d58c957: Merge "Free allocated struct after freeing field"Doug Zongker2011-01-211-1/+1
| |\ \ | | |/ | |/| | | | | | | * commit '8d58c957036835db148acc4e506633a016dc6c7e': Free allocated struct after freeing field
| | * Merge "Free allocated struct after freeing field"Doug Zongker2011-01-201-1/+1
| | |\
| | | * Free allocated struct after freeing fieldChristian Lindeberg2011-01-191-1/+1
| | |/ | | | | | | | | | | | | | | | | | | Free allocated MtdReadContext after freeing buffer field in struct, not before. Change-Id: I237920dc36115389cd2d6948e7a962dbec22fe56
* | | Merge "remove encrypted filesystem code from recovery"Doug Zongker2011-01-214-399/+2
|\ \ \ | |/ / |/| |
| * | remove encrypted filesystem code from recoveryDoug Zongker2011-01-184-399/+2
| | | | | | | | | | | | | | | | | | | | | This was never used; encrypted filesystems are being done a different way now. Change-Id: I519c57b9be44d001f0b81516af7bfc252069892b
* | | Reserve the last 16 Kbytes of /data for the crypto footer.Ken Sumrall2011-01-192-10/+17
|/ / | | | | | | | | | | | | When formatting /data, if it's an ext4 filesystem, reserve the last 16 Kbytes for the crypto footer. Change-Id: I7b401d851ee87732e5da5860df0287a1c331c5b7
* | option to allow recovery to use 24-bit graphics in UIDoug Zongker2011-01-132-10/+22
| | | | | | | | | | | | | | Add "RECOVERY_24_BIT := true" to the device's BoardConfig.mk to use 24-bit framebuffers in the recovery ui. Change-Id: Iaede138bf7870becf237f12f1c0e49c9ff82d007
* | Update make_ext4fs arguments in roots.cColin Cross2011-01-051-1/+1
| | | | | | | | Change-Id: I835e55fb80add6a74cd4d99f77b2528829d9a349
* | Update arguments to make_ext4fsColin Cross2010-12-291-1/+1
| | | | | | | | Change-Id: Id96e98da76b3091987b01651f980797b1d6b49d8
* | am c5ebf1fb: am 5d6309e7: fix comparison of ECC stats before and after mtd readsDoug Zongker2010-11-041-0/+2
|\ \ | |/ | | | | | | * commit 'c5ebf1fba2f870a4e9453721112900975c18e083': fix comparison of ECC stats before and after mtd reads
| * am 5d6309e7: fix comparison of ECC stats before and after mtd readsDoug Zongker2010-11-031-0/+2
| |\ | | | | | | | | | | | | * commit '5d6309e77f6055a9aec062dd991d071054726ebb': fix comparison of ECC stats before and after mtd reads
| | * fix comparison of ECC stats before and after mtd readsDoug Zongker2010-11-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ECC errors are found by comparing the result of ioctl(ECCGETSTATS) before and after the read. But if an error was found causing us to go to the next block, we'd compare the stats before the *first* read to the stats after the second (third, fourth, etc.) reads, so we'd read to the end of the partition without ever succeeding. Fix logic so we compare the values before and after each read independently. Bug: 3162777 Change-Id: I5a13abd7243d2afd1d21bd98cbb233e5124b2e80
* | | am 8521ef59: am 51266d13: clear recovery framebuffers on allocation; display ↵Doug Zongker2010-11-012-1/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | icon right after ui_init * commit '8521ef5965675da85c7bbbe9c8b86fe68716e855': clear recovery framebuffers on allocation; display icon right after ui_init
| * | am 51266d13: clear recovery framebuffers on allocation; display icon right ↵Doug Zongker2010-11-012-1/+3
| |\ \ | | |/ | | | | | | | | | | | | | | | after ui_init * commit '51266d1397309978eac9b2e96035582454f0321b': clear recovery framebuffers on allocation; display icon right after ui_init
| | * clear recovery framebuffers on allocation; display icon right after ui_initDoug Zongker2010-11-012-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make ui_init() clear the framebuffer memory it maps in so the user isn't treated to a visible flash of random bits on recovery startup. Call ui_set_background() (to show the installing icon) right after ui_init() to display something while device_recovery_start() is working (which can take a second or two on some devices). Bug: 3145331 Change-Id: I11e7859fab5847370ea4f4932c3fb1558af26c5d
* | | am 2d87023e: am 2c3539e4: save the log from recovery\'s last run in ↵Doug Zongker2010-09-301-17/+40
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | /cache/recovery/last_log Merge commit '2d87023e77b20aa2196c8ceae833b33040b0dc57' * commit '2d87023e77b20aa2196c8ceae833b33040b0dc57': save the log from recovery's last run in /cache/recovery/last_log
| * | am 2c3539e4: save the log from recovery\'s last run in /cache/recovery/last_logDoug Zongker2010-09-291-17/+40
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '2c3539e4d8251ad91e0b881253d39583680093e8' into gingerbread-plus-aosp * commit '2c3539e4d8251ad91e0b881253d39583680093e8': save the log from recovery's last run in /cache/recovery/last_log
| | * save the log from recovery's last run in /cache/recovery/last_logDoug Zongker2010-09-291-17/+40
| | | | | | | | | | | | | | | | | | | | | Also, don't lose the start of the log whenever a wipe cache is performed. Change-Id: I29999762854eb36d1ff2bc20b4183c9077b19777
* | | am 704fa750: am 9b125b04: handle old-style CACHE: packagesDoug Zongker2010-09-221-2/+18
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '704fa75024467fb4e362537f7c341eb056e283b5' * commit '704fa75024467fb4e362537f7c341eb056e283b5': handle old-style CACHE: packages
| * | am 9b125b04: handle old-style CACHE: packagesDoug Zongker2010-09-221-2/+18
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '9b125b04c6ba8f07d8aa6494d58917a596443dc5' into gingerbread-plus-aosp * commit '9b125b04c6ba8f07d8aa6494d58917a596443dc5': handle old-style CACHE: packages
| | * handle old-style CACHE: packagesDoug Zongker2010-09-221-2/+18
| | | | | | | | | | | | Change-Id: I7bf52b56770c207ba1c8329243991b07ebb65779
* | | am af78591c: am 2c3c5c15: Merge "mount sdcard only on demand; fix sideload ↵Doug Zongker2010-09-212-3/+26
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | installs" into gingerbread Merge commit 'af78591c9a2aa8379c2d8528c31ea1eb813f6cae' * commit 'af78591c9a2aa8379c2d8528c31ea1eb813f6cae': mount sdcard only on demand; fix sideload installs
| * | am 2c3c5c15: Merge "mount sdcard only on demand; fix sideload installs" into ↵Doug Zongker2010-09-212-3/+26
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit '2c3c5c15d15faf1c9fa074851c57d0afa2a40d28' into gingerbread-plus-aosp * commit '2c3c5c15d15faf1c9fa074851c57d0afa2a40d28': mount sdcard only on demand; fix sideload installs
| | * Merge "mount sdcard only on demand; fix sideload installs" into gingerbreadDoug Zongker2010-09-212-3/+26
| | |\
| | | * mount sdcard only on demand; fix sideload installsDoug Zongker2010-09-212-3/+26
| | | | | | | | | | | | | | | | | | | | Bug: 3009493 Change-Id: I1a7f99fc41a6a7012742e82f8c06a0c75584890a
* | | | am 8147ba85: (-s ours) am 93ca4fc6: use fs_type "emmc" instead of "block" ↵Doug Zongker2010-09-210-0/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | for consistency (do not merge) Merge commit '8147ba850b2e74dc950183e67c77a0da2b1a19b7' * commit '8147ba850b2e74dc950183e67c77a0da2b1a19b7': use fs_type "emmc" instead of "block" for consistency (do not merge)
| * | | am 93ca4fc6: use fs_type "emmc" instead of "block" for consistency (do not ↵Doug Zongker2010-09-211-2/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | merge) Merge commit '93ca4fc6943a3ebf758c5db98531531b8fe92c98' into gingerbread-plus-aosp * commit '93ca4fc6943a3ebf758c5db98531531b8fe92c98': use fs_type "emmc" instead of "block" for consistency (do not merge)
| | * | use fs_type "emmc" instead of "block" for consistency (do not merge)Doug Zongker2010-09-211-2/+2
| | |/ | | | | | | | | | Change-Id: Iab60665d9c6daef7893896a64b7f319120a5f8ee
* | | remove the notion of "root path"; support mixed flash typesDoug Zongker2010-09-219-535/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the wacky notion of "roots" and "root paths" (those things that look like "FOO:some/path" instead of just "/foo/some/path"). Let each device specify its own table of available partitions and how to mount them (needed for devices that use both MTD/yaffs2 and EMMC/ext4 partitions). (Cherrypicked from gingerbread w/slight edits.) Change-Id: I2479ce76b13e73f1d12035c89386c3a82b3edf51
* | | am 3dba40da: (-s ours) am d4208f9f: remove the notion of "root path"; ↵Doug Zongker2010-09-210-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | support mixed flash types (do not merge) Merge commit '3dba40da1e533c6f419857e4274d9d9dd55868b6' * commit '3dba40da1e533c6f419857e4274d9d9dd55868b6': remove the notion of "root path"; support mixed flash types (do not merge)
| * | am d4208f9f: remove the notion of "root path"; support mixed flash types (do ↵Doug Zongker2010-09-219-471/+340
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | not merge) Merge commit 'd4208f9f9d4e9f268ba1888c1fe879ee73eb7e47' into gingerbread-plus-aosp * commit 'd4208f9f9d4e9f268ba1888c1fe879ee73eb7e47': remove the notion of "root path"; support mixed flash types (do not merge)
| | * remove the notion of "root path"; support mixed flash types (do not merge)Doug Zongker2010-09-209-471/+340
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the wacky notion of "roots" and "root paths" (those things that look like "FOO:some/path" instead of just "/foo/some/path"). Let each device specify its own table of available partitions and how to mount them (needed for devices that use both MTD/yaffs2 and EMMC/ext4 partitions). Change-Id: I18b0a572a71c5e087e0b7ae11b1774388339bfd1
* | | resolved conflicts for merge of 40f0d3b4 to masterDoug Zongker2010-09-173-82/+3
|\ \ \ | |/ / | | | | | | Change-Id: If14ab094a8bb11106b0ea7fdf8736e5e4c223089
| * | am d7d42089: remove unneeded partition rootsDoug Zongker2010-09-173-82/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'd7d4208976125d114d0b8e44438e2417d5275098' into gingerbread-plus-aosp * commit 'd7d4208976125d114d0b8e44438e2417d5275098': remove unneeded partition roots
| | * remove unneeded partition rootsDoug Zongker2010-09-173-82/+2
| | | | | | | | | | | | | | | | | | | | | | | | Recovery itself no longer needs to access all these partitions; manipulation of them is done by the updater binary. This is a small first step towards removing roots entirely. Change-Id: I3fbcada32079a37db4cc097861dfa91e0a08da30
* | | am 1dcd2fd0: (-s ours) am 792b0071: do not merge - update to match ext4utils apiBrian Swetland2010-09-150-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '1dcd2fd0c7cc44cae279a5088241bdf15f084cb8' * commit '1dcd2fd0c7cc44cae279a5088241bdf15f084cb8': do not merge - update to match ext4utils api
| * | am 792b0071: do not merge - update to match ext4utils apiBrian Swetland2010-09-151-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '792b00712bb1411d3b0583bcea95b43b3107fb95' into gingerbread-plus-aosp * commit '792b00712bb1411d3b0583bcea95b43b3107fb95': do not merge - update to match ext4utils api
| | * do not merge - update to match ext4utils apiBrian Swetland2010-09-151-1/+1
| | | | | | | | | | | | Change-Id: I9d34e491022d7dfed653a861b0728a0a656f1fbe
* | | add missing sparseness parameterDoug Zongker2010-09-151-1/+1
| | | | | | | | | | | | Change-Id: Ie6e309b127e80cd6475f1deaa5dbadf9f5cc2746
* | | resolved conflicts for merge of 85bcf776 to masterDoug Zongker2010-09-150-0/+0
|\ \ \ | |/ / | | | | | | Change-Id: Iab4f25702a5a62b9172f81fd543a8240a0e603c3
| * | am 8a8e6cc3: (cherry-pick) EMMC support in applypatchDoug Zongker2010-09-152-103/+176
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '8a8e6cc33cc0dcfe7e184b59d5ef1f1c29095509' into gingerbread-plus-aosp * commit '8a8e6cc33cc0dcfe7e184b59d5ef1f1c29095509': (cherry-pick) EMMC support in applypatch
| | * (cherry-pick) EMMC support in applypatchDoug Zongker2010-09-152-103/+176
| | | | | | | | | | | | | | | | | | | | | | | | 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: Ib1861219c7ca66dff29ad02d6a0a14e5f03eb4d8
* | | resolved conflicts for merge of 9f89b0e4 to masterDoug Zongker2010-09-151-1/+1
|\ \ \ | |/ / | | | | | | Change-Id: Id458df96fd56830fdb35397e95a80274761ecff5
| * | am 56c5105b: support for ext4/EMMC filesystems in updater binaryDoug Zongker2010-09-156-37/+76
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '56c5105bd7096704eaed35329b2c8c84cc282867' into gingerbread-plus-aosp * commit '56c5105bd7096704eaed35329b2c8c84cc282867': support for ext4/EMMC filesystems in updater binary