This documentation explains how to:
Click 7 times on “Build number”
Result:
From your PC:
Open a command prompt and run:
adb connect IP
or
adb connect IP:PORT
Example:
adb connect 192.168.1.1:5555
Use the following command to verify the connection between your PC and the screen:
adb devices
Expected result:
192.168.1.1:5555 device
⚠️ If “unauthorized”:
Use the following command to install the APK:
adb -s 192.168.1.1:5555 install "{path}\app-release.apk"
Update:
adb -s 192.168.1.1:5555 install -r "{path}\zebrix-agent.apk"
Once the installation is complete, launch the application manually on the display or using adb:
.\adb.exe -s 192.168.1.1:5555 shell am start -n net.zebrix.agent/.ui.MainActivity
Then, from your command prompt, run:
# Brightness .\adb.exe -s 192.168.1.1:5555 shell appops set net.zebrix.agent WRITE_SETTINGS allow # Read the currently displayed input source (required for input_source) .\adb.exe -s 192.168.1.1:5555 shell appops set net.zebrix.agent GET_USAGE_STATS allow .\adb.exe -s 192.168.1.1:5555 shell am force-stop net.zebrix.agent .\adb.exe -s 192.168.1.1:5555 shell am start -n net.zebrix.agent/.ui.MainActivity # Device Administrator — required for sleep mode and screen locking .\adb.exe -s 192.168.1.1:5555 shell dpm set-active-admin net.zebrix.agent/.service.ZebrixDeviceAdminReceiver # Device Owner — required for reboot and set_time (cannot be configured without ADB) .\adb.exe -s 192.168.1.1:5555 shell dpm set-device-owner net.zebrix.agent/.service.ZebrixDeviceAdminReceiver