diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-09-15 15:35:47 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-09-15 15:37:31 +0200 |
commit | dc4192c4dafa767b2ce746bcf8c00f617d71f20f (patch) | |
tree | 08e93dc0eae54b33f53c7f253c70c67afbd5d8cd | |
parent | d67c6aff24a5554eba6675397c39814d5c8286c3 (diff) | |
download | vendor_replicant-data-dc4192c4dafa767b2ce746bcf8c00f617d71f20f.tar.gz vendor_replicant-data-dc4192c4dafa767b2ce746bcf8c00f617d71f20f.tar.bz2 vendor_replicant-data-dc4192c4dafa767b2ce746bcf8c00f617d71f20f.zip |
Add Galaxy SIII (GT-I9300) TOC
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | TOC/GT-I9300/stock/GT-I9300.toc | bin | 0 -> 4096 bytes | |||
-rw-r--r-- | TOC/README.txt | 52 |
2 files changed, 52 insertions, 0 deletions
diff --git a/TOC/GT-I9300/stock/GT-I9300.toc b/TOC/GT-I9300/stock/GT-I9300.toc Binary files differnew file mode 100644 index 0000000..4ae16c6 --- /dev/null +++ b/TOC/GT-I9300/stock/GT-I9300.toc diff --git a/TOC/README.txt b/TOC/README.txt new file mode 100644 index 0000000..dc5c58d --- /dev/null +++ b/TOC/README.txt @@ -0,0 +1,52 @@ +== 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. |