Page 1 of 2
mtd_rwcommon reset?
Posted: Tue Sep 15, 2015 7:11 pm
by Ceikor
I have a UE46F6270 FW 2110.
How i can reset the mtd_rwcommon partition?
I have write a script to wait for files from USB device with a while loop

and i forgot a "/" and now i hav a loop in the background without exit -.-
and i can not use any widgets. if i go to the app site on the tv, the TV hangs when loading the apps. i have no ftp or telnet access. Factory reset was not helpful.
PLEASE help me
Re: mtd_rwcommon reset?
Posted: Wed Sep 16, 2015 9:22 am
by zoelechat
Where do you launch your faulty script for it to prevent root?? Surely not at a recommended place

You should check if you can get access to netcat on port 4023.
Anyway, you're using USB root, so I don't see where something could be "irreversible"...
Re: mtd_rwcommon reset?
Posted: Wed Sep 16, 2015 10:00 am
by Ceikor
My problem is, i have change the rcSGO to
Code: Select all
while [ ! -e "dtv/usb/sd*" ] <----- here is the probleme, i forgot the "/" on the begin to check path,
do
sleep 2
done
........
so the while can not find a "dtv/usb/sd*"
this is my big fail, so and this script block now the smart hub, i can not start any other widgets (usb or intern)
Edit:
Code: Select all
Connection to 192.168.178.38 4023 port [tcp/*] succeeded!
Re: mtd_rwcommon reset?
Posted: Wed Sep 16, 2015 10:08 am
by juusso
You can take new version of samygo with unchanged rcsgo on usb and get root back. No?
Re: mtd_rwcommon reset?
Posted: Wed Sep 16, 2015 10:10 am
by zoelechat
Netcat works the same way as Telnet, install for example nmap exe package:
https://nmap.org/download.html#windows
then open commandline and enter command:
But if you just replace rcSGO on you rooting USB by original one, problem will be simply gone

Re: mtd_rwcommon reset?
Posted: Wed Sep 16, 2015 10:11 am
by Ceikor
No, smart hub don't show the widget on the usb stick and i can not install over dev account. The login is greyed out.
EDIT:
The problem is, this is a rcSGO from "/mtd_rwcommon/SamyGO/" and this is the first file to start.
Re: mtd_rwcommon reset?
Posted: Wed Sep 16, 2015 10:14 am
by zoelechat
Then kill your process through netcat

And replace rcSGO by original one (you put on USB)
Re: mtd_rwcommon reset?
Posted: Wed Sep 16, 2015 10:15 am
by Ceikor
Can you tell my how? Sry for this noob question.
EDIT:
Ok i will test to usb
EDIT2:
The result is the same, i have copy the rcSGO to the USB root but samy not use this file. How i can kill a process over netcat?
Re: mtd_rwcommon reset?
Posted: Wed Sep 16, 2015 10:25 am
by zoelechat
Put the right rcSGO to the root of your rooting USB (let's say /dtv/usb/sda1)
Connect to netcat as told above, no prompt is expected but you can enter commands.
Find the faulty PID (the number at the beginning of a line containing rcSGO !)
(or "/bin/ps" if TV tells invalid option -A)
Kill it
Then overwrite script by original one from USB
Code: Select all
cp -f /dtv/usb/sda1/rcSGO /mtd_rwcommon/SamyGO
Done

Re: mtd_rwcommon reset?
Posted: Wed Sep 16, 2015 10:47 am
by Ceikor
Next problem, if i use "nc -vt 192.168.178.38 4023" over Linux Mint i get
Code: Select all
Connection to 192.168.178.38 4023 port [tcp/*] succeeded!
but i can not enter any command.
If i use "ncat 192.168.178.38 4023" over Windows, ncat say:
Code: Select all
NCAT: An existing connection was forcibly closed by the remote host...
my firewall is completely off