Page 2 of 2

Re: [solved] Samsung UE42F5370 freezes and smarthub is not working

Posted: Sat Jan 05, 2019 1:49 am
by bubbaganoush
The log accumulates over time. It is possible to clear it on each boot. Add something like this to run.sh

Code: Select all

rm /mnt/sam.log
rm /mnt/samygo.log
touch /mnt/sam.log
touch /mnt/samygo.log
My run.sh script looks like this script below.
Note:
- I don't use samygo root any more so this isn't tested much.
- I'm not a donator so I don't know if the script in this free root method is the same as the donator one.

Code: Select all

#!/bin/sh
      for USB in ${1:- \
         /dtv/usb/sd* } ; do
         echo "checking $USB"
         sleep 1
         if [ -e "$USB/SamyGO_data/samyext4.img" ];
         then
		 	echo "OK" > "$USB/SamyGO2.txt"
            samygo_data_dir="$USB/SamyGO_data"
         fi
      done
cd /tmp
if [ -z "$samygo_data_dir" ]
then
    echo "SamyGO_data not found."
    exit 1
fi
#/bin/sh -x "$samygo_data_dir/run1.sh" >> /mtd_rwcommon/sam.log  2>&1

rm /mnt/sam.log
rm /mnt/samygo.log
touch /mnt/sam.log
touch /mnt/samygo.log

rm "$USB/sam.log"
netstat -an -t | grep 23 | grep LISTEN > "$USB/sam.log"
netstat -an -t | grep LISTEN >> "$USB/sam.log"
/bin/sh -x "$samygo_data_dir/run1.sh" >> "$USB/sam.log"  2>&1
netstat -an -t | grep 23 | grep LISTEN >> "$USB/sam.log"
netstat -an -t | grep LISTEN >> "$USB/sam.log"

Re: [solved] Samsung UE42F5370 freezes and smarthub is not working

Posted: Sat Jan 05, 2019 11:37 am
by berthold61
Did I understand correctly? cut all selected?
Code: Select all

/mtd_rwcommon/emps/empBrowserCommonPlugin/plugins/libSamyGOrun.so
/mtd_rwcommon/sam.log
/ Mtd_rwcommon / SamyGO /
/ Mnt / rcSGO
/ DTV / SamyGO_OK
You could confirm it or explain it exactly so that you can be sure for 100 percent.