Skip to content

dreaminghell/linux-adb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

Copy adb and libcutils to board

cd libcutils
./linux_make.sh
cd ../
cd adb
./linux_make.sh
cd ../

Now adbd is installed in /usr/local/sbin/

Usage

run the following command In board and connect the board to the host computer:

run_adbd.sh 
UDC=`ls /sys/class/udc/| awk '{print $1}'`
echo $UDC > /sys/kernel/config/usb_gadget/g1/UDC

run the following command in host:

echo 0x2207> ~/.android/adb_usb.ini 
sudo adb shell

Notes:

  1. Make sure OTG port is enabled, try ls /sys/class/udc/ to list.

About

ADB for linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages