Can't connect Pixel 4
I have a Google Pixel 4 phone. It used to mount no problem. Plug in the USB and Select File transfer/Android Auto on the phone and it would show up in Dolphin. This no longer happens. Now I plug in the phone and a greyed out Pixel 4 icon appears on the desktop. On the phone I select File transfer/Android Auto and that icon disappears and theb reappears.
I right click on the icon and select Mount Volume and sometimes it will mount but I can't see the filesystem on the phone:
Sometimes it doesn't mount at all.
I've tried different USB ports and cable.
lsusb does not show the phone
Developer Options > USB Debugging is on
Android Version 11
I removed and reinstalled Dolphin.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
How can I fix this?
Edit:
term.log
https://paste.ubuntu.com/p/RsKt5hRm7X/
Edit 2: Trying suggestion by @waltinator:
$ device="/dev/pixel4"
$ sudo adduser $USER $(stat -c "%G" $device)
stat: cannot stat '/dev/pixel4': No such file or directory
[sudo] password for allelopath:
adduser: The user `allelopath' already exists.
Edit 3:
sudo journalctl --follow a
https://paste.ubuntu.com/p/vTFVy6JPW3/
Edit: mtp into
$ mtp-detect
libmtp version: 1.1.17
Listing raw device(s)
Device 0 (VID=18d1 and PID=4ee1) is a Google Inc Nexus/Pixel (MTP).
Found 1 device(s):
Google Inc: Nexus/Pixel (MTP) (18d1:4ee1) @ bus 3, dev 25
Attempting to connect device(s)
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
OK.
$ mtp-connect
libmtp version: 1.1.17
Device 0 (VID=18d1 and PID=4ee1) is a Google Inc Nexus/Pixel (MTP).
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
No devices.
$ mtp-folders
Attempting to connect device(s)
Device 0 (VID=18d1 and PID=4ee1) is a Google Inc Nexus/Pixel (MTP).
mtp-folders: Successfully connected
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
OK.
$ jmtpfs
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
fuse: missing mountpoint parameter
Solution 1:
Many device access problems can be resolved through group membership changes.
Specifically, if ls -l
shows that the group permissions (the second "rwx
" triplet) is "rw
" (e.g."-rw-rw----
"), then, adding oneself to the group that owns the device will grant rw
access.
Here's how:
device="/dev/whatever"
sudo adduser $USER $(stat -c "%G" $device)
This allows you membership in the group that can rw
the device, but there is one more step.
To make all your processes members of the new group, logout and login. Group memberships are set up at login
time.
To create a single process in the new group (for testing, prior to logout/login):
newgrp $(stat -c "%G" $device)
or, just type the group name. See man newgrp
.