Manual firmware downgrade, blocked SamyGO by Samsung

Here is information about customize your E series firmware..:!:This forum is NOT FOR USER questions or problems but DEVELOPER.
Post Reply

lukeki
SamyGO Project Donor
Posts: 4
Joined: Fri Apr 25, 2014 10:13 am

Manual firmware downgrade, blocked SamyGO by Samsung

Post by lukeki »

Hi

Dear comunity, I need yours help with understanding all the knowledge from Wiki.

My TV is UE32ES5500
I had before firmware T-MST10PDEUC_1032.0 on my TV hacked with SamyGO widget, installed via USB (InstallSamyGO).
I configured everyting to fit my need (Samba Server, virtual USB etc.) and everything was fine till SmartHub update forced by Samusung couple days ago. SamyGO stopped working, I lost FTP, telnet access and other features like Virtual USB, Samba Server.

First I tried to reinstall SamyGO same way like it was installed, without any luck. Then I done factory restart of SmartHUB and then of everythig else in Service Menu. Then I tried to install SamyGO, once again without any luck. Widget is always installed and after run it in SmartHUB there is notification that everything is fine, but I don't have telnet and FTP access.

So, I tried factory restart and SmartHUB reset couple more times without and success.
Then I done firmware upgrade to T-MST10PDEUC_2000.2, restarted SmartHUB and installed SamyGO widget. Also this time everything installed same way without telnet and FTP access.

Then I rooted TV with Wiki's "Rooting the ES-series" manual. And this is working, I have shell and FTP access. But disadvantage of this solution is that I cannot use features like Virtual USB, Samba and needs to run hack every time.

I tried to find out why SamyGO widget is not working, I tried to run it manually from shell (.sh scripts) and check by FTP what is happening on file system.
I find out that there is no permission to create any file or mount anything in "/mnt", tried to change permissions with chmod but this was impossible to do.
Then I tried to use "/tmp" instead of "/mnt" for SamyGO, I can create files there, so I changed .sh scripts to use new path, but this still is not running SamyGO. Maybe path is transcoded somewehere else...?

I has trying also downgrade firmware usung "DNS hack" from Wiki's.
But when I configure this DNS, TV says that there is no internet connection and I get error 800 when I try to upgrade firmware online.

Can you advice me what else can I do?

Maybe I can downgrade firmware via USB. Patching firmware T-MST10PDEUC_1029.0 with this manual "http://wiki.samygo.tv/index.php5/Extrac ... s_firmware". But I'm not sure if this operation will not brick my TV. I read all manuals on Wiki, forum and I'm very confusted now about this patching.
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: Manual firmware downgrade, blocked SamyGO by Samsung

Post by zoelechat »

No downgrade possible at all on ES/MST.

