summaryrefslogtreecommitdiffstats
path: root/roots.h
Commit message (Collapse)AuthorAgeFilesLines
* recovery: rename remount_for_wipePat Erley2016-02-081-1/+1
| | | | | | We need to re-use this to get read access to OTA files. Change-Id: Iaab91150ff30422f25139372c5cd9076f1670bd3
* recovery: Fix recursive rm wipe of dataPat Erley2016-01-281-0/+2
| | | | | | | | | | Android 6 re-introduced MCS/MLS SELinux contexts. Unforunately, this broke our previous SELinux model for walking /data and unlinking everything but media. Fix this by mounting /data with a temporary SELinux context that works with the previous model. Ticket: CYNGNOS-1747 Change-Id: Id87ad3bb357102c3a8bd7c1417183d788ef858a0
* recovery: Handle oemunlock commandTom Marshall2015-11-251-1/+1
| | | | | | | * Conditionally compile support based on TARGET_HAVE_OEMLOCK. * Use liboemunlock for device specific support. Change-Id: I1cf1fef8e30075b0586bb86625b7df49723974cb
* recovery: datamedia supportTom Marshall2015-11-251-2/+0
| | | | Change-Id: I4cef82973a15111bee92cd7c81f0e1db8d211991
* recovery: bu: Implement backup/restoreTom Marshall2015-11-251-3/+7
| | | | Change-Id: I9e684868ce15aaaed3a40338dadc20b003b50ade
* recovery: Awakening of MiniVoldTom Marshall2015-11-251-1/+10
| | | | | | A minimal vold client for recovery. Change-Id: Id25d955dc1861a910e5f5fc27d9a19e245d66833
* recovery: Allow "Mount /system" for system_root_image.Tao Bao2015-11-071-9/+4
| | | | | | | | | | | When system images contain the root directory, there is no entry of "/system" in the fstab. Change it to look for "/" instead if ro.build.system_root_image is true. We actually mount the partition to /system_root instead, and create a symlink to /system_root/system for /system. This allows "adb shell" to work properly. Bug: 22855115 Change-Id: Ibac493a5a9320c98ee3b60bd2cc635b925f5454a
* Revert "Erase PST partition if its marked to be erased."Andres Morales2015-03-301-5/+0
| | | | | | | | | | This now gets done at the framework level. Doing it here breaks the signature on the partition. This reverts commit ee19387905650cab5da7dd97ada5502cd17ac93d. Bug: 19967123 Change-Id: I447b926b733ca145f11a916d9569ce39889db627
* Erase PST partition if its marked to be erased.Andres Morales2014-08-061-0/+5
| | | | | | | | | | | We need to wipe the challenges on this partition if OEM unlock is enabled, as this is a signal that the user has opted out of factory reset protection. go/factory-reset Bug: 16633064 Change-Id: Icb8f1433bf99ca57813f5b72d5a3dd15fa94a263
* recovery: install packages in a known mount environmentDoug Zongker2013-08-211-0/+4
| | | | | | | | | | | When installing a package, we should have /tmp and /cache mounted and nothing else. Ensure this is true by explicitly mounting them and unmounting everything else as the first step of every install. Also fix an error in the progress bar that crops up when you do multiple package installs in one instance of recovery. Change-Id: I4837ed707cb419ddd3d9f6188b6355ba1bcfe2b2
* turn recovery into a C++ binaryDoug Zongker2011-10-311-0/+8
| | | | Change-Id: I423a23581048d451d53eef46e5f5eac485b77555
* remove the notion of "root path"; support mixed flash typesDoug Zongker2010-09-211-23/+15
| | | | | | | | | | | | 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
* remove unneeded partition rootsDoug Zongker2010-09-171-14/+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
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+63
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-63/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+63