[Samsung Galaxy Note 8 ROMs, Kernels, Recoveries, &] BigCountry907:
Example data in unmaarked partition

Just to give you guys a better idea of what im talking about.

If you use PIT Magick you can analyze the partition information table file.

From that we get theese entries in the beginning of /dev/block/sda.

Binary Type: 0 (UNKNOWN)
Device Type: 8 (UNKNOWN)
Identifier: 71
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
[COLOR="SeaGreen"]Block Size: 6[/COLOR]
[COLOR="seagreen"]Block Count: 2[/COLOR]
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PIT
Flash FileName: MSM8996.pit
FOTA FileName:

Binary Type: 0 (UNKNOWN)
Device Type: 8 (UNKNOWN)
Identifier: 72
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
[COLOR="seagreen"]Block Size: 8[/COLOR]
[COLOR="seagreen"]Block Count: 256[/COLOR]
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MD5
Flash FileName: md5.img
FOTA FileName:

Binary Type: 0 (UNKNOWN)
Device Type: 8 (UNKNOWN)
Identifier: 70
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
[COLOR="seagreen"]Block Size:
Block Count: 6[/COLOR]
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PGPT0
Flash FileName: pgpt0.img
FOTA FileName:

Now the BLOCK SIZE is actually the start block address of that file / partition

The BLOCK COUNT is the number of blocks that the file or partition occupies.

So Primary_GPT (pgpt0.img) is the primary partition table for /dev/block/sda

it starts on the first block (there is no zero so block count+1=start block) and is 6 blocks total.

Block Count times 4 = number of kb.

6*4=24 and yes the pgpt0.img is 24kb in size.

Next comes pit. MSM8996.pit

It starts on block 7 (6+1=7)

It is 2 blocks long. (4*2=8) MSM8996.pit is 8kb in size.

The pit file comes right after gpt file.

Next is the MD5

It starts on block 9 (8+1=9)

It is 256 blocks long. (4*256=1024) MD5.img is 1024kb in size.

So all together

pgpt0.img = 6 blocks MSM8996.pit = 2 Blocks and MD5.img=256 Blocks

6+2+256=264

Modemstring1 starts on block 264.

Label =	PROGRAM START SECTOR	CAN CALCULATE # OF SECTORS	num_partition_sectors =	size_in_KB =	start_byte_hex =	physical_partition_number =	Sparse =	Readbackverify =	partofsingleimage =	SECTOR_SIZE_IN_BYTES =	file_sector_offset =

modemst1	264	775	512	2048.0	0x108000	0	FALSE	FALSE	4096	0

Binary Type: 0 (UNKNOWN)
Device Type: 8 (UNKNOWN)
Identifier: 1
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 264
Block Count: 512
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MODEMST1
Flash FileName: nvrebuild1.bin
FOTA FileName:

There is no MD5.img in any firmware out there.

That is the data my flash is missing.

I believe that the MD5 is used by odin but also has other data in it like the

This is provided by first programming authentication key information to the eMMC memory (shared secret).

It is a possibility.

That's 256 blocks of data that my device is missing and nothing will flash it there.

256 X 4 =1024 kb.

Thats why i need

dd if=/dev/block/sda of=/sdcard/sdatest.img bs=1024 count=1060

1060 * 1024 = 1060 KB of data. It should have all of the above and the first couple blocks of modemstring1.