Skip to content

Prefill unlock checkbox based on props #755

@SirRGB

Description

@SirRGB

Is your feature request related to a problem?
The checkboxes asking about the current unlock state are tedious to fill in if you are doing it repeatadly.

Describe the solution you'd like
Read the current state using adb shell getprop ro.build.version.release
ro.oem_unlock_supported
sys.oem_unlock_allowed. This might not work on all devices, but should be enough to get the checkboxes prefilled.

Describe alternatives you've considered

Additional context

  • If ro.oem_unlock_supported sys.oem_unlock_allowed report 0, tell the user it cant be unlocked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions