chenxiaolong / DualBootPatcher

Patches Android ROMs for dual boot support
https://dbp.noobdev.io
Other
530 stars 466 forks source link

Save /data content to loop disk on external sdcard #159

Open webmaster33 opened 8 years ago

webmaster33 commented 8 years ago

I often have the issue, that after 2-3 installed os (even if they were installed into ext slot) and some installed apps, the free space on the internal sdcard is becoming low.

Now I have one primary (stock) and two os (MIUI V5 and CM13) installed as ext slots, but I have only 1,7Gb free on /data filesystem. The original sdcard is 16Gb, and there is about 9-10Gb available as internal storage.

The internal storage problem could be solved by creating a loop device on external sdcard, which could store /data filesystem.

Would you consider implementing this?

wazeeahmed commented 8 years ago

That will make dual boot patcher like a heaven for multiboot . +1 for this feature .

chenxiaolong commented 8 years ago

This is a planned feature, but will require some work by the user. The user will be able to create a new ROM slot by placing a config file in, say, /sdcard/MultiBoot/rom-configs. The config file will be able to specify where the /system, /cache, and /data directories should be located and whether they are plain directories or ext4 images. The new slot would then be available for use in the app.

EDIT: I don't have a timeframe on when I'll start implementing this, but I definitely think this is a worthwhile feature, so it may happen sooner than later.

webmaster33 commented 8 years ago

That would be amazing!

Waiting for it patiently.