What you can try:
-gain FTP access using wiki method
-verify that you have SamyGo folder in /mtd_rwcommon/widgets/user, else reinstall SamyGo as usual or create folder and unzip it SamyGo widget found here: viewtopic.php?f=53&t=5797 (then launch widget once)
-unzip/replace attached files in /mtd_rwcommon/moip/engines/Skype (if you can't find folder, first uninstall/reinstall Skype and launch it once, may be needed even if you find folder :) )
libSkype.zip
-reboot TV

edit: Be aware that nobody(?) here has experienced latest 2000.2 firmware so I can't confirm SamyGo still works with it.
You do not have the required permissions to view the files attached to this post.
I do NOT receive any PM. Please use forum.
lukeki
SamyGO Project Donor
Posts: 4
Joined: Fri Apr 25, 2014 10:13 am

Re: Manual firmware downgrade, blocked SamyGO by Samsung

Post by lukeki »

OK, I've done all the steps very carefully couple of times, but without luck.
Widget is installed and Skype autostart is trying to run it on startup, but image 128mb.xfs is not mounting in /mnt or even in /tmp when I'm changing script run.sh.

Can you advice how can I try to debug and find where exacly is the problem with script?
This is basicly Linux, so when I have root shell access maybe I can run some external libraries and get logs in which line of run.sh I have failure.

Also what do thing about patching firmware T-MST10PDEUC_2000.2 and trying to upgrade from USB? (http://wiki.samygo.tv/index.php5/Extrac ... s_firmware)
lukeki
SamyGO Project Donor
Posts: 4
Joined: Fri Apr 25, 2014 10:13 am

Re: Manual firmware downgrade, blocked SamyGO by Samsung

Post by lukeki »

I found where the problem is.
Actually there is couple of problems after SmartHub and firmware update.

1. Functions like: eval("FilePlugin.Copy(\"/proc/self/cmdline\", \"$(sh /dtv/usb/sda1/run.sh)/dtv/usb/sda1/cmdline\")");
In widget not working anymore, I can use "FilePlugin.Copy" only for copying files.

2. Path /tmp/loopnone is nonexec now

I'm using now root solution from wiki, but I've modified run.sh script like that:

Code: Select all

#!/bin/sh

cd /tmp
mkdir /tmp/bin
cp /dtv/usb/sda1/bin/* /tmp/bin/
chmod 777 /tmp/bin/*
/tmp/bin/busybox --install -s /tmp/bin
sync
export PATH=/tmp/bin:$PATH
export LD_LIBRARY_PATH=/tmp/bin:$LD_LIBRARY_PATH
sync
/tmp/bin/busybox tcpsvd -vE 0.0.0.0 21 /tmp/bin/busybox ftpd -w / &
/tmp/bin/remshd &
sync
mknod /tmp/tmpfs b 7 9
losetup /tmp/tmpfs /dtv/usb/sda1/128mb.xfs
mount -o sync,exec /tmp/tmpfs /mnt
sleep 10
bin/sh /tmp/bin/start.sh &
/mtd_down/emps/empWebBrowserDRI/bin/BrowserLauncher
In start.sh code looks like that:

Code: Select all

#!/bin/sh

chmod 777 /mnt/rcSGO
sh /mnt/rcSGO
So, basicly I've changed /tmp/loopnone to /tmp/tmpfs - this one is still executable.
And after running root solution I'm running SamyGO Extensions Pack.

I have all the features of SamyGO now.

But the last problem I have is that I cannot get autostart for this script and need to run manually Widget and then Webbrowser everytime after reboot of TV.

What I can do is to call script with /mtd_rwarea/start.sh to get autostart, but this is too risky I think.
Can you please advice how can I restore TV later if I'll make some mistake with /mtd_rwarea/start.sh?
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Manual firmware downgrade, blocked SamyGO by Samsung

Post by juusso »

dont touch start.sh, here is no way to repair tv if your start.sh is not correctly made or fails to start.

please give the content of /mtd_exe/rc.local
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
lukeki
SamyGO Project Donor
Posts: 4
Joined: Fri Apr 25, 2014 10:13 am

Re: Manual firmware downgrade, blocked SamyGO by Samsung

Post by lukeki »

Here is content of my /mtd_exe/rc.local file:

Code: Select all

#!/mtd_exe/rc.local

echo "/mtd_exe/rc.local start !!!!!"

# insmod chip driver
cat /.version | grep -i X10
if [ $? -eq 0 ]; then
#insmod /mtd_exe/ump.ko
#insmod /mtd_exe/mali.ko
#samsung_mali.ko = mali.ko + ump.ko + mali_drm.ko
insmod /mtd_exe/samsung_mali.ko
fi
insmod /mtd_exe/samsung_mstar.ko

#/mtd_exe/starts.sh

# FastLogo
/mtd_exe/Fastlogo.sh


export MAPLE_DEFAULT_PATH=/mtd_cmmlib/InfoLink/lib
export MAPLE_MANAGER_WIDGET_PATH=/mtd_down/widgets/manager
export MAPLE_NORMAL_WIDGET_PATH=/mtd_down/widgets/normal
export MAPLE_DUMMY_WIDGET_PATH=/mtd_appdata/SmartTV
export MAPLE_WIDGET_DATA_PATH=/mtd_down
export MAPLE_WIDGET_INCLUDE_PATH=/mtd_down/widgets/inc
export MAPLE_PLUGIN_DATA_PATH=/mtd_cmmlib/InfoLink/lib:/mtd_cmmlib/OIPF
export LD_LIBRARY_PATH=/mtd_cmmlib/InfoLink/lib/plugin/Static:/mtd_cmmlib/InfoLink/lib:/mtd_cmmlib/OIPF:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/mtd_exe:/mtd_cmmlib/Comp_LIB:/mtd_cmmlib/Comp_LIB/XT9_LIB:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/mtd_appdata/Java/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/mtd_cmmlib/YWidget_LIB:/mtd_contents:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/mtd_cmmlib/GAME_LIB:/dtv:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/mtd_cmmlib/CBRE:/dtv:$LD_LIBRARY_PATH

#WebServerApp
export LD_LIBRARY_PATH=/mtd_exe/WebServerApp/bin:$LD_LIBRARY_PATH

# WebKit Widget Engine
export WE_DEFAULT_PATH=/mtd_cmmlib/InfoLink/lib
export WE_MANAGER_WIDGET_PATH=/mtd_down/widgets/manager
export WE_NORMAL_WIDGET_PATH=/mtd_down/widgets/normal
export WE_DUMMY_WIDGET_PATH=/mtd_appdata/SmartTV
export WE_WIDGET_DATA_PATH=/mtd_down
export WE_WIDGET_INCLUDE_PATH=/mtd_down/widgets/inc
export WE_PLUGIN_DATA_PATH=/mtd_cmmlib/InfoLink/lib
export WE_PLUGIN_PATH=/mtd_appext/WidgetEngine/Plugins:/mtd_rocommon/Webkit/Plugins/Common
export WE_FONTCONFIG_FILE=/mtd_rocommon/Webkit/fonts/fonts.conf

#====================================
# For ContentsManager
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_cmmlib/CM_LIB
#====================================

# For HBBTV
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_appext/OIPF/lib:/mtd_exe/OIPF/lib

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_cmmlib/YWidget_LIB:/mtd_contents:/mtd_appdata/yahoo:/mtd_cmmlib/moip:/mtd_appext/WidgetEngine:/mtd_rocommon/Webkit



#====================================
# For Flash Player
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_cmmlib/stagecraft20/libs/
#====================================



export HOME=/mtd_moip
export KF_SLEEP_READ=-2
echo 30000 > /mtd_rwarea/DelayValue.txt
#touch /mtd_rwarea/DoPrintYahoo.txt
export KF_NO_INTERACTIVE=1
export KF_LOG=/dev/null #Remove engine logging.
export KF_NO_LOG=1

#====================================
# For XServer
export  XVT_DEFAULT="/dev/tty0"
export  XVT_RUNTIME="/dev/tty%d"

mknod /dev/tty0 c 4 0
mknod /dev/tty1 c 4 1
mknod /dev/tty2 c 4 2
mknod /dev/tty3 c 4 3
export DISPLAY=:0


export PANGO_RC_FILE=/mtd_cmmlib/Runtime/pango/pangorc
export GTK_PATH=/mtd_cmmlib/Runtime/lib/gtk-2.0
export PATH=/mtd_cmmlib/Runtime/bin:$PATH

export LD_LIBRARY_PATH=/mtd_cmmlib/Runtime/XorgLibs:/mtd_cmmlib/Runtime/lib/CairoShadow:/mtd_cmmlib/Runtime/lib:$LD_LIBRARY_PATH
export FONTCONFIG_PATH=/mtd_cmmlib/Runtime/fonts
export FONTCONFIG_FILE=/mtd_rocommon/WebBrowser/fonts/fonts.conf
export PATH=$PATH:/mtd_cmmlib/Runtime/bin
export COMPILED_KEYMAP_PATH="/mtd_cmmlib/Runtime"
export XSERVER_RW_PATH=/mtd_rwarea
#====================================

# GINGA-NCL 
export GDK_PIXBUF_MODULE_FILE=/mtd_exe/Runtime/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache

ulimit -c unlimited

#====================================
# Start Streamline
# End Streamline
#====================================

if [ -f /mtd_rwarea/start.sh ];
then
	/mtd_rwarea/start.sh
else
	cd /mtd_exe/
	./exeDSP
fi
TeHashX
SamyGO Project Donor
Posts: 43
Joined: Wed Apr 17, 2013 8:18 am
Location: Europe

Re: Manual firmware downgrade, blocked SamyGO by Samsung

Post by TeHashX »

I have the same issue after media hub was auto updated on UE40ES6100
yepp
Posts: 43
Joined: Sat Oct 08, 2011 1:06 pm

Re: Manual firmware downgrade, blocked SamyGO by Samsung

Post by yepp »

got the same /mtd_exe/rc.local
and not working eval("FilePlugin.Copy(\"/proc/self/cmdline\", \"$(sh /dtv/usb/sda1/run.sh)/dtv/usb/sda1/cmdline\")");

successfully made auto boot with /mtd_rwarea/start.sh


lukeki wrote:Here is content of my /mtd_exe/rc.local file:

Code: Select all

#!/mtd_exe/rc.local

echo "/mtd_exe/rc.local start !!!!!"

# insmod chip driver
cat /.version | grep -i X10
if [ $? -eq 0 ]; then
#insmod /mtd_exe/ump.ko
#insmod /mtd_exe/mali.ko
#samsung_mali.ko = mali.ko + ump.ko + mali_drm.ko
insmod /mtd_exe/samsung_mali.ko
fi
insmod /mtd_exe/samsung_mstar.ko

#/mtd_exe/starts.sh

# FastLogo
/mtd_exe/Fastlogo.sh


export MAPLE_DEFAULT_PATH=/mtd_cmmlib/InfoLink/lib
export MAPLE_MANAGER_WIDGET_PATH=/mtd_down/widgets/manager
export MAPLE_NORMAL_WIDGET_PATH=/mtd_down/widgets/normal
export MAPLE_DUMMY_WIDGET_PATH=/mtd_appdata/SmartTV
export MAPLE_WIDGET_DATA_PATH=/mtd_down
export MAPLE_WIDGET_INCLUDE_PATH=/mtd_down/widgets/inc
export MAPLE_PLUGIN_DATA_PATH=/mtd_cmmlib/InfoLink/lib:/mtd_cmmlib/OIPF
export LD_LIBRARY_PATH=/mtd_cmmlib/InfoLink/lib/plugin/Static:/mtd_cmmlib/InfoLink/lib:/mtd_cmmlib/OIPF:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/mtd_exe:/mtd_cmmlib/Comp_LIB:/mtd_cmmlib/Comp_LIB/XT9_LIB:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/mtd_appdata/Java/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/mtd_cmmlib/YWidget_LIB:/mtd_contents:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/mtd_cmmlib/GAME_LIB:/dtv:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/mtd_cmmlib/CBRE:/dtv:$LD_LIBRARY_PATH

#WebServerApp
export LD_LIBRARY_PATH=/mtd_exe/WebServerApp/bin:$LD_LIBRARY_PATH

# WebKit Widget Engine
export WE_DEFAULT_PATH=/mtd_cmmlib/InfoLink/lib
export WE_MANAGER_WIDGET_PATH=/mtd_down/widgets/manager
export WE_NORMAL_WIDGET_PATH=/mtd_down/widgets/normal
export WE_DUMMY_WIDGET_PATH=/mtd_appdata/SmartTV
export WE_WIDGET_DATA_PATH=/mtd_down
export WE_WIDGET_INCLUDE_PATH=/mtd_down/widgets/inc
export WE_PLUGIN_DATA_PATH=/mtd_cmmlib/InfoLink/lib
export WE_PLUGIN_PATH=/mtd_appext/WidgetEngine/Plugins:/mtd_rocommon/Webkit/Plugins/Common
export WE_FONTCONFIG_FILE=/mtd_rocommon/Webkit/fonts/fonts.conf

#====================================
# For ContentsManager
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_cmmlib/CM_LIB
#====================================

# For HBBTV
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_appext/OIPF/lib:/mtd_exe/OIPF/lib

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_cmmlib/YWidget_LIB:/mtd_contents:/mtd_appdata/yahoo:/mtd_cmmlib/moip:/mtd_appext/WidgetEngine:/mtd_rocommon/Webkit



#====================================
# For Flash Player
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_cmmlib/stagecraft20/libs/
#====================================



export HOME=/mtd_moip
export KF_SLEEP_READ=-2
echo 30000 > /mtd_rwarea/DelayValue.txt
#touch /mtd_rwarea/DoPrintYahoo.txt
export KF_NO_INTERACTIVE=1
export KF_LOG=/dev/null #Remove engine logging.
export KF_NO_LOG=1

#====================================
# For XServer
export  XVT_DEFAULT="/dev/tty0"
export  XVT_RUNTIME="/dev/tty%d"

mknod /dev/tty0 c 4 0
mknod /dev/tty1 c 4 1
mknod /dev/tty2 c 4 2
mknod /dev/tty3 c 4 3
export DISPLAY=:0


export PANGO_RC_FILE=/mtd_cmmlib/Runtime/pango/pangorc
export GTK_PATH=/mtd_cmmlib/Runtime/lib/gtk-2.0
export PATH=/mtd_cmmlib/Runtime/bin:$PATH

export LD_LIBRARY_PATH=/mtd_cmmlib/Runtime/XorgLibs:/mtd_cmmlib/Runtime/lib/CairoShadow:/mtd_cmmlib/Runtime/lib:$LD_LIBRARY_PATH
export FONTCONFIG_PATH=/mtd_cmmlib/Runtime/fonts
export FONTCONFIG_FILE=/mtd_rocommon/WebBrowser/fonts/fonts.conf
export PATH=$PATH:/mtd_cmmlib/Runtime/bin
export COMPILED_KEYMAP_PATH="/mtd_cmmlib/Runtime"
export XSERVER_RW_PATH=/mtd_rwarea
#====================================

# GINGA-NCL 
export GDK_PIXBUF_MODULE_FILE=/mtd_exe/Runtime/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache

ulimit -c unlimited

#====================================
# Start Streamline
# End Streamline
#====================================

if [ -f /mtd_rwarea/start.sh ];
then
	/mtd_rwarea/start.sh
else
	cd /mtd_exe/
	./exeDSP
fi

Post Reply

Return to “[E] Firmware”