ML2 home button

Super important but I left out that for the CLI tool to run commands (after putting yourself in developer mode) you need to set receiver must be set it as the device owner (emulates MDM):
adb shell dpm set-device-owner com.magicleap.locktaskservice/.LockTaskAdminReceiver

and to disable the management..

adb shell dpm remove-active-admin com.magicleap.locktaskservice/.LockTaskAdminReceiver

1 Like