New web inferface (Webif) for SamyGO

Here are software that related with Samsung D series TVs.
Please don't create any new topic here unless you have software to post/release.
Post Reply

DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

New web inferface (Webif) for SamyGO

Post by DEUS » Fri Apr 06, 2012 6:09 pm

THIS IS TESTING IT WORKS ON MINE D6500 MIGHT WORK ON OTHER AS WELL B and C Series and MSTAR but Limited Functions
Word of warning it should not harm your TV, i try to release only more or less stable packages. But it runs Scripts on your TV.
If you try it its on your own risk, i had no accidently deleted files, better Documentation fill follow, CODE is more important.
when testing consider to read WIKI and search forum about basic things. but any type of Comment is usefull even it does not sound like.

All files are in $SYSROOT/webif and gets copied to /dtv/www or /dtv/cgi-bin on boot, the installer is just temprary
How to install: Open a shell on your TV and enter the following line (it is the latest installer (because i forgot an symlink its not and you need to "mkdir /dtv_rwcommon/temp"))

Code: Select all

. /dtv/SGO.env; wget "http://forum.samygo.tv/download/file.php?mode=view&id=1175" -O /dtv/install.tar; tar -mvxf /dtv/install.tar -C /
then browse to "http://"TV IP Address"/cgi-bin/Modules.cgi" the button online is linked to here and you can install the Modules you want (you need the Main Module)
How to Uninstall: use Modules.cgi and remove all installed Packs and after reboot nothing should be left (If you changed name of installed files they will stay)
How to Update: just update (reinstall) the package or remove and install again and reboot after to get clean /dtv directory (if you did no changes do uninstall and install again)

EDIT: BUILD=2012-04-23 (Still ALPHA)
as written in viewtopic.php?f=21&t=3856&start=90#p30391 i adjusted commands, not changed date use the fix_cmd modules but not well tested jet (anyway i always use latest version) these are on top of the list

EDIT: BUILD=2012-04-21 (Still ALPHA)
Very happy to post a new Pack from juuso this will replace the Info Page (not physicaly now)
i had no time to work on this this week, but now i had trouble to display utf-16 in a cgi-bin if anybody get an idea just post

EDIT: BUILD=2012-04-15 (Still ALPHA)(fix)
Services enable,disable,start and stop are working (no editing yet sorry)
Moviemanager Rename (limited), Decrypt (ARM only), DRM Detection of files. Problems Displaying Charset
Info Page Still needs more Data for users some nice INFO at the beginning
Install issues should be fixed, more infos will follow, BACK button is REFRESH, TAB opens in new Window (better for tablets)

EDIT: BUILD=2012-04-09 (fixed)
there where a lot of changes in script so here is a new version decrypt and will follow if creators are agree. this is still testing.
viewtopic.php?f=22&t=2820 and viewtopic.php?f=21&t=2433
Main Module: Indexpage and Installer are improved, Info and Services are wip
Moviemanager: take care on renaming feature, but will not modify any files just rename
If you tried a earliere Version you may need to manualy remove WebIF folder from Samygo Dir (maybe initscripts as well)

Code: Select all

