Skip to content

Can /system files be modified via su without resigning/reflashing AVBroot? #339

Answered by chenxiaolong
e-t-l asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@e-t-l
Comment options

@chenxiaolong
Comment options

Answer selected by e-t-l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants