Everything works perfectly ; except that the chroot mount point looks "empty" from outside world (Media player,Root Explorer, and even the Terminal Emulator sessions without root permission).
I thought that might be nothing to worry until I tried to wath a HD movie on my server.
SSHFS inside the chroot world could succesfully mount the target directory ; yet none of my App could go there.
And ln command is not working as I typed :
ln -s /sdcards/archlinux/sshfs_mountpoint /sdcard/whatever_outside
mknod /dev/block/loop255 b 7 255)
losetup /dev/block/loop255 /sdcard/archlinux.img
(archlinux.img is ext4 formated with functional binaries and libraries from arch linux arm image)
mount /dev/block255 /sdcard/archlinux
And then mount dev,devpts,proc,sysfs ; set PATH,USER,TERM,SHELL...etc
It is also really strange that if I make a directory into the chroot directory from Terminal Emulator before getting chrooted ; it could be seen from both outside and inside .
So ai guessed this could be permission problem ; yet the files and directories are all readible for "others" ......
Any help or advices are apreciated.
Thanks in advance and I'm sorry for my bad English .
Sent from my Nexus 5 using xda app-developers app