doc:appunti:android:sp_flash_tool
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:android:sp_flash_tool [2020/01/13 11:08] – [Problem: Trying to sync with the target...] niccolo | doc:appunti:android:sp_flash_tool [2020/01/17 14:49] – [MTK Droid Tools] 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 | + | **SP flash tool** is an application which mainly helps you to **flash |
The software is **proprietary and closed source**, it is distributed for two platforms: **MS-Windows** and **GNU/ | The software is **proprietary and closed source**, it is distributed for two platforms: **MS-Windows** and **GNU/ | ||
Line 23: | Line 23: | ||
The normal workflow with **SP Flash Tool** is to **initiate the required operation** (// | The normal workflow with **SP Flash Tool** is to **initiate the required operation** (// | ||
+ | |||
+ | ===== The Scatter File ===== | ||
+ | |||
+ | To perform upload (flashing) and readback (backup) of partitions using SP Flash Tool, you need a **scatter file** specifically written for your device. See this paragrah for more info: [[android_partitions# | ||
+ | |||
+ | ==== MTK Droid Tools ==== | ||
+ | |||
+ | The most common way to create a scatter file was to use **MTK Droid Tools**, a proprietary, | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | **MTK Droid Tools** does indeed runs in **GNU/ | ||
+ | |||
+ | ==== The Miracle Box ==== | ||
+ | |||
+ | It seems that the preferred tool to read/write firmware on moderm smartphones is the **[[http:// | ||
+ | |||
+ | |||
+ | ===== Download ===== | ||
+ | |||
+ | ^ Download only | You must choose this option if you **flash selective partitions** e.g. **recovery** only. | | ||
+ | ^ Firmware Upgrade | ||
+ | ^ Format All + Download | ||
===== Problem: Trying to sync with the target... ===== | ===== Problem: Trying to sync with the target... ===== | ||
Line 35: | Line 58: | ||
connect DA end stage: 2, enable DRAM in 1st DA: 0 | connect DA end stage: 2, enable DRAM in 1st DA: 0 | ||
COM port is open. Trying to sync with the target... | COM port is open. Trying to sync with the target... | ||
+ | </ | ||
+ | |||
+ | If you wait enough time, an **error** is displayed in a **dialog box**: | ||
+ | |||
+ | < | ||
+ | ERROR : S_FT_DA_NO_RESPONSE (4001) | ||
+ | DA didn't send response data to FlashTool! | ||
</ | </ | ||
Line 53: | Line 83: | ||
</ | </ | ||
+ | ===== Problem: PMT changed for the ROM ===== | ||
+ | |||
+ | < | ||
+ | PMT changed for the ROM; it must be downloaded. | ||
+ | Please select " | ||
+ | </ | ||
+ | |||
+ | The problem can arise if you try to **download** (flash) a partition using a **scatter file** which **differs** from the one used during **readback**. | ||
===== Web References ===== | ===== Web References ===== | ||
* **[[https:// | * **[[https:// |
doc/appunti/android/sp_flash_tool.txt · Last modified: 2023/08/27 09:56 by niccolo