I have a testing mobile device Galaxy J5 Prime with Android version 8.0.0 and Samsung Experience version 9.0

I often have to plug in and plug out this device through USB connection and every time I plug smartphone in the next message on smartphone screen pops-up:

"Allow access to phone data?

The connecter device will be able to access data on this phone.


Clicking "Allow" every time takes time. Is there any way to set the "Allow" option by default so I won't have to confirm every time?

closed as off-topic by João Farias, Nitin Rastogi, Bharat Mane, Mate Mrše, NarendraC Jul 30 at 9:28

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about software development unrelated to testing are off-topic here, but can be asked on Stack Overflow." – João Farias, Nitin Rastogi, Bharat Mane, Mate Mrše, NarendraC
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    I would suggest you to re-post this question on StackOverflow - it seems more directed to it and you will have a boarder audience. – João Farias Jul 25 at 10:25

Updating the driver for Samsung Mobile USB Composite Device to the latest version should resolve this issue.

For Windows 10:

  1. Start
  2. Device manager
  3. Navigate to USB Controllers
  4. Find Samsung Mobile USB Composite Device
  5. Click Update driver
  6. Restart PC
  7. Reconnect mobile phone via USB cable
  8. Confirm prompt with "Allow"

Now you should not see this prompt anymore.

  • Thank you for your answer. Is it possible to do the same on MAC? – Seeker001 Jul 27 at 8:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.