-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[Feature]: Move Termux To Micro SD Card #3190
Comments
Its not possible without root.
One way would to create an ext4 image inside sd card and mount loop it and then bind mount it inside termux, which would require root access. Second way is converting sd card to adoptable storage and installing termux on it, but that would assign https://github.com/termux/termux-packages/wiki/Termux-file-system-layout |
I have root, and tried your first method, ("create an ext4 image inside sd card and mount loop it and then bind mount it inside termux"), but get permission denied. One post I read of a similar situation said it's likely SELinux issue. I can't change SELinux mode, (kernel)... Does that sound right to you? Any way around it? ext4 partition on sd card is mounted, and loop0 is bind-mounted to directory on sd card. "ls" command shows contents. But, I can't get Termux to have permissions to access. I guess I could just use the second method, but I'm curious... (unless the same issue would happen there - I'll test) |
update - second method working fine. Guess I'll just go with that.... Still curious, if any ideas Thanks |
If adoptable storage for external sd card is supported on the device, then should be able to use https://www.reddit.com/r/termux/comments/12hty88/comment/jfuv5mg/ without root. For ext4 image issues, check mpartel/bindfs#124 (comment) |
Thanks I did see the first link, but since I have root, and no problem using it, I figured I'd go that route. Second link is helpful |
Feature description
I have a Samsung Tab S8+ with only 128GB Internal storage and I run out of storage rather quick when trying to setup LAMP with VSCode inside Termux. Could we add a way to allow the core of Termux to be on a micro sd card or move the package files to the micro sd card.
Additional information
Not that i am aware of, no further info.
The text was updated successfully, but these errors were encountered: