I have been utilizing my app as a deviceOwner App since lollipop.
I’ve a brand new system right here which I wish to be DeviceOwner too.
It’s a Samsung galaxy Tab A 10.5(2018) SM-T590.
I’m at the moment working this Model of the rom: T590XXU2ASC1.
I’m not utilizing NFC technique.
I usualy create the /knowledge/system/device_owner.xml file on my own.
However since it’s not working I tryed this technique:
Manufacturing facility reset the pill in restoration mode
Cross by way of the annoying startup menus
Set lock display to none
Allow Usb Debugging
Set up my app adb set up MyApplicaton.apk
adb shell dpm set-device-owner com.instance.myapplication/.MyApplicationReceiver
It at all times says success when i execute the command.
Begin my app, i can pin/unpin my app with out downside.
Reboot, after which the well-known message seems everytime:
Workspace has been locked
Unauthorized software program has been put in in your system.Workspace has been
locked to forestall any unauthorized entry. Contact your admin.
Then if i press on the FACTORY DATA RESET button the workspace app crashes then pops again.
I tryed the kioskModeDemo app and the androidDeviceOwner pattern app they usually all do the identical downside.
Anyone have any hints of why this isn’t working anymore on Android 8(oreo)?