Currently only for MT6260/MT6261 chipset. You can edit the code to work with other MediaTek chipsets.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, USE AT YOUR OWN RISK!
There are two options:
- Using
libusb
for Linux and Windows (MSYS2):
Usemake
,libusb/libusb-dev
packages must be installed.
- For Windows users - please read how to install a driver for
libusb
.
- Using the USB serial, Linux only and doesn't work with smartphones:
Usemake LIBUSB=0
. If you're using this mode, you must initialize the USB serial driver before using the tool (every boot):
$ sudo modprobe ftdi_sio
$ echo 0e8d 0003 | sudo tee /sys/bus/usb-serial/drivers/generic/new_id
- On Linux you must run the tool with
sudo
, unless you are using special udev rules (see below).
Run this command and connect your device to USB:
$ sudo ./mtk_dump connect show_flash 1 read32 0 0x400000 dump.bin
- Where 0x400000 (4MB) is the expected length of flash in bytes (may be more or less).
- An example payload is here (you can read the BROM with it).
If you create /etc/udev/rules.d/80-spd-mtk.rules
with these lines:
# Spreadtrum
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1782", ATTRS{idProduct}=="4d00", MODE="0666", TAG+="uaccess"
# MediaTek
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="0003", MODE="0666", TAG+="uaccess"
...then you can run mtk_dump
without root privileges.
- As you can see this file for both Spreadtrum and MediaTek chipsets.
You can build the tool with libusb
method: make LIBUSB=1
For Linux users, this method doesn't require the ftdi_sio
kernel module, but libusb/libusb-dev
packages must be installed.
For Windows users, this method is the only one available, should also require drivers (the same as needed for flashing tools).
- Fernly - some of the MT6260 reversed
- MTKClient - tools for many MTK chipsets (in Python)
- decompressor for ALICE chunks in the firmware (in Python)
- Also I have the tool for Spreadtrum chipsets.