[Sony Xperia XZ Questions & Answers] Qattos:
My XZ is rooted and had many different Magisk modules on it, everything was working perfectly for many months until one night I was browsing the Web, my phone froze, rebooted, and thus began the never-ending boot loop at the Xperia screen, I can shut it down, I can access twrp, but the phone never fully boots, I'm hoping there's a solution without having to reflash.

--------- beginning of crash
01-28 22:01:46.195 2249 2249 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
01-28 22:01:46.195 2249 2249 E AndroidRuntime: java.lang.IllegalArgumentException: State 6 is not a valid state
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at android.content.om.OverlayInfo.ensureValidState(OverlayInfo.java:141)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at android.content.om.OverlayInfo.<init>(OverlayInfo.java:111)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.server.om.OverlayManagerSettings$SettingsItem.getOverlayInfo(OverlayManagerSettings.java:493)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.server.om.OverlayManagerSettings$SettingsItem.-wrap0(Unknown Source:0)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.server.om.OverlayManagerSettings.-com_android_server_om_OverlayManagerSettings-mthref-1(OverlayManagerSettings.java:177)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.server.om.-$Lambda$VuwDBWerAG9B6xB4Rr4-FeDL3jk$1.$m$0(Unknown Source:2)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.server.om.-$Lambda$VuwDBWerAG9B6xB4Rr4-FeDL3jk$1.apply(Unknown Source:0)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:194)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1390)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:235)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:501)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.server.om.OverlayManagerSettings.getOverlaysForUser(OverlayManagerSettings.java:176)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.server.om.OverlayManagerServiceImpl.updateOverlaysForUser(OverlayManagerServiceImpl.java:89)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.server.om.OverlayManagerService.onSwitchUser(OverlayManagerService.java:314)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.server.om.OverlayManagerService.<init>(OverlayManagerService.java:280)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:680)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:415)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:281)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
01-28 22:01:46.195 2249 2249 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
01-28 22:01:46.196 2249 2249 I Process : Sending signal. PID: 2249 SIG: 9