== Description == The TOC is a partition table found inside the modem firmware of various Samsung Smartphones and tablets running Android. That partition table has information like the name of the partition and its size. Thanks to a blog post by by Tony Garnock-Jones[1], we now know the name of that partition table as in the Galaxy S7 (herolte), there is an entry for the modem partition table itself in the modem partition table: 00000000: 544f 4300 0000 0000 0000 0000 0000 0000 TOC............. ----------------------------- --------- name offset 00000010: 0000 0000 0002 0000 0000 0000 0100 0000 ................ --------- --------- --------- --------- loadadr size crc count/entryid 00000020: 424f 4f54 0000 0000 0000 0000 0002 0000 BOOT............ 00000030: 0000 0040 6425 0000 0888 f1a2 0000 0000 ...@d%.......... 00000040: 4d41 494e 0000 0000 0000 0000 8027 0000 MAIN.........'.. 00000050: 0000 0140 6cc4 6202 51b1 c353 0200 0000 ...@l.b.Q..S.... 00000060: 4e56 0000 0000 0000 0000 0000 0000 0000 NV.............. 00000070: 0000 ee47 0000 1000 0000 0000 0300 0000 ...G............ 00000080: 4f46 4653 4554 0000 0000 0000 00aa 0700 OFFSET.......... 00000090: 0000 0000 0056 0800 0000 0000 0400 0000 .....V.......... Here we can clearly see here that the first partition ia named TOC. This dump comes from Tony's blog post. More information seem to be added over time: - On devices like the Galaxy Nexus (GT-I9250) or the Galaxy SII (GT-I9100), the TOC partition table doesn't seem to exist as the first partition starts at the offset 0. - On devices like the Galaxy SIII (GT-I9100), the TOC partition table doesn't have an entry for itself. References: ----------- [1]https://eighty-twenty.org/2020/09/10/booting-samsung-galaxy-s7-modem == Devices without a partition table == The following devices don't seem to have a partition table as the first partition starts at the offset 0: - Galaxy S (GT-I9000) - Galaxy SII (GT-I9100) - Galaxy Note (GT-N7000) - Galaxy Nexus (GT-I9250) - Nexus S (GT-I9020, GT-I9020A, GT-I9023) == Thanks == Before Tony Garnock-Jones's blog post, we had much more partial information on this partition table.