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

How to Unlock a Xiaomi

  1. Download Mi Unlock
  2. http://en.miui.com/unlock/download_en.html
  3. Enable "Developer Options"
  4. Access the main Settings of your Xiaomi device
  5. Scroll down to find "About phone" and tap on it
  6. Locate MIUI version and touch several times
  7. Access "Developer options"
  8. Return to Settings
  9. Run Additional Settings and tap "Developer Options" to enable it
  10. Enable options to enable Unlock
  11. > In the "Developer options":
  12. Scroll down to find the “USB Unlock” option and enable it
  13. Scroll down to find “USB Debugging” option and enable it
  14. Scroll down to find the “Auto Update” option and turn it off
  15. /!\ If you have the option, scroll down to find the "USB debugging (security settings)" option and enable it
  16. Link your device
  17. > In the "Developer options":
  18. Scroll down to find the "Mi Unlock Status" entry and enter it
  19. Click on the only button to enable unlocking
  20. /!\ Make sure you have a Mi account, your SIM card inserted and the wifi switched off (data only)
  21. Launch "Mi Unlock" software and follow the floors
  22. /!\ If you have a deadline to wait, you will have no choice... (normally, 168 hours so 1 week)
  23. Restart your phone in Bootloader mode
  24. Hold the Vol- and Power buttons until you get to the page
  25. 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://c.mi.com/oc/miuidownload/detail?device=1900400
  3. Download same are yours, me is 13.0.10.0.SKDEUXM
  4. Download and launch "Payload dumper win64"
  5. https://androidfilehost.com/?fid=818070582850510260
  6. A. Put payload.bin to "payload_input" folder
  7. B. Run payload_dumper.exe
  8. C. Get boot.img in "payload_output" folder
  9. Copy boot.img and Magisk-v25.1.apk (or newer) to your phone
  10. /!\ Then you can see a popup entitled "Allow USB Debugging" on your phone, check the "Always allow from this computer" box and tap OK
  11. Install Magisk-v25.1.apk (or newer) on your phone
  12. Click Install in Magisk > Patch Boot image file > Select the boot.img file > click START
  13. After patching, copy magisk_patched.img to your PC
  14. Restart your phone in Bootloader mode
  15. Hold the Vol- and Power buttons until you get to the page
  16. Open a CMD and go to the folder "adb - platform tools v33.0.2" (or newer)
  17. adb devices
  18. > To be sur you see your phone
  19. fastboot flash boot boot_patched.img
  20. /!\ If you have AB parts (as Xiaomi 11T Pro)
  21. fastboot flash boot_a boot_patched.img
  22. fastboot flash boot_b boot_patched.img
  23. > After installing new boot, simply reboot
  24. fastboot reboot

How to check if you are root and Google SafetyNet

  1. Open Magisk
  2. Start the test
  3. If it does not pass
  4. Install "Universal SafetyNet Fix" manually
  5. https://github.com/kdrag0n/safetynet-fix
  6. Reboot

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

"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. First go to Magisk app > Uninstall > Restore Images
  7. > This will restore partitions modified by Magisk back to stock from backups made at install in order to pass pre-OTA block verifications
  8. /!\ Do not reboot or you will have Magisk uninstalled
  9. After restoring stock images
  10. Apply OTA as you normally would
  11. Settings > System > System Update
  12. /!\ Wait for the installation to be fully done (both step 1 and step 2 of the OTA), do not press the “Restart now” or “Reboot” button
  13. Go to Magisk app > Install > Install to Inactive Slot
  14. > After installation is done, press the reboot button in the Magisk app

"Non A/B" Devices

  1. /!\ Unfortunately, there are no real good ways to apply OTAs on these devices
  2. > You will have to manually re-root your device after the upgrade, and this will require access to a computer
  3. Get back the stock recovery
  4. You can restore it from your previous backup, or dumps found online, or factory images provided by OEMs
  5. Télécharger votre ROM pour récupérer le boot.img par défaut
  6. https://c.mi.com/oc/miuidownload/detail?device=1900400
  7. Download same are yours, me is 13.0.10.0.SKDEUXM
  8. Ouvrez une CMD et rendez vous dans le dossier "adb - platform tools v33.0.2"
  9. adb devices
  10. > To be sur you see your phone
  11. fastboot flash boot boot_patched.img
  12. /!\ If you have AB parts (as Xiaomi 11T Pro)
  13. fastboot flash boot_a boot_patched.img
  14. fastboot flash boot_b boot_patched.img
  15. > After installing new boot, simply reboot
  16. fastboot reboot
  17. Once you restored back to stock recovery and other images, download the OTA
  18. Apply the OTA and reboot your device
  19. > This will use the official stock OTA installation mechanism of your device to upgrade your system
  20. Once it’s done you will be left with an upgraded, 100% stock, un-rooted device
  21. > You will have to manually flash Magisk back (patch method)

How to install TWRP (not systemless)

  1. Download the version for your phone
  2. Reboot the phone to fastboot (Power + Vol Down)
  3. Connect the phone to the computer
  4. Extract the fastboot files and open CMD/Terminal there
  5. Paste the twrp.img in the same folder
  6. Type "fastboot boot twrp.img"
  7. The phone will reboot in TWRP after that go to Advanced > Flash Current TWRP