I know why this call error happens to a lot of users. To cut a long story short, install the standard Miui version again. Please note that it is very important to turn off all switches for Google services, location services and updates during installation. You will be asked to do this during setup, then start the device and switch on developer mode. Start the device in fastboot mode and install Ubuntu.
I