Page 2 of 2
Re: Flashing Hacked Firmware to CI+ devices LE40B652
Posted: Sat Nov 26, 2011 10:49 pm
by samybill
Is it possible to prepair SamyGo.sh with notepad++ on my computer and upload it with ftp?
Re: Flashing Hacked Firmware to CI+ devices LE40B652
Posted: Sat Nov 26, 2011 11:18 pm
by erdem_ua
Yes, But you needed to use correct line endings (unix style, not windows).
Also any mistake render your TV into bootloop.
So it's better to have boot loop avoid code in your file, as written in wiki..
Re: Flashing Hacked Firmware to CI+ devices LE40B652
Posted: Sun Nov 27, 2011 11:10 am
by samybill
Never to late to learn
I think you mean this code
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
#Your lines here!
exit
Is autostart already integrated in this script or do I have to add it in
?
If so do I have to add code for every app seperately or is there a code to autostart evrything?
These apps I would like to autostart:
NTFS-3G
PVR+
Mouse & Keyboard
FTP-server
Re: Flashing Hacked Firmware to CI+ devices LE40B652
Posted: Sun Nov 27, 2011 2:19 pm
by erdem_ua
This doesn't start anything, You needed to add startup scripts @ your lines section...
I think it's better to "SamyGO Autostarter" application to choose which installed apps fired at startup.
Might some structure like init.d and a basic gui with SDL work here...
Who want to build it?

Re: Flashing Hacked Firmware to CI+ devices LE40B652
Posted: Sun Nov 27, 2011 6:11 pm
by samybill
Such an app would be very cool and usefull
For many users, and I don't mean programmers or linux experts, the main goal of taking the risks of rollback and patching is to get a PVR to work.
For the time being I would still like to try it the hard way. I assume the script for getting PVR+ or other SamyGo apps to autostart have been made before.
I also think these scripts have a certain structure so they can be adjusted for other apps.
Could someone provide me such a script, so I can try to adjust for my specific use

Re: Flashing Hacked Firmware to CI+ devices LE40B652
Posted: Sun Nov 27, 2011 6:46 pm
by juusso
Something like this is created already an yahr ago. It is called SamyGO Auto...
AFAIK not supported anymore...
Re: Flashing Hacked Firmware to CI+ devices LE40B652
Posted: Mon Nov 28, 2011 9:32 am
by samybill
What I mean is
Can anyone provide me

A script to be added to SamyGo.sh to get autostart of PVR+ and NTFS-3G
only than the modification of firmware would be usefull
