User Tools

Site Tools


doc:appunti:hardware:android_partitions

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
Next revisionBoth sides next revision
doc:appunti:hardware:android_partitions [2020/01/17 10:21] – [sgdisk] niccolodoc:appunti:hardware:android_partitions [2020/01/17 12:24] – [The Scatter File] niccolo
Line 9: Line 9:
  
 ===== The Scatter File ===== ===== The Scatter File =====
 +
 +A Scatter File is a .txt file which is used to describe **parts of flash memory** in an Android device which is running on a MediaTek’s ARM architecture. Usually, such files are needed at the time of flashing firmware using tools like the **SP Flash Tool**.
 +
 +
 ===== EMMC Regions ===== ===== EMMC Regions =====
  
Line 101: Line 105:
 </code> </code>
  
-Doing the math, you can see that the 23 partitions existing in **mmcblk0** leave some space: One is at the begin, sized 1024 sectors or **524288 (0x80000) bytes**. The other unpartitioned space is at the end, the size can be calculated by the difference of size shown by ''cat /proc/partitions'', it is again **524288 (0x80000) bytes**. Theese two spaces are referred into the scatter file as **pgpt** and **sgpt** respectively (GPT parition tables?).+Doing the math, you can see that the 23 partitions existing in **mmcblk0** leave some space: One is at the begin, sized 1024 sectors or **524288 (0x80000) bytes**. The other unpartitioned space is at the end, the size can be calculated by the difference of size shown by ''cat /proc/partitions'', it is again **524288 (0x80000) bytes**. Theese two spaces are referred into the scatter file as **pgpt** and **sgpt** respectively (primary and secondary GPT parition tables?).
 ==== /dev/block/mmcblk0boot0 ==== ==== /dev/block/mmcblk0boot0 ====