[Tutorial] Reverse Engineering C series

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.

timoo
Posts: 119
Joined: Mon Aug 16, 2010 6:43 pm
Location: Czech Republic
Contact:

Re: [Tutorial] Reverse Engineering C series

Post by timoo » Sun Apr 19, 2015 7:29 am

sectroyer wrote: Confirmed. I was able to find functions in same places :) Just in one window I open C MIPS find function copy name and in second window I find same place in C ARM rename some "sub_xxxxx" to correct name and voila :) Of course you still have to make it dynamic but that's another storry ;)
which arm and mips fw do you use for comparing?

sectroyer
Official SamyGO Developer
Posts: 5510
Joined: Wed May 04, 2011 5:10 pm

Re: [Tutorial] Reverse Engineering C series

Post by sectroyer » Sun Apr 19, 2015 9:56 am

timoo wrote:
sectroyer wrote: Confirmed. I was able to find functions in same places :) Just in one window I open C MIPS find function copy name and in second window I find same place in C ARM rename some "sub_xxxxx" to correct name and voila :) Of course you still have to make it dynamic but that's another storry ;)
which arm and mips fw do you use for comparing?
ANY arm exeDSP and to be honest ANY mips exeDSP but last time for mips I used exeDSP from MSX6 but MSX5 and TDT5 is also good :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

timoo
Posts: 119
Joined: Mon Aug 16, 2010 6:43 pm
Location: Czech Republic
Contact:

Re: [Tutorial] Reverse Engineering C series

Post by timoo » Tue Apr 21, 2015 6:25 pm

imho at least fw T-valdeuc 0000 have these 'symbols' - function names etc. of course there is no debug symbols both are striped on arm and mips - tested mips fw T-MSX6DEUC_2001.0

sectroyer
Official SamyGO Developer
Posts: 5510
Joined: Wed May 04, 2011 5:10 pm

Re: [Tutorial] Reverse Engineering C series

Post by sectroyer » Tue Apr 21, 2015 6:55 pm

if you have exeDSP from that firmware please upload it somewhere and I will check :) And yeah I was talking "only" about function names no debug symbols there :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

timoo
Posts: 119
Joined: Mon Aug 16, 2010 6:43 pm
Location: Czech Republic
Contact:

Re: [Tutorial] Reverse Engineering C series

Post by timoo » Tue Apr 21, 2015 9:04 pm

t-valdeuc 0000 is downgrade fw already on wiki -> http://wiki.samygo.tv/index.php5/How_to ... C_firmware
in t-valdeuc 1XXX fw are some function names too at least 1008.3 :)

sectroyer
Official SamyGO Developer
Posts: 5510
Joined: Wed May 04, 2011 5:10 pm

Re: [Tutorial] Reverse Engineering C series

Post by sectroyer » Tue Apr 21, 2015 9:08 pm

timoo wrote:t-valdeuc 0000 is downgrade fw already on wiki -> http://wiki.samygo.tv/index.php5/How_to ... C_firmware
in t-valdeuc 1XXX fw are some function names too at least 1008.3 :)
"some function names" are on ALL C firmwares :) I want ALL function names :) You installed this firmware or did you unpack it? I get a bunch of unreadable files :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

timoo
Posts: 119
Joined: Mon Aug 16, 2010 6:43 pm
Location: Czech Republic
Contact:

Re: [Tutorial] Reverse Engineering C series

Post by timoo » Tue Apr 21, 2015 10:05 pm

decrypt use this http://sourceforge.net/p/samygo/code/HE ... Patcher.py
then exe.img is fat16 image mount in linux and extract exedsp :)

sectroyer
Official SamyGO Developer
Posts: 5510
Joined: Wed May 04, 2011 5:10 pm

Re: [Tutorial] Reverse Engineering C series

Post by sectroyer » Wed Apr 22, 2015 11:04 am

Great find. I can confirm that symbols ARE THERE!!!! I will try to work on some tool for that (to use it on other firmwares) but you can already check latest libRecTitle which has C_Support.h/c and C_find.h which make adding support to C much easier :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

timoo
Posts: 119
Joined: Mon Aug 16, 2010 6:43 pm
Location: Czech Republic
Contact:

Re: [Tutorial] Reverse Engineering C series

Post by timoo » Wed Apr 22, 2015 2:11 pm

there is no problem using these 'symbols' on another fw just make signatures or use bindiff :)

sectroyer
Official SamyGO Developer
Posts: 5510
Joined: Wed May 04, 2011 5:10 pm

Re: [Tutorial] Reverse Engineering C series

Post by sectroyer » Wed Apr 22, 2015 3:25 pm

timoo wrote:there is no problem using these 'symbols' on another fw just make signatures or use bindiff :)
Then we would have to write bindiff support to our patches :) Nah. It's much better to use in "another way" ;)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

Post Reply

Return to “[C] Software”

Who is online

Users browsing this forum: No registered users and 3 guests