Remove Account Xiaomi Cloud Redmi Note 5A Prime MDG6S

#1
Does your Xiaomi Redmi Note 5A Prime MDG6S use MIUI 9 when it's locked? If yes, downgrade first to MIUI Global Stable V8.5.2.0 NDKMIED. In this post, I will explain four ways to remove the Xiaomi Account and replace it with a new ID.

Removing With UFI Box For Locked Bootloader Device
  • Enter Qualcomm 9008 EDL Mode via the test point.
  • Run as administrator UFI Android ToolBox launcher -> Brand Xiaomi -> Platform Qualcomm -> Model Redmi Note 5A Prime -> firmware MIUI Global Stable V8.5.2.0 NDKMIED Identify Device.
  • Your device partition table will appear. Continue clicking Special Task -> [Xiaomi - ugg,ysl] Unlock Bootloader.
  • Your MDG6S device bootloader is unlocked. Turn off the device and then enter Fastboot Mode and connect to the PC.
  • Download and extract MIUI Global Stable V8.5.2.0 NDKMIED and then find the flash_all.bat file in the folder.
  • Open the file flash_all.bat using a text editor such as Notepad, Notepad ++, Sublime Text, or other Text editors.
  • Insert the code fastboot %* erase persist under the code line fastboot %* erase boot.
  • Re-insert fastboot %* flash persist %~dp0images\persist.img || @echo "Flash persist error" && exit /B 1 below the code line fastboot %* flash boot %~dp0images\boot.img || @echo "Flash boot error" && exit /B 1. Clearly see the following picture.
  • Save the edited flash_all.bat file.
  • Run as administrator UFI Box -> Fastboot -> Brand Xiaomi -> Platform Qualcomm -> Model Redmi Note 5A Prime (ugg_global) -> ugg_global_images_V8.5.2.0_NDKMIED_20171011.0000.00_7.1_global flash all.
  • Check all partition tables and continue pressing the Flash button.
  • Reboot the device and do not connect to wifi or mobile internet data on the MIUI 8 setup page.
  • Go to the Settings menu -> About Phone -> Tap several times on MIUI Version to enable the Developers Option.
  • Go to the Settings menu -> Additional Settings -> Developer Options -> Enable OEM unlock and USB Debugging.
  • Go to the Settings menu -> MI Account -> then enter the MI Account that you have and make sure to activate the Find Device.
  • The previous Xiaomi Account has been erased clean, replaced by the new MI Account and has no problems if you want to update the MIUI version.
Removing With UFI Box For Unlocked Bootloader Device
Will be updated soon..

Removing With Xiaomi Flash Tool For Locked Bootloader Device
Will be updated soon..

Removing With Xiaomi Flash Tool For Unlocked Bootloader Device
Will be updated soon..
 
Last edited: