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

an error occured while setting up the phone #300

Open
6 tasks
aniruddha16108 opened this issue Dec 8, 2022 · 5 comments
Open
6 tasks

an error occured while setting up the phone #300

aniruddha16108 opened this issue Dec 8, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@aniruddha16108
Copy link

Prerequisites

If the following boxes are not ALL checked, your issue is likely to be closed.

  • Using yarn
  • Using node 16.x
  • Using an up-to-date master branch
  • Using latest version of devtools. See wiki for howto update
  • For issue in production release, devtools output of DEBUG_PROD=true yarn build && yarn start
  • Tried solutions mentioned in #400

Describe the bug
A clear and concise description of what the bug is.

Expected behaviour
If you're describing a bug, tell us what should happen.
If you're suggesting a change/improvement, tell us how it should work.

Current Behavior
If describing a bug, tell us what happens instead of the expected behaviour.
If suggesting a change/improvement, explain the difference between current behaviour.

Possible Solution

Not obligatory, but suggest a fix/reason for the bug or ideas how to implement the addition or change.

Steps to Reproduce (for bugs)
Provide a link to a live example or an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant

Context
How has this issue affected you? What are you trying to accomplish?
Did you make any changes to the codes after cloning it?
Providing context helps us come up with a solution that is most useful in the real world.

Your Environment
Include as many relevant details about the environment you experienced the bug in

  • Node version :
  • Version or Branch used :
  • Operating System and version [e.g. macOS 10.14 mojave]:
  • App Version [e.g. OpenMTP-v1.0]:
  • Link to your project :

Attachments
Include if relevant,

  1. Open your Terminal and run the following code:
zip -r -X ~/Desktop/OpenMTP-log.zip "$HOME/Library/Application Support/io.ganeshrvel.openmtp/logs/"
  1. Attach the file OpenMTP-log.zip found in your Desktop folder here.

Or

  1. Open the App,
  2. Click on Help > Report Bugs.
  3. Generate and send us the bugs report.

Screenshots
If applicable, add screenshots to help explain your problem.

@aniruddha16108 aniruddha16108 added the bug Something isn't working label Dec 8, 2022
@parthlawate
Copy link

Here are last few logs from the log file for this issue.

Device Pixel 2 XL , Android 11

=============================================================

App Name: OpenMTP
App Version: 3.2.0
UUID: dad15f397711ef05188a5ef77fc9bc940c63ca7dd1ee95d5c7040742a29bda7e

MTP Mode: kalam
Date Time: 2022-Dec-14 23:40:31 (1671041431864)
OS type: Darwin / OS Platform: darwin / OS Release: 22.1.0
Error: Error title: processKalamMtpBuffer
Error body:
MTP buffer o/p logging;
MTP Mode: kalam
Raw error: opening after reset: LIBUSB_ERROR_NO_DEVICE
Processed error: An error occured while setting up the Phone
Error type: ErrorDeviceSetup

=============================================================

=============================================================

App Name: OpenMTP
App Version: 3.2.0
UUID: dad15f397711ef05188a5ef77fc9bc940c63ca7dd1ee95d5c7040742a29bda7e

MTP Mode: kalam
Date Time: 2022-Dec-14 23:40:31 (1671041431882)
OS type: Darwin / OS Platform: darwin / OS Release: 22.1.0
Error: Error title: churnMtpBuffer.mtpError
Error body:
An error occured while setting up the Phone

=============================================================

=============================================================

App Name: OpenMTP
App Version: 3.2.0
UUID: dad15f397711ef05188a5ef77fc9bc940c63ca7dd1ee95d5c7040742a29bda7e

MTP Mode: kalam
Date Time: 2022-Dec-14 23:40:31 (1671041431885)
OS type: Darwin / OS Platform: darwin / OS Release: 22.1.0
Error: Error title: churnMtpBuffer.error
Error body:
opening after reset: LIBUSB_ERROR_NO_DEVICE

=============================================================

=============================================================

App Name: OpenMTP
App Version: 3.2.0
UUID: dad15f397711ef05188a5ef77fc9bc940c63ca7dd1ee95d5c7040742a29bda7e

MTP Mode: kalam
Date Time: 2022-Dec-14 23:40:31 (1671041431887)
OS type: Darwin / OS Platform: darwin / OS Release: 22.1.0
Error: Error title: churnMtpBuffer.stderr
Error body:
ErrorDeviceSetup

=============================================================

=============================================================

App Name: OpenMTP
App Version: 3.2.0
UUID: dad15f397711ef05188a5ef77fc9bc940c63ca7dd1ee95d5c7040742a29bda7e

MTP Mode: kalam
Date Time: 2022-Dec-14 23:40:31 (1671041431898)
OS type: Darwin / OS Platform: darwin / OS Release: 22.1.0
Error: Error title: processKalamMtpBuffer
Error body:
MTP buffer o/p logging;
MTP Mode: kalam
Raw error: opening after reset: LIBUSB_ERROR_NO_DEVICE
Processed error: An error occured while setting up the Phone
Error type: ErrorDeviceSetup

=============================================================

@ralf-ms
Copy link

ralf-ms commented Jan 20, 2023

Same Problems here ("error setting up the phone"), with Samsung Tab S8 and Pixel 7 Pro (both Android 13):

App Name: OpenMTP
App Version: 3.2.1
UUID: 0f7339db67be8d3fbb1ef74889a8ede60fcf291ff4a28508eb9af33d8eed7d74

MTP Mode: kalam
Date Time: 2023-Jan-20 13:18:11 (1674217091631)
OS type: Darwin / OS Platform: darwin / OS Release: 22.3.0
Error: Error title: churnMtpBuffer.mtpError
Error body:
An error occured while setting up the Phone

Mac rebooted, GoogleDrive or DropBox not running.
BTW: Using OpenMTP on a Garmin Watch works every time, without any issues.

@renatgalimov
Copy link

I have a similar problem:

App Name: OpenMTP
App Version: 3.2.10
UUID: a820e7c95cef957d1cdd584a389a28968b739f724fb06c4576a1a08fc1c5e1c3

MTP Mode: kalam
Date Time: 2023-May-13 22:17:55 (1684005475290)
OS type: Darwin / OS Platform: darwin / OS Release: 22.4.0
Error: Error title: churnMtpBuffer.error
Error body: 
OpenSession after reset: LIBUSB_ERROR_NOT_FOUND

=============================================================

=============================================================

App Name: OpenMTP
App Version: 3.2.10
UUID: a820e7c95cef957d1cdd584a389a28968b739f724fb06c4576a1a08fc1c5e1c3

MTP Mode: kalam
Date Time: 2023-May-13 22:18:00 (1684005480081)
OS type: Darwin / OS Platform: darwin / OS Release: 22.4.0
Error: Error title: processKalamMtpBuffer
Error body: 
MTP buffer o/p logging;
MTP Mode: kalam
Raw error: opening after reset: LIBUSB_ERROR_NO_DEVICE
Processed error: An error occured while setting up the Phone
Error type: ErrorDeviceSetup

=============================================================

=============================================================

App Name: OpenMTP
App Version: 3.2.10
UUID: a820e7c95cef957d1cdd584a389a28968b739f724fb06c4576a1a08fc1c5e1c3

MTP Mode: kalam
Date Time: 2023-May-13 22:18:00 (1684005480083)
OS type: Darwin / OS Platform: darwin / OS Release: 22.4.0
Error: Error title: processKalamMtpBuffer
Error body: 
MTP buffer o/p logging;
MTP Mode: kalam
Raw error: opening after reset: LIBUSB_ERROR_NO_DEVICE
Processed error: An error occured while setting up the Phone
Error type: ErrorDeviceSetup

=============================================================

=============================================================

App Name: OpenMTP
App Version: 3.2.10
UUID: a820e7c95cef957d1cdd584a389a28968b739f724fb06c4576a1a08fc1c5e1c3

MTP Mode: kalam
Date Time: 2023-May-13 22:18:00 (1684005480090)
OS type: Darwin / OS Platform: darwin / OS Release: 22.4.0
Error: Error title: churnMtpBuffer.stderr
Error body: 
ErrorDeviceSetup

=============================================================

=============================================================

App Name: OpenMTP
App Version: 3.2.10
UUID: a820e7c95cef957d1cdd584a389a28968b739f724fb06c4576a1a08fc1c5e1c3

MTP Mode: kalam
Date Time: 2023-May-13 22:18:00 (1684005480090)
OS type: Darwin / OS Platform: darwin / OS Release: 22.4.0
Error: Error title: churnMtpBuffer.error
Error body: 
opening after reset: LIBUSB_ERROR_NO_DEVICE

=============================================================

