Hi There,
Thanks for helping, I am also in the same situation (XM8 Boot loop) with TWRP 3.2.2.
When you say wipe everything, is it from TWRP ? Is the one by default (where you swap the bar) or do you need to go to advanced and check more options ?
I have basically done it all over from scratch (DEV ROM --> UBL --> TWRP install, Wipe by default, Install new MIUI EU rom) but still locked in this endless boot loop ;(
This is the 1st time I having this issue with a Mi phone (I had a lot), I m not sure what else to do, damn.....