We’ve got a bunch of Xiaomi tablets we’re trying to put into kiosk mode. I’ve configured the policy and pushed it into the devices. However, when we hit the Enable Kiosk Mode action from the Hexnode portal, nothing happens on the device. The kiosk only starts up after someonepresses the power button on the device-end and swipes up.
Does anyone know how I can solve this problem and put the devices into kioskmode?
Hey people, after some investigation we’ve found the causeof this issue. This behaviouris basically due to Xiaomi MIUI’s background restrictions. On Xiaomi devices, MIUI blocks apps from bringing screens to the foreground unless the permission “Display pop-up windows while running in the background.” is enabled. So,when the enablekiosk mode action is triggered from the portal, MIUI doesn’tallow the Hexnode app to open the kiosk interface automatically.
To resolve this, you’ll need to grant the Hexnode appthis permission. For this,you need to enable USB debugging on the devices and execute the script below using ADB.
For Hexnode for Work app, use:
1
adbshell am start-n"com.miui.securitycenter/com.miui.permcenter.permissions.PermissionsEditorActivity"--es"extra_pkgname""com.hexnode.mdm.work"
ForHexnode UEM app, use:
1
adb shell am start-n"com.miui.securitycenter/com.miui.permcenter.permissions.PermissionsEditorActivity"--es"extra_pkgname""com.hexnode.hexnodemdm"
Once the permission is enabled, the device will enter kiosk mode automatically without any manual action.