summaryrefslogtreecommitdiffstats
path: root/roots.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* save a last_install file with the result of the last package install attemptDoug Zongker2011-04-121-3/+2
| | | | | | | | | | | When installing a package, create /cache/recovery/last_install, which contains the filename of the package and a 1 or 0 for success or failure. Also, don't mount ext4 and vfat filesystems as read-only (on devices where /cache is ext4, we need it to be read-write). Change-Id: I0cf2a1921bbd65e06343aa74e2006577fac77c2c
* recovery: mount /sdcard read-onlyIliyan Malchev2011-03-121-2/+3
| | | | | Change-Id: Ieffafe00cf82620057cacd0629cb60b0e6aad817 Signed-off-by: Iliyan Malchev <malchev@google.com>
* store partition length in recovery.fstabDoug Zongker2011-02-181-9/+35
| | | | | | Don't hardcode magical partition behavior in roots.c. Change-Id: I587fc2c066575b51c11efd2e45a50f5b864df484
* Reserve the last 16 Kbytes of /data for the crypto footer.Ken Sumrall2011-01-201-2/+6
| | | | | | | When formatting /data, if it's an ext4 filesystem, reserve the last 16 Kbytes for the crypto footer. Change-Id: I7b401d851ee87732e5da5860df0287a1c331c5b7
* Update make_ext4fs arguments in roots.cColin Cross2011-01-061-1/+1
| | | | Change-Id: I835e55fb80add6a74cd4d99f77b2528829d9a349
* mount sdcard only on demand; fix sideload installsDoug Zongker2010-09-221-0/+20
| | | | | Bug: 3009493 Change-Id: I1a7f99fc41a6a7012742e82f8c06a0c75584890a
* remove the notion of "root path"; support mixed flash types (do not merge)Doug Zongker2010-09-211-233/+146
| | | | | | | | | | 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
* remove unneeded partition rootsDoug Zongker2010-09-171-55/+0
| | | | | | | | 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
* make a copy of sideloaded packages in /tmp before verifyingDoug Zongker2010-07-091-2/+5
| | | | | | | | | | Copy a sideloaded package into /tmp, then verify and install the copy, to prevent malicious users from overwriting the package between verification and install. Bug: 2826890 package can be replaced during verification Bug: 2058160 Recovery should copy sideloaded (sd card) update ... Change-Id: I3de148b0f1a671f1974782b6855527caeaefda23
* add function for device-specific wipe data featuresDoug Zongker2009-06-191-0/+1
| | | | | | | | 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.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-0/+370
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-370/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+370