@ganzredmi4 Hi, same xiaomi 4X, just installed today. Had a first unsuccessful attempt with the same description of events as you. At the secound and successful attempt, i simply waited, quite long, for the device to finalize its complet setup.
I msy have waited for more than ten minutes. And yes, it tells you that it is going to reboot, after all the completion of the process. Be well, peace