Skip to content

I have a problem #35

@soncao0212-commits

Description

@soncao0212-commits

This might be off-topic, but I'd like to ask if there's a way to spoof a locked bootloader on a device with an unlocked Android 12 bootloader without rooting it. I repeat, no root required. For example, making the following commands run automatically at boot:
#!/system/bin/sh

resetprop ro.secureboot.lockstate locked
resetprop ro.boot.flash.locked 1
resetprop ro.boot.realme.lockstate 1
resetprop ro.boot.vbmeta.device_state locked
resetprop ro.boot.verifiedbootstate green
resetprop ro.boot.veritymode enforcing
resetprop ro.boot.selinux enforcing
resetprop ro.boot.warranty_bit 0
resetprop ro.build.tags release-keys
resetprop ro.build.type user
resetprop ro.debuggable 0
resetprop ro.is_ever_orange 0
resetprop ro.secure 1
resetprop ro.vendor.boot.warranty_bit 0
resetprop ro.vendor.warranty_bit 0
resetprop ro.warranty_bit 0
resetprop vendor.boot.vbmeta.device_state locked
resetprop vendor.boot.verifiedbootstate green

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