Note you will need the following set up before you can begin
- Android Studio / SDK tools must be installed on your laptop
- Access to an Android STB on the same network as the laptop
- Relevant app pre-installed on the STB
Step 1: Set up the Android STB
Set Android STB into Dev mode by opening the Settings menu, About, scroll down to Build & then click the home button repeatedly until the “dev mode” pop up message appears on the TV screen.
Find the IP address of your Android TV STB, Settings menu, About, scroll down to Status
In this case the IP Address is 10.142.111.8
Step 2: Initiate ADB Connection
On your mac, open cmd/terminal and type adb connect IP Address:5555 .
For Instance, if your Android STB IP address is 192.168.1.109, type adb connect 192.168.1.109:5555
Step 3: Taking the screenshot
Now take screenshot from the Android STB, navigate on the STB to the screen you want to capture
On your PC, open cmd/terminal and type –
adb shell screencap -p /sdcard/screencap.png
This will take screenshot on your Android STB. Next we have to pull this screenshot from the Android STB to your laptop.
On cmd/terminal itself, type –
adb pull /sdcard/screencap.png
You can increment the filename e.g. /screencapA.png /screencapB.png if you need to take multiple screenshots, but you will also need to change the filename when pulling the file from the STB to your laptop
Locate screencap.png on your laptop & then drag into a folder.