Restored ChromeOS, but still needs firmware write protection disabled tk boot

Model is an Acer Chromebook Spin 311-2H (BOBBA360)

I used the script to install UEFI firmware a few months ago, but today I decided to revert the changes and restore the OS. However, afterward, I installed the battery, and the system won’t boot without it. Seems the system still needs the battery removed (thus disabling write protection, from what I know from booting Windows on it) to boot. I’ve cleared the boot flags using the script, but that doesn’t seem to do anything. What should I do?