Skip to content

Broken on Android 16 (LineageOS 23) and potential workaround #14

@technopagan

Description

@technopagan

Due to the changes of Google to the Device Owner provisioning, sadly this app has stopped working as intended. Biometric auth is still possible from lock-screen. :(

Even if the app got updated to deal with DevicePolicyManagerService, Google's more restrictive policy means that (in theory) any device must NOT have any accounts registered at the moment Device Owner is granted.

A potential workaround for those of us willing to re-flash our ROM might therefore be:

  • Flash the ROM (e.g. LineageOS 23)
  • Go through initial setup without adding any accounts
  • Install AdminControl: F-Droid or sideload via adb install AdminControl.apk
  • Run: adb shell dpm set-device-owner com.davidshewitt.admincontrol/.ControlDeviceAdminReceiver
  • Only afterwards, add your accounts and set up everything else

I've also asked the great Slop Machine to generate a PR to update the app's code base so that (after granting the device owner permission once without registered accounts) it continues to work on Android 16 / LineageOS 23. Since I have little Android Studio experience, I haven't tested this. But I'm leaving it here for reference.

android16-compatibility.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions