Difference between revisions of "SamyGO Extensions Pack"
(→Copy extensions to tv's flash memory) |
(→Components, Design and Structure) |
||
Line 149: | Line 149: | ||
== Components, Design and Structure == | == Components, Design and Structure == | ||
− | + | #StarterLib | |
+ | #::libSamyGO.so -> starts the extensions from "content library" | ||
+ | #CoreScript | ||
+ | #::rcSGO -> 1. of main start scripts, it try to "find" the extension and creates a working enviroment | ||
+ | #::etc/rc.sysinit -> 2. of main scripts, it handles the start of the services (init scripts) | ||
+ | #InitScripts | ||
+ | #::see files under etc/init.d/ directory | ||
+ | #::PH | ||
+ | #Shipped tools | ||
+ | ##squashfs-tools | ||
+ | #::PH | ||
+ | ##crypt-xor | ||
+ | #::PH | ||
+ | ##cksfv | ||
+ | #::PH | ||
+ | ##gdb | ||
+ | #::PH | ||
+ | ##wget | ||
+ | #::PH | ||
+ | ##gzip | ||
+ | #::PH | ||
+ | ##fbset | ||
+ | #::PH | ||
+ | ##mc (don't try to call it direct, make ssh connection to tv and call mc.sh) | ||
== What you have to do before ask 1000 times answered questions == | == What you have to do before ask 1000 times answered questions == |
Revision as of 16:37, 10 December 2010
Contents
- 1 What are "SamyGO Extensions"
- 2 Where can you find "SamyGO Extensions"
- 3 Can you brick your tv with this extensions
- 4 Is this stuff compatible with your tv
- 5 General usage
- 6 Copy extensions to tv's flash memory
- 7 Components, Design and Structure
- 8 What you have to do before ask 1000 times answered questions
- 9 Advanced usage (obsolete, with v0.03.6 you have a working enviroment after ssh login)
- 10 Debug
- 11 File Share under Windows7
- 12 Easter eggs and customize
What are "SamyGO Extensions"
- "SamyGO Extensions" enhance your tv's functionality without patching or modify the firmware!
- Access your network shares and network-storage devices as pseudo usb-devices (it is possible to seek and ff in this files + more media container are supported)
- Enables ssh access to your tv (not telnet! as client you can use putty)
- Additional tools for advanced users like ssh, mksquashfs and checksum-calculator (for sure change from version to version)
Where can you find "SamyGO Extensions"
- the released version:
- latest beta:
http://linux.zsolttech.com/Samsung/- in samygo openembedded svn
- you can get it:
svn co https://samygo.svn.sourceforge.net/svnroot/samygo/oe/branches/branch-0-0-1 SamyGO-Extensions cd SamyGO-Extensions
- edit the makefile to fit the target machine, and start the build.
make -f Makefile-SELP-SamyGO gallery
- if the build is ready you can find compiled binaries/kernel modules etc. under
build/tmp/rootfs/
- and a "ready to use" zipfile in
build/tmp/deploy/images/
Can you brick your tv with this extensions
- answer is simple:
- no, but it can kill your cat, burn your house and make horny things with your girlfriend! in worst case your tv shut down and power on again.
- except you make changes in the scripts and you didn't know what you done
- if you change any of the scripts you also loose the "arris warranty" ;-)
- if you need assistance for your own scripts you can ask in:
- http://forum.samygo.tv/viewforum.php?f=4
- but ask before you bricked your tv!
Is this stuff compatible with your tv
- generaly binaries and kernel modules are for ARM architecture (for most devices you can use T-CHU7DEUC based package)
- look at the samsung site, download and extract the firmware for your tv and
- check the resulting directory name:
- T-PRLAUS -> binaries may work, kernel modules rather not
- T-AMBAUSC -> binaries may work, kernel modules may also
- T-SPHAUSC, T-RBYAUSC -> binaries yes, kernel modules rather not (you can find some precompiled modules in the download section: pickup right one)
- T-CHE7AUSC, T-CHE6AUSC, T-CHE7AUSC, T-CHU7DEUC, T-CHL7DEUC -> binaries yes, kernel modules yes (pls. search in forum, i made all tests on UExxB7020 => T-CHU7DEUC)
- T-CHUCIPDEUC -> binaries may work, kernel modules may also
- T-CHLCIPDEUC -> binaries yes, kernel modules yes (posted by user sondeu)
- T-CHL5DAUC -> binaries may work, kernel modules may also, but first enable network for your device
- T-AMBDFR -> binaries not, kernel modules also not (Renesas SH not ARM)
- T-RBYDEU -> binaries not, kernel modules also not (Renesas SH not ARM)
- T-TDT5DEUC -> binaries not, kernel modules also not (binaries MIPS-II but kernel modules MIPS-32)
- T-MSX5DEUC -> binaries not, kernel modules also not (MIPS-32)
- T-VAL* -> binaries may work, kernel modules rather not (ARMv7) (defined as T-CSERIES.. in OE barnch)
- your tv have to support games in "content library", "usb movie" and for c-series Internet@TV, pls. consult the manual (or use the commandline start method)
- if you use the samygo openembedded svn, this limitations to tv types are never true. you can recompile the whole stuff for your tv. feel free to test it and don't fear the penguin.
- precompiled packages
General usage
on C-Series from Widget
=> See also: How to get root access on a C series TV
- extract the zip file to usb-pen
- mv SamyGO directory into the root-directory of the usb-pen
- enable run.sh script method for your tv
- add the line
/dtv/usb/sda1/SamyGO/rcSGO >/dev/null 2>&1 &
- to the run.sh script or change usb_hotplug.sh script to call
$MOUNTBASEDIR/$PARTITION/SamyGO/rcSGO $MOUNTBASEDIR/$PARTITION/SamyGO >/dev/null 2>&1 &
- instead of
sh -x $MOUNTBASEDIR/$PARTITION/run.sh $MOUNTBASEDIR/$PARTITION
on B-Series from Content Library
- extract the zip file to usb-pen
- mv SamyGO directory into the root-directory of the usb-pen
- on some models (like T-SPHAUSC based) you have to create a directory SEC_GAME on your usb-pen and move the SamyGO directory into this dir, not into the root-directory
you have also rename the SamyGOE.so to libSamyGO.so an you also need an extra configuration file SamyGO.datmore instructions at
- connect usb-pen to tv
- wait few seconds for automatic usb connection menu on tv
- select "content library"
- go to usb -> games, and select "SamyGO Extensions" (with "ok" button on remote-control)
- after the colored screen goes away, up to ~27 sec. (this is true up to SamyGO All Extensions v0.04, later versions will have some kind of control-panel)
- exit from "content library" and go to "media play" ("media.p" button on remote-control)
- select source (red button on remote-control)
- depends on your network services you can see new usb-sources (this are "faked" devices)
- "UPNP Server"
- "Samba Server"
- "NFS Server"
- select one of them, pick what you want to see (pictures, music or video) than you should see your server(s), enjoy your media(s)
on any model where you can start a script
Start extensions from patched firmware / from other script
- If you have patched your firmware with SamyGO Firmware Patcher than you can start the extensions at boot time, simply add the line
<somedir>/SamyGO/rcSGO &
- to the script
/mtd_rwarea/SamyGO.sh
- before the
exit
- command.
- <somedir> differs how you are using the extensions (usb, tv's internal flash memory, nested into a children/game content)
- some possible locations:
/dtv/usb/sda1/SamyGO/rcSGO /dtv/usb/sda1/SEC_GAME/MagicCube/SamyGO/rcSGO /dtv/usb/sda1/SEC_GAME/SamyGO/rcSGO /dtv/usb/sda4/SamyGO-All-Extensions/mtd_tlib/SamyGO/rcSGO /dtv/usb/sda/SEC_GAME/DBowling/SamyGO/rcSGO /dtv/usb/sda/SEC_GAME/WiseStar/SamyGO/rcSGO /mtd_tlib/GGame/SamyGO/rcSGO
- don't copy the extensions (SamyGO directory) to /mtd_rwarea!!!
Copy extensions to tv's flash memory
- on some models it is possible to copy contents to tv's memory in the
- same way you can copy "SamyGO All Extensions" pack to flash
- yellow button ..., pls. look into the manual or search in forum
- If you can't copy "SamyGO All Extensions" via TV you can do it with a telnet or ssh connection
cp -a /dtv/usb/sda1/SamyGO /mtd_tlib/GGame/
- or you can try to enable the write function to content library
- instructions in forum
- then you can start the extensions via the "content library" -> "Games" (if your tv supports this function)
Components, Design and Structure
- StarterLib
- libSamyGO.so -> starts the extensions from "content library"
- CoreScript
- rcSGO -> 1. of main start scripts, it try to "find" the extension and creates a working enviroment
- etc/rc.sysinit -> 2. of main scripts, it handles the start of the services (init scripts)
- InitScripts
- see files under etc/init.d/ directory
- PH
- Shipped tools
- squashfs-tools
- PH
- crypt-xor
- PH
- cksfv
- PH
- gdb
- PH
- wget
- PH
- gzip
- PH
- fbset
- PH
- mc (don't try to call it direct, make ssh connection to tv and call mc.sh)
What you have to do before ask 1000 times answered questions
- Read here
- http://forum.samygo.tv/viewtopic.php?f=5&t=96#p540
- so you now know how to disable unneeded services and where to set the username and password for windows shares (for editing the init-scripts under windows -> use Notepad++ or an other editor that can handle unix files!!)
- File attributes
- don't copy/extract the extensions on ntfs formated usb-hd just vfat (fat32)
- keep the execute attributes correct!
- the init-scripts have the execute bit to set, this is already done
- but if you extracted the archive to a NTFS formated usb-hd this setting
- is lost! (tv mounts ntfs with special options)
- so you have to use an usb-pen or reformat your usb-hd with
- vfat before use it.
- don't copy/extract the extensions on ntfs formated usb-hd just vfat (fat32)
- Media file sizes
- upnp (djmount svn version), cifs and nfs, i tested video files up to 8813360067 bytes (h264/720p mkv)
- server software:
- upnp: ushare 1.1a (DLNA disabled!)
- cifs: samba-server 3.2.3
- nfs: kernel level nfs server (nfsd4)
- ff and seek is (over wifi network) tedious, you can play around with mount parameters in:
- SamyGO/etc/init.d/04_04_samba.init
- SamyGO/etc/init.d/03_03_nfsmount.init
- if you can't access/play your big fat files try to split them, problem is at server side not in "SamyGO Extensions" or TV
- Subtitles
- tested *.srt files -> no problem over upnp (djmount), cifs and nfs
- naming sheme:
- MyMovie.srt
- MyMovie.wmv
Advanced usage (obsolete, with v0.03.6 you have a working enviroment after ssh login)
If you have started the extensions, General usage
- you can ssh to your tv (ssh root@<tvs ip>)
- after the login you can execute the command
source /dtv/SGO.env
- or
. /dtv/SGO.env
- so you get an usable enviroment (sets PATH and LD_LIBRARY_PATH for the binaries)
- to get more extensions working, you can copy them into the SamyGO directory structure (like SamyGO-WiFi-Extension-Addon)
Debug
- if some parts of the "Extensions" won't work on your tv, you can try to telnet/ssh to tv and execute the "Extensions" in a verbose shell
sh -x <where_extensions_are_installed>/rcSGO &
- and than try to start the specific script also in the same way, like:
sh -x <where_extensions_are_installed>/etc/init.d/04_04_samba.init start
- may you can see whats wrong, if not attach relevant parts of output to your support question
- may helpful (Screenshoots from german Windows, but i hope you will find the settings)
- uninstall windows live essentials 2011
- windows update installs live essentials again
Easter eggs and customize
PLACEHOLDER
--Arris69 21:12, 30 November 2009 (UTC)