I used Stock ROM for a long time so I forgot how to flash Evolution X by using twrp. Sorry this note is only for flash EvoX, not for flash both Magisk and EvoX.
This is my note shows that how I succeeded to flash Evolution X. I don't know other way better than mine but I can say this note works correctly in my environment.
Set up
- Install Essential-PH1-WindowsDrivers.exe
- Enable ADB/FASTBOOT
- Already unlocked bootloader
You need
- PH1-Images-QQ1A.200105.007.zip
- twrp-3.2.3-0-mata.img
- Build of Evolution X
Step
$ adb reboot bootloader
Unzip PH1-Images-QQ1A.200105.007.zip and double click 'flashall.bat' to start downgrade to QQ1A.200105.007 which is 2020-Jan Stock ROM. After reboot, set the device to enable ADB.
$ adb reboot bootloader
$ fastboot getvar current-slot
current-slot: _b
# If 'current-slot: _a', you should need to read a as b, b as a.
$ fastboot flash boot_a twrp-3.2.3-0-mata.img
$ fastboot --set-active=a
Choose and boot recovery. Than TWRP will start. The issue that touch is not working is known issue, don't care about it.
$ adb shell twrp sideload
$ adb sideload EvolutionX_4.6_mata-10.0-20200809-1528-OFFICIAL.zip
Terminal will say the sideloading finished or Failed. If failed. just do again from '$ adb shell twrp sideload'. My environment, the progress stop at 47% but the flashing seems successful.
After you succeeded to flash EvoX, you should go to recovery again, recovery is not twrp, it is EvoX custom recovery, and do factory reset.