-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to access USB stick or the Android file system? #95
Comments
Yes, this is possible. ✨ You just need to enable "Custom mounts" and set up the proper "Mount points" in the properties (the download arrow button in LinuxDeploy) of your LinuxDeploy image. For example, I added This is how you can efficiently share data between Android and your chroot'ed Linux. |
Thanks a ton, works like a charm! |
@sunaku Well,what I DO IS : ------------------------- below are something that i run in ssh------------------------
BY THE WAY, I am in aid_sdcard_rw group:
Any hope will be thanks. |
I know this is an old issue, but permissions for accessing sdcard storage are still problematic on a default installation. This worked for me on Android 7.1. Use "Custom mounts" as posted above, then in a terminal in your linux chroot do the following:
|
I noticed a lot of differing answers to mounting external sdcard or usb in the chrooted linux. I guess I'll share what I've been using.
|
Permissions are playing up for me sometimes too and the only way I seem to be able to get around it for instance when I'm using git is to use sudo... |
this not working for me as it shows |
If you want to wr sdcard without root, you can try to add your user to gruop aid_sdcard_r, and restart! prefer: |
Hi,
I started working with Linux Deploy (Ubuntu 13.10 on Android 4.4.2 [Nexus 5]) and I like it a lot so far. I am wondering how one can transfer files from Ubuntu to the Android file system and the other way round? This would be very important for using Ubuntu under Android for real work. I also connected the phone to a USB stick but /media/... does not show any media. It's somehow clear, since Ubuntu runs inside an image, but is there really no way to access the Android file system? the only possibility which remains in this case, would be to upload all your data to a server and download it from within Ubuntu... but that's very tedious.
Cheers,
Marius
PS: Although it also runs Ubuntu inside an image, with the 'Complete Linux Installer' app one can access the Android file system. From within Ubuntu, go to /root/Desktop/sdcard (which accesses /sdcard on Android). With 'sudo su' I can change to /root, but it only shows some dot-files :-(
The text was updated successfully, but these errors were encountered: