Skip to main content

Bort Features

The Bort SDK collects many types of data from a device. Below is a description of each, and any caveats to their availability.

The Bort Lite preview SDK can collect a subset of data compared to the full SDK - this is referenced below.

โŒNot supported
โœ…Supported
๐ŸงตRequires optional AOSP patch
โ˜‘Partial support
๐Ÿ—‘Deprecated
FeatureBort LiteFull Bort SDKFleet Sampling Aspect
Core Metrics

Battery Life, Stable Hours and Connectivity Core Metrics are collected by Bort. These are automatically processed to provide a set of key insights ("Device Vitals") across your fleet. See documentation.

โœ…โœ…Debugging + Monitoring
OTA

The Bort OTA update client is not available in Bort Lite (several permissions and SELinux configurations are not available). See documentation.

โŒโœ…N/A
Periodic Log Collection

Bort can collect logcat logs periodically. This is done by either the Bort app or the Usage Reporter app, depending on Android OS version. See documentation.

Android 8-12 โœ…
Android 13+ โŒ

โœ…Debugging + Logging
Continuous Log Collection

The MemfaultDumpster system service continually reads from logcat โ€” this ensures that no logs are lost if a log buffer expires. See documentation.

โŒ

Android 8-10 ๐Ÿงต
Android 11+ โœ…

Debugging + Logging

Battery Metrics (when device has a battery and is charging/discharging)

Bort collects metrics from the Android batterystats service, once per heartbeat (usually every hour). See documentation.

โœ…โœ…Debugging + Monitoring

Battery Metrics (when device is powered-and-not-charging, or does not have a battery)

Battery metrics are also available when a device is not discharging/discharging, or when the device does not have a battery, when applying an optional AOSP patch. This may seem unnecessary, but batterystats reports many interesting "related" metrics such as Wi-Fi, Doze, wakelocks, package installs, and more, which can be useful even when not using battery. See documentation.

โŒ๐ŸงตDebugging + Monitoring
Custom Metrics

Custom metrics can be reported using our Reporting library from any app or native service on the device. Bort Lite only supports metrics added using the Kotlin/Java libraries (i.e. not using C/C++ libraries). See documentation.

โ˜‘โœ…Debugging + Monitoring
High-Resolution Telemetry

All reported metrics (both built-in and custom) are displayed on the device timeline in high resolution. See documentation.

โ˜‘โœ…Debugging
Java App Crashes

Java app crashes are collected from DropBoxManager.

โœ…โœ…Debugging
Tombstones (Native Crashes)

Tombstones (native service or application crashes) are collected from DropBoxManager.

โœ…โœ…Debugging
Tombstone symbolication

Native stacktraces can be symbolicated in the Memfault dashboard (if symbols have been uploaded using the CLI) when this optional AOSP patch is applied. This adds the GNU build ID to every stack frame.

โŒ

Android 8-9 โŒ
Android 10+ ๐Ÿงต

Debugging
ANRs

ANRs (Application Not Responding errors) are collected from DropBoxManager.

โœ…โœ…Debugging
Last KMSG

The last KMSG logs (kernel logs before a device crash/kernel panic) are collected from DropBoxManager.

โœ…โœ…Debugging
WTFs

WTFs (What a Terrible Failure โ€” Log.wtf) are collected from DropBoxManager.

โœ…โœ…Debugging
Reboots

Bort will check /proc/sys/kernel/random/boot_id on start and create a reboot event if changed. See documentation.

โŒโœ…N/A
Reboot Reason

The reboot reason is only available from Android 9+ (sourced from sys.boot.reason). See documentation.

โŒ

Android 8 โŒ
Android 9+ โœ…

N/A
Device Temperature Metrics

The Usage Reporter app collects device/CPU temperature metrics from HardwarePropertiesManager. See documentation.

โŒโœ…Debugging + Monitoring
Connectivity Metrics

Bort Lite will only capture connectivity changes while the Bort app is running. See documentation.

โ˜‘๏ธโœ…Debugging + Monitoring
Sysprop Metrics

Bort Lite can only capture sysprops that it has the appropriate SELinux permission to read. See documentation.

โ˜‘๏ธโœ…Monitoring
Other Built-in Metrics

Bort collects network usage, app versions, storage usage, and more. See documentation.

โœ…โœ…Debugging + Monitoring
SDK Settings Sync

Bort will periodically fetch the scrubbing rules, SDK Settings, and fleet sampling configuration from Memfault, allowing remote configuration of SDK behaviour and data collection.

โœ…โœ…N/A
Client/Server Mode

If multiple Android devices are connected together, Bort can proxy data between them for upload from a single device. See documentation.

โŒโœ…N/A
Bugreport

Bort can capture bugreports, containing full dumpsys/ dumpstate output, either periodically or on-demand. We recommend against using bugreports in production, except as a last resort. See documentation.

โŒโœ…Debugging

Minimal Mode Bugreport
A minimal bugreport captures only a small subset of a full bugreport. An optional AOSP patch is require to enable this mode. See documentation.

โŒ๐ŸงตDebugging
Custom Events

Custom Events are deprecated, and replaced by Metric Events. See documentation.

โŒ๐Ÿ—‘Debugging
Device Serial

The default device identifier (ro.serialno) is not available to Bort Lite โ€” it will fallback to using Secure.ANDROID_ID if the configured identifier is not visible.

โŒโœ…N/A
Hardware Type/OS Version

Sysprops used for hardware type and OS version are generally readable by Bort Lite, depending on how the project is configured.

โœ…โœ…N/A