need your help on SamyGo.sh on advanced patched FW

Here for general support for B series TVs, request and problem solve area.
Post Reply

borath
Posts: 20
Joined: Wed Nov 02, 2011 4:01 am

need your help on SamyGo.sh on advanced patched FW

Post by borath »

Hello!

I have problems setting up the SamyGO.sh autostart file on my LE40B750:
Telnet starts fine and so do the SamyGo extensions from arris. But the AudioSwitcher (located at the 4th line from bottom) does somehow not start from this script.

This is my SamyGO.sh:

Code: Select all

#!/bin/sh

# Enable Telnetd
if [ 'cat /proc/mounts | grep -c "/dev/pts"' -lt "1" ] ; then
        echo "telnetd Enabled"

        mount -t devpts devpts /dev/pts
        telnetd
else
        echo "/dev/pts is mounted"
fi



# Open back-door for fixing boot-loop situations
sleep 20       # Allow USB stick to settle
USB="/dtv/usb/sda1"    # USB mount-point

if [ -f $USB/usb.sh ];then
  echo "USB-File detected"
  $USB/usb.sh
  exit
else
  echo "Running Normal SamyGO Startup"
fi
/mtd_tlib/GGame/SamyGO/rcSGO
/mtd_tlib/GGame/SamyGO_AudioStreamSwitcher/loader.so
/mtd_tlib/GGame/SamyGO_AspectRatio/load.so
/mtd_tlib/GGame/Outliner/loader.so
exit

Paths are good, and i also tried the switcher.so instead the loader.so:

Code: Select all

/mtd_tlib/GGame/SamyGO_AudioStreamSwitcher/switcher.so
But this also without success.
By starting the application from the Content-Menu it works fine as it should.

Is there maybe a sleep or some other linux-specific thingies (running parallel programs) neccessary?

I appreciate any help you can give me in this matter!

best regards,
B
Last edited by borath on Sat Feb 02, 2013 7:37 pm, edited 1 time in total.
Samsung LE40B750 T-CHL7DEUC 2004.1 - SAMBA works like charme
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: need your help on SamyGo.sh on advanced patched FW

Post by juusso »

You can`t start .so files directly. You can attach it to exeDSP using injectso (IIRC script exists in Extensions, just needet to be enabled and tuned up).
Also you can search for injectso in forum.

Edit:
90_90_injectso.init , edit this part of script as follows:

Code: Select all

### begin configure me
# see description at: http://sourceforge.net/apps/phpbb/samygo/viewtopic.php?f=6&t=862&start=0
# libraries: absolute path of libraries to be loaded
#	     like "/full/path/to/load_custom_module1.so /full/path/to/load_custom_module2.so"
#            there can be several, separated spaces!!
#            this script requires paths-names WITHOUT spaces
libraries="/mtd_tlib/GGame/SamyGO_AudioStreamSwitcher/loader.so /mtd_tlib/GGame/SamyGO_AspectRatio/load.so /mtd_tlib/GGame/Outliner/loader.so" # add your libraries here

### end configure me
 
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
borath
Posts: 20
Joined: Wed Nov 02, 2011 4:01 am

Re: need your help on SamyGo.sh on advanced patched FW

Post by borath »

juuso, thank you so much for your answer.

You write .so files cannot be executed this way - but the SamyGO all extensions are executed for sure. (Samba shares appear)
Do you know why this works then?

But due your help i will invsestigate this injection file.

best regards,
B
Samsung LE40B750 T-CHL7DEUC 2004.1 - SAMBA works like charme
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: need your help on SamyGo.sh on advanced patched FW

Post by juusso »

Extensions in generally are bash scripts. So this way rcSGO can be started from SamyGO.sh. But you need to execute content library apps with loaders.
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

Post Reply

Return to “[B] Support”