aboutsummaryrefslogtreecommitdiffstats
path: root/roots.c
Commit message (Collapse)AuthorAgeFilesLines
* recovery: use just the mount point instead of the full pathEmilio López2013-06-081-1/+1
| | | | | | | | When resorting to using mount because a block device uses 'auto' filesystem, we should use the mount point and not the full path. This fixes an issue with nandroid to external sd on yuga. Change-Id: Idbff944ea6d5af9112644c2ed46e23ea0a33e5ee
* Fix recovery filesystem table output to logMatt Mower2013-05-241-4/+4
| | | | | | Use fprintf when printing to a specified stream. Change-Id: I863e3b570e3cf560deec9e8bb39cb339f40ae94c
* revert mmcutils. cleanups and fixes.henry j. mason2013-05-091-5/+7
| | | | Change-Id: I2b0c3918528e5f7e6f4d2f8df1592c55f98317d3
* Remove wipe battery stats garbage.Chirayu Desai2012-11-211-1/+6
| | | | | | Add support for doing a true ext4 format of /data on /data/media devices. Change-Id: Ie6706989705e4cf90d0be119c7ffc54b2191d198
* recovery: support for more than 1 sdcard in USB mass storageDavid Ferguson2012-08-161-0/+4
| | | | | | | | | | | | | | | | | | | * Attempts to share any device behind /sdcard, /emmc, and /external_sd (in that order) * New option in recovery.fstab: lun=<path to LUN file> - specifies path to LUN file for given mount point - used when sharing a device over USB mass storage - restriction: only applicable to /sdcard, /emmc and /external_sd * If not specified in recovery.fstab, searches for available LUN files in order: 1. BOARD_UMS_LUNFILE (if defined) 2. /sys/devices/platform/usb_mass_storage/lun%d/file 3. /sys/class/android_usb/android0/f_mass_storage/lun/file 4. /sys/class/android_usb/android0/f_mass_storage/lun_ex/file ** More can be added to this list for better auto detection * Searches for available LUN files using %d replacement - %d is expanded to 0 and 1 only Change-Id: I09e91f9b6c1e2c5e96df8983b1132deeec6395b5
* forward port CWM to jellybeanKoushik Dutta2012-07-151-1/+3
| | | | Change-Id: Ibd66afe03c9a2c183e4c7db35fe34adf0f5e24ff
* fix up datamedia volume detectionKoushik Dutta2012-06-171-7/+2
| | | | Change-Id: Ia853e31e31aebce9e70b1e9500930b14a92ee4bf
* support datamedia on any one volumeKoushik Dutta2012-06-171-24/+43
| | | | Change-Id: I198e789ee01e8a5b10eee33ed59a2d828cfb096a
* fix up key value parsingKoushik Dutta2012-01-291-3/+3
| | | | Change-Id: I05e821cd1215c44be780694644e568676fd67565
* add comments around /data/mediaKoushik Dutta2011-12-181-1/+3
| | | | Change-Id: I35ad822ed602e2b1018f1e1a0d67499867b60a40
* nandroid/root/extendedcommands: attenuate for /data not being auto in fstabPrashant Somashekar2011-12-181-1/+4
| | | | Change-Id: I0e7bec03bb29f1ae72f23321f89cf704e54ff4d9
* remove redundant fixKoushik Dutta2011-11-231-3/+0
|
* fix missing prebuilts in recovery. mmc bootloader message support. fix ↵Koushik Dutta2011-11-231-1/+6
| | | | segfault happening due to C structs not being zeroed out.
* recovery: fix non-MTD mounting (uninitialized variables)Pawit Pornkitprasan2011-11-191-0/+3
| | | | Mounting failed due to invalid (garbage) fs_options
* wipKoushik Dutta2011-11-161-18/+43
|\
| * 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-111-2/+3
| | | | | | | | | | Change-Id: Ieffafe00cf82620057cacd0629cb60b0e6aad817 Signed-off-by: Iliyan Malchev <malchev@google.com>
| * store partition length in recovery.fstabDoug Zongker2011-02-171-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-191-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-051-1/+1
| | | | | | | | Change-Id: I835e55fb80add6a74cd4d99f77b2528829d9a349
* | allow explicitly provided mount locationsKoushik Dutta2011-08-311-9/+16
| | | | | | | | Change-Id: I3930b2abeb81c09c25c1750f0545c233c0d5a4a2
* | bug fixesKoushik Dutta2011-06-151-2/+2
| | | | | | | | Change-Id: I1125db9cb1a12a95060f7673965fd40994a78c5b
* | fix buildKoushik Dutta2011-06-141-1/+1
| | | | | | | | Change-Id: I3701f71ed9ecf5b6879e12ab6f618d5b678ef2f3
* | cleanups for tar and /data/media supportKoushik Dutta2011-06-141-0/+4
| | | | | | | | Change-Id: I4afe3a8d4484f91b1e689d7b3aa4f137acd66e93
* | make tar backups opt in.Koushik Dutta2011-06-101-4/+14
| | | | | | | | Change-Id: Ib01131f3a65ce4114e73abe2c7ba42263d281844
* | tar nandroid and /data/media support.Koushik Dutta2011-06-081-0/+19
| | | | | | | | Change-Id: I9405e701887fc83c422c63c1dbf5ff087fff880d
* | fix up some implicit declarationsKoushik Dutta2011-05-261-4/+3
| | | | | | | | Change-Id: Ia98bb5bea04a9cb87bf1993687e7f91f46022509
* | more fixesKoushik Dutta2011-05-261-1/+1
| | | | | | | | Change-Id: Ic55d94ef69b6b8ea4ec2a6df708a9444e9d5f4e5
* | bml fixesKoushik Dutta2011-04-221-1/+0
| | | | | | | | Change-Id: I442ef3c155bab36db578ca5735215aedda353c29
* | build "mount & storage" menu from fstabKolja Dummann2011-03-071-2/+10
| |
* | fix buildKoushik Dutta2011-03-021-5/+5
| | | | | | | | Change-Id: If907795c670fb1ca7ba28bbfd40d21ce51405b7d
* | fixesKoushik Dutta2011-03-021-9/+25
| | | | | | | | Change-Id: I28b58fec5ac92463bf189269267b8e1579dbc92c
* | remove redundant codeKoushik Dutta2011-03-011-1/+0
| | | | | | | | Change-Id: I6a24f89068c882b18973c9143a02768531b71ddd
* | remove debug codeKoushik Dutta2011-03-011-1/+0
| | | | | | | | Change-Id: I14a6657a6f875d4305ed72a163bf72e3e9c5dad1
* | forgot to check this in.Koushik Dutta2011-03-011-1/+4
| | | | | | | | Change-Id: I97a7cf0b9bb296bff4b8a80f528082c0c409e9e1
* | build break!Koushik Dutta2011-02-271-1/+1
| | | | | | | | Change-Id: Ia33661ea1c735990528095038b93fd4ecb717341
* | loggingKoushik Dutta2011-02-271-0/+1
| | | | | | | | Change-Id: Id835419f1ed3d9cf9c946f73a35eddc3ac029a2c
* | more fixes for sammyKoushik Dutta2011-02-271-0/+1
| | | | | | | | Change-Id: Ie11c673a204a328a82f767a2610c5f1d9a51233c
* | specify a type on the mount.Koushik Dutta2011-02-271-1/+1
| | | | | | | | Change-Id: I610330e2971aaf235e0420fa7d4387e4f55b0015
* | Support fs mount options.Koushik Dutta2011-02-271-6/+23
| | | | | | | | Change-Id: I8b0dc79dd054c4d1af599d9b68b5478196bdd183
* | Change-Id: Id6ee1fed1eebbaa6d3a9e6117910f00a56378da4Koushik Dutta2011-02-091-6/+6
| |
* | Defer to fstype2 if found. Use auto fs if two fstypes are specifiedKoushik Dutta2011-02-091-20/+5
| | | | | | | | Change-Id: Id6ee1fed1eebbaa6d3a9e6117910f00a56378da4
* | Support multiple file system types.Koushik Dutta2011-02-091-1/+26
| | | | | | | | Change-Id: Icd89a7ce14ef7948dbd25bfbb17ff9d930514b00
* | Use raw partition functions for emmcChristopher Lais2011-01-161-0/+4
| | | | | | | | Change-Id: Ia5d9f18d43228a08f12633d432b299def8e26ae1
* | fix android secure formattingKoushik Dutta2011-01-021-0/+3
| | | | | | | | Change-Id: I617b8c453aad6d306cf8ddbc1a067c59ead56573
* | fix bugKoushik Dutta2011-01-011-4/+0
| | | | | | | | Change-Id: Id38cf292fd93f5a53552c80c48d9281701b88ce0
* | readd ext2/ext3 format support.Koushik Dutta2011-01-011-1/+1
| | | | | | | | Change-Id: Ic21197df8ff53fdc8ffd3dc1947bd2ecb475eda8
* | readd ext2/ext3 format support.Koushik Dutta2011-01-011-1/+2
| | | | | | | | Change-Id: I58652abaea8f7a52b70bc1b14aec5b530fe70382
* | bml devices that are using rfs are automatically upgraded to ext4. Version ↵Koushik Dutta2010-12-191-15/+4
| | | | | | | | | | | | 3.0.0.0. Change-Id: I069f0c5122e8d48ce311f519f08890d3e569dbb3
* | There was apparently a lack of carebear.Koushik Dutta2010-12-181-0/+3
| | | | | | | | Change-Id: Ie65bce617b99985ab937602e1e30a97340b0dd5b