Skip to content

NameLessJedi/android_system_vold

 
 

Repository files navigation

xVold

What is xVold?

Vold is Android volume management daemon.

xVold is extended version made to help in "native" (no script) Apps2SDExt implementation created by Firerat and NLJ. xVold can mount Ext4 partition at /sd-ext and create all needed directories.

Here is an example of vold.fstab that will mount sd-ext at boot time:

## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...> 
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
## Format: ext_mount <label> <mount_point> <part> <sysfs_path1...> 
ext_mount sdcard /sd-ext 2 /devices/platform/msm_sdcc.2/mmc_host/mmc1

(Please note that one can safely skip "/devices/platform/goldfish_mmc.0 as it's intended for emulator and not real device)

/sd-ext will be mounted on boot when

ro.vold.sdextonboot=1

in build.*.prop

Additionally /sd-ext/data can be bind mounted on /data/data when

ro.vold.data2sdext=1

Donations

Please understand that most of this code came from CyanogenMod or AOSP I just modified it to suit my needs. If you like it - great! Go, make some donation to awsome folks from CyanogenMod team. Already donated to them and still some pennies burning hole in your pocket? I'll be more than glad to accept some of them.

About

Vold extension for mounting Ext4 crafted for so called Magpie Apps2SDExt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.7%
  • C 8.3%