Installer crashes when sideloading progress goes over 100%

Describe the bug
When flashing Magisk the installer gets stuck.
Device seems to reboot into recovery.

To Reproduce
Steps to reproduce the behavior:
Install Magisk-v26.4.zip (renamed from apk) as addon.

Expected behavior
Flashing succeeds and you can continue.
Im fine with a disclaimer too since Magisk is not meant for the target audience of oai.

Log file
https://haste.aicp-rom.com/ujemuyewoq.sql

Screenshots
image

Desktop (please complete the following information):

  • OS: Tuxedo OS 2, i.e. Kubuntu 22.04 LTS

Smartphone (please complete the following information):

  • Device: OnePlus 5
  • OS: crDroid 9.11
  • OAI Version 0.51

Additional context
image
Manually sideloading causes >100% progress, which crashes the progress bar in oai.