Can /system files be modified via su without resigning/reflashing AVBroot? #339
-
I'm new to rooting and new to AVBroot, so forgive me if this is a dumb question: I've read about different root hacks that involve modifying some file in the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
That's not a dumb question! (and dumb questions are always welcome 🙂) If anything modifies In general, every OS partition is protected by AVB signatures. If possible, I'd recommend using Magisk modules to replace files in |
Beta Was this translation helpful? Give feedback.
That's not a dumb question! (and dumb questions are always welcome 🙂)
If anything modifies
/system
it will indeed break the AVB signatures and cause a bootloop. If/system
is all that was touched, you could maybe reboot into recovery mode and reflash your patched OTA to get back into a good state. But if that didn't work, you would need to unlock the bootloader again and start fresh.In general, every OS partition is protected by AVB signatures. If possible, I'd recommend using Magisk modules to replace files in
/system
. These are mounted on top of the original files during boot and don't touch the actual filesystem.