mattiaseggen
mattiaseggen

Reputation: 105

ADB is not recognizing Samsung S21 when connected with USB

When I connect the S21, it only shows information that it is charging, but no prompt for accepting the computer etc.

I am using Ubuntu.

USB debugging is active, and ADB is installed. Tried two different computers and two cables. lsusb does not show the device, neither does adb devices. Also tried adb kill-server followed by adb start-server.

Any ideas?

Upvotes: 6

Views: 10710

Answers (2)

miro
miro

Reputation: 101

Seams like the solution is connecting S21 to USB C port on your PC (if there is one of course).

Upvotes: 0

Sam Watkins
Sam Watkins

Reputation: 8369

This YouTube video helped me: Samsung Galaxy S21, S21 Plus and S21 Ultra USB NOT RECOGNIZE SOLUTION

It has two more steps in addition to the usual:

  1. Settings -> Developer Options -> Default USB Configuration -> select Transferring Files, and
  2. Enter *#0808# in the phone keypad, then select MTP + ADB (or just MTP), disconnect the USB, reboot the phone, and reconnect the USB.

After that, the pop-up to confirm the PC showed on the phone, and adb started to work.

I had also added a udev rule, created the file /etc/udev/rules.d/51-android.rules with:

SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev"

Then:

sudo udevadm control --reload-rules

Upvotes: 6

Related Questions