Persistent SamyGo apps - a guide?

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

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

Re: Persistent SamyGo apps - a guide?

Post by juusso »

People spend a lot of time by developing apps and no time left for documenting on wiki. So if anyone could do that, your help is very appreciated!
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
moras86
Official SamyGO Developer
Posts: 180
Joined: Sun Feb 21, 2010 3:18 pm
Location: Poland
Contact:

Re: Guide - geoPATCHER

Post by moras86 »

There is good Wiki tutorial for autoload exeDSP plugins created almost year ago by geo650.

http://wiki.samygo.tv/index.php5/Autolo ... %28B65x%29

PS: There was only problem with find it on Wiki because there was no link for it from B-series subpage. I fix it now :)
Image . Image
TV LCD: Samsung LE40B651T3W (CI) | Internet@TV | fw: 2005 (patched: SamyGO v0.24 + GMT2, ArFIX2, ADFIX) | matrix: SQ04
BluRay: Samsung BD-D5300-ZF | SamsungApps | fw: 1013
Android-Box: Zidoo X8 | Realtek RTD1295 64bit (QuadCore), Mali-T820 GPU, 2 GB RAM, HDMI IN record, Android 6.0 | ZDMC 17.1
my projects: Remote LAN Control - Desktop app (v0.8) | Signal checker for DVB-T (v0.3)
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Persistent SamyGo apps - a guide?

Post by juusso »

Moras, method he described is not used and dangerous. We need refresh info about autostart methods.
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
nbd
Posts: 161
Joined: Wed Jan 13, 2010 12:02 pm

Re: Persistent SamyGo apps - a guide?

Post by nbd »

Hello, I was thinking a failsafe method for those autostart scripts. Preventing the case something goes wrong and TV goes to infinite boot / restart loop.

How about when the samygo.sh starts, it disables itself from being run, then launches a fork which sleeps for about a minute or so, and after the minute, forked child enables again the samygo.sh

Maybe something like this (pseudo code, don't remember sh syntax by heart)

#!/bin/sh
# samygo.sh, run on each start from patched firmware

if exists /mtd/wiselink/samygo/disable_autostart
then exit

touch /mtd/wiselink/samygo/disable_autostart

fork

if(child)
{
sleep 60
rm /mtd/wiselink/samygo/disable_autostart
exit
}

# parent
do the injectso or whatever

Edit: or instead of fork, just do the sleep and rm at the end of samygo.sh.

Post Reply

Return to “[B] Support”