Skip to content

[FEATURE](app): hide direct install and uninstall when bootloader is locked #28

Description

@LindaFerum

I've created similar request on vanilla magisk topjohnwu#9842 but chances of it being picked up there are extremely low.

Long story short, on a "magisked Graphene" with locked bootloader (like rooted graphene and pixene) and indeed any other ROM that chooses to combine locked bootloader with magisk based root the persistent presence of "install" button for ramdisk/image patching in UI presents a small but persistent threat of softbrick

Image

A "failure of thought" / habitual action on behalf of user while presumably low probability (we're all very professionals and very cautious and careful all the time right ;-) ) can, thanks to this UI element, create a substantial amount of trouble

it is also completely unnecessary because the update of ramdisk is happening via ROM/OTA mechanisms

Thus it would be nice if the app could check if its in a locked bootloader environment (which should be very doable with root) and hide that button as well as all attendant ramdisk/boot.img update functionality so as to exclude possibility of distracted/confused user tapping themselves into a softbrick

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions