Persistent SamyGo apps - a guide?
Re: Persistent SamyGo apps - a guide?
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
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
-
- Official SamyGO Developer
- Posts: 180
- Joined: Sun Feb 21, 2010 3:18 pm
- Location: Poland
- Contact:
Re: Guide - geoPATCHER
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
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



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)
Re: Persistent SamyGo apps - a guide?
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
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
Re: Persistent SamyGo apps - a guide?
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.
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.