Mounting Pixel 7 in Linux CLI
Plugin the phone and enable file sharing mode, then identify its mtp path using the gio tool.
gio mount -li | grep Pixel
Volume(0): Pixel 7a
activation_root=mtp://Google_Pixel_7a_3A161JEHN10547/
Then run gio mount mtp://Google_Pixel_7a_3A161JEHN10547/
and it will be mounted under /run/user/$(id -u)/gvfs/
.