openmtp
openmtp copied to clipboard
Just a blank screen or MTP device is not recognized
Solution for Issue: Blank Screen or MTP Device Not Recognized
If you're encountering a blank screen or your MTP device is not being recognized, follow these steps:
- Reboot Your Mac (IMPORTANT): Simply restarting your machine has resolved the issue for many users.
- Close Preview App on macOS Ventura: If you are using macOS Ventura or above, try quitting the Preview app. Read more here.
-
Quit Conflicting Apps Completely and Relaunch OpenMTP:
- Google Drive: GitHub Issue
- Dropbox: GitHub Issue
- Preview App on macOS Ventura: GitHub Issue
- SmartSwitch: GitHub Issue
- Garmin Express
- OneDrive
- iMovie
- Lightroom MAC
- Uninstall Samsung Watch Related Drivers: If you have any Samsung watch related drivers installed, uninstall them. Read more here.
- Check for Applications Locking USB Ports: Some applications might lock onto the USB port once they detect a USB drive. Check if any active apps require USB access, which could be causing the issue.
- Disable Hotplug Detection: In OpenMTP, disable the Hotplug detection from the Settings. Reconnect your phone and tap on the Refresh button.
- Enable File Transfer on Your Samsung Phone: Ensure that you have enabled file transfer and accepted the "Enable MTP data access" prompt on your Samsung phone.
- Uninstall Samsung Switch: For some users, uninstalling Samsung Switch has helped resolve the issue. GitHub Issue.
I noticed sometimes your cable has to be higher quality, otherwise the device wouldn't be recognized as well.
Following the above worked but I also had to use Kalam-Mode for Samsung Tablets
I will try these steps, but I am having trouble determining precisely how to "quit completely" the running Dropbox and Google Drive processes. Do I just use Activity Monitor and stop them? Seems pretty nasty.
Note that I did a debug startup and got this: (On M2Pro Mac running the Apple Silicon version.) Mac-mini:Google wdc$ "/Applications/OpenMTP.app/Contents/MacOS/OpenMTP" --remote-debugging-port=6363
DevTools listening on ws://127.0.0.1:6363/devtools/browser/493c4e5f-55d0-4614-8334-96bc2a99b198
objc[4011]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x21e422fe0) and /Applications/OpenMTP.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib (0x107a513c8). One of the two will be used. Which one is undefined.
Error returned: <dictionary: 0x1df4d0980> { count = 1, transaction: 0, voucher = 0x0, contents =
"XPCErrorDescription" => <string: 0x1df4d0b18> { length = 18, contents = "Connection invalid" }
}
2023/05/24 16:03:15 OpenSession failed: LIBUSB_ERROR_NOT_FOUND; attempting reset
2023/05/24 16:03:20 OpenSession failed: LIBUSB_ERROR_NOT_FOUND; attempting reset
2023/05/24 16:03:20 OpenSession failed: LIBUSB_ERROR_NOT_FOUND; attempting reset
Checking for update
Update for version 3.2.10 is not available (latest version: 3.2.10, downgrade is disallowed).
For me it worked to just reopen OpenMTP. On first open I had Android File Transfer installed, it kept popping its error window, uninstalled it but OpenMTP didn't connect until I closed & reopened it.
Also once I had buggy connection on Pixel 7, adb did not work, rebooting the Pixel fixed that.
It might help someone else: if it's open, close Adobe Lightroom.
Thanks for the awesome app!
I had all but given up on getting OpenMTP to work. But today I got it working.
I'm so used to extra drives and startup apps not having controls I can touch that I did not realize that Google Drive and DropBox had Quit menu commands.
Mind you, Google drive refused to stop, and gave me the spinning beach ball the first time round, but a restart of my Mac unstuck things, and the Quit menu command worked.
So yes, a system restart is needed.
I also had an Android FileSync Login Item that I had to remove from System Settings -> General -> Login Items.
So I finally understood the instructions, followed them, and got OpenMTP moving files around.
Thank you, Ganesh for writing this. Sorry I didn't understand the instructions.
To add, I've realised that any apps that does image importing (probably via PTP) such as Photos or Adobe Lightroom Classic should be closed before using OpenMTP.
Hopefully the above info helps someone out!
🚀
Closing Preview did it for me. Weird thing.
Besides disabling the disturbing apps on your Mac – If nothing of the above helps you can try to wipe the caches, for that you need to start your phone in recovery mode:
- switch off your phone
- connect via USB to your computer (just connecting)
- press Volume-up + Power button for 8–10 seconds (at least for Samsung phones)
- in the recovery mode menu select 'wipe cache partition' (not dangerous, will be re-generated) and confirm
- then select 'repair apps' and the phone will restart
This helped twice in my case (last time after the update to One UI 6.0)
It might help someone else: if it's open, close Adobe Lightroom.
Thanks for the awesome app!
Works for me. Closing Lightroom on PC/MAC fix this problem. I think it is related all app that have file transfer functionality
Nothing helps . All steps has been taken , all is updated to last versions , all cables are fit for purpose.cannot get hooked to the app. Apple MacBook Pro M1 14.4 S23 Ultra latest update 20/03/2024
"1. Reboot your Mac (IMPORTANT)
". Yeah that fixed it for me. Thanks! Maybe that should be added to the list of debug steps it displays when it can't connect.
You can find this information in the "Help" section of OpenMTP. Alternatively, you can tap on "Help! My phone is not connected" Button
Closing iMovie also helps 😄