[Ended] E series widget -autostart w/o USB

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

zarigo
SamyGO Project Donor
Posts: 136
Joined: Tue Jan 22, 2013 2:45 am
Location: Spain

Re: [Testing] Update2: E series widget -autostart w/o USB

Post by zarigo »

zeddan81 wrote:UE40ES5505 T-MST10PDEUC-1032.0
USB INSTALLER.

FTP: OK
TELNET: NO
SSH: NO
SMB: NO
HTTP 1080: NO
Please, test NetCat on port 1023....(no 1080)

Thanks
Samsung UE49K6400 Waiting for RooT or any tools for K series...
Thanks @sectroyer for your work and help!!
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: [Testing] Update2: E series widget -autostart w/o USB

Post by miazza »

juuso wrote:just preparing and checking if it mounts correctly
Hi juuso, would you mind to post the change that are implemented in every revision of the widget ?
It is just to know what we are testing.

Thanks again for the great job you are doing.

miazza
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: [Testing] Update2: E series widget -autostart w/o USB

Post by miazza »

fluffi444 wrote:
hubecker wrote:Hi,
After editing user and password in 04_04_samba.init and loading cifs.ko manually i can confirm samba is running
Hubert
Hey Hubert - Could you please check yor Camera app while your TV is running SamyGO?
Camera is well working here on my ES8000.
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
User avatar
fluffi444
SamyGO Project Donor
Posts: 569
Joined: Fri Apr 05, 2013 9:55 pm
Location: Germany

Re: [Testing] Update2: E series widget -autostart w/o USB

Post by fluffi444 »

hubecker wrote:Camera is well working here on my ES8000.
Thanks for the info - that give me again questions why mine is not working with SamyGO installed :?
TV: UE40ES7000 @ UE40ES8090 - T-ECPDEUC-2022.0 // SamyGO
CI+: Unicam EVO 4 with HD+ (HD02) @ Pacific 4.60
NET: Samba: PC
User avatar
fluffi444
SamyGO Project Donor
Posts: 569
Joined: Fri Apr 05, 2013 9:55 pm
Location: Germany

Re: [Testing] Update2: E series widget -autostart w/o USB

Post by fluffi444 »

I just tested the new online widget via development account. Installtion works.

But only FTP is working.... I wonder why quite all init scpits have "only" 755 rights... Not 777 as they had on older app.
FTP OK
Rest NOT OK

The new method via USB does not work also. No install widget shows up after reboot... Downloaded it freshly from the links...

Took again older Version and USB installation (and all SamyGO functions) works again without any further script changing or so....

Looks like there are some bugs in then new version...

AND NEW INFO REGARDING THE NOT WORKING INTERNAL WEBCAM ES7000/8000:


First I disabled all scripts and Camera is working! Then trail and error! :shock:

And the issue comes from the first in the row: The script 01_01_catch_crap.init is the problem.

After disabeling it SamyGo and Samba are working and also the camera is fully OK! :mrgreen:

There must be someting in this telnet script that stops the camera! Up to now I don't know what exactly.....

I think I can live without telnet or switch it on if needed... All needed "manual" things are working well with phpsysinfo...

But if you have some hints or remarks what of the 01_01_catch_crap.init script could be the problem please let me know...

Code: Select all

#!/bin/sh
#
# ? Copyright 1996-2011, SamyGO
#
#	moded for full telnet on E series.
. /dtv/SGO.env

case $1 in 
	start)
	 $SYSROOT/bin/console &
	 $SYSROOT/bin/authuld_echop &
