So, a safe jailbreak for MediaTek-based KaiOS phones (without tampering any boot or system partitions) has been made possible thanks to the cache injection method. Unlike others, it doesn't even require factory reset and gives full privileged developer access (allowing to use, for instance, OmniSD and so on).
Use this archive:
https://cloud.disroot.org/s/JBTFz7DZ6D4Gspt/download (SHA256: b54321675b458166cb6b561955821aa5fa6a576c675064829ef2857c987c1a63)
Steps:
1. Install ADB and Fastboot. Install necessary drivers if on Windows.
2. Put the phone into the Fastboot mode. Do the following steps (2.1 to 2.3) if your phone does not have Fastboot key combination:
2.1. Install Python 3 and pyserial as the dependency. Install necessary MediaTek serial port drivers if on Windows.
2.2. Determine which port appears in /dev (on Linux/Mac) or in COMx (on Windows) when you connect the
turned-off device to PC and repeatedly short-press the End key.
2.3. Put the phone into the Fastboot mode with the following command (the script is in the archive):
python3 mtk-bootseq.py FASTBOOT your_port (where your_port is the port you detected at the previous step)
3. Flash the prepared cache image (the image is in the archive):
fastboot flash cache cache-jb.img -u4. Reconnect the USB cable and perform NORMAL reboot:
fastboot reboot5. Verify that the Developer menu is in place (Settings - Device - Developer).
6. Verify that you can get into ADB by first selecting the "ADB only" and then "ADB and DevTools" debug mode.
7. Reboot the system into recovery - use the combination for your device to get into it, or enable ADB+DevTools access and run:
adb reboot recovery 8. Reset the cache partition: find and select the "wipe cache partition" item in your stock recovery menu.
9. Reboot back into the system and you'll have full developer access until the next factory reset!
P.S. Theoretically, this method can also work on non-MediaTek devices (Spreadtrum or even Qualcomm) as long as you can put them into Fastboot mode and run the fastboot flash cache cache-jb.img -u command.