devel/android-tools-adb-devel: update to m.p.1280 Changes: https://android.googlesource.com/platform/system/core/+log/94c617ccbba4..659f5ade04a5/adbaeab7b1b42
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,fastboot}-devel: add update hint for r397254762fb63e42devel/android-tools-*: disable some known-to-fail tests4fa1a4be57
Convert my ports to USES=localbase00d4634211
devel/android-tools-*: restore CPPFLAGS support after r390135d76aaa0663
devel/android-tools-{adb,fastboot}-devel: update to m.p.1212
platform/system/extras snapshot grew in size thanks to memory dumps:
$ du -Ahc memory_replay/dumps/*
2.0K memory_replay/dumps/README
9.2M memory_replay/dumps/camera.zip
12M memory_replay/dumps/gmail.zip
8.4M memory_replay/dumps/maps.zip
3.9M memory_replay/dumps/surfaceflinger.zip
33M memory_replay/dumps/system_server.zip
1.8M memory_replay/dumps/systemui.zip
6.5M memory_replay/dumps/youtube.zip
74M total
$ tar xOf memory_replay/dumps/youtube.zip | head
202: malloc 0xb4827400 1024
202: free 0xb4827400
202: malloc 0xb4837058 20
202: malloc 0xb4803068 4
202: malloc 0xb48370a0 17
202: malloc 0xb48370d0 18
202: malloc 0xb4837100 20
202: malloc 0xb4839040 48
202: malloc 0xb483a020 30
202: malloc 0xb483b080 98
youtube.txt: Write error
Changes: https://android.googlesource.com/platform/system/core/+log/e4c1bb53068d...94c617ccbba4/adb
Changes: https://android.googlesource.com/platform/system/core/+log/e4c1bb53068d...94c617ccbba4/fastboot (no changes)3270d07cb7devel/android-tools-adb-devel: make revision match upstream
======================================================================
FAIL: test_version (__main__.NonApiTest)
Get a version number out of the output of adb.
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_adb.py", line 53, in test_version
revision_line, r'^Revision [0-9a-f]{12}-android$')
AssertionError: Regexp didn't match: '^Revision [0-9a-f]{12}-android$' not found in 'Revision android-m-preview-1112-ge4c1bb5'd1231951cfdevel/android-tools-adb-devel: add python tests6f47307c34
devel/android-tools-adb-devel: add unit tests like simpleperff29768c111
devel/android-tools-adb-devel: make -DFAKE_LOG_DEVICE local14f64b110c
devel/android-tools-{adb,fastboot}-devel: update to m.p.1112
files/usb_libusb.cpp chases the following commits:
https://android.googlesource.com/platform/system/core/+/49ee7cf%5E!/#F6
https://android.googlesource.com/platform/system/core/+/7a3f8d6%5E!/
Changes: https://android.googlesource.com/platform/system/core/+log/94a845d..e4c1bb5/adb
Changes: https://android.googlesource.com/platform/system/core/+log/94a845d..e4c1bb5/fastbootf3f1547a3ddevel/android-tools-adb: convert to _VARS option helper Approved by: portmgr blanketf41f52c770
Convert my ports to _VARS option helper8a127a17cf
devel/android-tools-{adb,fastboot}-devel: update to m.p.890
Changes: https://android.googlesource.com/platform/system/core/+log/683790a..94a845d/adb
Changes: https://android.googlesource.com/platform/system/core/+log/683790a..94a845d/fastboot957b16fcf2devel/android-tools-*: consistently prefix distfiles with multi-github93281caf19
devel/android-tools-fastboot-devel: move FreeBSD code to C++
Copy files in order to fix the following errors.
files/usb_freebsd.cpp:132:4: error: assigning to 'usb_handle *' from incompatible type 'void *'
h = malloc(sizeof(*h));
^ ~~~~~~~~~~~~~~~~~~
files/usb_freebsd.cpp:162:6: error: no matching function for call to 'libusb_bulk_transfer'
if (libusb_bulk_transfer(h->handle, h->ep_out, (void *)(long)_data, len, &actlen, 0) < 0)
^~~~~~~~~~~~~~~~~~~~
/usr/include/libusb.h:478:5: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'uint8_t *' (aka 'unsigned char *')
int libusb_bulk_transfer(libusb_device_handle * devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, uint32_t timeout);
^
files/usb_freebsd.cpp:172:6: error: no matching function for call to 'libusb_bulk_transfer'
if (libusb_bulk_transfer(h->handle, h->ep_in, _data, len, &actlen, 0) < 0)
^~~~~~~~~~~~~~~~~~~~
/usr/include/libusb.h:478:5: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'uint8_t *' (aka 'unsigned char *')
int libusb_bulk_transfer(libusb_device_handle * devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, uint32_t timeout);
^
3 errors generated.
fastboot.o: In function `find_item(char const*, char const*)':
fastboot.cpp:(.text+0xea): undefined reference to `get_my_path'd798c6aea8devel/android-tools-{adb,fastboot}-devel: update to m.p.190
Changes: https://android.googlesource.com/platform/system/core/+log/53d504f..683790a/adb
Changes: https://android.googlesource.com/platform/system/core/+log/53d504f..683790a/fastbootc53028026bdevel/android-tools-fastboot-devel: unbreak build on DragonFly As only make_ext4fs(1) with -u option wants -DREAL_UUID no need to try to use uuid(3) instead here.9fa0fa99e9
devel/android-tools-fastboot: drop unused headerse796c1175b
devel/android-tools-adb-devel: add new slave port for git master A temporary port to facilitate testing and updating master. While copying usb_libusb.c [1] under FILESDIR clean it up: - Add static keyword for file-local functions - Fix const usage exposed in C++ mode [2] - Fix casting 3rd argument of libusb_bulk_transfer(3) exposed in C++ mode - Fix inconsistent whitespace: trailing, tabs + spaces, bogus indentation - Fix typo in usb_kick() trace message - Fix fprintf(3) warning in scan_usb_devices() trace message - Convert err(3) usage to fatal_errno() - Drop BSDism of sysexits(3) - Drop unecessary struct keyword - Drop unused headers [2] - Explicitly include <signal.h> header And chase the following commits: https://android.googlesource.com/platform/system/core/+/506aea4%5E!/ [1] https://android.googlesource.com/platform/system/core/+/dc3b459%5E!/#F3 https://android.googlesource.com/platform/system/core/+/9b0f354%5E!/#F5 https://android.googlesource.com/platform/system/core/+/cf07494%5E!/#F8 https://android.googlesource.com/platform/system/core/+/3313426%5E!/#F20 https://android.googlesource.com/platform/system/core/+/7664901%5E!/#F18 Changes: https://android.googlesource.com/platform/system/core/+log/53d504f/adb Differential Revision: https://reviews.freebsd.org/D2870 Obtained from: devel/android-tools-fastboot-devel (based on) Obtained from: OpenBSD ports [2] Approved by: kevlo (maintainer)b506518fb2
devel/android-tools-adb: update to 5.1.1.r4 Other changes include: - Add option to use bash(1) completion from Debian - Install protocol and implementation documentation Changes: https://android.googlesource.com/platform/system/core/+log/android-5.0.0_r7..android-5.1.1_r4/adb Differential Revision: https://reviews.freebsd.org/D2862 Obtained from: r389153, r389235, r389239 Approved by: kevlo (maintainer)1bee96edc7
devel/android-tools-adb: fix "get-devpath" output Catch up with the following upstream change: https://android.googlesource.com/platform/system/core/+/e109d26%5E!/ Before $ adb get-devpath unknown $ adb devices -l List of devices attached ABCD1234 device product:A1 model:Blah device:foo After $ adb get-devpath ugen1.2 $ adb devices -l List of devices attached ABCD1234 device ugen1.2 product:A1 model:Blah device:foo Differential Revision: https://reviews.freebsd.org/D2862 Obtained from: r389471 (based on) Approved by: kevlo (maintainer)182a938f8a
devel/android-tools-adb: convert to BSD-style Makefile - Supports building with multiple jobs - No longer depends on devel/gmake Differential Revision: https://reviews.freebsd.org/D2862 Obtained from: devel/android-tools-fastboot (based on) Approved by: kevlo (maintainer)17f90e4b96
devel/android-tools-fastboot-devel: add new slave port for git master A temporary port to facilitate testing and updating master. Changes: https://android.googlesource.com/platform/system/core/+log/53d504f/fastboot17b8d562a7
devel/android-tools-fastboot: shuffle CFLAGS to unbreak DragonFly Avoid stepping into OS X platform code with off64_t workaround. cc ... -D__APPLE__ -D__MACH__ .../ext4_utils/ext4_utils.c In file included from .../ext4_utils/ext4_utils.c:43:0: /usr/include/sys/disk.h:49:2: error: #error "This file should not be included by userland programs." #error "This file should not be included by userland programs." ^ *** [ext4_utils.o] Error code 1 Reported by: DPorts19daca82ab
devel/android-tools-fastboot: fix "devices" output Catch up with the following upstream changes: https://android.googlesource.com/platform/system/core/+/b4add9b%5E!/ https://android.googlesource.com/platform/system/core/+/13081c6%5E!/ Before $ fastboot devices no permissions fastboot $ fastboot devices -l no permissions fastboot After $ fastboot devices ABCD1234 fastboot $ fastboot devices -l ABCD1234 fastboot ugen1.2db631aea64
devel/android-tools-fastboot: add new LICENSE after r3891524ff446810b
devel/android-tools-fastboot: add bash completion from Debian1437d3fc57
devel/android-tools-fastboot: warn about name conflict with fastboot(8) Suggested by: Jan Henrik Sylvester <me@janh.de>84af0e4e41
devel/android-tools-fastboot: clear Linuxisms in the manpagee19aeed42d
devel/android-tools-fastboot: integrate manpage in the buildd76f6bf347
devel/android-tools-fastboot: install protocol documentation3ddad92d43
devel/android-tools-fastboot: unbreak against libusb-1.0.9 from sf.net
inb4 someone actually tests on NetBSD or OpenBSD...
files/usb_freebsd.c:57:2: error: must
use 'struct' tag to refer to type 'libusb_device_descriptor'
libusb_device_descriptor ddesc;
^
struct
files/usb_freebsd.c:58:2: error: must
use 'struct' tag to refer to type 'libusb_config_descriptor'
libusb_config_descriptor *pcfg;
^
struct
2 errors generated.
Tested by: md52ac7526b24devel/android-tools-fastboot: update to 5.1.1.r408429d7bab
devel/android-tools-fastboot: update to 4.4.4.r2.0.1c15b79ad00
devel/android-tools-fastboot: update to 4.2.2.r1.2 android.googlesource.com archives have volatile timestamps which makes them impossible to use as distfiles due to varying checksum. android organization on GitHub doesn't have platform/system/extras mirror. And various private and non-vanilla clones seem to lack android-* tags that are necessary to sync modules. For now, use my own mirror to avoid local-distfiles and keep the port simple via multi-GitHub support.e509927864
devel/android-tools-fastboot: add manpage from Debiana4f353653e
devel/android-tools-fastboot: convert to DISTVERSIONPREFIXa2deba63d8
devel/android-tools-fastboot: inflict minor style
o Escape MAKE_ENV paths for consistency with my other ports
o -I. == -I${.OBJDIR} while ${.OBJDIR} != ${.CURDIR} after |make obj|da94a2808cdevel/android-tools-fastboot: add new port Fastboot is a diagnostic protocol primarily used to update the flash filesystem of Android devices over USB. This package provides the fastboot command-line tool. Inspired by: devel/android-tools-adb Obtained from: hselasky @ libusb-devel861fab5889
Cleanup USE_GITHUB usage. With hat: portmgr Sponsored by: Absolight90a49f0472
Update ports in the [bcd]* categories to not use GH_COMMIT. With minor cleanups to make things simpler. With hat: portmgr Sponsored by: Absolightc6457ffef4
Update to 5.0.0_r7. PR: 195171 Submitted by: me at janh dot dee2c11fee20
Use ppp instead of pppd. Submitted by: Andreas Obermaier <andreas at port22 dot net>62961568f1
Update to 4.4.4.r1 PR: ports/191600 Submitted by: Jan Beich196c96f7ea
Support stagedcb7edfcf3
- rename AL2 to APACHE20 in Mk/bsd.licenses.db.mk - svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20 - add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk - add entry in UPDATING - bulk change all ports AL2 => APACHE20 - math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4 PR: ports/184785 Submitted by: ohauer Reviewed by: tabthorpe Approved by: portmgr (tabthorpe@)4fb1cfb1cd
Add NO_STAGE all over the place in preparation for the staging support (cat: devel part 1)857aec5d6b
Get rid of /proc dependency. PR: ports/181659 Submitted by: Jan Beich <jbeich at tormail dot org>79aea805a8
Cosmetic change.5554b09eab