Emda

Setting up an Android kiosk with Emda

For a real kiosk, make Emda the tablet’s device owner. It’s done once, with a computer, on a freshly reset tablet. Without it, Android only offers screen pinning, which visitors can undo.

As device owner Screen pinning only
Leaving the kiosk Impossible without the admin PIN Visitors can hold Back and Overview to unpin
Home, recent apps, notifications, status bar Blocked Mostly blocked; Android shows a pinning notice
Lock screen Off On
After a restart Emda starts by itself and locks again The tablet starts normally
Screen Stays on while charging Follows the tablet’s settings
Camera and microphone prompts Granted in advance Asked once

In both cases, admins open Emda’s Settings the usual way: five quick taps in a top corner of the screen, then the PIN.

Android only allows this on a tablet with no accounts on it, so start from a new or freshly reset tablet.

On the tablet

  1. Reset it (Settings → System → Reset options → Erase all data), or use a new one.
  2. In the setup wizard, connect to Wi-Fi, but skip adding a Google account (and any other account). You can add one later.
  3. Turn on developer options: Settings → About tablet, tap Build number seven times.
  4. Turn on Settings → System → Developer options → USB debugging.

On a computer

You need Android’s adb tool (Platform Tools from Google, for Windows, Mac or Linux).

  1. Connect the tablet by USB and allow the computer when the tablet asks.

  2. Install Emda (the Play Store needs an account, so install the APK):

    adb install Emda.apk
  3. Make Emda the device owner:

    adb shell dpm set-device-owner io.emda.app/.KioskAdminReceiver

    It answers Success: Device owner set to package io.emda.app.

Back on the tablet

  1. Open Emda, enter the home page and an admin PIN.
  2. In Settings → Security & lockdown, keep Lock the device to Emda and Start Emda automatically on. The Status row shows Locked.
  3. Turn off USB debugging again. You can add a Google account now if you need one.

Emda is now the tablet’s home screen: Home, recent apps, notifications, the status bar and the lock screen are gone, the screen stays on while charging, and after a restart the tablet goes straight back into the kiosk.

If dpm set-device-owner fails

2. Screen pinning (no computer)

If you can’t use a computer, Emda can still pin itself:

  1. Turn on Settings → Security → App pinning (also called screen pinning; the place varies by brand).
  2. Open Emda and turn on Settings → Security & lockdown → Lock the device to Emda. Android asks to pin the app: confirm.

Visitors can still unpin by holding Back and Overview together, so use this only where staff are nearby. Emda’s Status row shows Setup needed to remind you.

How admins get out

  1. Tap a top corner of the screen five times quickly, then enter the PIN.
  2. In Settings:
    • Change settings and tap Save to go back to the kiosk.
    • Turn off Security & lockdown → Lock the device to Emda to use the tablet with Emda still running.
    • Tap Exit Emda (and confirm) to unlock and give Home back to the normal launcher, until Emda is opened again.

Removing the device owner

Android doesn’t let a device owner be removed from Settings, and Emda doesn’t offer it yet. To return the tablet to normal use, reset it (Erase all data). Use Exit Emda if you only need the tablet for a while.

With an MDM

Android Enterprise MDMs (for example Intune, Hexnode, ManageEngine or Scalefusion) have their own kiosk (“dedicated device”) mode. Add Emda (io.emda.app) as the kiosk app there instead of making it the device owner; Emda’s own lockdown then doesn’t need to be on.

Tips

Docs