Skip to content
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

Just a blank screen or MTP device is not recognized #276

Open
ganeshrvel opened this issue Nov 13, 2022 · 16 comments
Open

Just a blank screen or MTP device is not recognized #276

ganeshrvel opened this issue Nov 13, 2022 · 16 comments

Comments

@ganeshrvel
Copy link
Owner

ganeshrvel commented Nov 13, 2022

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 ganeshrvel added the bug Something isn't working label Nov 13, 2022
@ganeshrvel ganeshrvel pinned this issue Nov 13, 2022
@ganeshrvel ganeshrvel removed the bug Something isn't working label Nov 13, 2022
@pencilcheck
Copy link

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

@logikonline
Copy link

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

@poetnerd
Copy link

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


@sampumon
Copy link

sampumon commented Jul 6, 2023

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.

@ravanscafi
Copy link

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

Thanks for the awesome app!

@poetnerd
Copy link

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.

@vincentneo
Copy link

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!

@ganeshrvel
Copy link
Owner Author

🚀

@tueksta
Copy link

tueksta commented Nov 19, 2023

Closing Preview did it for me. Weird thing.

@artfarmer
Copy link

artfarmer commented Dec 15, 2023

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

@alyfreym
Copy link

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

@Dnoam1959
Copy link

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

@harry-wood
Copy link

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

@ganeshrvel
Copy link
Owner Author

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

@ikkouT
Copy link

ikkouT commented Apr 18, 2024

Closing iMovie also helps 😄

@Tao-Ma
Copy link

Tao-Ma commented Dec 7, 2024

MacOS Preview prevent OpenMTP connect samsung S7 tab. Close the Preview APP(no restart), connected successful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests