summaryrefslogtreecommitdiffstats
path: root/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* vold: exFAT supportSteve Kondik2013-07-071-0/+1
| | | | | | * Add support for exFAT using FUSE implementation. Change-Id: I590c7b1bc8fbcb8c0b2c669f4073ac022857e4da
* vold: add support for ext4 mediacodeworkx2013-03-041-0/+16
| | | | | | | | | | | Depends on: http://review.cyanogenmod.org/31202 http://review.cyanogenmod.org/31211 Result: http://pastebin.com/nzUbvW7K Change-Id: I5bd227e637f2a1ed4d13a2eb81390c56c953f482
* vold: use blkid to detect filesystem typecodeworkx2013-03-031-4/+8
| | | | | | In preparation for handling ext4 partitions via vold and fuse. Change-Id: Ibaccded63a7a293ad53f16afb80448ddd493554c
* vold: Add ntfs (read-only) support.kallt_kaffe2012-07-101-0/+1
| | | | | | See http://review.cyanogenmod.com/#change,7457 for more info. Change-Id: Ic841e73be6435e8bbbb22984cc749e27c46826e8
* Add auto-mount and fake SD card supportDalingrin2012-07-101-0/+1
| | | | | | | Modified from: http://git.android-x86.org/?p=platform/system/vold.git;a=commit;h=123572c9de7194344509d4094a397749daec0c59 Change-Id: I853dc273ff57623ec1e6d9a8e442b3d9702596ce
* DirectVolume: handle discs with multiple major numberscodeworkx2012-07-101-0/+12
| | | | | | | | | | | | | | | | CFlag: BOARD_VOLD_DISC_HAS_MULTIPLE_MAJORS Allows Direct Volume to handle discs with multiple major numbers. Needed on Samsung Galaxy S II and variants. For example: mmcblk0p1 - 179:0 mmcblk0p2 - 179:1 mmcblk0p3 - 179:2 mmcblk0p4 - 256:0 mmcblk0p5 - 256:1 Change-Id: I633ac882a721cde25f0df779b4028efa6be15750
* Allow mounting of multiple volumes via mass storage (vold part)Pawit Pornkitprasan2012-07-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 662006fe5419803938790a164cb1ba73b05e3f41 Author: Pawit Pornkitprasan <p.pawit@gmail.com> Date: Sat Dec 3 13:31:46 2011 +0700 Extracted primary storage detection into isPrimaryStorage() Change-Id: Ia76ace183869283e7e6563ea8d5eb919283ffe55 commit 0303f8b0722bfac3c1b0a522f42c921e3ed4666a Author: Genokolar <genokolar@gmail.com> Date: Sat Oct 1 21:34:00 2011 +0800 Add custom second lun number support like u8800 have different second lun number use TARGET_USE_CUSTOM_SECOND_LUN_NUM options to custom lun number Change-Id: I36f8c92f1f8041efeaa0304795a11eb1cc49e5e1 (cherry picked from commit 24860389177df3aa839a8eb77d79608b15e0af8d) commit 4b99cd585d12fa47b2f8d99cde430f37d2fe7293 Author: Alex Zepeda <alex@inferiorhumanorgans.com> Date: Mon Jul 18 10:55:33 2011 -0700 Use a list of possible lun paths instead of a hardcoded one. This will easily play nice with kernels that use gadget drivers and function drivers (ex: tethering support doesn't require a new vold). Change-Id: I71796114501cf2d64dea5fd077ac5baf54873af4 commit 1f822e51cde73bc0d8e1b575848614f696534a88 Author: mik_os <kiril.mik.os@gmail.com> Date: Mon Feb 14 16:10:36 2011 +0200 Added ability to use custom lun path. Change-Id: If39e445383c0ea0d64556df5708de80c06056174 (cherry picked from commit 5edf3ce983ddd3ffed01c398244493ab962e3304) commit baa2d75929be1bebb1e04d93044d7718460d5b14 Author: Josh Stone <cuviper@gmail.com> Date: Sat Jan 22 11:52:01 2011 -0800 vold: cleanupAsec should only do work for EXTERNAL_STORAGE For devices like DINC which have both emmc and sdcard storage, only one of these is used for ASEC mounts. When we're unmounting volumes, we need to discriminate which is which before forcing ASEC closures. Change-Id: I94efda36414bb0eb2c4c4e31891ce4f318582a8e (cherry picked from commit 61272bf32aff5515aa6f48acb2e8ea7e95b47aa3) commit 73aeea8a3c834d7d822edc088f19934843511779 Author: Tony Layher <layhertony@gmail.com> Date: Sun Jan 2 19:17:39 2011 -0500 Fix build break on Vold, have to remove uneeded code Change-Id: Ie594367d3675cf25cf4c86703aaa01055a9892a6 (cherry picked from commit f04648bda6bf58391f46fc8694718e5878e4abb9) commit 332a373eaadb487f069fd86f0876abade84f7189 Author: Tony Layher <layhertony@gmail.com> Date: Sun Jan 2 14:48:26 2011 -0500 Forward Port of vold changes for having 2 UMS devices and use only EXTERNAL_STORAGE for ASEC Change-Id: Ia26b4251226103441afb2656ea411c68525974c9 Change-Id: I5695a0441a6672e9c1c2f2aef95c38f0b08a7145
* Reintroduce BOARD_VOLD_EMMC_SHARES_DEV_MAJOREmilio López2012-07-101-0/+3
| | | | Code taken from CM7's vold
* vold: allow override of MAX_PARTITIONS for devices with > 4 partitionscicada2012-07-101-0/+9
| | | | Change-Id: Iec4de6e7e5ad52a6dfa45952bb19104f500d9c58a
* Changes to encryption to work with the new filesystem managerKen Sumrall2012-05-011-0/+4
| | | | | | | | | | The new filesystem manager is in charge of mounting the block devices now, removing much of the knowledge from init.<device>.rc. This also let us clean up some init code dealing with encryption, so this change updates vold to work with that. More cleanup is possible, but the main goal of the filesystem manager was to enable e2fsck, not a full cleanup of encryption. Change-Id: I00ea80a923d14770ed8fdd190e8840be195f8514
* Add in ext4 support for ASEC containersKenny Root2012-04-251-0/+1
| | | | | | | | | Now forward locked applications will be in ASEC containers both internal to the system and externally. This change adds support for putting applications in ext4-based ASECs. Change-Id: I8d6765b72dd2606e429c067b47a2dbcaa8bef37d
* vold: add -Werror=formatNick Kralevich2012-02-231-1/+1
| | | | | | Stop format string bugs from creeping into root level processes. Change-Id: Ifa19ac0cacba76392040ab16cebe557b5b016706
* Remove the simulator target from all makefiles.Jeff Brown2011-07-111-9/+0
| | | | | | Bug: 5010576 Change-Id: I7e531101ae057fb059d7d56c99433c4d66e866dc
* Have vold grab a partial wakelock when encryptingKen Sumrall2011-01-301-0/+1
| | | | | | | | | | | | | | | The Progress bar UI grabs a full wakelock when encrypting, but we've seen a case where it looks like the progress bar UI crashes, and the wakelock is lost, and then all hell breaks loose. The enablecrypto command has a lot of work to do, and it will take some time, so it should grab a wakelock to ensure it can finish without being interrupted and put to sleep. It grabs a partial wake lock, as it doesn't need the screen to be on to do its work. If the UI wants to keep it on, it should also grab a full wakelock, which it does. If the UI crashes, the screen may turn off, but the encryption will keep going, and vold will reboot the device when it's done. Change-Id: I51d3a72b8c77383044a3facb1604c1ee510733ae
* Don't try to encrypt in place a filesystem that is too large and return ↵Ken Sumrall2011-01-291-0/+1
| | | | | | | | | | | | | | | proper errors If the already existing filesystem encompasses the entire /data partition and does not leave the last 16 Kbytes for the crypto footer, refuse to do encrypt in place and return an error. This is only an issue for folks with early development systems trying to encrypt an old /data. This should not be seen in released devices. Also, if there is an error, try to report back to the UI what the error was so it can deal with it. Change-Id: If66781a4fe03034c96c3dd12075240deb8663db0
* Support for encrypting /data on Stingray.Ken Sumrall2010-12-181-1/+2
| | | | | | | | | | There are still a few hacks and performance issues related to shutting down the framework in this code, but it is functional and tested. Without the UI changes, it requires cryptic adb shell commands to enable, which I shall not utter here. Change-Id: I0b8f90afd707e17fbdb0373d156236946633cf8b
* Change ASCII conversion for hash and add testsKenny Root2010-06-201-24/+45
| | | | | | | Hash was printed using snprintf(), but we can just write yet another hex conversion utility! Change-Id: I04f1992deaf5bf1b3e2751c8f07072f8ed6660e9
* vold: Convert to use OpenSSL MD5 APIKenny Root2010-03-151-8/+13
| | | | Change-Id: I9b84370fa9a98464c211ebe8983be8dbe9dd7ccd
* vold: remove some dead codeSan Mehat2010-03-151-1/+0
| | | | | Change-Id: Iaeb5d3334ec22ed31da9734bb8d7cd17e6a40eaf Signed-off-by: San Mehat <san@google.com>
* vold: Bugfixes & cleanupsSan Mehat2010-03-131-1/+2
| | | | | | | | | | | | | - Fix issue where container-names > 64 bytes were getting truncated in the kernel. lo_name is only 64 bytes in length, so we now hash the container id via md5 - Add 'dump' command to dump loop and devicemapper status - Add 'debug' command to enable more detailed logging at runtime - Log vold IPC arguments (minus encryption keys) - Fix premature return from Loop::lookupActive() and friends Change-Id: I0e833261a445ce9dc1a8187e5501d27daba1ca76 Signed-off-by: San Mehat <san@google.com>
* vold: Switch to using libdiskconfig for partition setup.San Mehat2010-03-101-2/+1
| | | | | | | Also handles an issue where NPARTS=0 on a disk change uevent Change-Id: I77c56f177dc65df91468bbd7d5fe1889db414d7a Signed-off-by: San Mehat <san@google.com>
* vold: Add support for xwarpSan Mehat2010-03-021-1/+2
| | | | Signed-off-by: San Mehat <san@google.com>
* vold: Clean up asec command response and add support for 'StorageBusy'San Mehat2010-02-181-1/+2
| | | | Signed-off-by: San Mehat <san@google.com>
* vold: Refactor Processkiller and add command to return users of a mount pointSan Mehat2010-02-161-1/+1
| | | | Signed-off-by: San Mehat <san@google.com>
* vold: Add encrypted ASEC support via devmapperSan Mehat2010-01-111-1/+2
| | | | | | | | - Supports up to 4096 containers - Keys are now implemented - specifying a key of 'none' means no encryption. Otherwise, the key must be a string of 32 characters Signed-off-by: San Mehat <san@google.com>
* Add missing library used by the main executable in linker options. CurrentlyDoug Kwan2010-01-071-1/+1
| | | | the library is implicit added via inter-library dependency.
* vold2: Initial support for Android Secure External CachesSan Mehat2010-01-061-1/+2
| | | | Signed-off-by: San Mehat <san@google.com>
* vold2: Refactor FAT support into a separate classSan Mehat2010-01-041-1/+2
| | | | Signed-off-by: San Mehat <san@google.com>
* vold2: Don't build for simulatorSan Mehat2010-01-031-1/+5
| | | | Signed-off-by: San Mehat <san@google.com>
* vold2: Enable in buildSan Mehat2009-12-211-1/+1
| | | | Signed-off-by: San Mehat <san@google.com>
* vold2: Get mounting/unmounting/formatting/sharing workingSan Mehat2009-12-191-1/+3
| | | | Signed-off-by: San Mehat <san@google.com>
* vold2: Wire up more of the mount functionSan Mehat2009-10-121-1/+2
| | | | Signed-off-by: San Mehat <san@android.com>
* vold2: Rename DeviceVolume -> DirectVolumeSan Mehat2009-10-121-1/+1
| | | | Signed-off-by: San Mehat <san@android.com>
* system: vold2: Initial skeleton for vold2.San Mehat2009-10-101-0/+43
Let there be light. Signed-off-by: San Mehat <san@android.com>