t-hack.com

English - X300T / X301T / DIT9719 / KISS KMM / BT Vision / Bluewin TV-Box / V-BOX/ VIP 1216 or similar Hardware => Software => WinCE => Topic started by: akyprian on 23. Jul 2010, 08:45

Title: BT Vision (DIT7421, DIT9719): Step By Step
Post by: akyprian on 23. Jul 2010, 08:45
Hi all,

I have been reading and implementing a lot lately; Here is what I have come up with:

1. I own a DIT7421/05 (the one with the JTAG on board but with the pull up resistors missing). I managed to build the modchip and it is working proplerly. If anybody wants any help with this box on this matter, please let me know.

2. I extracted default.hv and boot.hv from NK.BIN using:
binmod.exe -e default.hv
binmod.exe -e boot.hv

3. I replaced SigCheckFilter.dll to SigCheckFilter.dl1 in both (default.hv and boot.hv) files.

4. I inserted the modified default.hv and boot.hv to NK.BIN using:
binmod.exe -r default.hv
binmod.exe -r boot.hv

5. I used the ORIGINAL nkpatcher.exe by Iso-Mick and all was OK.

6. I tried to use the nkpatcher.exe by Dark Neo that adds support for disabling the Watchdog but failed miserably. Here is what I got :

Index was out of range. Must be non-negative and less than the size ...

Any ideas why ?

7. I copied the patched BootstrapDiag.xml, Start.xml, tv2config.xml found on t-hack to \Hard Disk\TV2ClientCE\Content.

8. I dumped the contents of the nk.bin with:

-viewbin.exe nk.bin

-cvrtbin -r -a START -w 32 -l LENGTH nk.bin

-dumprom.exe -d dump -v -5 nk.nb0

Now I have the contents of the nk.bin in the directory "dump".

The files I got are shown on the picture attached. I have read here on t-hack that there should be a TV2ClientCE.exe file among them. As you can see, there is NO such file. Any ideas? I also read that the TV2ClientCE.exe file that resides in  \Hard Disk\TV2ClientCE\  is dummy and is NOT used at all.

Which  TV2ClientCE.exe file should I patch? What should I search for in TV2ClientCE.exe file to patch?

The available info on the TV2ClientCE.exe file is VERY limited. Any help on this matter is highly appreciated.

All in all, did I do anything wrong? Do I need to do anything else that haven't done yet?



Looking forward to your kind support,

Regards,

akyprian
Title: Re: BT Vision (DIT7421, DIT9719): Step By Step
Post by: akyprian on 23. Jul 2010, 09:44
Hi again!

Ok, I made a little progress  ;D

The TV2ClientCE.exe file I should patch resides in ETC.bin and not in NK.BIN. Most questions are still valid:

1.What should I search for in TV2ClientCE.exe file to patch? The available info on the TV2ClientCE.exe file is VERY limited. Any help on this matter is highly appreciated.

2. I tried to use the nkpatcher.exe by Dark Neo that adds support for disabling the Watchdog but failed miserably. Here is what I got :
Index was out of range. Must be non-negative and less than the size ...

Any ideas why ?



All in all, did I do anything wrong? Do I need to do anything else that haven't done yet?

Looking forward to your kind support,

Regards,

akyprian

Title: Re: BT Vision (DIT7421, DIT9719): Step By Step
Post by: is0-mick on 23. Jul 2010, 10:15
Hi,
Good effort so far !

The only problem you have is that the system totally changed from when we were patching the older version of NK.BIN etc hence why its failing.

The watchdog if i remember resides in the TV2Client.dll, which is now in the ETC.BIN not the NK.BIN which will be why its failing.

We never got round to playing much with this version of software, as we disassembled the older version back to C#

Mick
Title: Re: BT Vision (DIT7421, DIT9719): Step By Step
Post by: DarkNeo on 23. Jul 2010, 15:07
Hi,

As Mick said too much has changed for my patcher to work now. I haven't been involved much with this since I made that patcher as I've become a father, so I'm not sure what to suggest.

The watchdog isn't a big problem since you can patch out the calls to it in the application (I only disabled it in the DLL for debugging).

The main problem with the BT software is the TV2Client. The disassembled code I got took a lot of changes to get it even compiling, then many more to get it anywhere near working (we managed to get the menus working and get it tuning, that was about it). And it would take a lot of changes to make something useful, not to mention the massive overhead and bloat the application and disassembly procedure adds.

Therefore my opinion is that there should be a community effort to create a new TV client. I even started making one, however it's very basic, and doesn't even show anything on screen yet. Once I've sorted out the data on my old laptop I'll be able to post it (and probably end up with a load of PMs asking "why won't it work?" ::))

As for the protection of the current software version, there was something that was giving us some trouble, I think they've changed the way they're checksumming the files (no longer a booterce.exe). Mick should be able to give more info than this.
Title: Re: BT Vision (DIT7421, DIT9719): Step By Step
Post by: akyprian on 24. Jul 2010, 07:46
Thank you both is0-mick and DarkNeo,

This is very bad news indeed. I guess there is nothing useful I can EASILY do with the box right now, is there?

A new TV client from scratch would be the best approach, I suppose. I am a programmer myself (I own www.winasm.net) but I have no .net skills for the time being. If we have DarkNeo's starting skeleton, I will be deeply involved and try to learn as much as possible and contribute.

Looking forward to your replies,

Antonis

Title: Re: BT Vision (DIT7421, DIT9719): Step By Step
Post by: d3xt0r on 17. Aug 2010, 21:12
Did we get anywere with the version with ETC.bin and NK.bin rather than just NK.bin??

im stuck

d3xt0r
Title: Re: BT Vision (DIT7421, DIT9719): Step By Step
Post by: is0-mick on 17. Aug 2010, 22:11
I think I had problems extracting files from the later version of ETC.bin
The last time I touched that version I managed to remove the signature checks from the NK.BIN so you could modify files, thats as far as I got.

We have the slightly older version which is decompiled back to C#, so that was what we were messing about with last.

I haven't mucked about with the box for a while now, had too much other stuff going on...

Mick
Title: Re: BT Vision (DIT7421, DIT9719): Step By Step
Post by: d3xt0r on 18. Aug 2010, 00:34
Ive extracted the .hv's removed the sig check put them back in and thats as far as i am :) Ive also changed a few option in the .hv's just for testing.