=============================================================

App Name: OpenMTP
App Version: 3.2.10
UUID: a820e7c95cef957d1cdd584a389a28968b739f724fb06c4576a1a08fc1c5e1c3

MTP Mode: kalam
Date Time: 2023-May-13 22:18:00 (1684005480091)
OS type: Darwin / OS Platform: darwin / OS Release: 22.4.0
Error: Error title: churnMtpBuffer.mtpError
Error body: 
An error occured while setting up the Phone

=============================================================

=============================================================

App Name: OpenMTP
App Version: 3.2.10
UUID: a820e7c95cef957d1cdd584a389a28968b739f724fb06c4576a1a08fc1c5e1c3

MTP Mode: kalam
Date Time: 2023-May-13 22:18:42 (1684005522760)
OS type: Darwin / OS Platform: darwin / OS Release: 22.4.0
Error: Error title: processKalamMtpBuffer
Error body: 
MTP buffer o/p logging;
MTP Mode: kalam
Raw error: 
Processed error: undefined
Error type: 2023/05/13 22:18:38 ======================================================
2023/05/13 22:18:38 start kalam debug log
2023/05/13 22:18:38 ------------------------------------------------------
2023/05/13 22:18:38 USB: Open, err: <nil>
2023/05/13 22:18:38 USB: ClaimInterface 0x0, err: LIBUSB_ERROR_ACCESS
2023/05/13 22:18:38 USB: interface: MTP
2023/05/13 22:18:38 MTP request OpenSession [1498631845]
send: 0x10 bytes with ep 0x1:
0000: 1000 0000 0100 0210 0000 0000 a54e 5359  .............NSY
2023/05/13 22:18:38 MTP sendreq failed: LIBUSB_ERROR_NOT_FOUND
2023/05/13 22:18:38 OpenSession failed: LIBUSB_ERROR_NOT_FOUND; attempting reset
2023/05/13 22:18:39 USB: Close, err: <nil>
2023/05/13 22:18:40 USB: Open, err: LIBUSB_ERROR_NO_DEVICE
2023/05/13 22:18:40 error initializing: opening after reset: LIBUSB_ERROR_NO_DEVICE
2023/05/13 22:18:40 
2023/05/13 22:18:40 end kalam debug log
2023/05/13 22:18:40 ======================================================


=============================================================

=============================================================

App Name: OpenMTP
App Version: 3.2.10
UUID: a820e7c95cef957d1cdd584a389a28968b739f724fb06c4576a1a08fc1c5e1c3

MTP Mode: kalam
Date Time: 2023-May-13 22:18:42 (1684005522761)
OS type: Darwin / OS Platform: darwin / OS Release: 22.4.0
Error: Error title: FileExplorerKalamDataSource.fetchDebugReport.stderr
Error body: 
2023/05/13 22:18:38 ======================================================
2023/05/13 22:18:38 start kalam debug log
2023/05/13 22:18:38 ------------------------------------------------------
2023/05/13 22:18:38 USB: Open, err: <nil>
2023/05/13 22:18:38 USB: ClaimInterface 0x0, err: LIBUSB_ERROR_ACCESS
2023/05/13 22:18:38 USB: interface: MTP
2023/05/13 22:18:38 MTP request OpenSession [1498631845]
send: 0x10 bytes with ep 0x1:
0000: 1000 0000 0100 0210 0000 0000 a54e 5359  .............NSY
2023/05/13 22:18:38 MTP sendreq failed: LIBUSB_ERROR_NOT_FOUND
2023/05/13 22:18:38 OpenSession failed: LIBUSB_ERROR_NOT_FOUND; attempting reset
2023/05/13 22:18:39 USB: Close, err: <nil>
2023/05/13 22:18:40 USB: Open, err: LIBUSB_ERROR_NO_DEVICE
2023/05/13 22:18:40 error initializing: opening after reset: LIBUSB_ERROR_NO_DEVICE
2023/05/13 22:18:40 
2023/05/13 22:18:40 end kalam debug log
2023/05/13 22:18:40 ======================================================

@CuriousLearner
Copy link

I'm facing the same issue with Pixel 7 Pro. @ganeshrvel Can you please have a look here?

Thanks!

@ganeshrvel
Copy link
Owner

Hi.

Please follow the steps on this page (#276) and check if it resolves your issue.

In my experience so far the steps in the page and in the comments below it solved majority of the connectivity problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants