Trying to setup ADB, but cannot see my device

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
Asim
Level 2
Level 2
Posts: 52
Joined: Sun Sep 21, 2014 12:17 pm

Trying to setup ADB, but cannot see my device

Post by Asim »

Hi All,


For the past week I have been pulling my hair out trying to get my device on ADB (Android Debug Bridge). I have read Google's instructions here and followed them:

http://developer.android.com/tools/device.html

but when I type "adb devices" my device never shows up. The 51-android.rules file looks like this:

SUBSYSTEM=="usb", ATTR{idVendor}=="1004", ATTR{idProduct}=="633e", MODE="0666" GROUP="plugdev", OWNER="asim"

Here is the output from lsusb.

asim@asim-Aspire-E1-572 ~ $ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 04f2:b3f6 Chicony Electronics Co., Ltd
Bus 002 Device 003: ID 04ca:300b Lite-On Technology Corp.
Bus 002 Device 002: ID 062a:4101 Creative Labs
Bus 002 Device 005: ID 1004:633e LG Electronics, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


asim@asim-Aspire-E1-572 ~ $ ls -l /dev/bus/usb/002/005
crw-rw----+ 1 asim audio 189, 132 Nov 29 15:50 /dev/bus/usb/002/005

My device is the LG G3. When I did the ls -l command I can see asim and audio have permissions what about plugdev? I have also modified the adb_usb.ini file and put my vendor ID, but still my device is never detected.

# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
# ie 0x2207
0x1004

Everytime I do "adb devices" it just shows this:

asim@asim-Aspire-E1-572 ~ $ adb devices
List of devices attached

I have also done sudo adb devices but same problems.

Asim
Level 2
Level 2
Posts: 52
Joined: Sun Sep 21, 2014 12:17 pm

Re: Trying to setup ADB, but cannot see my device

Post by Asim »

omg I fixed it. On my LG G3 device I changed from MTP to PTP. and it worked!

Post Reply

Return to “Other topics”