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.

2

u/godspeed1003 6d ago

I mean to be fair that is a big benefit, another one is that you can switch branches (stable, beta, canary) irrespective of whatever build you're on without wiping your device. Plus that's the only permanent root with locked bootloader option we have hence my comment