How the Bluetooth SDK and Glassly Engine install Mentra Live glasses software from an OTA manifest.
Matching Mentra Live software cannot be installed through the SDK yet. Glassly does not publish Mentra Live update files, and the published @glassly/bluetooth-sdk and @glassly/engine packages carry no update manifest URL. To ask about update files, contact Glassly on Discord.
The Bluetooth SDK and Glassly Engine install Mentra Live glasses software from an OTA manifest, a file that lists the components to install. An update has three components:
The ASG client, the Android app that runs on the glasses.
The MTK system software, the glasses’ system firmware.
The BES firmware, the glasses’ microcontroller firmware.
This page describes the update flow for an app that has a manifest URL.
How The Update Check Works
When your app calls checkForOtaUpdate(), the SDK fetches the OTA manifest at the URL set with setOtaVersionUrl(url) and compares it with the connected glasses. With no URL set, the call rejects with ota_manifest_unconfigured for glasses on ASG client build 39 or newer. Calling startOtaUpdate() installs the available components after the user accepts the update.ASG client builds before 39 ignore the URL the phone sends, so the SDK and Engine check those glasses against a legacy URL instead.
The full-screen update flow checks the glasses automatically.
If an update is available, tap Update Now. Glasses that do not report hotspot OTA support (hotspotOtaVersion is not 1 in the glasses status) need Wi-Fi configured on the glasses. Glasses that report it can update through the Mentra Live hotspot on supported phones.
Keep the app connected and avoid using other glasses features while the update is running.
Wait while the flow installs every required component and rechecks the glasses. They may restart during installation.
Continue when the flow reports that the glasses are up to date.
The flow installs the components listed in the OTA manifest your app configured.
Bootstrap The Update With ADB
Glasses whose installed software cannot run the SDK OTA flow need the ASG client installed over ADB first. That needs an ASG client APK, and Glassly does not publish one yet. To ask for one, contact Glassly on Discord.Install ADB, connect Mentra Live to the computer with a data-capable USB cable, and verify that the glasses appear:
adb devices
Install the ASG client using the glasses serial shown by that command:
If only the glasses are connected, you can omit -s <glasses-serial>.
This command installs only the ASG client. It does not necessarily install the MTK system software or BES firmware. After installing the APK, run the OTA flow to install the remaining components.
Add OTA To Your App
For React Native apps, Glassly Engine owns the complete Wi-Fi and hotspot OTA sequence, including
artifact verification, ASG client, MTK, and BES ordering, restarts, retries, and final
version verification.Do not reproduce that sequencing with checkForOtaUpdate(),
startOtaUpdate(), and ota_status listeners in React Native application code.
wifi_required is only a legacy bootstrap state. Glasses that do not report hotspot OTA
support cannot update over the hotspot, so their update must use a Wi-Fi network
configured on the glasses. Glasses that report hotspot OTA support can update over the
hotspot, and the flow does not require glasses Wi-Fi.
Use The Exact Glassly App OTA Pages
This is the simplest and safest integration. MentraLiveOtaFlow provides the
same full-page OTA screens and behavior as the Glassly App.Install matching Glassly Engine and Bluetooth SDK versions:
bun add @glassly/engine@0.4.5-dev.1416 @glassly/bluetooth-sdk@0.4.5-dev.1416
Render the flow after Mentra Live connects. Your app owns only the surrounding
navigation and its Wi-Fi setup page:
The component initializes only the Engine projections required by OTA. If your
app already called engine.start(), pass initializeRuntime={false}.Engine reads the manifest URL from EXPO_PUBLIC_ASG_OTA_VERSION_URL in your
app’s environment. Without it, Engine has no manifest URL for glasses on ASG
build 39 or newer and does not run OTA.The flow checks again after every install pass. It does not finish until the
ASG client, MTK system software, and BES firmware all match the
manifest. On Android, hotspot OTA requires Android 13 or newer. On iOS, it uses
the app’s existing Bluetooth background execution while Mentra Live remains
connected; it does not add a second keep-alive mechanism.
Customize The OTA Pages
Use useMentraLiveOta when your app needs different components, layout, colors,
or navigation. The hook exposes semantic screens and idempotent actions while
the same Engine coordinator retains all OTA sequencing:
state.releaseTransition is present when the checked OTA manifest belongs to a
coordinated Glassly release. toVersion is that exact release identity. The
current fromVersion is the ASG client version reported by the glasses and may
be null on older installations, so custom pages should keep an honest unknown
fallback. When glasses report their coordinated release identity directly,
Engine can replace this one source-version lookup without changing customer UI
code. Engine captures the pair before installation and retains it through
restarts and final verification.The finishing screen means the approved session is checking for additional
required passes. Do not render terminal success or release notes until the
controller reaches up_to_date.Use state.completedUpdate to distinguish a terminal update session from a
standalone check that was already up to date. Release metadata is optional, so
do not infer completion from state.releaseTransition.Change only the presentation components and styles. Call only the controller’s
actions. Do not copy or modify update ordering, hotspot setup, watchdogs, or
restart recovery, and do not import @glassly/bluetooth-sdk/internal, Engine
stores, or Engine services.
Native Android And iOS Apps
Glassly Engine’s complete controller is currently a React Native integration.
Native Android and iOS apps use the lower-level OTA commands and events in the
API Reference and must preserve the
documented OTA contract, including repeated checks across multi-component
updates and restart recovery.Mentra Live rejects an OTA start when its known battery level is below 5% and
reports battery_low. An unknown glasses battery remains fail-open. Keep an
app-level battery check as the user-facing policy; the glasses check is defense
in depth.
Glasses With Bundled Firmware
Even Realities G1, Even Realities G2, Nimo, RayNeo iO, and MemoMind One do not use the OTA manifest. The SDK bundles a stock image and a
Glassly CFW image for each, and startFirmwareFlash() writes one from the app; see
Firmware Flash for the transport of each model and for the MemoMind One limits. The glasses status
sets firmwareUpdateAvailable while they run stock firmware or an older Glassly
CFW revision than the bundled one.