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
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
Android
Steps
How to Unlock a Xiaomi
- Download Mi Unlock
- http://en.miui.com/unlock/download_en.html
- Enable "Developer Options"
Access the main Settings of your Xiaomi device
Scroll down to find "About phone" and tap on it
Locate MIUI version and touch several times
- Access "Developer options"
Return to Settings
Run Additional Settings and tap "Developer Options" to enable it
- Enable options to enable Unlock
- > In the "Developer options":
Scroll down to find the “USB Unlock” option and enable it
Scroll down to find “USB Debugging” option and enable it
Scroll down to find the “Auto Update” option and turn it off
- /!\ If you have the option, scroll down to find the "USB debugging (security settings)" option and enable it
- Link your device
- > In the "Developer options":
Scroll down to find the "Mi Unlock Status" entry and enter it
Click on the only button to enable unlocking
- /!\ Make sure you have a Mi account, your SIM card inserted and the wifi switched off (data only)
- Launch "Mi Unlock" software and follow the floors
- /!\ If you have a deadline to wait, you will have no choice... (normally, 168 hours so 1 week)
- Restart your phone in Bootloader mode
- Hold the Vol- and Power buttons until you get to the page
- After the time has elapsed, you will have the right to unlock it
How to Root a Xiaomi with Magisk
- Download your ROM and "adb - platform tools v33.0.2" (or newer)
- https://c.mi.com/oc/miuidownload/detail?device=1900400
Download same are yours, me is 13.0.10.0.SKDEUXM
- Download and launch "Payload dumper win64"
- https://androidfilehost.com/?fid=818070582850510260
A. Put payload.bin to "payload_input" folder
B. Run payload_dumper.exe
C. Get boot.img in "payload_output" folder
- Copy boot.img and Magisk-v25.1.apk (or newer) to your phone
- /!\ Then you can see a popup entitled "Allow USB Debugging" on your phone, check the "Always allow from this computer" box and tap OK
- Install Magisk-v25.1.apk (or newer) on your phone
Click Install in Magisk > Patch Boot image file > Select the boot.img file > click START
After patching, copy magisk_patched.img to your PC
- Restart your phone in Bootloader mode
Hold the Vol- and Power buttons until you get to the page
- Open a CMD and go to the folder "adb - platform tools v33.0.2" (or newer)
adb devices
- > To be sur you see your phone
fastboot flash boot boot_patched.img
- /!\ If you have AB parts (as Xiaomi 11T Pro)
fastboot flash boot_a boot_patched.img
fastboot flash boot_b boot_patched.img
- > After installing new boot, simply reboot
fastboot reboot
How to check if you are root and Google SafetyNet
- Open Magisk
- Start the test
- If it does not pass
Install "Universal SafetyNet Fix" manually
- https://github.com/kdrag0n/safetynet-fix
Reboot
How to do OTAs
- Checking A/B Partitions
- > Install and launch "Treble Check" to see "Seamless System Update (A/B system partition)" result
- https://play.google.com/store/apps/details?id=com.kevintresuelo.treble
"A/B" Devices
- Disable automatic installation of OTAs
- > In "Developer options":
Scroll down to find "Auto Update" option and turn it off
- Allow MIUI to download the last update
- When an OTA is available
First go to Magisk app > Uninstall > Restore Images
- > This will restore partitions modified by Magisk back to stock from backups made at install in order to pass pre-OTA block verifications
- /!\ Do not reboot or you will have Magisk uninstalled
- After restoring stock images
Apply OTA as you normally would
Settings > System > System Update
- /!\ 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
Go to Magisk app > Install > Install to Inactive Slot
- > After installation is done, press the reboot button in the Magisk app
"Non A/B" Devices
- /!\ Unfortunately, there are no real good ways to apply OTAs on these devices
- > You will have to manually re-root your device after the upgrade, and this will require access to a computer
- Get back the stock recovery
You can restore it from your previous backup, or dumps found online, or factory images provided by OEMs
- Télécharger votre ROM pour récupérer le boot.img par défaut
- https://c.mi.com/oc/miuidownload/detail?device=1900400
Download same are yours, me is 13.0.10.0.SKDEUXM
Ouvrez une CMD et rendez vous dans le dossier "adb - platform tools v33.0.2"
adb devices
- > To be sur you see your phone
fastboot flash boot boot_patched.img
- /!\ If you have AB parts (as Xiaomi 11T Pro)
fastboot flash boot_a boot_patched.img
fastboot flash boot_b boot_patched.img
- > After installing new boot, simply reboot
fastboot reboot
- Once you restored back to stock recovery and other images, download the OTA
- Apply the OTA and reboot your device
- > This will use the official stock OTA installation mechanism of your device to upgrade your system
- Once it’s done you will be left with an upgraded, 100% stock, un-rooted device
- > You will have to manually flash Magisk back (patch method)
How to install TWRP (not systemless)
- Download the version for your phone
- Reboot the phone to fastboot (Power + Vol Down)
- Connect the phone to the computer
- Extract the fastboot files and open CMD/Terminal there
- Paste the twrp.img in the same folder
- Type "fastboot boot twrp.img"
- The phone will reboot in TWRP after that go to Advanced > Flash Current TWRP