Unlocking your mi mix 4 :
lets start by enabling developer options on our mix 4, to do that go to device settings,then tap on My device > All specs > keep tapping on miui version till u enable developer options.
this will enable developer options under additional settings,
go to developer settings and enable OEM unlocking, and
select mi unlock status, put in a sim card, disconnect from wifi, enable cellular data, and tap on add account and device
wait for a week, only then u are allowed to unlock.
on your windows pc download and install adb, fastboot and drivers using the 15 seconds adb install tool link
this should install device drivers,
boot your phone into fastboot mode,
to boot your phone into fastboot, power off your device, and while poweing on hold volume down button.
this will put your phone into fastboot mode, connect it to your windows pc, check if the drivers are installed properly by going into
device manager and see if android device is shown without any errors,
open power shell and see if the device is recognised by the system by typing in
Warning : unlocking your phone will format the whole phone please take a bakcup of your daata.
now download mi unlock tool from this link
open the mi unlock tool select your device and tap on unlock, it will prompt for your credentials,
type in your mi account details that are binded to your device, and once your are logged in,
click on unlock again, this will start the unlock process
on your mix 4, you will be prompted with this,
tap on the first option and log in using your mi account credentials,
your phone is now unlocked.
Replacing the chinese rom with an EU rom:now that the phone is unlocked, lets download the latest available EU fastboot flashable build from the following link
extract the downloaded rom, before we flash the rom, we need to reboot our phone to fastboot mode, to do that
as i told earlier, power off your device, and while powering the phone on, hold volume down, this will boot your mix 4 into fastboot mode.
lets reverify if your phone is unlocked by opening powershell and type in this command
fastboot oem device-info
Warning : the next step will format your device to factory settings, please backup the needed files.
now that we verified that the device is unlocked, lets flash the rom by clicking on
this will start the flashing process. once the flash process is done, you can setup the mix 4 device.
Rooting mix 4 with magisk manager:warning : to root the phone your phone should be having an unlocked bootloader, please dont try to root your phone without unlocking the bootloader.and also banking apps, and payment apps might not work, so do accordingly.
copy imgages/boot.img file from extracted eu rom folder to mix 4 device,
install magisk manager from magisk github link.
once the magisk manager is installed,
open magisk manager, tap on install button next to Magisk,
then tap on select and patch file,
from the file manager, select the copied boot.img, and tap on next.
this will patch the boot.img image file and generate a magisk_patched.img in the downloads folder.
copy the magisk_patched.img file from downloads folder on android to the desktop on windows,
reboot your mix 4 to fastboot mode, and connect it to pc.
now open power shell window in the desktop folder by howering your mouse in the empty space,
and while holding the shift key on your keyboard, right click on the mouse, this will show an option
of open power shell window. click on it, and see if the device is recognised in fastboot mode by typing in
this should show your device code.
now that the device is in fastboot mode, type in the following command
fastboot flash boot magisk_patched*.img
this will flash the magisk patched boot image, you can reboot your phone by typing in
once the phones booted up, open magisk manager, it should say installed : yes under magisk
and also a hovering menu at the bottom which will give access to super su functionality, and magisk modules too.
so if you guys want a detailed video for the same, check out ,