Step-by-step – Android Udev Rules Debian Buster Setup

December 27, 2020 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Installing

  1. 2. Downloading Android Udev Rules Repo

    Download Android Udev Rules Repo for Debian GNU/Linux

    Android Udev Rules for Debian
  2. 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 yuo are in Trouble to Find it out on Terminal then See: How to Access Downloads Folder from Browser.

  3. 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
  4. 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)
  5. 6. Restarting UDEV Service

    Follow to Restart UDEV Service
    First, play:

    sudo udevadm control --reload-rules

    And again:

    sudo service udev restart

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress