$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Step-by-step – Android Udev Rules Ubuntu 18.04 Setup

December 26, 2020 | By the+gnu+linux+evangelist.

Installing

  1. 2. Downloading Android Udev Rules Repo

    Download Android Udev Rules Repo for Ubuntu GNU/Linux

    Android Udev Rules for Ubuntu
  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 you are in Trouble to Find the Location 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