I'll receive my Miraclebox Mini HD single tuner next week, I chose default factory image as I want to flash the image myself as there's a tutorial on how to, but how do I flash the bootloader?

Also do I flash bootloader first and then the image?