<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_system_vold/Volume.cpp, branch jellybean-stable</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_vold/'/>
<entry>
<title>UMS support with any volume, not only primary (1/3)</title>
<updated>2012-11-02T16:18:48+00:00</updated>
<author>
<name>Oran Avraham</name>
<email>oranav@gmail.com</email>
</author>
<published>2012-11-02T16:18:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_vold/commit/?id=3e61f1d12494ac0f456623681f12edf9b356245f'/>
<id>3e61f1d12494ac0f456623681f12edf9b356245f</id>
<content type='text'>
This patch enables UMS support when any volume supports it, even when the
primary storage doesn't.

1. Vold: assign lun_numbers sequentially to the volumes being added to the
   VolumeManager.
2. Fix portions of code which assume that the device has UMS support iff the
   primary storage supports UMS.
   Instead, determine whether the device supports UMS by checking each volume.
3. Display the UMS option in Settings.apk when any volume supports it.

Change-Id: I3976ee4a26f1ae7bd3faee814d3740312588f4c8
Signed-off-by: Oran Avraham &lt;oranav@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch enables UMS support when any volume supports it, even when the
primary storage doesn't.

1. Vold: assign lun_numbers sequentially to the volumes being added to the
   VolumeManager.
2. Fix portions of code which assume that the device has UMS support iff the
   primary storage supports UMS.
   Instead, determine whether the device supports UMS by checking each volume.
3. Display the UMS option in Settings.apk when any volume supports it.

Change-Id: I3976ee4a26f1ae7bd3faee814d3740312588f4c8
Signed-off-by: Oran Avraham &lt;oranav@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vold: Allow pre-configured device pairs to switch mountpoints</title>
<updated>2012-07-10T19:10:35+00:00</updated>
<author>
<name>Ricardo Cerqueira</name>
<email>cyanogenmod@cerqueira.org</email>
</author>
<published>2011-08-19T17:42:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_vold/commit/?id=dc8d157d73fb88ee33b38e724a8aabe7d5e53eee'/>
<id>dc8d157d73fb88ee33b38e724a8aabe7d5e53eee</id>
<content type='text'>
The use-case for this are devices with internal extended storage
(pseudo-SDCard emmc) and an actual microSD card reader.
In CM, we choose to use the microSD as primary storage, and leave
the internal partition mostly unused; some users usually come up with
imaginative and data-destroying ways of working around that.

This allows us to specify a pair of mountpoints which can be
switched from a user preference. For this vold.fstab:

-----
dev_mount sdcard /mnt/sdcard ...&lt;path-to-microSD-sysfs&gt;
dev_mount emmc /mnt/emmc ...&lt;path-to-emmc-partition&gt;
-----

We can add to build.prop:
"ro.vold.switchablepair=/mnt/sdcard,/mnt/emmc"

A persistent toggle (persist.sys.vold.switchexternal), controllable
through CMParts, can be presented to the user to allow choosing
something other than our default as primary storage.

Change-Id: I9559fa442c833e3168287d820b7b8347736abb15
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The use-case for this are devices with internal extended storage
(pseudo-SDCard emmc) and an actual microSD card reader.
In CM, we choose to use the microSD as primary storage, and leave
the internal partition mostly unused; some users usually come up with
imaginative and data-destroying ways of working around that.

This allows us to specify a pair of mountpoints which can be
switched from a user preference. For this vold.fstab:

-----
dev_mount sdcard /mnt/sdcard ...&lt;path-to-microSD-sysfs&gt;
dev_mount emmc /mnt/emmc ...&lt;path-to-emmc-partition&gt;
-----

We can add to build.prop:
"ro.vold.switchablepair=/mnt/sdcard,/mnt/emmc"

A persistent toggle (persist.sys.vold.switchexternal), controllable
through CMParts, can be presented to the user to allow choosing
something other than our default as primary storage.

Change-Id: I9559fa442c833e3168287d820b7b8347736abb15
</pre>
</div>
</content>
</entry>
<entry>
<title>vold: Add ntfs (read-only) support.</title>
<updated>2012-07-10T19:10:35+00:00</updated>
<author>
<name>kallt_kaffe</name>
<email>kallt_kaffe@apedroid.com</email>
</author>
<published>2012-03-07T09:42:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_vold/commit/?id=ce7457dfe9706b24bbfe98af82adceab50c2198e'/>
<id>ce7457dfe9706b24bbfe98af82adceab50c2198e</id>
<content type='text'>
See http://review.cyanogenmod.com/#change,7457 for more info.

Change-Id: Ic841e73be6435e8bbbb22984cc749e27c46826e8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See http://review.cyanogenmod.com/#change,7457 for more info.

Change-Id: Ic841e73be6435e8bbbb22984cc749e27c46826e8
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow mounting of multiple volumes via mass storage (vold part)</title>
<updated>2012-07-10T19:10:35+00:00</updated>
<author>
<name>Pawit Pornkitprasan</name>
<email>p.pawit@gmail.com</email>
</author>
<published>2011-12-03T08:25:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_vold/commit/?id=f2067eadd5bfd9fd13420151d83e324ca35f9878'/>
<id>f2067eadd5bfd9fd13420151d83e324ca35f9878</id>
<content type='text'>
commit 662006fe5419803938790a164cb1ba73b05e3f41
Author: Pawit Pornkitprasan &lt;p.pawit@gmail.com&gt;
Date:   Sat Dec 3 13:31:46 2011 +0700

    Extracted primary storage detection into isPrimaryStorage()

    Change-Id: Ia76ace183869283e7e6563ea8d5eb919283ffe55

