Tool to calculate /mtd_exe /mtd_appdata etc... for "C" Serie

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.

Denny
Official SamyGO Developer
Posts: 350
Joined: Thu Sep 30, 2010 12:18 pm
Location: Croatia

Tool to calculate /mtd_exe /mtd_appdata etc... for "C" Serie

Post by Denny »

http://www.multiupload.com/V5ESL00M34

extract to /dtv/usb/sda1/
chmod 777 samsung_hash


1st option check firmware hash :
./samsung_hash

2nd option create hash for a file u wish :
./samsung_hash your_file


Denny
Denny - 데니 - 丹尼 (card2000)
UE55C8000 UE55D8000 UE32D6510 BD-C9600 3xDM8000
Reversing HW Demux Drivers and API from Samsung´s TV
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Tool to calculate /mtd_exe /mtd_appdata etc... for "C" Serie

Post by juusso »

and... does it write correct firmware hashes to bml3 ? ;)
Are you ready to decrypt->encrypt->flash firmware to TV and do not brick it? ...
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
Denny
Official SamyGO Developer
Posts: 350
Joined: Thu Sep 30, 2010 12:18 pm
Location: Croatia

Re: Tool to calculate /mtd_exe /mtd_appdata etc... for "C" Serie

Post by Denny »

basicly juuso /mtd_exe /mtd_appdata may be changed, it is just need after flashing to store correct hash in "/dev/bml0/9" btw in "/dev/bml0/10", depends whitch parition is active.

the time u have for to do this as i checked hw engine is around 5-10 minutes.

about , write to hash, i realy dont know how to write data to flash :D my linux is just for such things to do okey, but more i can not do at the moment :)
i also realy dont have idea whitch parition is for what :D, am just doing such things that i released and not released yet :)


firmware crypt/decrypt are at the moment not importiant for me but as i have see , it is also gone partly over HW engine(key decryption), i am now on hashing of Internet@TV applications to discover out.


Denny
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: Tool to calculate /mtd_exe /mtd_appdata etc... for "C" Serie

Post by mirsev »

card2000: It would be great if you post a source code of this program.

Regarding flashing a modified version... I have found these strings in exeDSP from BD-C6900 blu-ray player:

Code: Select all

fsrrestore /dev/bml0/5 /mnt/nfs/Image
fsrrestore /dev/bml0/7 /mnt/nfs/Image
fsrrestore /dev/bml0/6 /mnt/nfs/rootfs.img
fsrrestore /dev/bml0/8 /mnt/nfs/rootfs.img
fsrbootwriter /dev/bml0/c /mnt/nfs/onboot.bin
fsrrestore /dev/bml0/20 /mnt/nfs/boot_image.raw
fsrrestore /dev/bml0/22 /mnt/nfs/BootSound
fsrrestore /dev/bml0/9 /mnt/nfs/cmac.bin
fsrrestore /dev/bml0/10 /mnt/nfs/cmac.bin
fsrrestore /dev/bml0/11 /mnt/nfs/key.bin
So, it seems fsrrestore is a program which writes data to flash. There might be a similar lines in your exeDSP. If you have Linux, download exeDSP to your computer and run

Code: Select all

strings -a exeDSP | less
You will see a lot of text, some will be senseless. Within less program press /, enter word Image and press "Enter". Probably it will find the lines above.
timoo
Posts: 119
Joined: Mon Aug 16, 2010 6:43 pm
Location: Czech Republic
Contact:

Re: Tool to calculate /mtd_exe /mtd_appdata etc... for "C" Serie

Post by timoo »

there is no fsrrestore command in exeDSP t-valdeuc firmware
mirsev
Posts: 48
Joined: Tue Apr 05, 2011 7:58 pm

Re: Tool to calculate /mtd_exe /mtd_appdata etc... for "C" Serie

Post by mirsev »

timoo wrote:there is no fsrrestore command in exeDSP t-valdeuc firmware
Yes, but there might be something similar. You will need to look for lines which may be related to the firmware flashing. Try to look for lines which contain bml. Besides exeDSP, some flash related stuff can be inside shell scripts.
timoo
Posts: 119
Joined: Mon Aug 16, 2010 6:43 pm
Location: Czech Republic
Contact:

Re: Tool to calculate /mtd_exe /mtd_appdata etc... for "C" Serie

Post by timoo »

do yo think something like this > fsrbootwriter /dev/bml0/c %s dd if=%s of=/dev/bml0/1 ? :twisted:
mirsev
Posts: 48
Joined: Tue Apr 05, 2011 7:58 pm

Re: Tool to calculate /mtd_exe /mtd_appdata etc... for "C" Serie

Post by mirsev »

timoo wrote:do yo think something like this > fsrbootwriter /dev/bml0/c %s dd if=%s of=/dev/bml0/1 ? :twisted:
It could be... At least fsrbootwriter also exists in my blu-ray player. It seems to be a program for flashing specifically bootloader only. The command dd is a tool to copy data from one file or device to another. if means Input File, of means Output File. There might be some additional options for dd like bs=%d, ibs=%d, obs=%d or count=%d, etc. They can be concatenated to the original string in some other parts of the code.

Nevertheless, don't try these in your TV or player without good knowledge and understanding of what are you doing. It would be nice if someone could find a way to restore the firmware in case if the device is bricked. As far as I know, there is no such a tool yet.
timoo
Posts: 119
Joined: Mon Aug 16, 2010 6:43 pm
Location: Czech Republic
Contact:

Re: Tool to calculate /mtd_exe /mtd_appdata etc... for "C" Serie

Post by timoo »

mirsev wrote:
timoo wrote:do yo think something like this > fsrbootwriter /dev/bml0/c %s dd if=%s of=/dev/bml0/1 ? :twisted:
Nevertheless, don't try these in your TV or player without good knowledge and understanding of what are you doing. It would be nice if someone could find a way to restore the firmware in case if the device is bricked. As far as I know, there is no such a tool yet.
i have no problem understand how update process is done by dissassembling my exeDSP with ida pro and debuggingg with gdb :)
Denny
Official SamyGO Developer
Posts: 350
Joined: Thu Sep 30, 2010 12:18 pm
Location: Croatia

Re: Tool to calculate /mtd_exe /mtd_appdata etc... for "C" Serie

Post by Denny »

timoo, when i start gdb server, after tv goes to breakpoint gdbserver get sig signal and restart the tv. i wanted also to trace there some stuff but no luck yet.

denny
Denny - 데니 - 丹尼 (card2000)
UE55C8000 UE55D8000 UE32D6510 BD-C9600 3xDM8000
Reversing HW Demux Drivers and API from Samsung´s TV

Post Reply

Return to “[C] Software”