Hacking TV over Hotel mode (most C series models)

General forum for C series TVs.

User avatar
beatfreak
SamyGO Project Donor
Posts: 566
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

Re: Hacking TV over Hotel mode (most C series models)

Post by beatfreak » Fri Feb 13, 2015 1:48 pm

this is the post where the wiki article has been created from.
you mean point 5 there or in first post of topic?
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Hacking TV over Hotel mode (most C series models)

Post by tempinbox » Sat Apr 11, 2015 6:29 pm

Hi is possible to modify the file usb_cmd created in mtd_rwarea from link0 after the hack?
can i simply re-edit it with notepad++ and reboot tv to apply changes or i lost my hack?I have done hack and i've full access to my tv run.sh is executed from usb.
i want to modify my usb_cmd according to here viewtopic.php?f=13&t=1076#p9426
Last edited by tempinbox on Sat Apr 11, 2015 6:48 pm, edited 1 time in total.

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

Re: Hacking TV over Hotel mode (most C series models)

Post by juusso » Sat Apr 11, 2015 6:33 pm

Do not ever edit scripts with notepad.
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

tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Hacking TV over Hotel mode (most C series models)

Post by tempinbox » Sat Apr 11, 2015 6:43 pm

juuso wrote:Do not ever edit scripts with notepad.
Sorry typo error i mean notepad++.
So its possible or not?
Last edited by tempinbox on Sat Apr 11, 2015 6:47 pm, edited 2 times in total.

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

Re: Hacking TV over Hotel mode (most C series models)

Post by juusso » Sat Apr 11, 2015 6:45 pm

I`m not vell with that hack, but i think everything should work after modiffication. If not, you always can re-hack ;)
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

tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Hacking TV over Hotel mode (most C series models)

Post by tempinbox » Mon Apr 13, 2015 6:21 pm

juuso wrote:I`m not vell with that hack, but i think everything should work after modiffication. If not, you always can re-hack ;)
i try but the results was that tv can't recognize the usb connected to tv so i've to rehack.
i don't understand if the error is due to the wrong usb_cmd maybe i've to ask @mamaich but it's no longer on samygo forum.
juuso do you know how to create a init script for telnet? i'm thinking to start the telnet daemon from busybox present in SamyGO/bin directory but i've no idea in how to do it.

User avatar
beatfreak
SamyGO Project Donor
Posts: 566
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

Re: Hacking TV over Hotel mode (most C series models)

Post by beatfreak » Mon Apr 13, 2015 7:28 pm

so as far as i understand you want to have the modified version of usb_cmd to have telnet enabled?
do you plan on using SamyGO-Extensions? If yes you get a ssh-daemon with it which is more comfortable than telnet.
as you still want to look for a run.sh file on your usb-drive, why don't you put the telnet part of mamaich's script into your run.sh on usb-drive this way the risk of breaking something is way smaller
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Hacking TV over Hotel mode (most C series models)

Post by tempinbox » Mon Apr 13, 2015 8:00 pm

beatfreak wrote:so as far as i understand you want to have the modified version of usb_cmd to have telnet enabled?
do you plan on using SamyGO-Extensions? If yes you get a ssh-daemon with it which is more comfortable than telnet.
as you still want to look for a run.sh file on your usb-drive, why don't you put the telnet part of mamaich's script into your run.sh on usb-drive this way the risk of breaking something is way smaller
i want telnet because is more simple to use for me instead of ssh, telnet don't need login every time i launch it.
i stilll have the run.sh that launch telnet and ftp after tv poweron.
my goal was to create one step usb hack.

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

Re: Hacking TV over Hotel mode (most C series models)

Post by juusso » Tue Apr 14, 2015 8:15 am

take telnet script from any other series and adapt for your needs. Example:

Code: Select all

#!/mnt/bin/busybox sh
#
# ? Copyright 1996-2013, SamyGO
#
#
. /dtv/SGO.env

stop_bootloop()
{
# emergency skript exit to prevent boot loop
      for USB in ${1:- \
         /dtv/usb/sd* } ; do
         echo "checking $USB"
         sleep 1
         if [ -e $USB/STOP_TELNET ]; then
            "STOP_TELNET found. Script exit..."
            exit 1
         fi
      done
}

case $1 in 
	start)
	stop_bootloop # in testing phase. Just for protection.

	# telnet
	$SYSROOT/bin/busybox2 telnetd -p 23 -l $SYSROOT/bin/ash &
	sync

	;;
	stop)
	;;
	status)
	;;
	*)
	echo "Usage: $0 {start|stop|status}" 1>&2
	exit 0
	;;
esac
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

Post Reply

Return to “[C] General”