<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.t-hack.com/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.t-hack.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Is0-mick</id>
		<title>t-hack.com - Hack X300T / X301T - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.t-hack.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Is0-mick"/>
		<link rel="alternate" type="text/html" href="http://www.t-hack.com/wiki/index.php?title=Special:Contributions/Is0-mick"/>
		<updated>2026-05-15T08:39:54Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.2</generator>

	<entry>
		<id>http://www.t-hack.com/wiki/index.php?title=Remote_Debugging</id>
		<title>Remote Debugging</title>
		<link rel="alternate" type="text/html" href="http://www.t-hack.com/wiki/index.php?title=Remote_Debugging"/>
				<updated>2008-09-09T17:37:20Z</updated>
		
		<summary type="html">&lt;p&gt;Is0-mick: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Copy these files to the box.&lt;br /&gt;
they need to go into the folder&lt;br /&gt;
\hard disk\win&lt;br /&gt;
&lt;br /&gt;
[win.rar:http://www.t-hack.com/wiki/images/7/72/Win.rar]&lt;/div&gt;</summary>
		<author><name>Is0-mick</name></author>	</entry>

	<entry>
		<id>http://www.t-hack.com/wiki/index.php?title=Remote_Debugging</id>
		<title>Remote Debugging</title>
		<link rel="alternate" type="text/html" href="http://www.t-hack.com/wiki/index.php?title=Remote_Debugging"/>
				<updated>2008-09-09T17:36:47Z</updated>
		
		<summary type="html">&lt;p&gt;Is0-mick: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Copy these files to the box.&lt;br /&gt;
they need to go into the folder&lt;br /&gt;
\hard disk\win&lt;br /&gt;
&lt;br /&gt;
[http://www.t-hack.com/wiki/images/7/72/Win.rar]&lt;/div&gt;</summary>
		<author><name>Is0-mick</name></author>	</entry>

	<entry>
		<id>http://www.t-hack.com/wiki/index.php?title=File:Win.rar</id>
		<title>File:Win.rar</title>
		<link rel="alternate" type="text/html" href="http://www.t-hack.com/wiki/index.php?title=File:Win.rar"/>
				<updated>2008-09-09T17:35:37Z</updated>
		
		<summary type="html">&lt;p&gt;Is0-mick: debug files&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;debug files&lt;/div&gt;</summary>
		<author><name>Is0-mick</name></author>	</entry>

	<entry>
		<id>http://www.t-hack.com/wiki/index.php?title=Remote_Debugging</id>
		<title>Remote Debugging</title>
		<link rel="alternate" type="text/html" href="http://www.t-hack.com/wiki/index.php?title=Remote_Debugging"/>
				<updated>2008-09-09T17:34:43Z</updated>
		
		<summary type="html">&lt;p&gt;Is0-mick: New page: Copy these files to the box. they need to go into the folder \hard disk\win&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Copy these files to the box.&lt;br /&gt;
they need to go into the folder&lt;br /&gt;
\hard disk\win&lt;/div&gt;</summary>
		<author><name>Is0-mick</name></author>	</entry>

	<entry>
		<id>http://www.t-hack.com/wiki/index.php?title=Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.t-hack.com/wiki/index.php?title=Main_Page"/>
				<updated>2008-09-09T17:34:05Z</updated>
		
		<summary type="html">&lt;p&gt;Is0-mick: /* Software */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''Willkommen zum Wiki von t-hack.com'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Das t-hack.com - Projekt wurde am 14. Dezember 2007 ins Leben gerufen, um eine alternative Software für die Multimedia-Box X300T bzw. X301T zu entwickeln bzw. die originale zu verbessern ;)&lt;br /&gt;
&lt;br /&gt;
'''Das Wiki ist zum Schutz vor Spambots nur von registrierten Usern nutzbar.'''&lt;br /&gt;
&lt;br /&gt;
'''You are able to upload files with following extension:&lt;br /&gt;
png, gif, jpg, jpeg, zip, rar, pdf, ace'''&lt;br /&gt;
&lt;br /&gt;
Besuchen Sie auch das [http://www.t-hack.com/forum t-hack-Forum]&lt;br /&gt;
&lt;br /&gt;
The hardware seems very similar to the Philips DIT9719, which is widely available in the UK as the BT Vision box.  With luck a bit of common effort will get a usable system.&lt;br /&gt;
== Momentaner Status (August 2008)==&lt;br /&gt;
'''Linux'''&lt;br /&gt;
* Linux kann auf der Box gebootet werden, da aber immernoch keine Microcodes geladen werden können macht das wenig Sinn (Keine Ausgabe von Bild/Ton möglich).&lt;br /&gt;
&lt;br /&gt;
'''Windows CE'''&lt;br /&gt;
* Es ist möglich eigene native Anwendungen als auch .net-basierende Anwendungen auf der Box auszuführen und mit MSVC2005 zu debuggen.&lt;br /&gt;
&lt;br /&gt;
Konkret heisst das : &amp;lt;b&amp;gt;Beliebigen eigenen Code auf der Box ausführen !&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;Keine&amp;lt;/u&amp;gt; der Änderungen sind ohne &amp;quot;Modchip&amp;quot; permanent, &amp;lt;u&amp;gt;jegliche&amp;lt;/u&amp;gt; Modifikationen setzen das Löten an der Box und das zumindest einmalige Ausbauen der Festplatte voraus !&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*[[Versions X300T/X301T]]&lt;br /&gt;
*[[SMP8634]]&lt;br /&gt;
*[[Picture]]&lt;br /&gt;
*[[Schematic/Boardlayout]]&lt;br /&gt;
*[[eJTAG|eJTAG on PCB]]&lt;br /&gt;
*[[eJTAG on SMP]]&lt;br /&gt;
*[[UART0|Serial Debug Port]]&lt;br /&gt;
*[[Display]]&lt;br /&gt;
&lt;br /&gt;
==Software==&lt;br /&gt;
*[[Tools]]&lt;br /&gt;
**[[Dump X300T Bootloader]]&lt;br /&gt;
**[[Disable X300T Signature Check]]&lt;br /&gt;
**[[Upload YAMON]]&lt;br /&gt;
**[[NK.BIN_toolset]]&lt;br /&gt;
**[[MakeNK]]&lt;br /&gt;
**[[Download Update Files]]&lt;br /&gt;
**[[NK.BIN Patcher]]&lt;br /&gt;
**[[Debug Files for remote debugging]]&lt;br /&gt;
*[[Boot Process]]&lt;br /&gt;
*[[Bootstrap-Message]]&lt;br /&gt;
*[[HDD-Layout]]&lt;br /&gt;
*[[Network-Bootstrap]]&lt;br /&gt;
*[[TV2ClientCE.exe]]&lt;br /&gt;
*[[BooterCE.exe]]&lt;br /&gt;
*[[TFTP]]&lt;br /&gt;
===WinCE===&lt;br /&gt;
*[[Disable TrustModel]]&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
*[[Toolchain]]&lt;br /&gt;
*[[Howto boot Linux]]&lt;br /&gt;
*[[Setup NFS-Root-Filesystem]]&lt;br /&gt;
*[[fli4l]]&lt;br /&gt;
**[[Grundinformationen]]&lt;br /&gt;
**[[Wir legen los]]&lt;br /&gt;
**[[Konfiguration anpassen]]&lt;br /&gt;
**[[Wichtige Links]]&lt;br /&gt;
**[[ein Wort in eigener Sache]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*[[some additional output regarding Linux]]&lt;br /&gt;
&lt;br /&gt;
==Filesystem==&lt;br /&gt;
*[[NK.BIN]]&lt;br /&gt;
&lt;br /&gt;
==Unsorted information==&lt;br /&gt;
*[[Bootlog??|Bootlog of Beta X300T]]&lt;br /&gt;
*[[x300tBeta|Flash dump of Beta X300T]]&lt;br /&gt;
*[[Workaround, damit mehrere Settopboxen im Netz sind und die Timeshift-Funktion erhalten bleibt]]&lt;br /&gt;
*[[PKG.DIR]]&lt;/div&gt;</summary>
		<author><name>Is0-mick</name></author>	</entry>

	<entry>
		<id>http://www.t-hack.com/wiki/index.php?title=Disable_TrustModel</id>
		<title>Disable TrustModel</title>
		<link rel="alternate" type="text/html" href="http://www.t-hack.com/wiki/index.php?title=Disable_TrustModel"/>
				<updated>2008-08-10T19:10:33Z</updated>
		
		<summary type="html">&lt;p&gt;Is0-mick: /* to to fix it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==WinCE Trust Model==&lt;br /&gt;
The WinCE Kernel has an option to verify exe and dll files before they are allowed to start.&lt;br /&gt;
&lt;br /&gt;
since IPTV firmware 1.2.xxxx this has been enabled. Although they screwed up the verification ;)&lt;br /&gt;
&lt;br /&gt;
it is even metioned in the source code of loader.c of the kernel.&lt;br /&gt;
&lt;br /&gt;
    // for files in ROM -- fully trusted unless specified otherwise in the flag&lt;br /&gt;
    // NOTE: we perform the test before testing pOEMLoadInit/pOEMLoadModule so&lt;br /&gt;
    //       OEM can have a close system with trusted model without implementing&lt;br /&gt;
    //       pOEMLoadInit/pOEMLoadModule. However, if an OEM has RAM filesys, he&lt;br /&gt;
    //       must implement the functions or files in RAM will be fully trusted.&lt;br /&gt;
&lt;br /&gt;
this basically means that any file can be executed when /windows is writeable. &lt;br /&gt;
but the space in /windows folder is too limited for bigger applications and it wastes precious RAM.&lt;br /&gt;
&lt;br /&gt;
==how it works==&lt;br /&gt;
when the kernel wants to load a binary, it calls the VerifyBinary() method.&lt;br /&gt;
the VerifyBinary() method in the nk.exe calls the CertVerify() method of filesys.exe which forwards&lt;br /&gt;
the call to certmod.dll CertVerify() if that exists. &lt;br /&gt;
&lt;br /&gt;
when all these calls returned without error, then the binary is actually loaded and executed.&lt;br /&gt;
&lt;br /&gt;
certmod.dll was added in IPTV firmware 1.2.&lt;br /&gt;
&lt;br /&gt;
==to to fix it==&lt;br /&gt;
the trust model can be easily killed.&lt;br /&gt;
either certmod.dll, filesys.exe or nk.exe can be patched.&lt;br /&gt;
&lt;br /&gt;
patching nk.exe is the easiest, because it is stored uncompressed in the nk.bin.&lt;br /&gt;
&lt;br /&gt;
the VerifyBinary() method can be found with IDA Pro when searching for &lt;br /&gt;
&lt;br /&gt;
   li      $v0, 0x80090006&lt;br /&gt;
&lt;br /&gt;
the constant is NTE_BAD_SIGNATURE, which is returned when the binary is untrusted.&lt;br /&gt;
&lt;br /&gt;
first part to be patched is found at the beginning of the method:&lt;br /&gt;
   .text:91E08CC8                 sw      $s4, 0x450+arg_C($sp)&lt;br /&gt;
   .text:91E08CCC                 sw      $s5, 0x450+arg_8($sp)&lt;br /&gt;
   .text:91E08CD0                 move    $s7, $a1&lt;br /&gt;
   .text:91E08CD4                 andi    $v1, $v0, 2&lt;br /&gt;
   .text:91E08CD8                 beqz    $v1, loc_91E08D58       //  &amp;lt;--- this jumps to the Kernel Flag check&lt;br /&gt;
   .text:91E08CDC                 sw      $0, 0x450+var_430($sp)&lt;br /&gt;
the &amp;quot;beqz&amp;quot; needs to be changed to a &amp;quot;b&amp;quot; so that we always get to the kernel flag check&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
so this is the kernel flag check:&lt;br /&gt;
   .text:91E08D58 loc_91E08D58:                            # CODE XREF: VerifyBinary+4C�j&lt;br /&gt;
   .text:91E08D58                 li      $v0, 0x91E0101C&lt;br /&gt;
   .text:91E08D60                 lw      $t3, 0($v0)&lt;br /&gt;
   .text:91E08D64                 lw      $t4, 0x34($t3)&lt;br /&gt;
   .text:91E08D68                 andi    $t5, $t4, 0x10&lt;br /&gt;
   .text:91E08D6C                 beqz    $t5, loc_91E08D80    // binary doesnt have Kernel flag so jump to next check&lt;br /&gt;
   .text:91E08D70                 nop&lt;br /&gt;
   .text:91E08D74                 li      $t6, 1              // binary has Kernel Flag, so KERN_TRUST_RUN is set&lt;br /&gt;
   .text:91E08D78                 b       loc_91E08EF8        // and jump to exit code&lt;br /&gt;
   .text:91E08D7C                 sb      $t6, 0($s5)&lt;br /&gt;
&lt;br /&gt;
here we only need to &amp;quot;nop&amp;quot; out the beqz, so that all binaries get kernel permissions :)&lt;br /&gt;
to make things even better, the &amp;quot;li  $t6, 1&amp;quot; should be changed to &amp;quot;li  $t6, 2&amp;quot; which means the &lt;br /&gt;
binary gets KERN_TRUST_FULL permissions (the highest trust level)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this is work in progress. I just wanted to write stuff down&lt;br /&gt;
&lt;br /&gt;
Program to patch the NK.BIN and fix the checksum&lt;br /&gt;
**[[NK.BIN Patcher]]&lt;/div&gt;</summary>
		<author><name>Is0-mick</name></author>	</entry>

	<entry>
		<id>http://www.t-hack.com/wiki/index.php?title=Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.t-hack.com/wiki/index.php?title=Main_Page"/>
				<updated>2008-08-10T19:09:02Z</updated>
		
		<summary type="html">&lt;p&gt;Is0-mick: /* Software */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''Willkommen zum Wiki von t-hack.com'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Das t-hack.com - Projekt wurde am 14. Dezember 2007 ins Leben gerufen, um eine alternative Software für die Multimedia-Box X300T bzw. X301T zu entwickeln bzw. die originale zu verbessern ;)&lt;br /&gt;
&lt;br /&gt;
'''Das Wiki ist zum Schutz vor Spambots nur von registrierten Usern nutzbar.'''&lt;br /&gt;
&lt;br /&gt;
'''You are able to upload files with following extension:&lt;br /&gt;
png, gif, jpg, jpeg, zip, rar, pdf, ace'''&lt;br /&gt;
&lt;br /&gt;
Besuchen Sie auch das [http://www.t-hack.com/forum t-hack-Forum]&lt;br /&gt;
&lt;br /&gt;
The hardware seems very similar to the Philips DIT9719, which is widely available in the UK as the BT Vision box.  With luck a bit of common effort will get a usable system.&lt;br /&gt;
== Momentaner Status (Mai 2008)==&lt;br /&gt;
'''Linux'''&lt;br /&gt;
* Linux kann auf der Box gebootet werden, da aber immernoch keine Microcodes geladen werden können macht das wenig Sinn (Keine Ausgabe von Bild/Ton möglich).&lt;br /&gt;
&lt;br /&gt;
'''Windows CE'''&lt;br /&gt;
* Es ist möglich eigene native Anwendungen als auch .net-basierende Anwendungen auf der Box auszuführen und mit MSVC2005 zu debuggen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Keine&amp;lt;/u&amp;gt; der Änderungen sind ohne &amp;quot;Modchip&amp;quot; permanent, &amp;lt;u&amp;gt;jegliche&amp;lt;/u&amp;gt; Modifikationen setzen das Löten an der Box und das zumindest einmalige Ausbauen der Festplatte voraus !&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*[[Versions X300T/X301T]]&lt;br /&gt;
*[[SMP8634]]&lt;br /&gt;
*[[Picture]]&lt;br /&gt;
*[[Schematic/Boardlayout]]&lt;br /&gt;
*[[eJTAG|eJTAG on PCB]]&lt;br /&gt;
*[[eJTAG on SMP]]&lt;br /&gt;
*[[UART0|Serial Debug Port]]&lt;br /&gt;
*[[Display]]&lt;br /&gt;
&lt;br /&gt;
==Software==&lt;br /&gt;
*[[Tools]]&lt;br /&gt;
**[[Dump X300T Bootloader]]&lt;br /&gt;
**[[Disable X300T Signature Check]]&lt;br /&gt;
**[[Upload YAMON]]&lt;br /&gt;
**[[NK.BIN_toolset]]&lt;br /&gt;
**[[MakeNK]]&lt;br /&gt;
**[[Download Update Files]]&lt;br /&gt;
**[[NK.BIN Patcher]]&lt;br /&gt;
*[[Boot Process]]&lt;br /&gt;
*[[Bootstrap-Message]]&lt;br /&gt;
*[[HDD-Layout]]&lt;br /&gt;
*[[Network-Bootstrap]]&lt;br /&gt;
*[[TV2ClientCE.exe]]&lt;br /&gt;
*[[BooterCE.exe]]&lt;br /&gt;
*[[TFTP]]&lt;br /&gt;
===WinCE===&lt;br /&gt;
*[[Disable TrustModel]]&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
*[[Toolchain]]&lt;br /&gt;
*[[Howto boot Linux]]&lt;br /&gt;
*[[Setup NFS-Root-Filesystem]]&lt;br /&gt;
*[[fli4l]]&lt;br /&gt;
**[[Grundinformationen]]&lt;br /&gt;
**[[Wir legen los]]&lt;br /&gt;
**[[Konfiguration anpassen]]&lt;br /&gt;
**[[Wichtige Links]]&lt;br /&gt;
**[[ein Wort in eigener Sache]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*[[some additional output regarding Linux]]&lt;br /&gt;
&lt;br /&gt;
==Filesystem==&lt;br /&gt;
*[[NK.BIN]]&lt;br /&gt;
&lt;br /&gt;
==Unsorted information==&lt;br /&gt;
*[[Bootlog??|Bootlog of Beta X300T]]&lt;br /&gt;
*[[x300tBeta|Flash dump of Beta X300T]]&lt;br /&gt;
*[[Workaround, damit mehrere Settopboxen im Netz sind und die Timeshift-Funktion erhalten bleibt]]&lt;br /&gt;
*[[PKG.DIR]]&lt;/div&gt;</summary>
		<author><name>Is0-mick</name></author>	</entry>

	<entry>
		<id>http://www.t-hack.com/wiki/index.php?title=File:NKpatcher.rar</id>
		<title>File:NKpatcher.rar</title>
		<link rel="alternate" type="text/html" href="http://www.t-hack.com/wiki/index.php?title=File:NKpatcher.rar"/>
				<updated>2008-08-10T19:01:13Z</updated>
		
		<summary type="html">&lt;p&gt;Is0-mick: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Is0-mick</name></author>	</entry>

	<entry>
		<id>http://www.t-hack.com/wiki/index.php?title=NK.BIN_Patcher</id>
		<title>NK.BIN Patcher</title>
		<link rel="alternate" type="text/html" href="http://www.t-hack.com/wiki/index.php?title=NK.BIN_Patcher"/>
				<updated>2008-08-10T19:00:59Z</updated>
		
		<summary type="html">&lt;p&gt;Is0-mick: New page: NK Patcher is a C# GUI application that patches a NK.BIN file to allow unsigned applications to run outside of the windows folder (rom).   '''Download NK Patcher'''&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NK Patcher is a C# GUI application that patches a NK.BIN file to allow unsigned applications to run outside of the windows folder (rom).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''[[Media:NKpatcher.rar|Download NK Patcher]]'''&lt;/div&gt;</summary>
		<author><name>Is0-mick</name></author>	</entry>

	<entry>
		<id>http://www.t-hack.com/wiki/index.php?title=Tools</id>
		<title>Tools</title>
		<link rel="alternate" type="text/html" href="http://www.t-hack.com/wiki/index.php?title=Tools"/>
				<updated>2008-08-10T18:58:19Z</updated>
		
		<summary type="html">&lt;p&gt;Is0-mick: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;At this Point,you can download some tools to edit/modify/create/extract files of the X30xT:&lt;br /&gt;
&lt;br /&gt;
'''[[Dump X300T Bootloader]]'''&amp;lt;br&amp;gt;&lt;br /&gt;
With this tool, you are able to dump the bootloader of the X300T. It's not been tested, if you can dump the bootloader of the X301T, too. So someone should test it!&lt;br /&gt;
&lt;br /&gt;
'''[[Debrick SMP863x Device]]'''&amp;lt;br&amp;gt;&lt;br /&gt;
This is a modified version of the WRT-Debrick Tool. It recognizes the SMP863x CPU and allows to flash even when the device does not boot up any more.&lt;br /&gt;
&lt;br /&gt;
'''[[Disable X300T Signature Check]]'''&amp;lt;br&amp;gt;&lt;br /&gt;
This tool can disable the signature check, so you'r able to boot a Linux-Kernel or something else.&lt;br /&gt;
Currently there is nothing else to boot than the WinCE 5.0.&lt;br /&gt;
&lt;br /&gt;
'''[[NK.BIN toolset]]'''&amp;lt;br&amp;gt;&lt;br /&gt;
These tools are used to view, modify and dump the NK.BIN&lt;br /&gt;
&lt;br /&gt;
'''[[MakeNK|Fake NK.BIN creator]]'''&amp;lt;br&amp;gt;&lt;br /&gt;
This small GUI tool allows to package a Linux Kernel and/or other binary memory dumps into a NK.BIN file that will be accepted by the MS IPTV Bootloader. Of course this will only work if the signature check is disabled :)&lt;br /&gt;
&lt;br /&gt;
'''[[NK.BIN Patcher]]'''&amp;lt;br&amp;gt;&lt;br /&gt;
This tool patches the NK.BIN to disable the signature checking on exe files outside the windows folder&lt;br /&gt;
It also fixes up the record checksum after patching.&lt;/div&gt;</summary>
		<author><name>Is0-mick</name></author>	</entry>

	</feed>