Skip to content
a standalone version of android adb for FreeBSD
C Shell Assembly C++ Objective-C
Branch: master
Clone or download
Pull request Compare This branch is 7 commits ahead of karfield:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
debian
fastboot
include
libcutils
libzipfile
prebuilt
src
Makefile.am
Makefile.in
OVERVIEW.TXT
README.md
aclocal.m4
autogen.sh
autoscan.log
config.guess
config.h.in
config.sub
configure
configure.in
depcomp
install-sh
ltmain.sh
missing

README.md

=== adb is a useful tool for debugging android devices, you can download the binary from google/android.com(mostly), but it only supports small amount devices. To support some specific android device, you need to add the VID, add udev rule, etc. If you want to support your devices natively of adb, you should change the usb_vendors.c code, then build the whole android source to get the adb tool. It cause too much to gain the benity.

This project is to build the adb source standalone out of the Android build script system. I merged the main adb source with some essential libraries (libcutils and libzipfile), and add Makefile for it.

  • This project has supported fastboot (from 0.1.0).

=== INSTRUCTIONS:

Build for FreeBSD 9.x

  1. After get the source, you can change the usb_vendor_ids.c to add your VID. use debian/gen_udev_rules.sh to generate udev rule for those VID.

  2. ./configure

  3. gmake to build the adb binary

At the moment I have no install process done but you can run adb manually

  1. ./adb fork-server server & Launch the adb server. Check if you have the sufficient permission to read/write to the usb port
  2. ./adb shell [] Open a shell to the connected android device and alternativelly run the

Enjoy it!

You can’t perform that action at this time.