VPN termux about China.net

adb

    Open console and install android tools with comand this don't forget jdk7


$ sudo apt-get install android-tools-adb
 
$ sudo apt-get install openjdk-7-jdk


$ lsusb
Bus 002 Device 009: ID 1c4f:0003 SiGma Micro HID controller
Bus 002 Device 010: ID 1004:61fc LG Electronics, Inc. Optimus 3
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

$ sudo gedit /etc/udev/rules.d/51-android.rules
open file from etc/udev/rules.d/ if you can have gedit try vi:





$ sudo gedit /etc/udev/rules.d/51-android.rules

  $ sudo vi /etc/udev/rules.d/51-android.rules

change file like this:

#x-x-x-x-x-x
SUBSYSTEM=="usb", ATTR{idVendor}=="xxxx", ATTR{idProduct}=="xxxx", MODE="0666", GROUP="adbandy"



   It's all now you can install you app from com in anndroid, But still not working
try this: open cd  /home/adb_usb.ini and change file like this:


 ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
USE 'android update adb' TO GENERATE.
1 USB VENDOR ID PER LINE.
0x1004 
      Close this file and in terminal try this:

$ sudo service udev restart 
$ adb kill-server 
$ adb start-server adb devices
>
List of devices attached LGOTMSc570b9d5 device

    It's corekt configure adb

No comments:

Post a Comment