CVE and update status of the FreeBSD ports tree3,296 unaddressed CVEs in 671 portsAll times are CET
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-tools
installs 37.0.0 from latest; from quarterly (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 versionamd64aarch64i386
FreeBSD 1637.0.037.0.0–
FreeBSD 1537.0.037.0.0–
FreeBSD 1437.0.037.0.0✗

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 1537.0.037.0.0–
FreeBSD 1437.0.037.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

PRSummaryStatusChanged
284429maintainer-feedback? devel/android-tools: Rename fastboot to prevent conflict within $PATHNew2025-12-05
278264maintainer-feedback? devel/android-tools: 'adb sideload' freezes at "Verifying update package..."New2025-11-07

Commits (251)

Jan Beich (jbeich) · m.p.1280 · as devel/android-tools-adb-devel
devel/android-tools-adb-devel: update to m.p.1280

Changes:	https://android.googlesource.com/platform/system/core/+log/94c617ccbba4..659f5ade04a5/adb
aeab7b1b42
Jan Beich (jbeich) · m.p.1212 · as devel/android-tools-adb-devel
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)
3270d07cb7
Jan Beich (jbeich) · m.p.1112_1 · as devel/android-tools-adb-devel
devel/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'
d1231951cf
Jan Beich (jbeich) · m.p.1112 · as devel/android-tools-adb-devel
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/fastboot
f3f1547a3d
Jan Beich (jbeich) · 5.1.1.r4 · as devel/android-tools-adb
devel/android-tools-adb: convert to _VARS option helper

Approved by:	portmgr blanket
f41f52c770
Jan Beich (jbeich) · m.p.890 · as devel/android-tools-adb-devel
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/fastboot
957b16fcf2
Jan Beich (jbeich) · m.p.190_1 · as devel/android-tools-fastboot
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'
d798c6aea8
Jan Beich (jbeich) · m.p.190 · as devel/android-tools-adb-devel
devel/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/fastboot
c53028026b
Jan Beich (jbeich) · m.p.122 · as devel/android-tools-fastboot-devel
devel/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
Jan Beich (jbeich) · m.p.122 · as devel/android-tools-adb
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
Jan Beich (jbeich) · 5.1.1.r4 · as devel/android-tools-adb
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
Jan Beich (jbeich) · 5.0.0.r7_1 · as devel/android-tools-adb
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
Jan Beich (jbeich) · 5.0.0.r7 · as devel/android-tools-adb
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
Jan Beich (jbeich) · m.p.122 · as devel/android-tools-fastboot
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/fastboot
17b8d562a7
Jan Beich (jbeich) · 5.1.1.r4_5 · as devel/android-tools-fastboot
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:	DPorts
19daca82ab
Jan Beich (jbeich) · 5.1.1.r4_5 · as devel/android-tools-fastboot
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.2
db631aea64
Jan Beich (jbeich) · 5.1.1.r4_3 · as devel/android-tools-fastboot
devel/android-tools-fastboot: warn about name conflict with fastboot(8)

Suggested by:	Jan Henrik Sylvester <me@janh.de>
84af0e4e41
Jan Beich (jbeich) · 5.1.1.r4 · as devel/android-tools-fastboot
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:	md5
2ac7526b24
Jan Beich (jbeich) · 4.2.2.r1.2 · as devel/android-tools-fastboot
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
Jan Beich (jbeich) · 4.0.4.r2.1 · as devel/android-tools-fastboot
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|
da94a2808c
Jan Beich (jbeich) · 4.0.4.r2.1 · as devel/android-tools-fastboot
devel/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-devel
861fab5889
Mathieu Arnold (mat) · 5.0.0.r7 · as devel/android-tools-adb
Update ports in the [bcd]* categories to not use GH_COMMIT.

With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
c6457ffef4
Kevin Lo (kevlo) · 4.4.4.r1_1 · as devel/android-tools-adb
Use ppp instead of pppd.

Submitted by:	Andreas Obermaier <andreas at port22 dot net>
62961568f1
Olli Hauer (ohauer) · 4.3_1 · as devel/android-tools-adb
- 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
Baptiste Daroussin (bapt) · 4.3_1 · as devel/android-tools-adb
Add NO_STAGE all over the place in preparation for the staging support (cat: devel part 1)
857aec5d6b
Kevin Lo (kevlo) · 4.3_1 · as devel/android-tools-adb
Get rid of /proc dependency.

PR:	ports/181659
Submitted by:	Jan Beich <jbeich at tormail dot org>
79aea805a8