title: ADB is not detecting my android device on Ubuntu
body: <p>Need help, <strong>"adb"</strong> not detect my phone, I do not know what to do; and this was what I did, if I have a mistake or something tell me please.</p>
  
  <ol>
  <li><p>I log in as root and create this file.</p>
  
  <pre><code>/etc/udev/rules.d/51-android.rules
  </code></pre></li>
  <li><p>These are my rules, for my phone <strong>LG L80+Bello D331</strong>.</p>
  
  <pre><code>SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", MODE="0666"
  </code></pre></li>
  <li><p>I run this command and <strong>reboot</strong>.</p>
  
  <pre><code>chmod a+r /etc/udev/rules.d/51-android.rules
  </code></pre></li>
  <li><p>Finally, I test my changes, but don't display my devices.</p>
  
  <pre><code>$ adb devices
  List of devices attached
  </code></pre></li>
  </ol>
  
  <h3>Additional Information</h3>
  
  <p><strong>Q:</strong> Is USB debugging turned on on the Android?
  <strong>R:</strong> Yes.</p>
  
  <p><strong>OS:</strong> Ubuntu 15.04 (64 bit)</p>
  
  <pre><code>$ lsusb
  Bus 004 Device 003: ID 8086:0189 Intel Corp. 
  Bus 004 Device 005: ID 1004:6300 LG Electronics, Inc. &lt;&lt;&lt;
  Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 003 Device 004: ID 138a:0011 Validity Sensors, Inc. VFS5011 Fingerprint Reader
  Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  
  $ ls -l /dev/bus/usb/004/
  total 0
  crw-rw-r-- 1 root root 189, 384 ago 21 05:21 001
  crw-rw-r-- 1 root root 189, 385 ago 21 05:21 002
  crw-rw-r-- 1 root root 189, 386 ago 21 05:21 003
  crw-rw-rw- 1 root root 189, 388 ago 21 18:15 005
  </code></pre>
  
  <h3>Update 1</h3>
  
  <p>51-android.rules file changes:</p>
  
  <pre><code>SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", GROUP="plugdev"
  </code></pre>
  
  <p>Command:</p>
  
  <pre><code>$ lsusb
  Bus 004 Device 004: ID 8086:0189 Intel Corp. 
  Bus 004 Device 003: ID 1004:6300 LG Electronics, Inc. &lt;&lt;&lt;
  Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 003 Device 003: ID 138a:0011 Validity Sensors, Inc. VFS5011 Fingerprint Reader
  Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  
  $ ls -l /dev/bus/usb/004/
  total 0
  crw-rw-r-- 1 root root    189, 384 ago 21 11:33 001
  crw-rw-r-- 1 root root    189, 385 ago 21 11:33 002
  crw-rw-rw- 1 root plugdev 189, 386 ago 21 11:33 003 &lt;&lt;&lt;
  crw-rw-r-- 1 root root    189, 387 ago 21 11:33 004
  </code></pre>
  
  <p>But, <strong>"adb"</strong> don't detect my device: :(</p>
  
  <pre><code>$ adb devices
  List of devices attached
  </code></pre>
  
  <h3>Update 2</h3>
  
  <p><a href="https://askubuntu.com/questions/632651/adb-devices-command-wont-detect-my-4-4-android-phone">Here is the solution</a></p>
  
  <h2>Reference</h2>
  
  <ul>
  <li><a href="https://help.ubuntu.com/community/AndroidSDK" rel="noreferrer">Ubuntu Docs Source</a>,</li>
  <li><a href="http://developer.android.com/tools/device.html" rel="noreferrer">Android Docs Source</a></li>
  </ul>