-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
termux-storage-get doesn't work #2181
Comments
Current version of termux is |
Thank you (and apologies) for this. I keep hitting update all in fdroid, but apparently when I set up my new tablet at the beginning of the year, I seem to have let Google Play install Termux for some reason (or so I assume--there was a signature mismatch. Not sure why I was on 0.95 though and not 0.101). Hopefully there's no issue with keeping my userspace between versions
Now I uninstalled and reinstalled Termux, and put the files back:
To deal with prelinker/other issues without setting path and other environment variables, use interactive move to replace the existing file. Before telling saying yes, open a new session and delete the existing files directory.
And now go back to the previous session where it's asking if it should overwrite the This is the same process I used to restore a backup of the existing app from my old tablet to my new tablet without taking the massive amount of time required for adb backup to complete. The first step also includes clearing unnecessary apt packages to reduce storage use. Note that to make my storage/external available to other apps without using the Termux file access paths, I use the sdcard/Android/media/com.termux folder instead of the external data folder; Android still allows access to this folder by other apps (I'm not sure if it's a device-specific thing, or if it's something Google overlooked/allowed). The only reason to use external sdcard and not internal is due to storage concerns (clearing /data/data/com.termux frees more than half the storage space used on my internal storage), and the fact that I generally keep it linked in $HOME/storage/external anyways. Zstd was used for compression due to having both a decent compression ratio and not making the backup take longer to complete. |
You are welcome. There shouldn't be any issue as long as you fix mirror and then upgrade to latest version of packages after restore with |
I'm having the same problem under
|
Make sure Termux and Termux:API is exempted from restrictions as per https://dontkillmyapp.com/huawei Where is your output file? If on shared storage, make sure termux is granted storage permission or disable and grant it again. Although, that should throw an error. Lastly, if above doesn't work, post output of |
Only tried a simple ~/test.txt so far, haven't tried to save to shared storage yet.
Not sure exactly what the important information is, so here's the full output of that: |
Problem description
termux-storage-get
hangs and doesn't open the file picker.Steps to reproduce
Run
termux-storage-get
Expected behavior
Filter picker opens
Additional information
All permissions address granted to both termux and termux-api
output from termux-info
termux-info
doesn't say)The text was updated successfully, but these errors were encountered: