There’s two methods, use this script, or use the installer.
I assume you unlocked the bootloader, and have mtkbootcmd.py working, if not see here.
What you need:
- mtkclient-gui
- mtkbootcmd.py
- SDK Platform Tools
- Script or installer
- boot.img (Not needed if you download the script.)
To use the installer:
All is done in the folder you put the script, and/or mtkbootcmd.py.
- Backup your device with mtkclient-gui, go to read partitions and select all, then uncheck userdata, unless you have userdata you want. (To get mtkclient-gui to see your phone, turn it off, and plug it in.)
- . venv/bin/activate
- python3 mtkbootcmd.py FASTBOOT (To get into fast boot, run the command, turn Rabbit r1 off, unplug it, and plug back in)
- Use the installer until it reboots it, and it says waiting for device.
- Most likely a boot loop, click the reset button
- python3 mtkbootcmd.py FASTBOOT
- fastboot flash boot_a boot.img
- fastboot flash boot_b boot.img
- fastboot recovery
Script:
- python3 mtkbootcmd.py FASTBOOT (To get into fast boot, run the command, turn Rabbit r1 off, unplug it, and plug back in)
- ./flash.sh, in the folder you extract the script archive to.
The script is less work.
You can always run python3 mtkbootcmd.py FASTBOOT to get back into fastboot if you need to, and don’t forget the reset button.
You will have to mess with unplugging it and back in, not hard, but it requires it a lot.
Perhaps if you unlock the bootloader the official way, you don’t need the python script. But I don’t want their OS, or to make an account.