Canan

Hi, I'm Canan

Oups ...

Never forget impossible is possible

:(


Your PC ran into a problem and needs to restart.
We're just collecting some error info, and then we'll restart for you.


0% complete



QR Code

For more information about this issue and possible fixes, visit
https://www.windows.com/stopcode

If you call a support person, give them this info:
Stop code: SYSTEM_SERVICE_EXCEPTION

Unlock + Root + SafetyNet + OTA

Unlock + Root + SafetyNet + OTA

Android




Steps

Check that you have a Global model

  1. https://www.mi.com/global/verify/#/en/tab/imei

How to Unlock a Xiaomi

  1. Download Mi Unlock
  2. http://en.miui.com/unlock/download_en.html
  3. https://miuirom.org/updates/mi-flash-unlock
  4. Enable "Developer Options"
  5. Access the main Settings of your Xiaomi device
  6. Scroll down to find "About phone" and tap on it
  7. Locate MIUI version and touch several times
  8. Access "Developer options"
  9. Return to Settings
  10. Run Additional Settings and tap "Developer Options" to enable it
  11. Enable options to enable Unlock
  12. > In the "Developer options":
  13. Scroll down to find the “USB Unlock” option and enable it
  14. Scroll down to find “USB Debugging” option and enable it
  15. Scroll down to find the “Auto Update” option and turn it off
  16. Scroll down to find the "USB debugging (security settings)" option and enable it
  17. /!\ You must have your SIM card inserted and logged in to your Mi account
  18. Xiaomi Community
  19. /!\ You must have had a Xiaomi account for more than 30 days
  20. Install Xiaomi Community v5.4.19.apk (or later)
  21. Log in with the same Xiaomi account
  22. Click "Mi" in the bottom right of the app and navigate to "Set up" > "Change region to Global"
  23. Go back to the "Mi" menu, you should now see the option Unlock bootloader, click on it and then press "Apply" for unlocking
  24. Link your device
  25. > In the "Developer options":
  26. Scroll down to find the "Mi Unlock Status" entry and enter it
  27. Click on the only button to enable unlocking
  28. /!\ Make sure you have a Mi account, your SIM card inserted and the wifi switched off (data only)
  29. Launch "Mi Unlock" software and follow the floors
  30. If you get a blank page after logging in, use the QR code in the top right corner instead
  31. /!\ If you have a deadline to wait, you won't have a choice...
  32. Restart your phone in Bootloader mode
  33. Hold the Vol- and Power buttons until you get to the page
  34. After the time has elapsed, you will have the right to unlock it

How to Root a Xiaomi with Magisk

  1. Download your ROM and "adb - platform tools v33.0.2" (or newer)
  2. https://mifirm.net/model/zorn.ttt#global-zip-stable
  3. Download and launch "Payload dumper win64"
  4. https://androidfilehost.com/?fid=818070582850510260
  5. A. Put payload.bin to "payload_input" folder
  6. B. Run payload_dumper.exe
  7. C. Get boot.img in "payload_output" folder
  8. Copy boot.img and Magisk.apk (or newer) to your phone
  9. /!\ Then you can see a popup entitled "Allow USB Debugging" on your phone, check the "Always allow from this computer" box and tap OK
  10. Install Magisk.apk (or newer) on your phone
  11. Click Install in Magisk > Patch Boot image file > Select the boot.img file > click START
  12. After patching, copy magisk_patched.img to your PC
  13. Restart your phone in Bootloader mode
  14. Hold the Vol- and Power buttons until you get to the page
  15. Open a CMD and go to the folder "adb - platform tools v33.0.2" (or newer)
  16. adb devices
  17. > To be sur you see your phone
  18. fastboot flash boot boot_patched.img
  19. /!\ If you have AB parts
  20. fastboot flash boot_a boot_patched.img
  21. fastboot flash boot_b boot_patched.img
  22. > After installing new boot, simply reboot
  23. fastboot reboot
  24. Open Magisk
  25. Enable Zygisk in Settings
  26. Check Hide apps in Settings
  27. > To hide root for banks and some games
  28. Install "Play Integrity Fix v19.1"
  29. https://github.com/chiteroman/PlayIntegrityFix
  30. https://developer.android.com/privacy-and-security/safetynet/deprecation-timeline
  31. /!\ No more "SafetyNet" since January 2024, replaced by "Play Integrity API"
  32. > To be "Play Integrity API"
  33. If necessary, install other modules, such as "HideNavBar"
  34. > Unless you have the System -> Settings -> "Automatically Disable Navigation Buttons on Xiaomi Phone" option

How to check if you are root and Google SafetyNet

  1. Download and start the tests
  2. YASNAC - SafetyNet Checker
  3. Root Checker
  4. Play Integrity API Checker
  5. If it does not pass
  6. Install "Play Integrity Fix" manually
  7. https://github.com/chiteroman/PlayIntegrityFix/releases
  8. Reboot

How to transfer your data

  1. Backing up with SMS Backup Restore
  2. Backing up with Neo
  3. Creating a full backup on your PC
  4. Copying your full PC backup to your new phone
  5. Restoring with Neo
  6. Restoring with SMS Backup Restore

How to do OTAs

  1. Checking A/B Partitions
  2. > Install and launch "Treble Check" to see "Seamless System Update (A/B system partition)" result
  3. https://play.google.com/store/apps/details?id=com.kevintresuelo.treble

OTA "A/B" Devices

  1. Disable automatic installation of OTAs
  2. > In "Developer options":
  3. Scroll down to find "Auto Update" option and turn it off
  4. Allow MIUI to download the last update
  5. When an OTA is available
  6. If hidden, then make visible and reboot to launch it and be sure
  7. Apply OTA as you normally would
  8. Settings > System > System Update
  9. /!\ Wait for the installation to be fully done, do not press the “Restart now” or “Reboot” button
  10. Go to Magisk app > Install > Install to Inactive Slot
  11. Go back to sur la "System Update" page, then restart to finish the update

OTA "Non A/B" Devices

  1. /!\ Unfortunately, there are no real good ways to apply OTAs on these devices