tvixfw05alpha creation problem

tvixfw05alpha creation problem

Postby aka » Sat Jul 10, 2010 12:13 am

Hi,

I have tried to take a DVICO M6600 firmware (tvix_6600_2.0.3_A3.fwp) dump and re create it.
the dump part seems to work fine, I got a folder titled tvix_6600_2.0.3_A3.fwp.dump with 6 files using the runline:
./tvixfw.exe --dump tvix_6600_2.0.3_A3.fwp
then I attempted to re-create the same firmware using the runline:
../tvixfw.exe --create 0.fwp.header
What I got is a Segmentation fault (core dumped) with the following stack:
Code: Select all
Exception: STATUS_ACCESS_VIOLATION at eip=004021B9
eax=00000000 ebx=6120E467 ecx=61024000 edx=00013E00 esi=6120E472 edi=00000000
ebp=0022CD68 esp=0022CC20 program=C:\installs\tvix\tvixfw05alpha\bin\tvixfw.exe, pid 6044, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022CD68  004021B9  (0022D008, 00000002, 611A0CCE, 61006DDA)
0022CDA8  61006DDA  (00000000, 0022CDE0, 610066E0, 7FFDF000)

End of stack trace


Am I doing something wrong?

Thanks
ak

PS - A little background, I am trying to customize my tvix M6600 firmware by adding sitemap xml internet TV channels, which seems to be accessible in the 2.fwp.uncompressed1 file, just search 'abcnews' text for example. any recommendations will be appreciated (also with regards to compatible content available on the web)
aka
Member
 
Posts: 3
Joined: Fri Jul 09, 2010 11:47 pm

Re: tvixfw05alpha creation problem

Postby regost » Thu Jul 29, 2010 7:56 am

Hi,

The reason of the segmentation fault is the incorrect execution.
Don't change dir into tvix_6600_2.0.3_A3.fwp.dump
After
./tvixfw.exe --dump tvix_6600_2.0.3_A3.fwp
Try with
./tvixfw.exe --create tvix_6600_2.0.3_A3.fwp.dump/fwp.header

If you use the tvixfw05aplha version then the header file is fwp.header and not 0.fwp.header.

My example:
$ ./tvixfw/bin/tvixfw.exe --create tvix_6600_2.0.3.fwp.dump/fwp.header
tvixfw v.0.5alpha. (c) Petter Wahlman, aka BadEIP

printing header information...
model: TViX-M6600, DViCO
version: 2.0.3 date: 7/7/2010 08:46
firmware size: 28188375
fs[1] data: 0x01000000 size: 0x0063e700 name: "unknown.6600.fs1"
fs[2] data: 0x01700000 size: 0x04c2d740 name: "unknown.6600.fs2"

error, unable to locate fwp.decrypted.
data saved in: "./tvix_6600_2.0.3.fwp.dump/"

The main problem is that tvixfw05aplha hasn't got implementation yet for M6600 create so the '--create' option is valid for older version only (e.g. 6500).

Regards,
Tamas
TViX M-6640N
regost
Member
 
Posts: 3
Joined: Thu Jul 29, 2010 5:41 am
Location: Melbourne, Australia

Re: tvixfw05alpha creation problem

Postby octessence » Mon Aug 09, 2010 9:42 am

No you are not doing anything wrong. 6600 firmwares are not really supported. The alpha release is just the work I have done so far. At the moment it decrypts and unzips the firmware but the filesystems that it contains are very strange and are not structured as any commonly used filesystem I am familiar with.

The filesystem is very wasteful in that it does things like using a fixed 256 character memory block for the name of the file, so I suspect that TVIX are using a filesystem they made up themselves. This filesystem needs to be reverse engineered but since I don't have a 6600 myself I don't have any motivation for doing the work.

EDIT: Grammar.
Last edited by octessence on Thu Aug 19, 2010 9:46 pm, edited 1 time in total.
TViX M-6500 + TViX M-4000 (Bricked)
octessence
Member
 
Posts: 320
Joined: Sat Apr 26, 2008 5:54 pm
Location: Germany (UK expat)

Re: tvixfw05alpha creation problem

Postby aka » Thu Aug 12, 2010 8:39 pm

hi octessence,

thanks you for your reply
As you can see I am just getting started...I would appreciate if you can point me in the right direction...
aka
Member
 
Posts: 3
Joined: Fri Jul 09, 2010 11:47 pm

Re: tvixfw05alpha creation problem

Postby octessence » Fri Aug 13, 2010 3:51 pm

I'm afraid I am stuck myself so I don't know how to proceed. The file systems dumped into the 'uncompressed' firmware files need to be identified before anything else can be done.
TViX M-6500 + TViX M-4000 (Bricked)
octessence
Member
 
Posts: 320
Joined: Sat Apr 26, 2008 5:54 pm
Location: Germany (UK expat)

Re: tvixfw05alpha creation problem

Postby regost » Thu Aug 19, 2010 1:55 am

Hi,

I'm also working on this but I'm stuck too. At least I have a 6600...

Regards,
Tamas
TViX M-6640N
regost
Member
 
Posts: 3
Joined: Thu Jul 29, 2010 5:41 am
Location: Melbourne, Australia


Return to Problems

Who is online

Users browsing this forum: No registered users and 1 guest