| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* Add support for exFAT using FUSE implementation.
Change-Id: I590c7b1bc8fbcb8c0b2c669f4073ac022857e4da
|
|
|
|
|
|
|
|
|
|
|
| |
Depends on:
http://review.cyanogenmod.org/31202
http://review.cyanogenmod.org/31211
Result:
http://pastebin.com/nzUbvW7K
Change-Id: I5bd227e637f2a1ed4d13a2eb81390c56c953f482
|
|
|
|
|
|
| |
In preparation for handling ext4 partitions via vold and fuse.
Change-Id: Ibaccded63a7a293ad53f16afb80448ddd493554c
|
|
|
|
|
|
| |
See http://review.cyanogenmod.com/#change,7457 for more info.
Change-Id: Ic841e73be6435e8bbbb22984cc749e27c46826e8
|
|
|
|
|
|
|
| |
Modified from:
http://git.android-x86.org/?p=platform/system/vold.git;a=commit;h=123572c9de7194344509d4094a397749daec0c59
Change-Id: I853dc273ff57623ec1e6d9a8e442b3d9702596ce
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Code taken from CM7's vold
|
|
|
|
| |
Change-Id: Iec4de6e7e5ad52a6dfa45952bb19104f500d9c58a
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Stop format string bugs from creeping into root level processes.
Change-Id: Ifa19ac0cacba76392040ab16cebe557b5b016706
|
|
|
|
|
|
| |
Bug: 5010576
Change-Id: I7e531101ae057fb059d7d56c99433c4d66e866dc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Hash was printed using snprintf(), but we can just write yet another hex
conversion utility!
Change-Id: I04f1992deaf5bf1b3e2751c8f07072f8ed6660e9
|
|
|
|
| |
Change-Id: I9b84370fa9a98464c211ebe8983be8dbe9dd7ccd
|
|
|
|
|
| |
Change-Id: Iaeb5d3334ec22ed31da9734bb8d7cd17e6a40eaf
Signed-off-by: San Mehat <san@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
| |
Also handles an issue where NPARTS=0 on a disk change uevent
Change-Id: I77c56f177dc65df91468bbd7d5fe1889db414d7a
Signed-off-by: San Mehat <san@google.com>
|
|
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
|
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
|
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
| |
the library is implicit added via inter-library dependency.
|
|
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
|
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
|
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
|
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
|
|
|
| |
Signed-off-by: San Mehat <san@google.com>
|
|
|
|
| |
Signed-off-by: San Mehat <san@android.com>
|
|
|
|
| |
Signed-off-by: San Mehat <san@android.com>
|
|
Let there be light.
Signed-off-by: San Mehat <san@android.com>
|