I have problem with this step, trying on S5 G900F with crDroid 7.11 (Android 11 LOS based).[...]
"sm list-volumes" now returned:
"cat /proc/partitions" to confirm the partition layout and numbering showed:
Therefore mmcblk1p3 is the adoptable storage (android_expand) partition, and was showing as unmountable (can't remember if I did get it to mount, but not necessary anyway in this procedure)
I wanted this as a EXT4 for use by Link2SD, so reformatted this using:
"mke2fs -t ext4 -L Link2SD /dev/block/mmcblk1p3". Make sure you use the partition identified above, otherwise you might wipe something important!
[...]
In my case the partitions (both) will automatically be mounted by system. And I get the error
It's mounted as private:179,67 and also appears as emulated:179,67. Unmounting private will also make emulated disappear, however it still doesn't fix the problem with being in use./dev/block/mmcblk1p3 is apparently in use by system; will not make a filesystem here!
Any suggestions?
€1: In the end it didn't matter. I just format the card on PC (with DiskGenius) and the problem was gone. The partition would no longer be mounted, but it didn't matter as your script takes care of it.
On first click it looks like Link2SD is satisfied, but when trying to link file it will abort with "can't stat '/data/app/com....' No such file or directory"
€2: Writing with Root Explorer to sdext2 is no issue, so I guess there is an permission issue with the app, as it isn't developed for Android 11. Is there a way to force the permission (or force to ask for the permission to write)?
€3: I could pin down the problem to linking cache and linking libs. Linking App and App data is working as expected.
So does anyone have an idea why this to things don't work and how to fix it?
Last edited: