Open shadowing opened 9 years ago
In about Android 4.2, they added some crazy mount magic to support multiple users. It means that mounts can be hidden or visible depending on the user, even if that user is root. I'm guessing that is what you are seeing in action here. There is some documentation of this issue here #103 It seems that people have found ways around this, like SuperSU's --mount-master
option, as mentioned in #85 , but I don't know about those in detail.
Thanks. On my device it was not detected mounted either but there was no "permission denied" sort of errors happening when debian started. Though it looks like the --mount-master
option should do the trick but I really don't quite understand how could I apply the option specifically, so I searched for more then found this comment on play store.
Anyone having problems using SuperSU with Lil' Debi needs to install CWM's superuser as a placebo. Uncheck "mount namespace separation" on SuperSU's settings and reboot. Run lil' debi and allow root access with SuperSU. Freeze (disable) superuser app then.
now I can start /debian/shell
and run apt-get
from a local shell!
But it seems /sbin
is not in the default PATH and there is no any text editor by default so I cannot install any package via apt-get
until I add that to the current shell.
Yes, unchecking 'mount namespace separation' is the same as always using --mount-master for everything.
I just installed latest lildebi from play store and the debian installation went without problem(except that I had to install a SuperUser alongside SuperSU). After I "Start Debian", it shows "Debian not mounted" and there is nothing under
/debian
and/data/debian
, but the sshd started fine.the installation summary is like the following, please let me know if you need the full or part of the installation log.
PS. I am not sure whether it's related but my phone has 64G internal storage and the directory /sdcard is properly mounted to the real device. I noticed that there is an option
Install on Internal Storage
in lildebi's settings but I didn't check that since it's still Beta.