HOW TO SET KIOSK MODE (DEVICE OWNER)
Before you start
- Use a new or factory-reset Android tablet. Device Owner can only be set before any Google account is added.
- Do not sign in to Google, Samsung or any other account during setup. If one is already added, remove it first or factory reset.
- Use a USB cable that carries data (not a charge-only cable).
- A Windows PC.
Step 1. Download the files
- Download the Vendoke app from the Download page.
- Download ADB (Platform Tools) and unzip it to a folder, for example Desktop\tools\adb.
- Copy the app into the same folder and rename it exactly to vendoke.apk (the download is named vendoke-v1.apk).
Step 2. Turn on USB debugging on the tablet
- Open Settings > About tablet and tap Build number 7 times to enable Developer options.
- Open Settings > Developer options and turn on USB debugging.
- Connect the tablet to the PC with the USB cable.
- On the tablet, tap Allow on the "Allow USB debugging?" prompt (tick "Always allow from this computer").
Step 3. Open Command Prompt in the adb folder
Open the adb folder in File Explorer, click the address bar, type cmd and press Enter.Step 4. Check the tablet is connected
adb devices
You should see your device with the word device beside it. If it says unauthorized, accept the prompt on the tablet. If the list is empty, change the USB cable or port.
Step 5. Install the app
adb install -r vendoke.apk
Wait for Success.
Step 6. Set Vendoke as Device Owner
adb shell dpm set-device-owner com.kwarton.vendoke/com.kwarton.ikaraoke.KioskDeviceAdminReceiver
You should see: Success. Device owner set to package com.kwarton.vendoke
Step 7. Open the app
Open Vendoke on the tablet. The app now runs in locked kiosk mode: the home, back and recent buttons and the status bar are blocked, so customers cannot leave the app.Troubleshooting
- "Not allowed to set the device owner because there are already some accounts on the device" - remove every account in Settings > Accounts, or factory reset the tablet, then repeat Step 6.
- "already several users" or "already provisioned" - factory reset the tablet and do not finish the Google setup, then repeat from Step 2.
- "device is not connected" or "no devices" - reconnect the cable, run adb kill-server and then adb devices again.
- "INSTALL_FAILED_..." - make sure the file is named vendoke.apk and you are running the command inside the adb folder.