twrp – SystemUI crashes after mod-framework-res.apk

So I have a Sony Xperia XZ1 Compact on Android 8.0 47.1.A.12.235 and I wanted to edit my animations with the Ethan framework-res mod. Downloads its .zip file and tries to install it in TWRP 3.2.3. TWRP said the zip had been flashed, but the result was 256, the original framework-res.apk was not backed up (unlike the installer), and the res-apap framework was not changed either. So, I took the framework-res and modified it with the zip installer files, I replaced it via TWRP and restarted. It worked, the animations are now modified, but my SystemUI crashes now at startup (the only animations I see are those of "SystemUI stopped working" and the Power Off menu, which are changed). Help?