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
juusso
SamyGO Moderator
Posts: 10125
Joined: Sun Mar 07, 2010 6:20 pm

Re: .so injection

Post by juusso »

emm, there is hijack_v2.tgz from 08.24. Have you forgotten to attach smth? :)
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 »

guess i forgot to click upload button after selecting file.. was late yesterday:)

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

Re: .so injection

Post by juusso »

Definitelly i saw somewhere, can you post one byte patching example for so file. For example, how should be test.so which does this:

Code: Select all

{ "_ZN14CViewerManager17ShowChannelBannerEbi", 0x00000000, 0x00000240, 0x00000260, 0xE3560000, 0xE35600FF, 0 }
Just to have all in one for "newbies" :? :mrgreen:
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 »

that channelinfo.tgz i ve sent you included a cpp file on how to do patching from .so :)

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

Re: .so injection

Post by bugficks »

you could use viewtopic.php?t=2974 also.. it uses instruction size based index, so translating from memjack to that src 0x240/4 etc...

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

Re: .so injection (patching exeDSP/exeAPP)

Post by bugficks »

1st post updated

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

Re: .so injection (patching exeDSP/exeAPP)

Post by sectroyer »

Some fixes to version 1.2.1 of samyGOso:
  • * now loading non-existent .so will not succeed ;)
    * added -n option so now you can use procname instead of pid
    * added -D,-A,T for using standard proc names (exeDSP,exeAPP,exeTV)
    * added -B switch which causes samyGOso to use exeDSP if exeAPP/exeTV fails
Sample usage:

Code: Select all

/tmp/samyGOso -d -l /tmp/test.so -n exeAPP

Code: Select all

/tmp/samyGOso -d -l /tmp/test.so -A

Code: Select all

/tmp/samyGOso -d -l /tmp/test.so -A -B
You do not have the required permissions to view the files attached to this post.
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 !!!!

User avatar
beatfreak
SamyGO Project Donor
Posts: 590
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

Re: samyGOso (.so injection - patching exeDSP/exeAPP)

Post by beatfreak »

Let me try to expand this a little bit:
current usage information:

Code: Select all

# samyGOso
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
usage: samyGOso [-p PID | -n procname | -A | -T | -D ] [-B ] {-c CONFIG | -l /full/path/to/inject.so [-r (=resident)]} [-d (=debug on)] [-a (=add libc addressoffset )] [arg0,...,argN]
#

Code: Select all

_mandatory parameters:
__targeting (choose one of these parameters):
-p [PID] specifies target process by PID [decimal value] (old parameter, usually used like [i]-p `pidof exeDSP`[/i] to automatically get the right PID)
-n [procname] specifies target process by name of process
-A specifies "exeAPP" as target process name
-D specifies "exeDSP" as target process name
-T specifies "exeTV" as target process name

___optional additional targeting:
-B usable in combination with -A -T, sets "exeDSP" as fallback target (need more details here)

__source lib
-l [path to lib] specifies the lib*.so to be used

_optional parameters:
-r switch on resident mode, causes samyGOso to inject the libso in resident mode, depending on type of libso wether it's necessary
-d switch on debug mode, causes samyGOso to create a Logfile with debug output in /dtv (tmpfs, deleted at poweroff/reboot)
-a [0x#######] sets an addtess offset [?bit hex value], only use if you exactly know why (need more details here)

you may additionally add arguments to be passed to lib*.so to influence its behavior

//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

zoelechat
Official SamyGO Developer
Posts: 8455
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: samyGOso (.so injection - patching exeDSP/exeAPP)

Post by zoelechat »

Spoiled to 1st post. Anyway nearly everybody will deal with given syntax for a specific patch, without caring about samyGOso itself usage :)
I do NOT receive any PM. Please use forum.

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

Re: samyGOso (.so injection - patching exeDSP/exeAPP)

Post by sectroyer »

zoelechat wrote:Spoiled to 1st post. Anyway nearly everybody will deal with given syntax for a specific patch, without caring about samyGOso itself usage :)
Documenting stuff is always a good habit ;)
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 “[F] Software”