Installing
-
2. Downloading Android Udev Rules Repo
Download Android Udev Rules Repo for Ubuntu GNU/Linux
-
3. Accessing Android Udev Rules Repo
Now to Access Android Udev Rules Repository
If downloaded then first Unzip it:unzip -d /tmp/ ~/Downloads/android-udev-rules*.zip
And then access the target directory:
cd /tmp/android-udev-rules*
But if you are in Trouble to Find the Location on Terminal then See: How to Access Downloads Folder from Browser.
-
4. Setting up Udev Rules
Next to Set Udev Rules
So copy the configuration File:sudo cp -v 51-android.rules /etc/udev/rules.d/51-android.rules
Or instead possibly to get it updated:
sudo ln -sf "$PWD"/51-android.rules /etc/udev/rules.d/51-android.rules
Change the File permissions with:
sudo chmod a+r /etc/udev/rules.d/51-android.rules
-
5. Setting up User & Group
Again Set up User and Group
First, if adbusers Group already exists remove it:groupdel adbusers
Then set the Configuration with:
sudo mkdir -p /usr/lib/sysusers.d/ && sudo cp android-udev.conf /usr/lib/sysusers.d/
Add the adbusers Group:
sudo groupadd adbusers
Last, add your User to the adbusers Group:
sudo usermod -a -G adbusers $(whoami)
-
6. Restarting UDEV Service
Follow to Restart UDEV Service
First, play:sudo udevadm control --reload-rules
And again:
sudo service udev restart
Contents