zhanghai / zhanghai/MaterialFiles
Massive issues with OTG access to USB devices
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 9k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
I love this minimalist app and its design. However I have massive issues when using it with an external device (Garmin Oregon) via an OTG adapter. This works with other file managers, so the problem must be with this app:
- Copying files from the internal storage to the OTG device does not work correctly. A file is always created, but most of the time its size is 0 bytes (I verified by attaching the external device to my PC). I only succeeded to copy a file once, but then could never reproduce that success.
Less serious issues:
- When attaching an OTG device while MF is already open, it will not detect the new device. A force-close and restart of MF is needed before the OTG device is detected.
- When detaching an OTG device while MF displays a folder on it, some unhandled Java exception gets thrown.
Thanks for the work you have already invested into this app!
My device: Pixel 6a, newest system update
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, tests, or entry points are named. First reproduce the OTG copy, attach-detection, and detach cases on the reported Pixel 6a setup; done means files copy with their contents intact, newly attached devices are detected without restarting, and detaching a displayed device does not throw an unhandled exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100