Device Owner over Wi-Fi¶
Turn on Device Owner for a screen that already runs Marien Player, without a cable or a reset. New device? Use Lock it down instead.
- Install adb on your computer:
brew install --cask android-platform-tools - Connect to the device (same Wi-Fi):
If that fails (Android 11+): on the device, Developer options → Wireless debugging → Pair device with pairing code, then run
adb connect <device-ip>:5555adb pair <ip>:<port>with that code, andadb connectto the address on the main Wireless debugging screen. Android 10 or older needs a USB cable once:adb tcpip 5555, then unplug. - Remove every account on the device (Settings → Accounts). Check with:
adb shell dumpsys account | grep "Account {" - Grant Device Owner and restart the app:
adb shell dpm set-device-owner \ com.fortu.player/com.fortu.player.kiosk.DeviceAdminReceiver adb shell am force-stop com.fortu.player adb shell monkey -p com.fortu.player -c android.intent.category.LAUNCHER 1 - Check: open diagnostics (hold the top-left corner) and look for
device owner (full kiosk).
Note
Device Owner can only be removed with a factory reset.