[ROKID] How to take screenshots and record the glasses screen

February 13, 2026 · How to capture screenshots and record screen from Rokid AR glasses using ADB.
[ROKID] How to take screenshots and record the glasses screen

Capturing screenshots and recording the screen directly from your Rokid glasses can be very useful for debugging, documentation, or demos.

ScreenRecording #1

ScreenRecording.mp4

1. Prerequisites

Requirements:

  • adb installed on your computer and available in your terminal/command prompt
  • USB debugging enabled on the glasses
  • The glasses connected to your computer via USB

You can verify that ADB sees your device with:

adb devices

You should see a line with a device ID and the device status.

2. Basic Screenshot to Local File

The simplest way to capture a screenshot and save it directly to your computer is:

adb exec-out screencap -p > screen.png

This command:

  1. Runs screencap on the device
  2. Streams PNG data to your computer
  3. Redirects it into screen.png in the current directory

You can change screen.png to any filename and path you prefer.

Screenshot #1

🎨 Color Note:

The Rokid glasses display uses a green-channel view, but the captured screenshot may contain other color channels. Don’t be surprised if the resulting image looks different from what you see through the glasses.

3. Screenshot via Device Storage

If you prefer to save the screenshot on the device first and then pull it:

adb shell screencap -p /sdcard/screen.png
adb pull /sdcard/screen.png

This will:

  1. Create /sdcard/screen.png on the device
  2. Copy it to your current directory on the computer

4. Recording the Screen

To record a video of the glasses screen, use screenrecord. Unlike screenshots, screenrecord does not support exec-out, so you must save the recording to the device storage first and then pull it.

  1. Start the recording:

    adb shell screenrecord /sdcard/recording.mp4

    The recording runs until you press Ctrl+C in the terminal.

  2. Pull the recording to your computer:

    adb pull /sdcard/recording.mp4

🎨 Color Note:

Same as with screenshots — the glasses display shows a green-channel view, but the recorded video may contain other color channels.

5. Handling Multiple Connected Devices

If more than one Android device is connected (phone, emulator, multiple glasses), adb may show an error like more than one device/emulator.

In that case:

  1. List all devices:

    adb devices

    You will see device IDs such as emulator-5554, 7f1c864e, or 192.168.0.10:5555.

  2. Use the -s flag to target a specific device:

    adb -s <device-id> exec-out screencap -p > screen.png

    or, with the two‑step method:

    adb -s <device-id> shell screencap -p /sdcard/screen.png
    adb -s <device-id> pull /sdcard/screen.png

    Replace <device-id> with the value from adb devices, for example:

    adb -s 7f1c864e exec-out screencap -p > screen.png

    This ensures the screenshot is taken from the correct device.

💡 Tips:

  • Keep a small script or shell function that runs your preferred screenshot command with a timestamped filename.
  • If screenshots fail, re‑check USB debugging, reconnect the cable, and confirm the device appears in adb devices.

Marcin Miazga