User Tools

Site Tools


doc:appunti:android:sp_flash_tool

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:android:sp_flash_tool [2020/01/17 15:13] – [The Scatter File] niccolodoc:appunti:android:sp_flash_tool [2023/08/27 11:56] (current) – [SP Flash Tool on GNU/Linux] niccolo
Line 1: Line 1:
 ====== SP Flash Tool on GNU/Linux ====== ====== SP Flash Tool on GNU/Linux ======
  
-**SP flash tool** is an application which mainly helps you to **flash stock ROMs**, **custom ROMs**, **custom recovery**, etc. on Android devices based on the **MTK chipsets**. It can also fix some extreme cases of bricked devices, occured during firmware updates, etc. SmartPhone FlashTool is working with **MediaTek Android smartphones** (**MTK** based). You can download the executable from the **[[https://spflashtool.com/|home page]]**.+**SP flash tool** is an application which mainly helps you to **flash stock ROMs**, **custom ROMs**, **custom recovery**, etc. on Android devices based on the **MTK chipsets**. It can also fix some extreme cases of bricked devices, occured during firmware updates, etc. SmartPhone FlashTool is working with **MediaTek Android smartphones** (**MTK** based). 
 + 
 +You can download the executable from the **[[https://spflashtools.com/|spflashtools.com]]**. :!: **WARNING**: The site is not officially managed by MediaTek, many other sites exist offering the same download (e.g. [[https://spflashtool.com/|spflashtool.com]]), but none seems to be the official one.
  
 The software is **proprietary and closed source**, it is distributed for two platforms: **MS-Windows** and **GNU/Linux**. The software is **proprietary and closed source**, it is distributed for two platforms: **MS-Windows** and **GNU/Linux**.
Line 32: Line 34:
 The most common way to create a scatter file was to use **MTK Droid Tools**, a proprietary, MS-Windows only, software. It seems that that software **does not longer work** with **Android 5.0 Lollipop** and later. The latest MTK Droid Tools is **version 2.5.3**, which is from 2014. The most common way to create a scatter file was to use **MTK Droid Tools**, a proprietary, MS-Windows only, software. It seems that that software **does not longer work** with **Android 5.0 Lollipop** and later. The latest MTK Droid Tools is **version 2.5.3**, which is from 2014.
  
-It seems that the program runs over the ADB (**Android Debug Bridge**), so it requires that the phone is started and running the operating system, and that it has the **USB debugging** enabled. Using the ADB bridge, it should do not require the MTK VCOM drivers, but it requires the **[[https://developer.android.com/studio/run/win-usb|ADB Windows Drivers]]**.+It seems that the program runs over the ADB (**Android Debug Bridge**), so it requires that the phone is started and running the operating system, and that it has the **USB debugging** enabled. Using the ADB bridge, it should do not require the MTK VCOM drivers, but it requires the **[[https://developer.android.com/studio/run/win-usb|ADB Windows Drivers]]**. It seems also that MTK Droid Tool requires **root access** on the phone to achieve all its functions.
  
 **MTK Droid Tools** does indeed runs in **GNU/Linux** using the **[[wp>Wine_(software)|Wine]]** compatibility software, but it **cannot access the USB port** as it requires, so **it is useless**. Some people reported to be able to use the program under a full GNU/Linux virtualization environment (like VirtualBox). **MTK Droid Tools** does indeed runs in **GNU/Linux** using the **[[wp>Wine_(software)|Wine]]** compatibility software, but it **cannot access the USB port** as it requires, so **it is useless**. Some people reported to be able to use the program under a full GNU/Linux virtualization environment (like VirtualBox).
  
 +==== The Miracle Box ====
 +
 +It seems that the preferred tool to read/write firmware on moderm smartphones is the **[[http://www.amiraclebox.com/|Miracle Box]]**. It is a combination of hardware and software, but it seems that there is also a software-only solution, at least accordingly to this post: [[https://forum.hovatek.com/thread-15700.html|Miracle Box / Thunder setup latest versions and drivers]]. Look at this post to get an idea on how to backup a firmware using the Miracle Box: [[https://forum.hovatek.com/thread-13347.html|How to use Miracle Box to backup Mediatek (MTK) firmware]].
 +
 +==== Find the scatter file on the net ====
 +
 +Another approach to obtain the scatter file for your Android device, is to **search the internet** for a **stock ROM** or a **custom ROM** for your exact model. These ROMs are generally shared as archives containing the various images files and the scatter file, usable to flash the images back to the phone (using SP Flash Tool). However, **you should be very careful** before using a scatter file to flash your device; you should check at least that the output of **cat /proc/partitions** to verify that starting address and size does match. Read this page: [[android_partitions#inspecting_partitions_on_the_command_line|Inspecting partitions on the command line]].
 ===== Download ===== ===== Download =====
 +
 +**Download** is the operation of **flashing the memory** of the device with the content of a file that you have on the PC. You must provide the **scatter file** and the program looks in the same directory for all **the image files** it refers.
  
 ^ Download only          | You must choose this option if you **flash selective partitions** e.g. **recovery** only.  | ^ Download only          | You must choose this option if you **flash selective partitions** e.g. **recovery** only.  |
doc/appunti/android/sp_flash_tool.1579270418.txt.gz · Last modified: 2020/01/17 15:13 by niccolo