Hey guys, wanted to know if someone has experience with adoptable storage on Moto G 2014 using cm/LOS 13?
Thing is, my sister has the phone, so I can't keep an eye on it all the time. I only get called if it stopped working as supposed^^
maybe it's the sdcards fault, who knows, but: It worked on first, until the day came, she told me it would ask for the sdcard to be reinserted. I cleaned the contacts, and booted it again. It seemed to need a bit additional time after boot, until everything was there as the Gallery was empty, some Apps icons where greyed out. But after another minute or two, everything was there and the apps worked.
But, two days later, the system asked again, to reinsert the sdcard ( no one is pulling the card ever :/ ).
So, I have a few questions, hoping someone can answer them:
1: How is your experience on using adoptable storage on cm/LOS 13 with Moto G2?
2: I mostly guess, it's the cards fault, so I wanted to change the card with a newly ordered one. Will this work:
or maybe better using
Code:
ddrescure if=oldcard of=newcard
I originally thought adoptable storage is formatting the sdcard with ext4, encrypt it, and then "simply" mount it under /data. Seems to be not the case after searching a bit. Link2sd also isn't what I'd really like.
3. Is there a way, to have an ext4 formatted sdcard/partition on the card, mounted under /data WITHOUT changing the fstab of the kernel before flashing an update?
Found
this, but I don't think that'll work as described if I'm not mistaken, but I'll ask it anyways:
This is the way to have /data on the SD Card directory:
Copy all /data to the SD card directory: /mnt/sdcard/data
Delete /data
Create a symlink that points to the SD:
Code:
ln -s /mnt/sdcard/data /data
The main problem is that /data could be EXT2/3/4 partition, while the SD Card is FAT32. The best thing to achieve what you want is to create an extra partition on the SD Card as EXT2/3/4 filesystem. Then you can link the directory /data with the partition.
When the phone restarts, it will mount the data partition more or less like this:
Code:
mount <args> /dev/block/mmcblk0p2 /data
Since /data is pointing now to /mnt/sdcard/data, the above command is equivalent to this one:
Code:
mount <args> /dev/block/mmcblk0p2 /mnt/sdcard/data
L