ADB Devices No Permissions User in plugdev Group Fix Working
Linux users are getting some permission problem on connected device using adb. This is called plugdev or udev rules problem. There are two way of fixing this error. In this article I will show you the best way to fix this problem. udev Rules Error Udev rules are the read write permission rules for adb connected devices. This file is located at /etc/udev/rules.d/51-android.rules on Linux. If you dont provide any rules then this error will be occured. Fix udev Rules Error Fix 1: MTP Simpliest fix would be to set the phone to File Transfer mode or MTP mode. Goto usb preferences and enable File Transfer like this. Fix 2: Write udev Rules To write your own udev Rules, you need to know the vedor id and product id. Check device vendor id and product id: lsusb Here my android device is Xiaomi Redmi. So my vid=2717 and pid=ff48 . Now create a udev rule sudo nano /etc/udev/rules.d/51-android.rules Copy and replace with your own vid=xxx pid =yyy code and paste it. The...