I tried mounting the ext4 partition as root, but it didn't work. My phone is rooted, but as it seems no one has managed to do what I want to do. I couldn't find any solution, that worked for me. How can I mount the ext4 partition?
What I have tried so far:
Manually mounting the partition. I tried running
mount -t ext4 /dev/block/sda2 /mnt/media_rw/usbotg
, but that doesn't work and outputsmount: '/dev/block/sda2'->'/mnt/media_rw/usbotg': Invalid argument
. I was trying this, because of this answer - https://android.stackexchange.com/a/220020.I also tried using
vold-posix
, but for some reason Magisk fails to install the module and showsUnable to unpack boot image
, even though it is able to install Magisk updates on the boot image.
Invalid argument
is a general error. Runstrace mount
to get detailed log.strace mount -t ext4 /dev/block/sda2 /mnt/media_rw/usbotg
. Syscall tracing of the failing command.