|
Edited by Edned at 2020-3-2 06:06
Notes for Beginners
1) NEVER EVER use "Format All + Download" mode in SP Flash Tool. This wipes all the phone's NVRAM meaning you'll lose all of your IMEI numbers, loss of fingerprint sensor configs, etc. This CANNOT be reversed. Make a backup of the NVRAM first. Google "Backup NVRAM MediaTek" for extra guidance.
2) Many people seem to believe you can re-lock the bootloader once the new firmware is flashed. This is NOT the case. An unlocked bootloader will cause a Safety Net fail, but Magisk can stop apps from seeing this once installed, so you can use banking apps, etc.
3) When unlocking the bootloader, it wipes ALL USER DATA from the device. Please write a backup to Google or copy your photos/files off the device before doing this.
Unlocking The Bootloader
1) Activate "Developer Options" via: Settings > About Phone > Tap Build Number multiple times
2) Open "Developer Options" in Settings > System > Tap Advanced.
Enable "OEM Unlocking" and enter your password to confirm. Enable "USB Debugging" as well.
3) On Windows, download and install Minimal ADB and Fastboot by shimp208 from HERE.
On Linux, use your packet manager to install android-tools-adb and android-tools-fastboot
4) Open command prompt (Win + R > type cmd) or a terminal on Linux systems.
5) Plug your phone, accept the prompt about adb and the PC signature.
6) Type adb reboot bootloader to reboot in fastboot mode.
THESE NEXT TWO STEPS WILL COMPLETELY WIPE YOUR DATA
7) Unlock the bootloader using fastboot flashing unlock and pressing Vol+
8) Unlock the secure partitions using fastboot flashing unlock_critical and pressing Vol+
9) Restart using fastboot reboot
You will now always see "Orange State" at boot; this is completely fine and will only delay your boot by 5 seconds.
10) Great, we've unlocked the bootloader! All done.
Rooting using Magisk patched "boot.img" File
1) Clean install Umidigi Firmware with SPFT by selecting the scatter file, pressing download an rebooting the phone (Make sure it is in "Download Mode" and not "Format + Download")
2) Patch boot.img by copying it to your device, using Magisk Manager to patch it, and get back the magisk_patched.img in the Download folder back to your PC.
3) Start ADB while booted; run adb reboot bootloader. Alternative is to reboot to recovery and selecting "reboot to bootloader"
4) Unlock if not already done with "fastboot flashing unlock".
You can try without --disable-verity --disable-verification if those commands are not recognised. I have not tested without that.
6) fastboot --disable-verity --disable-verification flash boot magisk_patched.img
7) fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (vbmeta.img from stock)
8) fastboot reboot
9) After rebooting, install Magisk Manager app. It will finalise the installation.
Congratulations, that's everything!
Restoring to Stock Firmware
Visit the ROM section of Umidigi Forums and download the most recent ROM for the device from there and flashing using the SP Flash Tool (Windows Only)
Note: For FULL STOCK experience, re-lock the bootloader. This can be done with the device in fastboot mode (use "adb reboot bootloader"). Once you're in Fastboot mode, run the command "fastboot flashing lock_critical" followed by "fastboot flashing lock". Once that's done, the device will wipe your data once more and then you'll be good to go.
Enjoy! |
|