<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.theiphonewiki.com/w/index.php?action=history&amp;feed=atom&amp;title=FTAB_File_Format</id>
	<title>FTAB File Format - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.theiphonewiki.com/w/index.php?action=history&amp;feed=atom&amp;title=FTAB_File_Format"/>
	<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=FTAB_File_Format&amp;action=history"/>
	<updated>2026-05-12T18:08:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.14</generator>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=FTAB_File_Format&amp;diff=125747&amp;oldid=prev</id>
		<title>Turbocooler: Created page with &quot;The '''FTAB''' file format is mostly found in firmware of some Apple accessories (notably AirPods, probably others), but is also present in IPSW images for devices wit...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=FTAB_File_Format&amp;diff=125747&amp;oldid=prev"/>
		<updated>2022-11-06T18:54:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;#039;&amp;#039;&amp;#039;FTAB&amp;#039;&amp;#039;&amp;#039; file format is mostly found in firmware of some Apple accessories (notably &lt;a href=&quot;/wiki/AirPods&quot; class=&quot;mw-redirect&quot; title=&quot;AirPods&quot;&gt;AirPods&lt;/a&gt;, probably others), but is also present in &lt;a href=&quot;/wiki/IPSW&quot; class=&quot;mw-redirect&quot; title=&quot;IPSW&quot;&gt;IPSW&lt;/a&gt; images for devices wit...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The '''FTAB''' file format is mostly found in firmware of some Apple accessories (notably [[AirPods]], probably others), but is also present in [[IPSW]] images for devices with an Ultra Wideband chip. It represents a collection of images addressed by 4-byte tags and optionally provides an [[IMG4]] manifest with the signature of its contents.&lt;br /&gt;
&lt;br /&gt;
== Structure ==&lt;br /&gt;
&lt;br /&gt;
A FTAB file starts with a fixed-size header followed by a list of segments, concatenated segment contents and optionally an [[IMG4]] manifest. The header structure is as follows (all integers are little-endian):&lt;br /&gt;
&lt;br /&gt;
 // unk_* fields are ignored by all the available parsers at the time of writing.&lt;br /&gt;
 struct ftab_header {&lt;br /&gt;
     uint32_t unk_0; // has different values for different devices&lt;br /&gt;
     uint32_t unk_1; // = 0xFFFFFFFF&lt;br /&gt;
     uint32_t unk_2; // = 0&lt;br /&gt;
     uint32_t unk_3; // = 0&lt;br /&gt;
     uint32_t ticket_offset; // offset of the manifest from the start of the file if one is included or 0&lt;br /&gt;
     uint32_t ticket_length; // length of the manifest if one is included or 0&lt;br /&gt;
     uint32_t unk_4; // = 0&lt;br /&gt;
     uint32_t unk_5; // = 0&lt;br /&gt;
     uint8_t magic[8]; // = &amp;quot;rkosftab&amp;quot;&lt;br /&gt;
     uint32_t segments_count; // the number of segment headers&lt;br /&gt;
     uint32_t unk_6; // = 0&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
A list of segment headers directly follows the FTAB header:&lt;br /&gt;
&lt;br /&gt;
 struct segment_header {&lt;br /&gt;
     uint8_t tag[4]; // The 4-byte tag corresponding to the segment.&lt;br /&gt;
     uint32_t offset; // Offset of the segment from the start of the file.&lt;br /&gt;
     uint32_t length; // Length of the segment.&lt;br /&gt;
     uint32_t unk; // = 0&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
Segment starts are aligned to a 4-byte boundary. Ticket is, however, not aligned.&lt;br /&gt;
&lt;br /&gt;
== Tools ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/turbocool3r/ftabutil ftabutil]: a dumper/builder for FTAB files.&lt;br /&gt;
* [https://github.com/19h/ftab-dump ftab-dump]: dumps contents of a FTAB file into a directory.&lt;/div&gt;</summary>
		<author><name>Turbocooler</name></author>
		
	</entry>
</feed>