samyGOso (.so injection - patching exeDSP/exeAPP)

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.

User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: .so injection

Post by bugficks »

patois wrote:I'm currently stuck at trying memjack to compile (I have stated this in another thread but I think this thread should be more appropriate).

Code: Select all

dennis@ubuntu:~/Downloads/memjack$ make
arm-v7a8v2r2-linux-gnueabi-gcc memjack.o util.o procutils.o -o memjack
arm-v7a8v2r2-linux-gnueabi-gcc: selected multilib '.' not installed
make: *** [memjack] Error 1
Does anyone have an idea what the problem is and how to fix it?
maybe some env problem?
http://comments.gmane.org/gmane.comp.gcc.help/39888

no idea if its related to toolchain from samygo svn. im using toolchain from samsung.

User avatar
patois
Posts: 26
Joined: Fri Feb 22, 2013 5:20 pm
Location: Berlin, Germany

Re: .so injection

Post by patois »

Hmm.. found this via google as well. I think I'll just try the samsung toolchain. Thanks!

edit: the samsung toolchain worked flawlessly, thanks!

User avatar
juusso
SamyGO Moderator
Posts: 10125
Joined: Sun Mar 07, 2010 6:20 pm

Re: .so injection

Post by juusso »

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

User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: .so injection

Post by bugficks »

VDLinux#> ./hijackx -p `pidof exeTV` -l /mtd_rwarea/test/dumpkey.so
VDLinux#> cat dumpkey.log
file: /dtv/usb/sda2/CONTENTS/20130820124418.srf
key: {0x0d, 0xaa, 0xf1, 0x49, 0x2b, 0xe1, 0xe2, 0xb9, 0x42, 0x4d, 0x75, 0x4b, 0xcf, 0x9e, 0x9a, 0x18, }


:P

User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: .so injection

Post by bugficks »

channelinfo patch for f-series

Code: Select all

    { "_ZN14CViewerManager17ShowChannelBannerEbi", 0x00000000, 0x00000240, 0x00000260, 0xE3560000, 0xE35600FF, 0 } 
add this to mem_patches_exeAPP in memjack

User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: .so injection

Post by bugficks »

new version of hijack, see first post.

User avatar
juusso
SamyGO Moderator
Posts: 10125
Joined: Sun Mar 07, 2010 6:20 pm

Re: .so injection

Post by juusso »

Look, this way for each so file we need to execute hijack once. Why don`t you add to patcher usage of arguments? i mean $1 $2 $3 .... and if you have a lot of so files to inject, it is enough to execute injector just once.

Code: Select all

SO="./1.so ./2.so ./3.so ... ./102.so"
./hijackx -p `pidof exeTV` -l $SO
or do you think this is obsolete?
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

User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: .so injection

Post by bugficks »

i think a better way would be to inject a "loader .so" that e.g. reads a config and loads all the .so to be loaded.
also there might be different requirements. .so that hook stuff need to be permanent in memory while .so files that just patch some stuff dont.

User avatar
juusso
SamyGO Moderator
Posts: 10125
Joined: Sun Mar 07, 2010 6:20 pm

Re: .so injection

Post by juusso »

Okey, loader is ok too. more robust, i agree.
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

User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: .so injection

Post by bugficks »

first post updated :)

Post Reply

Return to “[F] Software”