###
http://forum.samygo.tv/download/file.php?id=1249 poor_webif.SGO_ext.tar #BUILD=2012-05-13 Main WebIF Module
http://forum.samygo.tv/download/file.php?id=2487 MPEGts_patch_D(arm).SGO_ext.tar #BUILD=2013-09-23 Allows you to watch ts movies.
http://forum.samygo.tv/download/file.php?id=2456 STFU_mod_D(arm)_E_F.SGO_ext.tar #BUILD=2013-09-21 STFU mod: change infobanner timers.
http://forum.samygo.tv/download/file.php?id=2334 ChannelInfo_D(arm)_E_F.SGO_ext.tar #BUILD=2013-09-15 ChannelInfo patch
http://forum.samygo.tv/download/file.php?id=2336 SleepTimerMod_D(arm)_E_F.SGO_ext.tar #BUILD=2013-09-15 Sleep timer mod
http://forum.samygo.tv/download/file.php?id=2335 RCremap_D(arm)_E_F.SGO_ext.tar #BUILD=2013-09-01 RC remap tool
http://forum.samygo.tv/download/file.php?id=1826 rtmpdump_arm.SGO_ext.tar #rtmp gateway for ALL series arm, fixed CPU overload!
http://db.tt/tT5WCamb transmission_Mstar.SGO_ext.tar #BUILD=2012-06-05 Torrent_client_for_D_seres_Mstar_models.
http://db.tt/Jnbuaxi8 transmission_arm_B.SGO_ext.tar #BUILD=2012-06-03 Torrent client for B seres arm models.
http://db.tt/n64Fv0WZ transmission_arm_D.SGO_ext.tar #BUILD=2012-06-03 Torrent_client for C,D series arm models.
http://db.tt/ubi4et9P dropbear_ssh_arm_D.SGO_ext.tar #BUILD=2012-06-15 ssh_server_for_custom_rootfs_not_for_public_yet.
http://forum.samygo.tv/download/file.php?id=1275 w3m_arm.SGO_ext.tar #BUILD=2012-06-03 cmd line web browser for ALL series arm.
http://forum.samygo.tv/download/file.php?id=1252 curlftp_arm.SGO_ext.tar #BUILD=2012-05-16 curlftp module for ALL series arm.
http://forum.samygo.tv/download/file.php?id=1248 ntpclient_arm.SGO_ext.tar #BUILD=2012-05-13 ntpclient-2010 module for ALL series arm.
http://forum.samygo.tv/download/file.php?id=1247 serial_unlock_arm.SGO_ext.tar #BUILD=2012-05-13 console_unlock_module
http://forum.samygo.tv/download/file.php?id=1255 xupnpd-arm.SGO_ext.tar #BUILD=2012-05-19 xupnpd_IPTV_server module for ALL series arm
http://forum.samygo.tv/download/file.php?id=1208 moviemanager.SGO_ext.tar #BUILD=2012-05-01 Moviemanager Module
http://forum.samygo.tv/download/file.php?id=1223 Infopage.SGO_ext.tar #BUILD=2012-05-05 Infopage Module by juuso
http://forum.samygo.tv/download/file.php?id=1130 pvr_drm_disable.SGO_ext.tar #PVR_DRM_Disable_Genoa Does_not_work_with_FW_1018
http://forum.samygo.tv/download/file.php?id=1131 pvr_drm_disable.SGO_ext.tar #PVR_DRM_Disable_Valencia
###
REST OF FIRST POST
Today i will provide some files, these are ugly crap of scripts, but works at least on my TV D6500 without killing it.
other files called ext_SGO.tar are the files for the webif.
i am sure you expected something more advanced, but sorry, not yet. please be carefull using the webif installer or tar command are able to overwrite files.
The reason why i use init scripts is i want to happen it with no interaction, small modifications on output will generate CGI input if you prefer to have it in the CGI itself tell me
You do not have the required permissions to view the files attached to this post.

User avatar
juusso
SamyGO Moderator
Posts: 10056
Joined: Sun Mar 07, 2010 6:20 pm

Re: make samygo more userfriendly

Post by juusso » Sat Apr 07, 2012 10:21 am

Thanx, Deus!
Personally i can`t test this these days, but i believe with your help SamyGO really becomes much more user friendly.
If i understood correctly, the modular install/remove of plugins (scripts+privateer) is implemented and this is great idea.
What about of list of all available modules on the server and installing required ones over webif, not only from PC? Some kind of repository system (like ipkg, or just simple online downloading of required archive to tmp and install without advanced interaction of user...).
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: make samygo more userfriendly

Post by DEUS » Sat Apr 07, 2012 12:36 pm

there where some problems during scripting cgi-bin is int /dtv and gets deleted with each reboot, because of this i modified something i had before which i used to deploy files on tv, it can not use forum atachments right now because of output filename. but i load the modules from an internal webserver (works well).
there is no checking of TV version yet so user have to choose the right files, but can be done.
based on your previous post everything shoud run in browser, also working on tablet and mobile.
about modularity this is how it should work, remove is not scripted yet.
this could also run on C/E series and others. it is alwas a point of view how to get things done. if seen some tools runing on PC to do this and they seem to work.
so the general question for me is what is expected from user point of view from an webif, also which infos could be supplied for devels eg. what is missing.
it is a work in progress WebIF approach that basically works, maybe open a new thread for an Webif? Brainstorm D Series is maybe the wrong location.

User avatar
juusso
SamyGO Moderator
Posts: 10056
Joined: Sun Mar 07, 2010 6:20 pm

Re: make samygo more userfriendly

Post by juusso » Sat Apr 07, 2012 2:01 pm

what kind of attachment extensions are needed to be enabled?

EDIT:
New topic on D Series ? Software created.
some space on samygo.tv file storage or just from sourceforge can be used as plugin depot
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO

Post by DEUS » Sat Apr 07, 2012 6:55 pm

Just wondered where the posts went, now i found them, first of all dont use them right now (just tech preview), atm i am preparing an basic installer and remover for ext packs, nearly done. moviemanager now uses other commands to get infos (hope i can provide something more beta during easter holidays).

User avatar
juusso
SamyGO Moderator
Posts: 10056
Joined: Sun Mar 07, 2010 6:20 pm

Re: New web inferface (Webif) for SamyGO

Post by juusso » Sun Apr 08, 2012 6:25 pm

Just installed and first impression is good!
Sure index.html will transform to more robust form, but the webif is already much more functional than before :)
I don`t know if you need bug reports here,had some not working links, and functions (install.php won`t install anything and also to have it working, the /www/module directory is to be created before the webif.init, else i was getting cp errors. I think this must be done from 06_05_apache.init ).

From my as user point of view:
  1. SHARES: nfs/samba/curlftp configuration window (not only stop/start) - optional for manual setting of server IP and shares(mount/add new/unmount each) or automatic (as is now).
  2. SETTINGS:
    • DEVELOP SERVER: Changing of develop server`s IP manually (now it just reads out without posibility to change)
    • NETWORK: - don`t know if possible to change IP and DNS (auto/manual settings).
  3. IPTV: Included xupnpd (port 4044), udpxy(port 8888) status windows (or links or fuse it as frames) (if exists and enabled or write manually the server IP`s and ports)
  4. INFO: installed firmware (e.g. T-GASDEUC-1016.1) (/dtv/.info and /mtd_rwarea/Version* ). mac, uuid, free space on storage (mmcblk0p8). Other info is not really impportant for users, in other hand is ok if you know what is CPU model and how much free ram available :)
  5. WIDGETS: Installed widgets list, install/remove user widgets (same way as modules from web server or upload from PC as zip archive...), also here we could have some manual configuration for installed widgets, develop server IP could be here too.
  6. Manage your movies: ok. just silly idea came to my mind - preview of recorded videos over webgui...
To be updated...

From devels point of view:
  • devels don`t require gui for developing... I think all what is needed could be done from shell.
I think other users could participiate and post here the wanted functions for webif. Anyone? :)
Not only D series, but B and C, E series users too!
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO

Post by DEUS » Sun Apr 08, 2012 8:05 pm

if you like the first impression you will love the next files, just cleaning up (but shipped with many buggy workarounds)
index is nice in next version, Frames, auto add cgi scripts
1 is a feature request (maybe with quick mount entries) seems nfs init script delays start of samygo
2 if it works of course will be implemented
3 did not look into
4 Basic info for user and what is neccesary if asking for support (Basic/Extended) Infos in one place
5 did not somebody posted this is not neccesary? bacause of a widget for it? (might be easy to add)
6 you got the same silly idea as me, works already for unencrypted SD content (maybe needs a better implementation)
yes of course devels like shell, but if the need user infos, just to make it easy for all (extended Info)

User avatar
juusso
SamyGO Moderator
Posts: 10056
Joined: Sun Mar 07, 2010 6:20 pm

Re: New web inferface (Webif) for SamyGO

Post by juusso » Mon Apr 09, 2012 7:25 am

3. (IPTV). It must be tuned up, here is just udpxy included and shiped to TV. We don`t have xupnpd as part of SamyGO, this could be optional as D series can handle iptv over widgets direct, w/o to use dlna server.
This task could be postponed until we figure out how to do this in best way :)
Personally i`m using those tools running from my router, not TV, this is more rational. This is why i think here should be the IP of external dlna/udpxy servers to have status windows as part of webif.

BTW, just checked and can confirm, webif works on B series too. As expected. FileManager is ok, webshell(shell.php) must be configured, but works over Filemanager`s integrated webshell.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO

Post by DEUS » Tue Apr 10, 2012 5:10 am

Maybe off for another week, no access to TV, maybe i will have internet access. EDIT: Free WIFI @ Hotel :D
if you want to help: improvements on current scripts is very welcome
commands on shell (or just offset values to detect DRM) seen this somewhere. EDIT: DONE
maybe code for a web remote control? viewtopic.php?f=12&t=1792

NeoMoucha
SamyGO Project Donor
Posts: 86
Joined: Sat Dec 10, 2011 9:18 pm

Re: New web inferface (Webif) for SamyGO

Post by NeoMoucha » Fri Apr 13, 2012 1:00 pm

I need help with this - i get this:

Code: Select all

. /dtv/SGO.env; wget "http://forum.samygo.tv/download/file.php?mode=view&id=1136" -O /dtv/install.tar; tar -mvxf /dtv/install.tar -C /
--00:51:11--  http://forum.samygo.tv/download/file.php?mode=view&id=1136
           => `/dtv/install.tar'
Resolving forum.samygo.tv... 46.4.199.222
Connecting to forum.samygo.tv[46.4.199.222]:80... failed: Address family not supported by protocol.
Connecting to forum.samygo.tv[46.4.199.222]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10,240 [application/octet-stream]

    0K ..........                                            100%  532.68 KB/s

00:51:26 (532.68 KB/s) - `/dtv/install.tar' saved [10240/10240]

dtv/
dtv/cgi-bin/
dtv/cgi-bin/Modules.cgi
in the "dtv/cgi-bin/" directory, there are only two files (checked through ftp):
Modules.cgi
test.cgi

when I try the link "http://192.168.1.156/dtv/cgi-bin/install.cgi" in the browser, i get "404 not found" error
also when I try the test.cgi or Modules.cgi, I get 404 error
I love SamyGO :)

Post Reply

Return to “[D] Software”