mik_os
df3004bd16
Try to mount vol->device2 partition to UMS.
...
Stock sd-card that ships with LG-P500 formatted with no partitions.
This issue can be handled with device2 in recovery.fstab.
But UMS didn't.
We will try to mount second device (if it was defined) if first failed.
Change-Id: Ia8b58b9fdfa3e63f703a1dd5870cb76936cec88e
2011-04-26 19:15:22 +03:00
Koushik Dutta
eee085415f
remove old chargemode crap
...
Change-Id: I6ca88be821ebb713a796251f416b02c1f7144c44
2011-04-17 15:56:30 -07:00
Koushik Dutta
fdd4766c1e
Revert "allow precise device detection"
...
This reverts commit ed7d296dfa
.
2011-04-17 00:49:15 -07:00
Koushik Dutta
ed7d296dfa
allow precise device detection
...
Change-Id: Ie837500d459c95df0b1a5f849b3eba718cf8cf09
2011-04-16 13:45:53 -07:00
Steve Kondik
0d87851037
recovery: Prevent the users from doing stupid things.
...
Don't allow formatting of special partitions like radio, bootloader,
or misc. No sense in formatting recovery from recovery either dawg.
Change-Id: I0f935aad103574b17be237993730afaeae623871
2011-04-09 14:49:09 -04:00
Koushik Dutta
67fa0c375f
fix erroneous detection of device flash type when device is explicitly provided. fix bugs in mount generation.
...
Change-Id: I54a35390550b1384f12c4b12267029d77bef8fa3
2011-03-17 11:37:21 -07:00
Kolja Dummann
92796ec949
build "mount & storage" menu from fstab
2011-03-07 13:06:07 +01:00
Koushik Dutta
ab1f8b836e
more fixes for sammy
...
Change-Id: Ie11c673a204a328a82f767a2610c5f1d9a51233c
2011-02-27 17:28:30 -08:00
jt1134
47d86a35bc
option to specify usb_mass_storage device in device overlay
2011-02-27 17:07:53 -08:00
Koushik Dutta
e8bc2c808c
Support fs mount options.
...
Change-Id: I8b0dc79dd054c4d1af599d9b68b5478196bdd183
2011-02-27 14:00:19 -08:00
Koushik Dutta
a9f0e7fdfe
remove unused defines. dont try to mount boot if it is emmc or bml either.
...
Change-Id: I835f74785938be940111f03a6b092b926681d745
2011-02-12 10:21:11 -08:00
Koushik Dutta
49ee9a8b09
Defer to fstype2 if found. Use auto fs if two fstypes are specified
...
Change-Id: Id6ee1fed1eebbaa6d3a9e6117910f00a56378da4
2011-02-09 16:15:54 -08:00
Brandon Bennett
6d0604bf34
Add support to mount /boot for systems that have a mountable /boot.
...
This is checked at runtime to see if /boot is a mountable parition (i.e not mtd), if so it adds an entry into /etc/fstab.
This will allow us to mount /boot from an edify script and push certain files without completely imaging the parition which can contain other files such as the bootloader (u-boot), and recovery kernel and ramdisks as is the case with the encore (NookColor)
Test on NookColor and passion. Correct entry was added to the NC and not added to the passion as expected.
Change-Id: I9850dee866b77653bf400bb5193905e55da3f25f
2011-01-28 13:42:14 -07:00
Christopher Lais
a25cf5ec4f
Use erase_raw_partition for unknown named partitions
...
Change-Id: I84014a851ebdfb2c228cff43879580a761c22708
2011-01-16 06:05:22 -06:00
Koushik Dutta
d8e21c3712
Add the volume command for seeing the current recovery.fstab. Support crazy HTC chargemode.
...
Change-Id: I26a6e83dc5704aa03ab3aa078f24f8943cf13614
2011-01-04 10:46:55 -08:00
Koushik Dutta
b4c5fd6305
Support for ext2 and ext3 update-binary.
...
Change-Id: Ide34392bd8ac56878aa3e992b275a39d6b6bc7cf
2011-01-02 22:54:31 -08:00
Koushik Dutta
9f52e5f23b
fix android secure formatting
...
Change-Id: I617b8c453aad6d306cf8ddbc1a067c59ead56573
2011-01-02 14:11:24 -08:00
Koushik Dutta
f1cb0d5b35
fix ums mounting
...
Change-Id: I97316668fe3e4447a04cd9f189b0d3d89cd97d9f
2011-01-01 20:03:30 -08:00
Koushik Dutta
3affbec593
fix up boot formatting. remove depracated function.
...
Change-Id: I9d707e62b1752079ec1b669a3800dbf12e035ead
2011-01-01 18:10:11 -08:00
Koushik Dutta
2e45449ef3
more logging
...
Change-Id: I77a7198808133e5f0a6d8de1f5e716aecf31c0ae
2011-01-01 18:06:17 -08:00
Koushik Dutta
a8708c6044
readd ext2/ext3 format support.
...
Change-Id: Ic21197df8ff53fdc8ffd3dc1947bd2ecb475eda8
2011-01-01 18:00:27 -08:00
Koushik Dutta
da32b54f85
readd ext2/ext3 format support.
...
Change-Id: I58652abaea8f7a52b70bc1b14aec5b530fe70382
2011-01-01 17:55:22 -08:00
Koushik Dutta
5b7f34a2d8
wimax restore should not be on by default
...
Change-Id: I1e1869e615905ce6dbefd0b1a8e64414f619508e
2010-12-29 23:36:03 -08:00
agrabren
1f76a5da6b
Add support for wimax imaging
...
Change-Id: I2f14918f3ffb37fe94bab469e1d89a9874d89d18
2010-12-29 23:03:32 -08:00
Koushik Dutta
745b5ff987
Use unique filenames for the pre ext4 convert backup.
...
Change-Id: I49ee96c454c826fc92c45f160c6d45cc5566f0a6
2010-12-21 00:58:43 -08:00
Koushik Dutta
31b741174c
Fix fstab generation.
...
Change-Id: Ibab3c93c55abcece80a89bbff620f164588baf96
2010-12-20 08:49:20 -08:00
Koushik Dutta
bec0995afe
ROM Manager is now powered by Edify,
...
Change-Id: I3857aa6591b743be146d87a4e97afdc9d9c765ed
2010-12-19 20:37:57 -08:00
Koushik Dutta
33491accea
Fix sdcard mount bug.
...
Change-Id: I2e448f3f0a0a4de39a8d1cd7db5dc8cd986d3229
2010-12-19 03:41:41 -08:00
Koushik Dutta
4196e0fa5e
bml devices that are using rfs are automatically upgraded to ext4. Version 3.0.0.0.
...
Change-Id: I069f0c5122e8d48ce311f519f08890d3e569dbb3
2010-12-19 03:38:29 -08:00
Koushik Dutta
5460f0c746
Automatically detect /datadata from recovery.fstab. Remove BOARD_HAS_DATADATA.
...
Change-Id: I28d3c7a6beaacd77c67c5af0ae3464acfd2572e3
2010-12-18 22:37:49 -08:00
Koushik Dutta
9765a037a1
Remove usage of BOARD_HAS_NO_MISC_PARTITION.
...
Change-Id: I5775f47fb1d5ef66e2461a0c53166af03354a6f6
2010-12-18 21:31:02 -08:00
Koushik Dutta
b643e4f3d0
Fix up fstab generation
...
Change-Id: I922183bc3de8d2b3bb7d1497725f2641a4358216
2010-12-18 18:39:39 -08:00
Koushik Dutta
df1e406782
Merge from ClockworkMod recovery
...
Change-Id: Id5b312147173ced559a62d97029acede6c2f8766
2010-12-18 17:42:31 -08:00
Brint E. Kriebel
d352233ab6
Added options for an internal SD card to be handled by recovery.
...
Exable uses in BoardConfig.mk:
BOARD_HAS_SDCARD_INTERNAL := true
BOARD_SDCARD_DEVICE_INTERNAL := /dev/block/mmcblk3p1
Setting BOARD_SDCARD_DEVICE_SECONDARY to the same value as
BOARD_SDCARD_DEVICE_INTERNAL will allow the device to
"fall back" to the internal SD card for other actions.
Change-Id: I2cf8ab4b1d385ac714f5b7416b915d059033d94b
2010-12-13 23:57:20 -08:00
Brint E. Kriebel
0b23331f23
Added larger DATA size values for SD partitioning.
...
Used for systems that use internal SD partitioning for DATA storage.
Change-Id: I3274c196a7143143fccb806cff1665a6f40c1ce7
2010-11-19 10:28:56 -05:00
Steve Kondik
4123b58299
recovery: Autodetection of device flash type
...
Detect flash type at runtime rather than requiring this to be set in the
device configuration. The detection is based on the existence of /proc/mtd,
/proc/emmc, or /dev/block/bml1.
Change-Id: I464962a567022c5862c249f06d36c2d1cddeacba
2010-11-14 22:40:30 -05:00
Koushik Dutta
19447c0550
Refactor recovery's block device handling to work across variant hardware in a cleaner fashion.
...
Re add firmware update
Change-Id: I699ad22390ed14e597d17a7bcb32ad1b1af00b4b
support mmc misc
Change-Id: Iff02f8d03db6835f501d052140cebeefee521305
fix compile errors
Change-Id: I032edbd157a8a15f561bb83330c715ebaa008d18
fix compile errors
Change-Id: Idff3449be3376f22fceefc2c35637527f8df8f3f
Initial work to clean up the block devices.
Change-Id: I4be20ac124864a281be9cd116e211a2618404a27
all done
Change-Id: I0338f62f6a045556ebe90b0200685be113178319
fix up nandroid
Change-Id: I886f00271183e6d2921c080b0939341f2cf12a4d
2010-11-10 23:31:34 -08:00
Koushik Dutta
fef77c0253
Changes to support Vision recovery. Fixing up a lot of bugs related to the CodeAurora mmc commit.
...
Change-Id: I9b71070fe41559a5d93d3c35efc3a511b7088e8e
2010-11-09 20:03:42 -08:00
Koushik Dutta
e17a78ddda
allow the parted and fix permissions tools to be optional
2010-09-17 14:17:57 -07:00
Koushik Dutta
4233c7fb3c
Use the primary device.
...
Change-Id: Id45fcedcb5b3cacd753346a117423a462a00efb2
2010-09-03 22:16:57 -07:00
Koushik Dutta
56606a2da3
fix missing break statements in switch...
2010-08-23 16:15:33 -07:00
Koushik Dutta
ceddcd59ac
add fix permissions and partition sd card to the recovery. TODO: Restrict to devicess that support large recovery images.
2010-08-23 16:13:14 -07:00
Koushik Dutta
38e8b2b6a9
cleanups
2010-08-17 22:21:53 -07:00
Koushik Dutta
f0e31b89b9
fixes and stuff for droid x
2010-08-17 16:55:38 -07:00
Koushik Dutta
6c7745d928
rename some menus. wipe more locations for dalvik cache.
2010-08-07 12:17:13 -07:00
Koushik Dutta
d4060c3eb6
Galaxy S initial support. Fix firmware flash on inc. May need to fix other phones.
2010-07-22 20:14:44 -07:00
Koushik Dutta
5aaa8238f7
galaxys
2010-07-20 16:23:18 -07:00
Koushik Dutta
92077c15d6
removal of the recovery checkpoint needs to happen AFTER sdcard is mounted.
2010-07-15 00:10:08 -07:00
Koushik Dutta
d63eaef179
add confirmations to anything that would change the system.
2010-07-14 21:01:21 -07:00
Koushik Dutta
ecd32fa2e8
Make generic confirmation function.
2010-07-14 18:38:08 -07:00