Skip to content

99degree/adbd-linux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Limitation

Openssl version < 1.1, must be 1.0, as the 1.1 has broken API

Info

Base on:https://github.com/hadess/adbd

Modify for Yocto building and common Linux based OS.

Compiling in normal Linux OS

RANLIB=ranlib AR=ar CXX=g++ CC=gcc make

Usage

PostmarketOS loaded into target device storage
Compile as static bin and put it in target device /sbin
Do chmod a+x /sbin/adbd
Add adbd --device_banner=device& into device init script
Host pc do adb connect 172.16.42.1 5555
then do adb devices
List of devices attached
172.16.42.1:5555        device
adb shell date
Sat Jan  9 02:32:26 GMT 1971

About

Adbd for Linux based OS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 68.7%
  • C 25.1%
  • Makefile 2.3%
  • Assembly 1.8%
  • Python 1.4%
  • Shell 0.5%
  • Other 0.2%