MTP server crashes/times out
- /e/ version: e-1.18-r-20231209360969-dev-jasmine_sprout.zip
- Device model(s): jasmine-sprout
- Developer mode enabled: yes
- Device rooted: no
- Trackers blocker enabled: yes
Summary
This is about an issue, when copying some files from PC to phone or vice versa. The employed protocol is mtp. After some time the transfer process stucks and the PC asks to retry copying. The transfer can be resumed by disabling/re-enabling mtp on the phone.
The problem
Steps to reproduce
- Connect phone with USB cable to PC.
- Enable data transfer on phone.
- Open file explorer and start upload of files with drag and drop.
- Observe upload until it stucks.
- Disable data transfer on phone.
- Re-enable data transfer on phone.
- Continue file transfer until 4.
What is the current behavior?
After some rather short time (minutes), the download or upload stucks. It appears that the mpt-server on my phone has crashed. The transfer can be continued by toggling USB file transfer options on the phone.
What is the expected correct behavior?
MTP transfer succeeds, with no further user interaction.
Technical informations
Relevant logs (adb logcat
)
n.a.
Relevant screenshots
n.a.
Solutions
Workaround
Copy files via sd card.
Possible fixes
I tried already different mtp libs, to no avail.
/label typeBug ~"mtp" jasmine_sprout