Sunday, February 1, 2026

SP Flash Tool segmentation fault on Kubuntu 24.04

Can't readback large ROMs from phone? Solution:

1. Disable ModemManager

Linux's ModemManager often tries to grab the phone's port because it detects a serial device (/dev/ttyACM0). This causes the connection to drop and SP Flash Tool to crash.

Temporarily stop :

    sudo systemctl stop ModemManager

    sudo systemctl disable ModemManager

2. Check udev Rules

Kubuntu needs to be told to ignore the MediaTek device to prevent the kernel from interfering.

Create a new udev rule file:

    sudo nano /etc/udev/rules.d/20-mm-blacklist-mtk.rules

Add this line to tell ModemManager to ignore your device:

    ATTRS{idVendor}=="0e8d", ENV{ID_MM_DEVICE_IGNORE}="1"

    Add another rule for user permissions:

    SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", MODE="0666"

Reload rules:

    sudo udevadm control --reload-rules

    sudo udevadm trigger