Thank you for your prompt reply.
In all cases, I was able to pair my band with Gadgetbridge. I could also see that the band was shown as "connected" in Gadgetbridge, and that the app was able to communicate with my Mi Band 3.
However, everytime I flashed the custom firmware, I would get the...