Answer the question
In order to leave comments, you need to log in
How does process isolation work in android?
I made myself an encrypted flash drive based on LUKS. It is mounted by a script that requires root rights (actually to mount). And this situation happens - I execute the script in the terminal, go to the mounted folder and ls shows me a list of files, everything is correct. But in the next terminal window, I see just an empty folder. And even if I get the rights through su, the files are still not visible.
I run the mount script through the file manager with root rights - the files are visible in the manager, but when I try to open them in a third-party program, they tell me that they do not exist. I suspect that the problem is process isolation in android. But I do not know where to dig further. Therefore, the question is - where or how to mount it so that all programs have access to this folder?
Lots of details.
Phone Huawei ascend g6
Model G6-U10
Android 4.3
Kernel Version 3.4.0+
mount script:
#!/system/bin/sh
sync;
setprop lk.filesystem.ready 1;
mount -o remount,rw rootfs /
mkdir /mnt/flash32
ln -s /mnt/flash32 /flash32
echo MoiParol | lm.cryptsetup luksOpen /dev/block/mmcblk1p1 flash32
mount -t vfat -o umask=000,uid=10127,gid=10127 /dev/mapper/flash32 /mnt/flash32/
mount -o remount,ro rootfs /
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question