Clear PIN/password, Android 8.1
Posted: 04 Nov 2018 19:15
On my device (AICP Oreo 13.1) Clear PIN/password action not working (SecurityException: Cannot call with null password), though Clear PIN/password is working.
Automagic Device Admin is listed and checked in Device admin apps, but with no luck; locksettings clear command fails too. Seems that Clear the PIN/Password not working at all?Desmanto wrote:Automagic can't clear the PIN/Password anymore, unless it is device owner
Well, I got it. The link on help page is broken, though I think you mean:Martin wrote:Device admin and device owner are not the same thing. You can try to make Automagic the device owner (on your own risk). Check the help page of action Set Lock PIN/Password
Code: Select all
dpm set-device-owner <COMPONENT>
I don't recommend to do it. In your case, you just wanna disable the security. Better use action Set Lock Pattern State. This will disable the security, just like no pattern at all. I use this too to unlock the phone for the Control UI purpose.Device Owner
Setting the device administrator of an app as a device owner enables several capabilities to an app that are not available otherwise.
The procedure to set Automagic as the device owner is quite complicated and can potentially go wrong so this feature is completely unsupported and you do this on your own risk.
1. Enable Developer options->USB debugging on your device
2. Set the Screen lock to None
3. Install Automagic available on Google Play
4. Remove all Google Accounts from your device
Execute5. Add your Google accountsCode: Select all
adb shell dpm set-device-owner ch.gridvision.ppam.androidautomagic/.AutomagicDeviceAdminReceiver
Thanks, it worked. At least for nowDesmanto wrote:Better use action Set Lock Pattern State