Android adb no permission
I'm trying to use adb from a Ubuntu(+Cinnamon) machine. The problem is that I get following message from adb devices:
List of devices attached
TA8830OIVO no permissions
Where TA8830OIVO is my Motorola G device.
I changed android rules in /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e76",
MODE="0666", GROUP="plugdev", SYMLINK+="android_adb", OWNER="axel"
I also restarted udev service and adb being installed on my personal laptop I'm the only user with all the priveledges needed (plugdev group and so on).
Is there a way to run adb without invoking sudo?
Solution 1:
Change the USB mode in your phone to File Transfer. That's what worked for me.
Solution 2:
- Remember to run
sudo udevadm trigger
to get the changes applied (or reboot, but where's the fun in that). - Instead of writing your own rules use https://github.com/M0Rf30/android-udev-rules
- Make sure you have the latest ADB version (1.0.35 102d0d1e73de-android). Earlier ones didn't work with USB-C for me.