Page 8 of 24

AW: SamyGO Hospitality mode hack (for D6 series only)

Posted: Mon Apr 23, 2012 8:51 pm
by DEUS
Good your TV is alive and ready to service ;-)
Rohel wrote:Any topic with steps to follow for NAS mount?
Take a look into init.d scripts you will find your answers there please use search function to find the sollution. If you still need help ask. But this is documented already so i don't expect that you need additional help.
Also be a little patient if asking for help. There are many people who can help. You do not need to post pm after asking.

SamyGO Hospitality mode hack (for D6 series only)

Posted: Tue Apr 24, 2012 11:24 am
by Rohel
Yes, i have setted up the scripts for samba and other things
But i have a little problem with pvr to nFS...
It seems that its mandatory to exec samygo from the same USB drive where you store the xfs image. Im correct?
If i have to exec the USB hosted sammyapp, how can i do?
I have the widget installed on tv memory

Re: SamyGO Hospitality mode hack (for D6 series only)

Posted: Tue Apr 24, 2012 5:01 pm
by DEUS
you have to set the xfs file somewhere or run samygo from usb, but this is why i posted this in brainstorm
viewtopic.php?f=25&t=3897 but i am not sure it is a good sollution. please use the right thread for support questions because this is for problems with the hack itself

Re: SamyGO Hospitality mode hack (for D6 series only)

Posted: Sat May 12, 2012 3:10 pm
by setti
Now after you restart TV, you get SamyGO Extensions executed. Limitation - no patches like BigYellow fonts, CHannelInfo and other available this way.
Can someone explain me, why this limitation exists? Isnt it possible to start user widgets via shell command?

Re: SamyGO Hospitality mode hack (for D6 series only)

Posted: Sat May 12, 2012 3:15 pm
by juusso
Ask samsung.

Re: SamyGO Hospitality mode hack (for D6 series only)

Posted: Sat May 12, 2012 3:26 pm
by setti
its just confusing, because in /mtd_rwarea/SamyGO.sh you start SamyGO All extensions via rcSGO. But it seems it does not start like the user widget. I can not record ci+ encrypted chans with this firmware, but after starting the widget.
Nevertheless ive found just one typo in /mtd_rwarea/SamyGO.sh.

Code: Select all

/bin/sh -x /mtd_rwcommon/widgets/user/SamyGO/SamyGO/rcSGO /mtd_rwcommon/widgets/user/SamyGO/SamyGO /dtv/usb/sda1/rcSGO_out 2>&1 &
should be

Code: Select all

/bin/sh -x /mtd_rwcommon/widgets/user/SamyGO/SamyGO/rcSGO /mtd_rwcommon/widgets/user/SamyGO/SamyGO > /dtv/usb/sda1/rcSGO_out 2>&1 &
.

I've also inserted a check for /dtv/usb/sda1 before

Code: Select all

#Emergency script from USB
with some timeout, because the first check with lsmod does not guarantee, that any hdd is connected:

Code: Select all

# wait some time to setup /dtv/usb/sda1
EXTERNAL_HDD_MOUNT="/dtv/usb/sda1"
COUNTER=0
TIMEOUT=10
while [ ! -d $EXTERNAL_HDD_MOUNT ] && [ $COUNTER -lt $TIMEOUT ] ; do
	echo "wait for $EXTERNAL_HDD_MOUNT $COUNTER"
	let COUNTER=COUNTER+1
	sleep 1
done
I hope that the hospitality hack will replace the user widget sometime, so i can record ci+ encrypted chans from standby. (Autoticker is no option, as it takes hours before smarthub is up)

Re: SamyGO Hospitality mode hack (for D6 series only)

Posted: Sat May 12, 2012 6:07 pm
by juusso
setti wrote:Nevertheless ive found just one typo in /mtd_rwarea/SamyGO.sh.
Yes, this typo is known, is planned to add missing ">" in next version. Not really big problem = no debug output... But thanks anyway, until now you`re second who noticed this (the first was DEUC) :)
setti wrote: I've also inserted a check for /dtv/usb/sda1 before ...
if don`t mind will add this to hack image. The main problem here is that dongle can go w/o partition table and become sda instead of sda1. Must check this as well. Another possible situation - if more than one USB device is connected, so, the SamyGO root could become sdb/sdb1, sdc/sdc1 and so on. Theoretically it is possible and curent version of script doesn`t handle such possible errors.
I hope that the hospitality hack will replace the user widget sometime, so i can record ci+ encrypted chans from standby. (Autoticker is no option, as it takes hours before smarthub is up)
For only for samsung known reasons it is not possible to execute widgets from console on recent restricted firmwares. I think more realistic is to get firmware downgrade and combine hospitality hack with widget way to be started from console. Here is how the lua based widget can be started from console on SamyGO friendly firmwares.

Code: Select all

/mtd_rwarea/bin/murfd /mtd_rwarea/bin/libmurf.so luaopen_murfshell
You also can try this set of files with another approach (and extra function) to hospitality hack. Perhaps console unlock should be added to next version of HH too :roll:
(rename serial_unlock to su2new. Ignore SamyGO.sh file, it is pre-pre-alpha version in this archive...)

Re: SamyGO Hospitality mode hack (for D6 series only)

Posted: Sat May 12, 2012 6:41 pm
by setti
Hi juuso, thanks for your answer. Unfortunately i dont have permission to download your given set of files.
As im currently running on Firmware T-GASDEUC 1014, I thought a had a compatible one. But i will check it again.

Edit: I did not find a /mtd_rwarea/bin dir at all :(

Re: SamyGO Hospitality mode hack (for D6 series only)

Posted: Sat May 12, 2012 6:50 pm
by juusso
ok, will re-upload archive. /mtd_rwarea/ bin is created by me, you can use whatever directory for binaries you want.
D6_shell_binaries.zip

Re: SamyGO Hospitality mode hack (for D6 series only)

Posted: Sat May 12, 2012 7:00 pm
by setti
So were did you get murfd from? the only source belonging to murfd i found is some pastebin entry about murfshell.zip
But I dont find any download hint or anything else using google.