commit 0303f8b0722bfac3c1b0a522f42c921e3ed4666a
Author: Genokolar &lt;genokolar@gmail.com&gt;
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 &lt;alex@inferiorhumanorgans.com&gt;
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 &lt;kiril.mik.os@gmail.com&gt;
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 &lt;cuviper@gmail.com&gt;
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 &lt;layhertony@gmail.com&gt;
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 &lt;layhertony@gmail.com&gt;
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 662006fe5419803938790a164cb1ba73b05e3f41
Author: Pawit Pornkitprasan &lt;p.pawit@gmail.com&gt;
Date:   Sat Dec 3 13:31:46 2011 +0700

    Extracted primary storage detection into isPrimaryStorage()

    Change-Id: Ia76ace183869283e7e6563ea8d5eb919283ffe55

commit 0303f8b0722bfac3c1b0a522f42c921e3ed4666a
Author: Genokolar &lt;genokolar@gmail.com&gt;
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 &lt;alex@inferiorhumanorgans.com&gt;
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 &lt;kiril.mik.os@gmail.com&gt;
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 &lt;cuviper@gmail.com&gt;
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 &lt;layhertony@gmail.com&gt;
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 &lt;layhertony@gmail.com&gt;
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Give user read-write access to non-primary storage</title>
<updated>2012-07-10T19:10:07+00:00</updated>
<author>
<name>Pawit Pornkitprasan</name>
<email>p.pawit@gmail.com</email>
</author>
<published>2011-11-27T14:27:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_vold/commit/?id=92ab32708cb5210319ba3e5f02bcd02bd2fbb2cf'/>
<id>92ab32708cb5210319ba3e5f02bcd02bd2fbb2cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reintroduce BOARD_VOLD_EMMC_SHARES_DEV_MAJOR</title>
<updated>2012-07-10T19:10:07+00:00</updated>
<author>
<name>Emilio López</name>
<email>turl@tuxfamily.org</email>
</author>
<published>2011-11-17T05:47:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_vold/commit/?id=f86d1ea6f43fbb7d59ebbc587f51a7cd62bf9cd4'/>
<id>f86d1ea6f43fbb7d59ebbc587f51a7cd62bf9cd4</id>
<content type='text'>
Code taken from CM7's vold
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Code taken from CM7's vold
</pre>
</div>
</content>
</entry>
<entry>
<title>Add in ext4 support for ASEC containers</title>
<updated>2012-04-25T21:15:15+00:00</updated>
<author>
<name>Kenny Root</name>
<email>kroot@google.com</email>
</author>
<published>2012-04-04T00:23:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_vold/commit/?id=344ca10856f3d3087a3288ce8f91ad83665d93fb'/>
<id>344ca10856f3d3087a3288ce8f91ad83665d93fb</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Add the ability to revert a crypto mapping when unmounting a volume</title>
<updated>2011-09-01T01:09:35+00:00</updated>
<author>
<name>Ken Sumrall</name>
<email>ksumrall@android.com</email>
</author>
<published>2011-08-31T23:14:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_vold/commit/?id=0b8b59719357fb80c330442787f7d5b1e332263b'/>
<id>0b8b59719357fb80c330442787f7d5b1e332263b</id>
<content type='text'>
Add the force_and_revert option to the unmount command which will force
the unmount, and revert a crypto mapping.  This is used during factory
reset so that when the internal sdcard volume is formatted, it formats
the raw device, not the encrypted mapping.

Change-Id: I36b6ff9bb54863b121de635472a303bf4a2334a9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the force_and_revert option to the unmount command which will force
the unmount, and revert a crypto mapping.  This is used during factory
reset so that when the internal sdcard volume is formatted, it formats
the raw device, not the encrypted mapping.

Change-Id: I36b6ff9bb54863b121de635472a303bf4a2334a9
</pre>
</div>
</content>
</entry>
<entry>
<title>vold: retry mounting partition</title>
<updated>2011-07-06T17:29:32+00:00</updated>
<author>
<name>Joseph Lehrer</name>
<email>jlehrer@nvidia.com</email>
</author>
<published>2011-04-11T22:02:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_vold/commit/?id=507d31b86b38dffe7c60ca5c54b5e631f5a7cab3'/>
<id>507d31b86b38dffe7c60ca5c54b5e631f5a7cab3</id>
<content type='text'>
Works around a race condition between the vold and MountService uevent handlers

Change-Id: I71c92f2e9b92e1fefc192da166a91d81bc60e242
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Works around a race condition between the vold and MountService uevent handlers

Change-Id: I71c92f2e9b92e1fefc192da166a91d81bc60e242
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't abort the encryption process if an internal volume is present but unmounted.</title>
<updated>2011-06-14T21:01:55+00:00</updated>
<author>
<name>Ken Sumrall</name>
<email>ksumrall@android.com</email>
</author>
<published>2011-06-14T21:01:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_vold/commit/?id=319b1043bbbd410aa2d572d88b5936f26072d026'/>
<id>319b1043bbbd410aa2d572d88b5936f26072d026</id>
<content type='text'>
It is not a failure if the SD card is not mounted.

Change-Id: If954f77c55ac124b9b7b39c89ffbafb4e5ea9e98
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is not a failure if the SD card is not mounted.

Change-Id: If954f77c55ac124b9b7b39c89ffbafb4e5ea9e98
</pre>
</div>
</content>
</entry>
</feed>
