Android installation script keeps failing

I bought a Fairphone 6 with murena to test the OS but the change was to much for me so I decided to install Android instead.

I followed every steps from this guide https://support.fairphone.com/hc/en-us/articles/18896094650513-How-to-manually-install-Android-on-your-Fairphone

My phone is correctly unlock and when I use the .bat script my phone is detected. But the script keep crashing when flashing some partitions. Not always on the same partition. The error message tells me to remove the battery and restart bootloader with the volume down button.

I tried to unplug and replug the battery multiple times and each time the script crashes at a different step and not always a further one than previously…

What can I do to finish this installation once and for all ?

Did you check if your USB cable is OK and has proper contact in the USB ports (FP6 and computer/laptop)?

Yes.

My computer detects correctly the phone.

I tested multiple USB cables and the one I’m using now works great and make contact on both sides. I used fastboot devices and the phone is listed.

Some had help with booting the device in fastbootD mode (from the recovery mode, choose reboot bootloader) then launch the script, it will fail at some point, reboot to regular bootloader mode, relaunch the script.

While this can help, it can also cause issues.