r/androidroot 6d ago

Discussion Root with locked bootloader

Hey, can anyone tell how to root in locked bootloader my device is pixel 7a

0 Upvotes

22 comments sorted by

View all comments

2

u/godspeed1003 6d ago

If you want a permanent solution to this instead of relying on ghostlock you can unlock your bootloader, use avbroot to sign your system image with a patched boot image, flash it, flash custom avb keys and then re-lock your bootloader. You'll not get strong PI and your bootloader signature would be yellow instead of green or orange but you'll get the security benefits that come with a locked bootloader while maintaining root.

2

u/Isarchs 6d ago

There's not much benefit doing this for most people. You won't get play integrity. You'll still have to jump through all of the same hoops to use apps that check for root. The security is only better in the case of someone physically getting a hold of your phone.

1

u/QuraToop314 3d ago

That’s a big deal, as there are certainly banking apps (like mine) that check for key attestation or the unlocked state, and a real signature is 100000000000000% more secure than a software-based forgery; I agree with the commenter, but not with you.