#	 $SYSROOT/bin/echop_uep_kill &
	# enable loopback network interface, required on some b-series (b550,b6000?)
	ifconfig lo 127.0.0.1
	# unhide 'unsupported' filesystems from usb mount (don't work?)
	sed -i "s,\(FileSystem : \)ext.,\1vfat,g" /dtv/usb/log
	# set time, required for ssl communication but tv 'll show strange values, so disable per default
	../../bin/busybox date -s "2011-06-23 13:45:00"
	# c-series mips
	# todo write test...
	mount -t tmpfs none /mtd_ram
	# prepare for full module replacement
	# lsmod | sed 's#.* .*[0-9] .*[0-9] \(.*\)#\1#' | sed 's#,# #g' 
	# just for d-series and e-series!!!!
	 $SYSROOT/bin/busybox tcpsvd -vE 0.0.0.0 21 $SYSROOT/bin/busybox ftpd -w / &
	
	#just in case, netcat shell on 1023 port
	$SYSROOT/bin/busybox nc -l -l -p 1023 -e /bin/sh &

	#new telnetd
	[ -e $MOD_DIR/kernel/pty/mount.ko ] && insmod $MOD_DIR/kernel/drivers/pty/mount.ko || echo "mount.ko not found."
	insmod $MOD_DIR/kernel/drivers/pty/devpts.ko
	$SYSROOT/bin/busybox2 mount -t devpts devpts /dev/pts
	insmod $MOD_DIR/kernel/drivers/pty/pty.ko
	[ ! -L /mtd_rwarea/sh ] && ln -s $SYSROOT/bin/busybox2 /mtd_rwarea/sh || echo "sh symlink exists"
	$SYSROOT/bin/busybox2 telnetd  -l /mtd_rwarea/sh

	cp -fa /dtv/usb/sd*/smb_userdata /mtd_rwarea/smb_userdata || echo "no smb_userdata found or copy error"
	;;
	stop)
	echo "no stop..."
	;;
	status)
	;;
	*)
	echo "Usage: $0 {start|stop}" 1>&2
	exit 0
	;;
esac
TV: UE40ES7000 @ UE40ES8090 - T-ECPDEUC-2022.0 // SamyGO
CI+: Unicam EVO 4 with HD+ (HD02) @ Pacific 4.60
NET: Samba: PC
iDeep
Posts: 35
Joined: Wed Apr 24, 2013 3:15 pm

Re: [Testing] Update2: E series widget -autostart w/o USB

Post by iDeep »

I can also confirm that only FTP is working for the model and firmware as in my signature. The Samba share and virtual USB worked for the first day but is no longer working !!!!
Samsung UA40ES6600R (XZN)
Firmware : T-MST10PDAAC-1017.1
DATE : 2013-02-26
MICOM : T-MST10PDAAS-1004
SDAL : 4.28.0.0
User avatar
fluffi444
SamyGO Project Donor
Posts: 569
Joined: Fri Apr 05, 2013 9:55 pm
Location: Germany

Re: [Testing] Update2: E series widget -autostart w/o USB

Post by fluffi444 »

WEBCAM ISSUE

Found the line in 01_01_catch_crap.init which makes the trouble... This line even stopps the script from running through... (01_01_catch_crap.init stops with reddish window in phpsysinfo/shell)

Code: Select all

mount -t tmpfs none /mtd_ram    
This is the whole script without this line:

Code: Select all

#!/bin/sh
#
# ? Copyright 1996-2011, SamyGO
#
#	moded for full telnet on E series.
. /dtv/SGO.env

case $1 in 
	start)
	 $SYSROOT/bin/console &
	 $SYSROOT/bin/authuld_echop &
#	 $SYSROOT/bin/echop_uep_kill &
	# enable loopback network interface, required on some b-series (b550,b6000?)
	ifconfig lo 127.0.0.1
	# unhide 'unsupported' filesystems from usb mount (don't work?)
	sed -i "s,\(FileSystem : \)ext.,\1vfat,g" /dtv/usb/log
	# set time, required for ssl communication but tv 'll show strange values, so disable per default
	../../bin/busybox date -s "2011-06-23 13:45:00"
	# c-series mips
	# todo write test...
#	mount -t tmpfs none /mtd_ram     # ERROR!
	# prepare for full module replacement
	# lsmod | sed 's#.* .*[0-9] .*[0-9] \(.*\)#\1#' | sed 's#,# #g' 
	# just for d-series and e-series!!!!
	$SYSROOT/bin/busybox tcpsvd -vE 0.0.0.0 21 $SYSROOT/bin/busybox ftpd -w / &
	
	#just in case, netcat shell on 1023 port
	$SYSROOT/bin/busybox nc -l -l -p 1023 -e /bin/sh &

	#new telnetd
	[ -e $MOD_DIR/kernel/pty/mount.ko ] && insmod $MOD_DIR/kernel/drivers/pty/mount.ko || echo "mount.ko not found."
	insmod $MOD_DIR/kernel/drivers/pty/devpts.ko
	$SYSROOT/bin/busybox2 mount -t devpts devpts /dev/pts
	insmod $MOD_DIR/kernel/drivers/pty/pty.ko
	[ ! -L /mtd_rwarea/sh ] && ln -s $SYSROOT/bin/busybox2 /mtd_rwarea/sh || echo "sh symlink exists"
	$SYSROOT/bin/busybox2 telnetd  -l /mtd_rwarea/sh

	cp -fa /dtv/usb/sd*/smb_userdata /mtd_rwarea/smb_userdata || echo "no smb_userdata found or copy error"
	;;
	stop)
	echo "no stop..."
	;;
	status)
	;;
	*)
	echo "Usage: $0 {start|stop}" 1>&2
	exit 0
	;;
esac
That gives me this results - This looks like that there are still some mismatches:

Code: Select all

root@(none) phpsysinfo $ sh -x /mnt/etc/init.d/01_01_catch_crap.init start

+ . /dtv/SGO.env
+ SYSROOT=/mnt
+ MOUNT_PATH=/dtv/usb/sdc
+ export MOD_DIR=/mnt/lib/modules/2.6.35.13
+ export TMPDIR=/dtv
+ export HOME=/mtd_wiselink
+ export SMB_CONF_PATH=/mnt/etc/samba/smb.conf
+ LOGFILE=/mnt/samygo.log
+ LD_LIBRARY_PATH=/mnt/opt/privateer/lib:/mnt/opt/privateer/usr/lib:/mnt/lib:/mnt/usr/lib:/mnt/lib:/mtd_cmmlib/RECOGNITION_LIB:/lib:/mtd_cmmlib/lib:/mtd_cmmlib/Comp_LIB:/mtd_exe/lib:/mtd_cmmlib/YWidget_LIB:/mtd_contents:/mtd_cmmlib/InfoLink/lib/plugin/Static:/mtd_appdata/moip:/mtd_cmmlib/GAME_LIB:/mtd_appdata/gemstar:/mtd_cmmlib/DRM_LIB:/Java/lib:/mtd_cmmlib/InfoLink/lib:/dtv:/mtd_appext/WidgetEngine:/mtd_rocommon/Webkit:/mtd_appext/Webkit:/mtd_exe/WebServerApp/bin:/mtd_appdata/Runtime/lib/CairoShadow:/mtd_appdata/Runtime/lib:/mtd_appdata/Runtime/XorgLibs:/mtd_appdata/yahoo:/mtd_appdata/yahoo/lib:/mtd_cmmlib/CM_LIB:/mtd_appext/OIPF/lib:/mtd_exe/OIPF/lib
+ PATH=/mnt/opt/privateer/sbin:/mnt/opt/privateer/bin:/mnt/opt/privateer/usr/bin:/mnt/opt/privateer/usr/sbin:/mnt/sbin:/mnt/bin:/mnt/usr/bin:/mnt/usr/sbin:/mnt/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc/Scripts:/util:/mtd_appdata/Runtime/bin
+ export ENV=/dtv/.ashrc
+ export FRAMEBUFFER=/dev/sam/fb0
+ export DISTROOT=/mnt/opt/privateer
+ + ifconfig/mnt/bin/console lo
 127.0.0.1
+ /mnt/bin/authuld_echop
/mnt/etc/init.d/01_01_catch_crap.init: line 1: /mnt/bin/authuld_echop: not found
+ sed -i s,\(FileSystem : \)ext.,\1vfat,g /dtv/usb/log
sed: /dtv/usb/log: No such file or directory
+ ../../bin/busybox date -s 2011-06-23 13:45:00
/mnt/etc/init.d/01_01_catch_crap.init: line 1: ../../bin/busybox: not found
+ [ -e /mnt/lib/modules/2.6.35.13/kernel/pty/mount.ko ]
+ echo mount.ko not found.
mount.ko not found.
+ insmod /mnt/lib/modules/2.6.35.13/kernel/drivers/pty/devpts.ko
+ /mnt/bin/busybox tcpsvd -vE 0.0.0.0 21 /mnt/bin/busybox ftpd -w /
+ /mnt/bin/busybox nc -l -l -p 1023 -e /bin/sh
tcpsvd: bind: Address already in use
nc: bind: Address already in use
insmod: can't insert '/mnt/lib/modules/2.6.35.13/kernel/drivers/pty/devpts.ko': File exists
+ /mnt/bin/busybox2 mount -t devpts devpts /dev/pts
mount: mounting devpts on /dev/pts failed: Device or resource busy
+ insmod /mnt/lib/modules/2.6.35.13/kernel/drivers/pty/pty.ko
insmod: can't insert '/mnt/lib/modules/2.6.35.13/kernel/drivers/pty/pty.ko': File exists
+ [ ! -L /mtd_rwarea/sh ]
+ echo sh symlink exists
sh symlink exists
+ /mnt/bin/busybox2 telnetd -l /mtd_rwarea/sh
+ cp -fa /dtv/usb/sd*/smb_userdata /mtd_rwarea/smb_userdata
cp: can't stat '/dtv/usb/sd*/smb_userdata': No such file or directory
+ echo no smb_userdata found or copy error
no smb_userdata found or copy error
Platform: T-ECPDEUC

ECHO Platform!....
checking adress 60000000 to 60440000
Serial Console alredy enabled or not found code 
checking adress 60008000 to 60448000
Serial Console alredy enabled or not found code 
checking adress 80008000 to 80448000
Serial Console alredy enabled or not found code 
checking adress 40008000 to 40448000
Serial Console alredy enabled or not found code 
checking adress a0008000 to a0448000
Serial Console alredy enabled or not found code 
TV: UE40ES7000 @ UE40ES8090 - T-ECPDEUC-2022.0 // SamyGO
CI+: Unicam EVO 4 with HD+ (HD02) @ Pacific 4.60
NET: Samba: PC
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: [Testing] Update2: E series widget -autostart w/o USB

Post by miazza »

fluffi444 wrote:
hubecker wrote:Camera is well working here on my ES8000.
Thanks for the info - that give me again questions why mine is not working with SamyGO installed :?
I think I spoke too eary. This morning I checked again with Samygo running and camera is not working. I have black screen instead.
This is something to be addressed and possibly fixed...

Did you resolve the issue with the above modification ?
I think is is worth to open a dedicated topic for this. Will you ?
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
User avatar
fluffi444
SamyGO Project Donor
Posts: 569
Joined: Fri Apr 05, 2013 9:55 pm
Location: Germany

Re: [Testing] Update2: E series widget -autostart w/o USB

Post by fluffi444 »

hubecker wrote:Did you resolve the issue with the above modification ? I think is is worth to open a dedicated topic for this. Will you ?
OK - Good to know that this issue is not only on my TV... Yes - I did! Camera works and no other issues found. :D

Just do set an # before this line in 01_01_catch_crap.init that it looks like this (The # deactivates this command)

Code: Select all

#   mount -t tmpfs none /mtd_ram
I dont know what this line has to do normally. But its definitely this line which causes the camera to fail. "mount -t tmpfs" must be something to mount an Temp File System... For what? Don't know!

Let's wait for juuso. There are some other things to look at into this 01_01_catch_crap.init script.... Step by Step...

Please reply if you test this. I think this will solve your camera issue too.
TV: UE40ES7000 @ UE40ES8090 - T-ECPDEUC-2022.0 // SamyGO
CI+: Unicam EVO 4 with HD+ (HD02) @ Pacific 4.60
NET: Samba: PC
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: [Testing] Update2: E series widget -autostart w/o USB

Post by miazza »

fluffi444 wrote:
hubecker wrote:Did you resolve the issue with the above modification ? I think is is worth to open a dedicated topic for this. Will you ?
OK - Good to know that this issue is not only on my TV... Yes - I did! Camera works and no other issues found. :D

Just do set an # before this line in 01_01_catch_crap.init that it looks like this (The # deactivates this command)

Code: Select all

#   mount -t tmpfs none /mtd_ram
I dont know what this line has to do normally. But its definitely this line which causes the camera to fail. "mount -t tmpfs" must be something to mount an Temp File System... For what? Don't know!

Let's wait for juuso. There are some other things to look at into this 01_01_catch_crap.init script.... Step by Step...

Please reply if you test this. I think this will solve your camera issue too.
This worked also for me. Thanks for the info sharing and ... how did you discover this ? :=).
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.

Locked

Return to “[E] Software”