Turn Your Android Phone into a Kiosk Device with Lock Task Mode

13 min read Learn step‑by‑step how to convert any Android phone into a dedicated kiosk using Lock Task Mode, without rooting. Includes preparation, ADB commands, app setup, and troubleshooting. October 03, 2026 14:30 How to Turn an Android Phone into a Kiosk Device with Lock Task Mode (No Root)

Why use Lock Task Mode for a kiosk?

Lock Task Mode (sometimes called screen pinning for developers) lets a device run a single app while disabling system navigation, status bar, and most settings. It’s the official way Android supports public‑facing kiosks, digital signage, or any scenario where you want to hand a phone to a user without exposing the rest of the OS.

Unlike rooting or custom ROMs, Lock Task Mode works on stock Android 5.0+ and requires only a few ADB commands. The device remains fully update‑able and secure, and you can revert the changes at any time.

Before you start

  • Back up any important data. Setting a device‑owner will factory‑reset the device on most devices because the command can only be run on a “clean” device (no Google account, no existing device owner).
  • Charge the phone to at least 60 % and keep it connected to power during the process.
  • Enable Developer options → USB debugging. On most phones: Settings > About phone > Build number (tap 7 times) then Settings > System > Developer options > USB debugging.
  • Install Android Platform‑Tools (ADB) on your computer.
  • Have a stable USB cable and a PC running Windows, macOS, or Linux.
If you cannot afford a factory reset, you can still use Android’s built‑in Screen Pinning feature as a lightweight alternative. The steps are described at the end of this guide.

Step 1 – Choose a kiosk‑ready app

Lock Task Mode can only be started by an app that has been granted the android:lockTaskMode permission and is set as a device‑owner. Several free apps on the Play Store already include the required device‑admin receiver, for example:

  • SureLock Kiosk Lockdown (free tier)
  • Fully Kiosk Browser (basic version)
  • Kiosk Mode – Lockdown (open‑source)

For this tutorial we’ll use **SureLock** because it provides a simple UI to enable lock task mode and its package name is stable.

  1. Open the Play Store on the device.
  2. Search for SureLock Kiosk Lockdown and install it.
  3. Launch the app and complete the initial “welcome” wizard (you can skip configuring any lockdown rules for now).

After installation the app will request Device admin permission. Grant it by tapping Activate → Allow in the system dialog.

Step 2 – Prepare the device for a device‑owner assignment

Android only allows dpm set-device-owner on a device that has no Google account and no existing device owner. The safest way is to perform a factory reset after you have backed up your data.

Running the device‑owner command on a device that already has a user account will fail with the error ERROR: Device owner already set. A factory reset is required.

To factory‑reset:

  1. Open Settings > System > Reset > Factory data reset.
  2. Confirm the reset and wait for the device to reboot.
  3. When the setup screen appears, skip adding a Google account. You can add it later after the kiosk is configured.

Once the device restarts, enable USB debugging again (see the “Before you start” list).

Step 3 – Set SureLock as the device owner via ADB

Connect the phone to your computer with the USB cable. Open a terminal (or Command Prompt) and verify the connection:

adb devices

You should see a device ID with the word device. If it shows unauthorized, check the phone for a prompt asking to allow USB debugging and tap Allow.

Now run the device‑owner command. The exact component name for SureLock is:

adb shell dpm set-device-owner com.surelock.kiosk/.DeviceAdminReceiver

Replace com.surelock.kiosk/.DeviceAdminReceiver with the actual receiver class if the app updates its package structure (you can find it in the app’s AndroidManifest.xml via APKTool if needed). For most versions the above works.

  1. Enter the command exactly as shown.
  2. If successful, ADB will return Success: Device owner set.
  3. If you see Security exception or Device owner already set, double‑check that the device is freshly reset and that no Google account is added.

At this point the device recognises SureLock as the privileged “device owner”. This status grants the app permission to start Lock Task Mode without user interaction.

Step 4 – Enable Lock Task Mode inside SureLock

Open the SureLock app. Navigate to Settings > Lock Task Mode (the exact path may vary by version, but look for “Kiosk Mode” or “Lock task” options).

  • Toggle Enable Lock Task Mode to On.
  • Select the activity you want to lock – typically com.surelock.kiosk/.MainActivity. This tells Android which screen should stay in the foreground.
  • Save the configuration.

After saving, tap the Start Kiosk button inside the app. The device will immediately hide the navigation bar, status bar, and the recent‑apps button. Only the SureLock interface remains visible.

What you should see: The screen shows SureLock’s main UI, the Android status bar disappears, and attempts to swipe from the edges do nothing. Pressing the power button will still turn the screen off, but unlocking brings you straight back into the kiosk.

Step 5 – Exiting Lock Task Mode safely

Because the device is now locked, you need a reliable way to exit for maintenance:

  • Via ADB: Run adb shell am stopservice -n com.surelock.kiosk/.KioskService (replace the service name if different) or simply adb shell am clear-task com.surelock.kiosk.
  • Via a hidden admin shortcut: Some kiosk apps expose a secret gesture (e.g., long‑press the back button three times). Check SureLock’s help page for the exact sequence.
  • Factory reset: As a last resort, boot into recovery (Power + Volume Down) and wipe data.

After exiting, you can remove the device‑owner status if you ever want to return the phone to normal use:

adb shell dpm remove-active-admin com.surelock.kiosk/.DeviceAdminReceiver

Note that removing the admin does not automatically clear the lock‑task configuration; you may need to open the app once more and disable the lock‑task toggle.

Alternative: Using Android’s built‑in Screen Pinning

If a factory reset is not an option, Android’s Screen Pinning offers a lightweight, user‑initiated kiosk‑like experience:

  1. Enable Screen Pinning: Settings > Security > Screen pinning (or Settings > Biometrics & security > Screen pinning on some devices).
  2. Open the app you want to pin (e.g., a web browser in full‑screen mode).
  3. Tap the Overview button (square) and swipe up on the app’s card, then tap the pin icon.
  4. To unpin, press and hold both the Back and Overview buttons simultaneously.

Screen Pinning does not hide the status bar, and users can still exit with the button combination, but it requires no ADB or device‑owner setup.

Troubleshooting common issues

ProblemPossible CauseFix
ADB command returns “Security exception”Device already has a Google account or another device‑owner.Factory reset the device, ensure no account is added, then retry.
SureLock does not start Lock Task Mode after enabling itIncorrect activity selected or the app version lacks the permission.Open SureLock settings, verify the selected activity matches the one listed in the app’s manifest, or reinstall the latest version.
Navigation gestures still workDevice manufacturer has disabled lock‑task enforcement (rare on older OEM skins).Check for a vendor‑specific “Kiosk mode” toggle in Settings, or use a different kiosk app that implements a custom launcher.
Unable to exit via ADBWrong service/component name.Run adb shell dumpsys activity services | grep -i kiosk to locate the exact service name, then stop it.

Safety and privacy considerations

  • Data loss: Setting a device owner forces a factory reset on most devices. Back up contacts, photos, and any app data beforehand.
  • Account removal: Do not add a Google account until after the device‑owner is set; otherwise the command will fail.
  • Future updates: System OTA updates will still install, but a major Android version change may reset the device‑owner status. Re‑apply the steps after a major update.
  • Security: A device‑owner can enforce security policies (e.g., disable USB debugging). Review the kiosk app’s permissions to ensure it does not expose unnecessary data.

Wrapping up

By following the steps above you have turned a regular Android phone into a dedicated kiosk that runs a single app, hides system UI, and prevents users from leaving the intended experience—all without rooting or flashing custom ROMs. The setup is reversible, works on most modern Android devices, and gives you a solid foundation for public displays, point‑of‑sale terminals, or classroom devices.

Remember to keep a backup of the ADB commands and the device‑owner package name in a secure place. If you ever need to repurpose the device, the removal command and a simple factory reset will restore full Android functionality.

User Comments (0)

Add Comment
We'll never share your email with anyone else.