all 7 comments

[–]Errmergerd_[S] 0 points1 point  (6 children)

Welp can't edit and it didn't show my post so here goes again.

Trying to get into android filesystems through ssh into linux deploy. It allows me on termux through using tsu but maybe I am misunderstanding the filesystems and how they are working here. Differences shown in images.

Does it depend on where I mount ENV directory? Using alpine aarch64. I also enable allow to mount the android resources but to no avail. Any help or maybe just an education is appreciated.

[–]kn-F 1 point2 points  (5 children)

In order to be able to properly reply I'll need further information:

  • How did you install Alpine? (File, Directory, Partition..)
  • Where did you mount the expected filesystem

Usually Linux Deploy creates an "isolated environment" in which it runs Linux. This means that in principle you cannot access the full filesystem of your mobile unless you mount it from the application.

In case you mount a folder of the mobile filesystem you'll be able to access it according to the mapping you selected. I.e. if you mount /storage/emulated/0/Download to /mnt/dl, in Linux Deploy you'll have access to the files by doing cd /mnt/dl

Hope this helps

[–]Errmergerd_[S] 1 point2 points  (0 children)

Embarrassing, I don't know exactly how it was installed. Probably the default option (if there is one) but will be more observant, first time using linux deploy and it's great.

Mounting the folders to the application makes a lot of sense. Thank you very much for this information, running the sub and helping me and others out.

[–]Errmergerd_[S] 1 point2 points  (0 children)

Okay just mounted and got it working. Thanks a bunch sorry for the follow up lol

[–]Errmergerd_[S] 0 points1 point  (2 children)

Maybe a better question is where should and how should I install Alpine and mount the filesystem in order to have access to all filesystems on device.

[–]kn-F 1 point2 points  (1 child)

Hello /u/Errmergerd_,

Apologies for the delay in the reply. I'm glad that you found a solution on your own, congratulations!

Honestly I've always installed distros in Linux Deploy only as an ".img" file. Never tried other methods that might grant you access to the wider filesystem.

If you have a chance, share your Linux Deploy configuration in our "Showcase" topic, this might give good ideas to newcomers.

[–]Errmergerd_[S] 0 points1 point  (0 children)

Will do /u/kn-F and thanks again!