Search blog

Saturday, January 6, 2018

Install & Use SP Flash Tool in Linux/Ubuntu Systems

>> Download Links:

 You can also follow the tutorial here:, and I strongly recommend you to follow the steps there. Below, I will point out the main step you have to note, from the above tutorial, for a successful installation, and that step is Step 4 which reads as follows:

"Now we come to the interesting part, which cost me 2 weeks of (futile) research and frustration. Finally I found Sergio Riveros tutorial on mibqyyo. Thanks to him again and again and again for this priceless piece of information.

"The 'modemmanager' package integrated by default within Linux Ubuntu 14.04 and later is not compatible with the MTK Flash Tool for Linux."

To put it in different words: The modem manager controls port /dev/ttyACM0 and disables the Flash Tool. So we blacklist it for the two MTK vendor IDs the flash tool uses:
 sudo gedit /etc/udev/rules.d/20-mm-blacklist-mtk.rules  
You insert these two lines:
 ATTRS{idVendor}=="0e8d", ENV{ID_MM_DEVICE_IGNORE}="1"  
 ATTRS{idVendor}=="6000", ENV{ID_MM_DEVICE_IGNORE}="1"  
Save the file, exit and restart udev:
 sudo service udev restart  
Switch your phone on (fastboot mode will suffice) and off again."

 >> Watch the video below to learn how to use the SP Flash Tool in Linux:

For list of SP Flash Tool - Errors, their meanings and how to resolve them, you may check the following link:


  1. cannot execute binary file: Exec format error

    is the error ,i am getting when i tried on my pi,linux arm based 32 bit

    1. It's because pi has arm processor while this tool is made for x86 and x64 processors, maybe check box86 and box64 projects on github, both may help u out ;)

  2. Replies
    1. Go to the file and right click and click on properties then click on permissions and click Allow executing file as program and Boom!

  3. Hey how do I install mtk, SPD, Qualcomm, Samsung and many other phone drivers on Debian based Linux to be specific Kali Linux.

  4. I need help I can't runn the spflashtool my email I can pay for your time


Thank you for your Feedback!

Top 5 Posts (Weekly)