Page 1 of 1
Patched FW on LE40B650 CI+ - SamyGO.sh wont run...
Posted: Sun Oct 06, 2013 10:12 pm
by FLOK
Hi everybody.
I spent days ond nights on patching my TV and still no success...
I patched FW T-CHLCIPDEUC 2006 with Python27 and PyCrypto in Advanced Mode.
I disabled Watchdog, and started RSA Disabler before Flashing.
All seems ok. Will there be any changes visible ?? All files are still there on TV
Then i run the Telnet enabler and created the SamyGO.sh in vi (<- hard work)...
CHMOD to 755
Reboot....but no telnet...
The script seems to be ok, when i manualy start it. It says "/dev/pts is mounted" cause i started telnet enabler before ?!
I dont know where to search the error anymore.
Could you help??
Greetings
FLOK
Re: Patched FW on LE40B650 CI+ - SamyGO.sh wont run...
Posted: Mon Oct 07, 2013 4:45 am
by juusso
what is your SamyGO.sh like? Have you set execute permissions to this script?
Re: Patched FW on LE40B650 CI+ - SamyGO.sh wont run...
Posted: Mon Oct 07, 2013 7:24 am
by FLOK
Its from the wiki:
#!/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
#Your lines here!
exit
Permissions set to 755.
Can i test or see if its ever been executed ??
Re: Patched FW on LE40B650 CI+ - SamyGO.sh wont run...
Posted: Mon Oct 07, 2013 6:02 pm
by FLOK
I added a line in SamyGO.sh :
ls >> test.txt
This creates a simple txt file.
If i start the script in Telnet it works.
But if i reboot the TV, the file isnt created.
So it seems that SamyGO.sh never gets started....
Re: Patched FW on LE40B650 CI+ - SamyGO.sh wont run...
Posted: Wed Oct 09, 2013 8:05 pm
by FLOK
Hi again.
I started SamyGo-All-Extensions from USB stick.
Connectet per SSH and created a new SamyGO.sh in vi with following lines:
#!/bin/sh
sleep 10
mount -t devpts devpts /dev/pts
telnetd
sleep 10
mkdir test
exit
CHMOD 755.
Then i restarted TV.
Telnet wasnt enabled.
Directory "test" wasnt created. (i checked with FTP-Server started from USB)
So the SamyGO.sh was never called, i think.
My /mtd_exe/rc.local:
#!/bin/sh
export MAPLE_DEFAULT_PATH=/mtd_cmmlib/InfoLink/lib
export MAPLE_MANAGER_WIDGET_PATH=/mtd_down/widgets/manager
export MAPLE_NORMAL_WIDGET_PATH=/mtd_down/widgets/normal
export MAPLE_WIDGET_DATA_PATH=/mtd_down
export MAPLE_WIDGET_INCLUDE_PATH=/mtd_down/widgets/inc
export MAPLE_PLUGIN_DATA_PATH=/mtd_cmmlib/InfoLink/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_cmmlib/YWidget_LIB
export KF_SLEEP_READ=-2
echo 30000 > /mtd_rwarea/DelayValue.txt
#touch /mtd_rwarea/DoPrintYahoo.txt
export KF_NO_INTERACTIVE=1
export KF_LOG=/dev/null ;/mtd_rwarea/SamyGO.sh&
cd /mtd_exe/
./exeDSP
I really need help.....
FLOK