Mountify

Globally mounted modules via OverlayFS.

Methodology

tmpfs mode

- tmpfs backed

  1. touch /data/adb/modules/module_id/skip_mount
  2. copies contents of /data/adb/modules/module_id to /mnt/vendor/fake_folder_name
  3. mirrors SELinux context of every file from /data/adb/modules/module_id to /mnt/vendor/fake_folder_name
  4. loops 2 and 3 for all modules
  5. overlays /mnt/vendor/fake_folder_name/system/bin to /system/bin and other folders

ext4 sparse mode

- ext4-sparse-on-tmpfs backed

  1. touch /data/adb/modules/module_id/skip_mount
  2. create an ext4 sparse image, mount it on /mnt/vendor/fake_folder_name
  3. copies contents of /data/adb/modules/module_id to /mnt/vendor/fake_folder_name
  4. mirrors SELinux context of every file from /data/adb/modules/module_id to /mnt/vendor/fake_folder_name
  5. loops 3 and 4 for all modules
  6. unmounts, resizes and remounts sparse image to /mnt/vendor/fake_folder_name
  7. overlays /mnt/vendor/fake_folder_name/system/bin to /system/bin and other folders

Why?

but ext4 sparse mode creates ext4 nodes!

Usage

General

mADVmodiiodrsPuuepEnlnlRteoa4i__yAfiGFnydped_uarw_tohDuiirrdtie-evsRoeEur-tFsork

tmpfs specific

ext4 specific

Need Unmount?

I need mountify to skip mounting my module!

Limitations / Recommendations

License

Support / Warranty

Download

Module Info

Search on : Google Bing Yandex