Store /data and /cache in sd card I've been googling the whole day for an answer and it has been frustrating to see how many people write with confidence incompetent solutions.
Many say to mount /dev/block/mmcblk0p8 or /dev/block/mmcblk0p12 in a directory in the sd card, not realizing that data is still stored in the internal memory (if this last statement is wrong then the incompetent one is myself).
What I would like to achieve is to stop Android from writing the internal storage, prolonging that way its lifespan.
There are applications out there to move some app data or some cache to sd card, for some reason no application to move the whole lot.
Any change should also persist at boot/reboot.
I've tried to modify /fstab.smdk4x12 file replacing the partition for /data with an ext4 partition in sd card. After reboot /fstab.smdk4x12 was restored to its original settings.
Any help will be appreciated, thanks :-)
I've made it!
In order to not create duplicates, I post here the link to my working solution:
Use sd card as internal storage and stop writing to internal memory for good