T-VALDEUC Flashing tool.

Here are software that related with Samsung C series TVs, applications, programs that will run in your TV or computer...:!:This forum is NOT FOR USER QUESTIONS or Problems.

mirsev
Posts: 48
Joined: Tue Apr 05, 2011 7:58 pm

Re: T-VALDEUC Flashing tool.

Post by mirsev »

card2000 wrote: in /etc/rc.local @ line 69 > mount -t rfs -r $EXE_MOUNT /mtd_exe/ to remove -r maybee adding -o codepage=utf8
Hmm, sorry for my stupid question but isn't the mtd_exe partition of squashfs type? If yes, I don't think it can be mounted read-write...
card2000 wrote: in cmac calculation, write just 0x10 bytes as file len and calculate for this len cmac , store it in need /dev/bml
...
the same can i am 99.9999% sure for other squashfd paritions be done.
And what about custom kernel? Well, bootloader may check the kernel image size and load into RAM only these 16 bytes... :D
Denny
Official SamyGO Developer
Posts: 350
Joined: Thu Sep 30, 2010 12:18 pm
Location: Croatia

Re: T-VALDEUC Flashing tool.

Post by Denny »

yap, am 99,999999 % sure it can be done

authuld get all infos about cmac from /dev/bml0/9 or /dev/bml0/10 regarding size of normal fat file(during flashing alredy), acording these informations it calculate cmac?s of stl0/xx paritions and compare result with stored cmac?s in /dev/bml0/9 or /dev/bml0/10.


in case of firmware > 3009 i mean that they can additional put a check to fix this trick :(

and when u download source code, you have

Code: Select all

AES_CMAC_with_f_and_size(mkey, f, len, h);
this one line, the parameter is length of true image size, this should be in case of exe.img replaced by some fix value that will never change, for example 1st 16 bytes of hearder of image.

can u now folow ? :)


@ mirsev , in T-VALDEUC mtd_exe is FAT, but this can be changed for BD-Player also , jsut reformat stl device , create own FAT image from squashfs image, flash it to stl device and change such things like in TV.....



Denny
Last edited by Denny on Tue May 17, 2011 7:06 pm, edited 2 times in total.
Denny - 데니 - 丹尼 (card2000)
UE55C8000 UE55D8000 UE32D6510 BD-C9600 3xDM8000
Reversing HW Demux Drivers and API from Samsung´s TV
mirsev
Posts: 48
Joined: Tue Apr 05, 2011 7:58 pm

Re: T-VALDEUC Flashing tool.

Post by mirsev »

wortex wrote:well, sounds good, are you sure cmac caclulation can be fooled with such a trick ?
i missed cmac calculation algo and i don't understand for now how it really works
Please, take a look at this toolkit:
http://www.multiupload.com/MI03O2RSG6
mirsev
Posts: 48
Joined: Tue Apr 05, 2011 7:58 pm

Re: T-VALDEUC Flashing tool.

Post by mirsev »

If you do everything correctly (write only to inactive partition), rollback is just toggling partitions again.
Denny
Official SamyGO Developer
Posts: 350
Joined: Thu Sep 30, 2010 12:18 pm
Location: Croatia

Re: T-VALDEUC Flashing tool.

Post by Denny »

in case of rollback, by playing this issue

just execute :

/sbin/toggle
rename /mtd_rearea/Version.x before executing exeDSP
that if TV again start reboots and something went wrong u come back to unchanged parition by next boot.

what about this ?
Denny - 데니 - 丹尼 (card2000)
UE55C8000 UE55D8000 UE32D6510 BD-C9600 3xDM8000
Reversing HW Demux Drivers and API from Samsung´s TV
Denny
Official SamyGO Developer
Posts: 350
Joined: Thu Sep 30, 2010 12:18 pm
Location: Croatia

Re: T-VALDEUC Flashing tool.

Post by Denny »

wortex just make sure, /sbin/toggle has been executed correct, as i have see at me, 1st time always i get error in i2c , 2nd time it execute correct.
Denny - 데니 - 丹尼 (card2000)
UE55C8000 UE55D8000 UE32D6510 BD-C9600 3xDM8000
Reversing HW Demux Drivers and API from Samsung´s TV

Post Reply

Return to “[C] Software”