openmtp icon indicating copy to clipboard operation
openmtp copied to clipboard

Just a blank screen or MTP device is not recognized

Open ganeshrvel opened this issue 2 years ago • 15 comments

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:

  1. Reboot Your Mac (IMPORTANT): Simply restarting your machine has resolved the issue for many users.
  2. Close Preview App on macOS Ventura: If you are using macOS Ventura or above, try quitting the Preview app. Read more here.
  3. Quit Conflicting Apps Completely and Relaunch OpenMTP:
  4. Uninstall Samsung Watch Related Drivers: If you have any Samsung watch related drivers installed, uninstall them. Read more here.
  5. 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.
  6. Disable Hotplug Detection: In OpenMTP, disable the Hotplug detection from the Settings. Reconnect your phone and tap on the Refresh button.
  7. 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.
  8. Uninstall Samsung Switch: For some users, uninstalling Samsung Switch has helped resolve the issue. GitHub Issue.

ganeshrvel avatar Nov 13 '22 20:11 ganeshrvel

I noticed sometimes your cable has to be higher quality, otherwise the device wouldn't be recognized as well.

pencilcheck avatar Nov 18 '22 06:11 pencilcheck

Following the above worked but I also had to use Kalam-Mode for Samsung Tablets

logikonline avatar May 08 '23 15:05 logikonline

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).


poetnerd avatar May 24 '23 20:05 poetnerd

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.

sampumon avatar Jul 06 '23 11:07 sampumon

It might help someone else: if it's open, close Adobe Lightroom.

Thanks for the awesome app!

ravanscafi avatar Nov 06 '23 22:11 ravanscafi

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.

poetnerd avatar Nov 13 '23 01:11 poetnerd

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!

vincentneo avatar Nov 14 '23 09:11 vincentneo

🚀

ganeshrvel avatar Nov 14 '23 11:11 ganeshrvel

Closing Preview did it for me. Weird thing.

tueksta avatar Nov 19 '23 13:11 tueksta

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)

FrjnnMnacAAK2Wt

artfarmer avatar Dec 15 '23 13:12 artfarmer

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

alyfreym avatar Jan 16 '24 09:01 alyfreym

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

Dnoam1959 avatar Mar 24 '24 10:03 Dnoam1959

"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.

harry-wood avatar Apr 16 '24 12:04 harry-wood

You can find this information in the "Help" section of OpenMTP. Alternatively, you can tap on "Help! My phone is not connected" Button

ganeshrvel avatar Apr 16 '24 12:04 ganeshrvel

Closing iMovie also helps 😄

ikkouT avatar Apr 18 '24 10:04 ikkouT