devel/android-tools-fastboot-devel: update to o.p.2.332 Changes: https://android.googlesource.com/platform/system/core/+log/dfd30c4a169e..d1e9e7bc06f0/fastboot228dd6ce73
Port details
devel/android-tools 37.0.0
Android debugging tools
Port info
- Maintainer
- bapt@FreeBSD.org
- Packages
- latest: 37.0.0
- Upstream
- up to date
- Last update
- to 37.0.0 · b723f701d8
- Quarterly
- 2026Q4: 37.0.0
- Formerly
- devel/android-tools-adb until 2022-06-09, devel/android-tools-fastboot until 2022-06-09, devel/android-tools-adb-devel until 2017-12-20, devel/android-tools-fastboot-devel until 2017-12-20
- WWW
- https://github.com/nmeum/android-tools
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install android-toolsinstalls 37.0.0 fromlatest; fromquarterly(2026Q4) 37.0.0- Port
# cd /usr/ports/devel/android-tools && make install clean- Size
- 2.5 MiB download · 15 MiB installed
- Depends on
- archivers/brotli 1.2.1,1, archivers/liblz4 1.10.0_2,1, archivers/zstd 1.5.7_2, devel/abseil 20250127.1_2, devel/libfmt 12.1.0, devel/pcre2 10.49, devel/protobuf 29.6,1, lang/python312 3.12.15
- License
- APACHE20
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 37.0.0 | 37.0.0 | – |
| FreeBSD 15 | 37.0.0 | 37.0.0 | – |
| FreeBSD 14 | 37.0.0 | 37.0.0 | ✗ |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 37.0.0 | 37.0.0 | – |
| FreeBSD 14 | 37.0.0 | 37.0.0 | ✗ |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 37.0.0.Fixed (0)
No VuXML entries for this package.
Problem reports (2) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 284429 | maintainer-feedback? devel/android-tools: Rename fastboot to prevent conflict within $PATH | New | 2025-12-05 |
| 278264 | maintainer-feedback? devel/android-tools: 'adb sideload' freezes at "Verifying update package..." | New | 2025-11-07 |
Commits (251)
devel/android-tools-adb-devel: update to o.p.2.332 - USB transport is no longer supported on DragonFly and FreeBSD < 11 as probing outside of libusb hotplug API isn't implemented Changes: https://android.googlesource.com/platform/system/core/+log/dfd30c4a169e..d1e9e7bc06f0/adb162703dfe7
devel/android-tools-{adb,fastboot,simpleperf}: update to 7.1.2.r17
Changes: https://android.googlesource.com/platform/system/core/+log/android-7.1.1_r4..android-7.1.2_r17/adb
Changes: https://android.googlesource.com/platform/system/core/+log/android-7.1.1_r4..android-7.1.2_r17/fastboot
Changes: https://android.googlesource.com/platform/system/extras/+log/android-7.1.1_r4..android-7.1.2_r17/simpleperf
MFH: 2017Q26925eea121Bump PORTREVISIONs for ports depending on the canonical version of GCC and lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 21670704d6f52202
Drop pre-10.3 support in my ports Figuring out which GCC hacks are safe to drop is tricky but at least devel/fb-adb is limited to x86 due to ADA bootstrap.9e58624042
List in more categoriesd7242ea20d
devel/android-tools-{adb,fastboot}: update to 7.1.1.r4
Changes: https://android.googlesource.com/platform/system/core/+log/android-7.1.0_r4..android-7.1.1_r4/adb
Changes: https://android.googlesource.com/platform/system/core/+log/android-7.1.0_r4..android-7.1.1_r4/fastbootb6a7f98030devel/android-tools-{adb,fastboot}: update to 7.1.0.r4
Changes: https://android.googlesource.com/platform/system/core/+log/android-7.0.0_r1..android-7.1.0_r4/adb
Changes: https://android.googlesource.com/platform/system/core/+log/android-7.0.0_r1..android-7.1.0_r4/fastboot305c06c3e6devel/android-tools-adb-devel: missed comment for 9.x fix57882f6d13
devel/android-tools-{adb,fastboot}-devel: update to n.p.5.3582
Changes: https://android.googlesource.com/platform/system/core/+log/2f21b7cecda2..dfd30c4a169e/adb
Changes: https://android.googlesource.com/platform/system/core/+log/2f21b7cecda2..dfd30c4a169e/fastboote78331a963devel/android-tools-adb{,-devel}: drop unnecessary non-ASCII serial handling
Linux replaced the code as well in
https://android.googlesource.com/platform/system/core/+/9309ecbcec42%5E!/
PR: 199185f324180c13devel/android-tools-adb: unbreak build with libc++ 3.9 PR: 212343f33e38aed0
devel/android-tools-adb: USES=pkgconfig to support ports SSL libraries Approved by: SSL blanketa2bcc5cc59
Convert some port to the new GH_SUBDIR feature. Sponsored by: Absolight3e61c9e50f
devel/android-tools-{adb,fastboot}: update to 7.0.0.r1 (nougat)
Changes: https://android.googlesource.com/platform/system/core/+log/android-6.0.1_r24..android-7.0.0_r1/adb
Changes: https://android.googlesource.com/platform/system/core/+log/android-6.0.0_r26..android-7.0.0_r1/fastboote7c25f9f24devel/android-tools-{adb,fastboot}-devel: update to n.p.5.126
Changes: https://android.googlesource.com/platform/system/core/+log/80beb506cf84..2f21b7cecda2/adb
Changes: https://android.googlesource.com/platform/system/core/+log/80beb506cf84..2f21b7cecda2/fastboot9c6b00d6e2devel/android-tools-adb-devel: mark BoringSSL function as staticb045ae83c3
devel/android-tools-{adb,fastboot}-devel: update to n.p.4.74
Changes: https://android.googlesource.com/platform/system/core/+log/35d84096e9a5..80beb506cf84/adb
Changes: https://android.googlesource.com/platform/system/core/+log/35d84096e9a5..80beb506cf84/fastboot291cf18f07devel/android-tools-{adb,fastboot}-devel: update to n.p.3.101
Changes: https://android.googlesource.com/platform/system/core/+log/d61bfb9a79e3..35d84096e9a5/adb
Changes: https://android.googlesource.com/platform/system/core/+log/d61bfb9a79e3..35d84096e9a5/fastboot8fd2549ac0- Fix trailing whitespace in pkg-descrs, categories [a-f]* Approved by: portmgr blanket1d1f878054
devel/android-tools-adb-devel: update to n.p.2.74 Changes: https://android.googlesource.com/platform/system/core/+log/ba430e363427..d61bfb9a79e3/adbfba38f8572
devel/android-tools-adb-devel: update to n.p.2.43 Changes: https://android.googlesource.com/platform/system/core/+log/371e7ea170d7..ba430e363427/adb796c95b230
devel/android-tools-adb: update to 6.0.1.r24 Changes: https://android.googlesource.com/platform/system/core/+log/android-6.0.0_r26..android-6.0.1_r24/adb79ab7dd66f
devel/android-tools-*: macrofy GH_TAGNAME for extra distfiles In order to avoid typo-casualties like android-tools-adb-devel.5e0b64087b
devel/android-tools-fastboot-devel: reconnect r403829 changes with old historyc8116fbba9
devel/android-tools-fastboot-devel: break before repo surgery8d61af63db
devel/android-tools-fastboot-devel: unbreak build on DragonFly (like r400822)
fastboot.o:fastboot.cpp:function std::_Function_handler<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), main::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}>::_M_invoke(std::_Any_data const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&): error: undefined reference to 'fs_get_generator(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
fastboot.o:fastboot.cpp:function fb_perform_format(Transport*, char const*, int, char const*, char const*) [clone .constprop.79]: error: undefined reference to 'fs_get_generator(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
fastboot.o:fastboot.cpp:function fb_perform_format(Transport*, char const*, int, char const*, char const*) [clone .constprop.79]: error: undefined reference to 'fs_generator_generate(fs_generator const*, int, long long)'
Reported by: muscles.dragonflybsd.org28ac761fcbdevel/android-tools-adb-devel: update to n.p.1.554 Changes: https://android.googlesource.com/platform/system/core/+log/aef26bb1a4ad..0fc006685c20/adb (r409356 fixed link) Changes: https://android.googlesource.com/platform/system/core/+log/0fc006685c20..371e7ea170d7/adbbb7db338bb
Drop default directory from _DEPENDS in my ports https://lists.freebsd.org/pipermail/freebsd-ports/2015-October/100794.htmlf7731c8be8
devel/android-tools-{adb,fastboot}-devel: update to m.p.6425
Changes: https://android.googlesource.com/platform/system/core/+log/aef26bb1a4ad..aef26bb1a4ad/adb
Changes: https://android.googlesource.com/platform/system/core/+log/aef26bb1a4ad..aef26bb1a4ad/fastboot02aab08833devel/android-tools-{adb,fastboot}-devel: update to m.p.6225
Changes: https://android.googlesource.com/platform/system/core/+log/461a29540c01..aef26bb1a4ad/adb
Changes: https://android.googlesource.com/platform/system/core/+log/461a29540c01..aef26bb1a4ad/fastbootc947c154caAdd Public Domain support to ports license framework. You can now use LICENSE= PD Note that although Public Domain is not technically a license, it's handled in the same way as licenses here, which is a common practice (Arch, Gentoo, Fedora, Debian, even FOSSology do the same). Convert all ports which redefine Public Domain LICENSE to LICENSE=PD. Approved by: portmgr (bapt) Differential Revision: D414994817f0784
devel/android-tools-*: drop FreeBSD 8.x supportf2442363ed
devel/android-tools-{adb,fastboot}-devel: update to m.p.5956
Changes: https://android.googlesource.com/platform/system/core/+log/0bb1ce06ea46..461a29540c01/adb
Changes: https://android.googlesource.com/platform/system/core/+log/0bb1ce06ea46..461a29540c01/fastboot7cdb29d2e2devel/android-tools-{adb,fastboot}-devel: update to m.p.5498
Changes: https://android.googlesource.com/platform/system/core/+log/f83766079e24..0bb1ce06ea46/adb
Changes: https://android.googlesource.com/platform/system/core/+log/94c617ccbba4..0bb1ce06ea46/fastbootee42a3a263devel/android-tools-adb-devel: unbreak build on DragonFly (forgot in r400820)
make(1) suffix rules discard original extension as used by bsd.*.mk
which leads to unpredictable behavior if more than one candidate is
found under ${.PATH}. So, partially qualify pathname to avoid
accidentally building libcutils/sockets.c despite SRCS=sockets.cpp
$ echo 'void foo() { }' > a.c
$ echo 'int main() { }' > a.cxx
$ make PROG_CXX=test SRCS=a.cxx NO_MAN= -f /usr/share/mk/bsd.prog.mk
cc -O -pipe -std=gnu99 -c a.c
c++ -O -pipe -o test a.o
/usr/lib/crt1.o: In function `_start':
crt1.c:(.text+0x132): undefined reference to `main'
*** Error code 1
which in adb case leads to (since partial C++ conversion in 6.0.0)
adb.o: In function `handle_packet(apacket*, atransport*)':
adb.cpp:(.text+0x2518): undefined reference to `find_local_socket(unsigned int, unsigned int)'
adb.cpp:(.text+0x2613): undefined reference to `find_local_socket(unsigned int, unsigned int)'
adb.cpp:(.text+0x276a): undefined reference to `find_local_socket(unsigned int, unsigned int)'
adb.cpp:(.text+0x2875): undefined reference to `create_local_service_socket(char const*)'
adb.cpp:(.text+0x288c): undefined reference to `create_remote_socket(unsigned int, atransport*)'
adb.cpp:(.text+0x2a41): undefined reference to `create_remote_socket(unsigned int, atransport*)'
adb_listeners.o: In function `listener_event_func(int, unsigned int, void*)':
adb_listeners.cpp:(.text+0xe2): undefined reference to `create_local_socket(int)'
adb_listeners.cpp:(.text+0xfe): undefined reference to `connect_to_remote(asocket*, char const*)'
adb_listeners.o: In function `ss_listener_event_func(int, unsigned int, void*)':
adb_listeners.cpp:(.text+0x1b1): undefined reference to `create_local_socket(int)'
adb_listeners.cpp:(.text+0x1be): undefined reference to `connect_to_smartsocket(asocket*)'
services.o: In function `host_service_to_socket(char const*, char const*)':
services.cpp:(.text+0x64d): undefined reference to `create_local_socket(int)'
services.cpp:(.text+0x6b7): undefined reference to `create_local_socket(int)'
transport.o: In function `input_thread(void*)':
transport.cpp:(.text+0x1931): undefined reference to `close_all_sockets(atransport*)'
*** [adb] Error code 19d5d7ac4d5devel/android-tools-{adb,fastboot}: update to 6.0.0.r26
Changes: https://android.googlesource.com/platform/system/core/+log/android-6.0.0_r1..android-6.0.0_r26/adb (device only)
Changes: https://android.googlesource.com/platform/system/core/+log/android-6.0.0_r1..android-6.0.0_r26/fastboot390ed89afddevel/android-tools-adb: unbreak build on DragonFly
make(1) suffix rules discard original extension as used by bsd.*.mk
which leads to unpredictable behavior if more than one candidate is
found under ${.PATH}. So, partially qualify pathname to avoid
accidentally building libcutils/sockets.c despite SRCS=sockets.cpp
$ echo 'void foo() { }' > a.c
$ echo 'int main() { }' > a.cxx
$ make PROG_CXX=test SRCS=a.cxx NO_MAN= -f /usr/share/mk/bsd.prog.mk
cc -O -pipe -std=gnu99 -c a.c
c++ -O -pipe -o test a.o
/usr/lib/crt1.o: In function `_start':
crt1.c:(.text+0x132): undefined reference to `main'
*** Error code 1
which in adb case leads to (since partial C++ conversion in 6.0.0)
adb.o: In function `handle_packet(apacket*, atransport*)':
adb.cpp:(.text+0x2518): undefined reference to `find_local_socket(unsigned int, unsigned int)'
adb.cpp:(.text+0x2613): undefined reference to `find_local_socket(unsigned int, unsigned int)'
adb.cpp:(.text+0x276a): undefined reference to `find_local_socket(unsigned int, unsigned int)'
adb.cpp:(.text+0x2875): undefined reference to `create_local_service_socket(char const*)'
adb.cpp:(.text+0x288c): undefined reference to `create_remote_socket(unsigned int, atransport*)'
adb.cpp:(.text+0x2a41): undefined reference to `create_remote_socket(unsigned int, atransport*)'
adb_listeners.o: In function `listener_event_func(int, unsigned int, void*)':
adb_listeners.cpp:(.text+0xe2): undefined reference to `create_local_socket(int)'
adb_listeners.cpp:(.text+0xfe): undefined reference to `connect_to_remote(asocket*, char const*)'
adb_listeners.o: In function `ss_listener_event_func(int, unsigned int, void*)':
adb_listeners.cpp:(.text+0x1b1): undefined reference to `create_local_socket(int)'
adb_listeners.cpp:(.text+0x1be): undefined reference to `connect_to_smartsocket(asocket*)'
services.o: In function `host_service_to_socket(char const*, char const*)':
services.cpp:(.text+0x64d): undefined reference to `create_local_socket(int)'
services.cpp:(.text+0x6b7): undefined reference to `create_local_socket(int)'
transport.o: In function `input_thread(void*)':
transport.cpp:(.text+0x1931): undefined reference to `close_all_sockets(atransport*)'
*** [adb] Error code 133e88bc186devel/android-tools-fastboot: fix copy/paste typo in r400115 Reported by: sunpoet5870a701de
devel/android-tools-{adb,fastboot}: force all distfiles for |make makesum|
Forgetting to pass DISABLE_CONFLICTS= is easy to notice unlike
a missing checksum. So, hook into makesum like with update-revision.84f22b5968devel/android-tools-{adb,fastboot}: update BASH to 20150902 snapshot
- Switch to the actual upstream on GitHub
- Reduce overuse of :FOO make(1) variable modifiers
- Restore conditional install via target option helper584d8de2d1devel/android-tools-fastboot: don't search for selinuxfs mountpointf749f090b0
devel/android-tools-*: slightly improve standalone build
- Try to derive {ADB,FASTBOOT}_REVISION from git(1)
- Use pkg-config for libcrypto/libpcre/libusb (e.g. if they aren't in base)
- Convert PORTDOCS into FILES (bsd.port.mk vs. bsd.prog.mk)
- Partially convert to new testing framework
- Put -lpthread last as enforced by base r274849 but prevent
:= assignment from mucking $ escaping in $()
- |make clean| to clean files built by test target
- Move up bsd.prog.mk in order to use ${PROG} and ${OBJS} defined in it6a1cb428a4devel/android-tools-adb: explicitly include stdint.h for intptr_t59af415900
devel/android-tools-adb-devel: update to m.p.4374 Changes: https://android.googlesource.com/platform/system/core/+log/659f5ade04a5..f83766079e24/adb9192384b70
devel/android-tools-adb: unbreak TEST=on more reliably /dev/full is only provided by default on 11.0, earlier releases have it in lindev(4). This leads to the same error as with automation. Other BSDs including DragonFly don't provide /dev/full at all. [ RUN ] io.WriteFdExactly_ENOSPC adb_io_test.cpp:136: Failure Expected: (-1) != (fd), actual: -1 vs -1 [ FAILED ] io.WriteFdExactly_ENOSPC (1 ms) Reported by: Barbara <barbara.freebsd@gmail.com>f344033666
devel/android-tools-{adb,fastboot}: update to 6.0.0.r1 (marshmallow)
- Integrate most changes from -devel slaves (e.g. r392432, r397252)
- Get revision based on GH_TAGNAME (from JSON for releases)
- Take maintainership
Changes: https://android.googlesource.com/platform/system/core/+log/android-5.1.1_r4..android-6.0.0_r1/adb
Changes: https://android.googlesource.com/platform/system/core/+log/android-5.1.1_r4..android-6.0.0_r1/fastboot
Approved by: kevlo (adb maintainer)
Differential Revision: https://reviews.freebsd.org/D38424f8cd084e4devel/android-tools-adb: add missing USE_OPENSSL for -lcrypto Bump PORTREVISION for those who build everything against security/openssl or security/libressl.d5494a6b81
devel/android-tools-adb-devel: move python tests into a separate option64ee4a5fd8
devel/android-tools-adb-devel: drop redundant MAKEFILE assignment5503c25039