Hacking TV over Hotel mode (most C series models)
Re: Hacking TV over Hotel mode (most C series models)
Did somebody ever did the trick?
T-MSX5DEUC-2009.0
Re: Hacking TV over Hotel mode (most C series models)
I'm new in this thread. I'm interested in hacking my LE40C750. I'v read the samygo wiki and this thread many times and I've nothing found about that someone hacked the LE40C750 successfully without brick. Maybe here is sth. who can help? I have Firmware T-VALDEUC 3011. Is this possible or have I to "downgrade"? Thanks.
Re: Hacking TV over Hotel mode (most C series models)
But if you are scared to brick, you can use "less dangerous" way - widget hac. But then you have to downgrade up to T-VALDEUC 3005.0
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
Re: Hacking TV over Hotel mode (most C series models)
Re: Hacking TV over Hotel mode (most C series models)
I waited some minutes and then restarted TV. Nothing changed, I had also no telnet access. What could be wrong? Please help. Thanks.
By the way: TV not bricked. tried same procedure 3 times.
Re: Hacking TV over Hotel mode (most C series models)

T-MSX5DEUC-2009.0
Re: Hacking TV over Hotel mode (most C series models)
http://wiki.samygo.tv/index.php5/Hackin ... es_models)
Do I have to export files in Hotel Mode before copy modified Clone.dat to USB Stick und reimport Files to TV?12. Copy files exported in Hotel mode (from the step "Clone TV to USB" above, only files, without directories) to /HotelMode directory on USB
Exported in HotelMode files to copy:
./T-MSX5DEUC/Clone:
drwxr-xr-x 2 root root 4096 2010-12-27 18:39 .
drwxr-xr-x 3 root root 4096 2010-12-27 18:39 ..
-rw-r--r-- 1 root root 2304 1980-01-01 00:00 Clone.dat
-rw-r--r-- 1 root root 378 1980-01-01 00:00 FADAT
-rw-r--r-- 1 root root 144 1980-01-01 00:00 FineTune_Digital
-rw-r--r-- 1 root root 188 1980-01-01 00:00 LNBSettingsDataBase.dat
-rw-r--r-- 1 root root 40000 1980-01-01 00:00 map-AirA
-rw-r--r-- 1 root root 292000 1980-01-01 00:00 map-AirD
-rw-r--r-- 1 root root 40000 1980-01-01 00:00 map-CableA
-rw-r--r-- 1 root root 292000 1980-01-01 00:00 map-CableD
-rw-r--r-- 1 root root 4 1980-01-01 00:00 map-ChKey
-rw-r--r-- 1 root root 144000 1980-01-01 00:00 map-SateD
-rw-r--r-- 1 root root 95 1980-01-01 00:00 PackageDataBase.dat
-rw-r--r-- 1 root root 5382 1980-01-01 00:00 PLDAT
-rw-r--r-- 1 root root 720 1980-01-01 00:00 RadioMap
-rw-r--r-- 1 root root 7979 1980-01-01 00:00 SatDataBase.dat
-rw-r--r-- 1 root root 324 1980-01-01 00:00 ServiceProviders
-rw-r--r-- 1 root root 9478 1980-01-01 00:00 SSDAT
-rw-r--r-- 1 root root 98554 1980-01-01 00:00 TransponderDataBase.dat
-rw-r--r-- 1 root root 28 1980-01-01 00:00 TSIDList
-rw-r--r-- 1 root root 4 1980-01-01 00:00 UserTransponderDataBase.dat
Thanks for help!
Re: Hacking TV over Hotel mode (most C series models)
Code: Select all
root@lubuntu:/media/888ee929-9b8c-4bf2-986a-2acb8c8fa7f4# ln -s /link0_Temp /mtd_rwarea/usb_mount/usb_cmd
ln: failed to create symbolic link `/mtd_rwarea/usb_mount/usb_cmd': No such file or directory
EDIT:
Looks like I found my mistake:
Code: Select all
root@lubuntu:/media/888ee929-9b8c-4bf2-986a-2acb8c8fa7f4# ln -s /mtd_rwarea/usb_mount/usb_cmd link0_Temp
root@lubuntu:/media/888ee929-9b8c-4bf2-986a-2acb8c8fa7f4# ln -s /mtd_rwarea/usb_mount/usb_mount link1_Temp
root@lubuntu:/media/888ee929-9b8c-4bf2-986a-2acb8c8fa7f4# ln -s /mtd_rwarea/usb_mount/killself.sh link2_Temp
- beatfreak
- SamyGO Project Donor
- Posts: 597
- Joined: Tue Aug 23, 2011 9:03 am
- Location: Hamburg
- Contact:
Re: Hacking TV over Hotel mode (most C series models)
i am working under openSUSE 12.1
i used programs kwrite for editing
for the sda / sda1 thing it has already been said that when your pendrive was formattet with a partitiontable it will have a number in description, to make it easier to copy the posted examples i'll remove the partitiontable to get drive mounted as sda...
@the newbies and win-users:before we begin lets remember the two MOST important rules in IT-Universe:
1. DO NOT CHANGE A RUNNING SYSTEM
(and as this rule will be violated by our hack-attempt the second one becomes even more important)
2. IF YOU DON'T KNOW WHAT YOU ARE DOING, DON'T DO IT!
(means if you don't understand most of the stuff here better get someone who does in front of your TV than get a bricked TV)
so if you didn't know that you have to be absolute sensitive with upper ans lowercase when writing you better stop reading here and get a cold drink...
we start with making a backup of your channel list, how to export channel list to usb is described in your manual
create a working directory on your pc, lets say /tmp/samygo
(i'll post the commands i entered with path info the commands begin after the ">")
Code: Select all
/>cd /tmp
/tmp>mkdir samygo
/tmp>cd samygo
/tmp/samygo>
copy chllist to workdir
Code: Select all
/tmp/samygo>cp /media/flashdrive/channel_list_UE40C6500_1001.scm /tmp/samygo/
now create usb_mount folder and dummyfile in it, and set full permissions
Code: Select all
/tmp/samygo>mkdir usb_mount
/tmp/samygo>touch usb_mount/1.txt
/tmp/samygo>chmod 777 usb_mount -R
Code: Select all
/tmp/samygo>zip -g channel_list_UE40C6500_1001.scm usb_mount/1.txt
adding: usb_mount/1.txt (stored 0%)
Code: Select all
/tmp/samygo>kwrite run.sh
paste the code for run.sh, save and close
Code: Select all
#!/bin/sh
echo 'OK' >> /dtv/usb/sda/run.ok
# sh -x /dtv/usb/sda/SamyGO/rcSGO >/dev/null 2>&1 &
next file: link0
Code: Select all
/tmp/samygo>kwrite link0
paste the code for link0, save and close
Code: Select all
#!/bin/sh
sh -x /mtd_rwarea/usb_mount/killself.sh &
/sbin/usb_mount/usb_cmd $1 $2 $3 $4 $5 $6 $7
if [ "$1" = "mount" ] ; then
if [ -f /dtv/usb/$3/run.sh ] ; then
chmod 777 /dtv/usb/$3/run.sh
sh -x /dtv/usb/$3/run.sh /dtv/usb/$3
fi
fi
(with cursor key up you can repeat last command, then you only have to change last character in this case)
Code: Select all
/tmp/samygo>kwrite link1
Code: Select all
#!/bin/sh
/sbin/usb_mount/usb_mount $1 $2 $3 $4 $5 $6 $7
Code: Select all
/tmp/samygo>kwrite link2
Code: Select all
#!/bin/sh
sleep 900
echo killself >>/mtd_rwarea/cmd1
sh -x /dtv/usb/sda/run4.sh &
rm -rf /mtd_rwarea/usb_mount/usb_cmd
rm -rf /mtd_rwarea/usb_mount/usb_mount
rm -rf /mtd_rwarea/usb_mount/killself.sh
next file: clone.dat.txt
Code: Select all
/tmp/samygo>kwrite clone.dat.txt
Code: Select all
0000000: 2f6d 7464 5f72 7761 7265 612f 2e2e 2f64 /mtd_rwarea/../d
0000010: 7476 2f75 7362 2f73 6461 2f6c 696e 6b30 tv/usb/sda/link0
0000020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000080: 2f6d 7464 5f72 7761 7265 612f 2e2e 2f64 /mtd_rwarea/../d
0000090: 7476 2f75 7362 2f73 6461 2f6c 696e 6b31 tv/usb/sda/link1
00000a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000100: 2f6d 7464 5f72 7761 7265 612f 2e2e 2f64 /mtd_rwarea/../d
0000110: 7476 2f75 7362 2f73 6461 2f6c 696e 6b32 tv/usb/sda/link2
0000120: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000130: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000140: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000150: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000160: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000170: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Code: Select all
/tmp/samygo>xxd -r clone.dat.txt Clone.dat
Code: Select all
/tmp/samygo>chmod 777 link*
/tmp/samygo>chmod 777 run.sh
to eliminate possible partitions and filesystems we fill the drive with zeros
(be very careful with this, pointing to wrong device and your hdd data will be killed without confirmation)
first check which device it is
Code: Select all
/tmp/samygo>cat /proc/mounts
Code: Select all
/dev/sdb1 /media/flashdisk vfat rw,nosuid,nodev,relatime,errors=continue,barrier=1,data=ordered 0 0
to clear the drive first unmount it via menu eject or
Code: Select all
/tmp/samygo>sudo umount /dev/sdb1
if no erros occured we are ready to clear it with
Code: Select all
sudo dd if=/dev/zero of=/dev/sdb
then we create new ext3 filesystem on it
Code: Select all
/tmp/samygo>sudo /sbin/mkfs.ext3 /dev/sdb -L hackdrive
now we will create the directory structure on the usb-drive
Code: Select all
/tmp/samygo> sudo mkdir /media/hackdrive/link0_Clone
/tmp/samygo> sudo mkdir /media/hackdrive/link1_Clone
/tmp/samygo> sudo mkdir /media/hackdrive/link2_Clone
/tmp/samygo> sudo mkdir /media/hackdrive/T-VALDEUC
/tmp/samygo> sudo mkdir /media/hackdrive/T-VALDEUC/Clone
Code: Select all
/tmp/samygo> sudo cp channel_list_UE40C6500_1001.scm /media/hackdrive/
/tmp/samygo> sudo cp run.sh /media/hackdrive/
/tmp/samygo> sudo cp Clone.dat /media/hackdrive/T-VALDEUC/Clone/
/tmp/samygo> sudo cp link0 /media/hackdrive/T-VALDEUC/Clone/
/tmp/samygo> sudo cp link1 /media/hackdrive/T-VALDEUC/Clone/
/tmp/samygo> sudo cp link2 /media/hackdrive/T-VALDEUC/Clone/
Code: Select all
/tmp/samygo> cd /media/hackdrive/
/media/hackdrive> sudo ln -s /mtd_rwarea/usb_mount/usb_cmd link0_Temp
/media/hackdrive> sudo ln -s /mtd_rwarea/usb_mount/usb_mount link1_Temp
/media/hackdrive> sudo ln -s /mtd_rwarea/usb_mount/killself.sh link2_Temp
Code: Select all
/media/hackdrive> ls -lR
.:
-rw-r--r-- 1 root root 3972 2010-11-30 23:26 channel_list_LE32C550_1001.scm
drwxr-xr-x 2 root root 4096 2010-11-30 23:32 link0_Clone
lrwxrwxrwx 1 root root 29 2010-11-30 23:32 link0_Temp -> /mtd_rwarea/usb_mount/usb_cmd
drwxr-xr-x 2 root root 4096 2010-11-30 23:32 link1_Clone
lrwxrwxrwx 1 root root 31 2010-11-30 23:32 link1_Temp -> /mtd_rwarea/usb_mount/usb_mount
drwxr-xr-x 2 root root 4096 2010-11-30 23:32 link2_Clone
lrwxrwxrwx 1 root root 33 2010-11-30 23:32 link2_Temp -> /mtd_rwarea/usb_mount/killself.sh
drwx------ 2 root root 16384 2010-11-24 19:55 lost+found
-rwxrwxrwx 1 root root 375 2010-12-01 00:56 run.sh
drwxr-xr-x 3 root root 4096 2010-11-30 23:32 T-VALDEUC
./link0_Clone:
./link1_Clone:
./link2_Clone:
./T-VALDEUC:
drwxr-xr-x 2 root root 4096 2010-11-30 23:32 Clone
./T-VALDEUC/Clone:
-rw-r--r-- 1 root root 384 2010-11-30 23:32 Clone.dat
-rwxrwxrwx 1 root root 246 2010-11-30 23:32 link0
-rwxrwxrwx 1 root root 57 2010-11-30 23:32 link1
-rwxrwxrwx 1 root root 199 2010-11-30 23:32 link2
eject hackdrive and move to TV
re import your channellist as described in manual
call HotelMode menu
[MUTE] -> [1] -> [1] -> [9] -> [Enter]
activate HotelMode
if "HotelMode OFF" is highlighted press [RIGHT] to select option
and press [RIGHT] again to set HotelMode to ON
press [RETURN] to get back to HM-menu, you should now see all options changable
press [UP] to move cursor to "Clone USB to TV"
and press [RIGHT] to activate function
TV asks for confirmation, select OK
TV will process the Files and reboot twice
unplug and replug usb-drive to tv, wait a bit, and plug usb-drive to your PC to see if "run.ok" file exists
if we were successful the hardest thing is done! *YAY*
you may want to disable HotelMode by recalling HM-menu as described above
and setting HotelMode back to "OFF"
then restart TV (power off, power on)
then you may want to get your channels back
first i had to set antenna mode in menu from terestrial back to cable (as i use cable TV

and imported my channel list again, (we can use the modified file on hackdrive for this)
now we attempt to get samygo extensions running
we can still use our ext3 formatted drive but then we'll have to do all changes on the drive as superuser and pay attention to execute-permissions
formatting it as vfat makes the whole thing way easier...
have the usb-drive plugged to your pc and eject (unmount) it but leave plugged
then format
Code: Select all
/tmp/samygo> sudo /sbin/mkfs.vfat -n SamyGO /dev/sdb
we need run.sh on this drive too, but now we use it to call samygo extensions
edit it and remove the "#" in last line, if you like place one in front of the run.ok-command as we don't need it anymore
then copy to usb-drive
Code: Select all
/tmp/samygo>cp run.sh /media/SAMYGO/
from http://sourceforge.net/projects/samygo/files/
, in my case for C series, valencia (t-VALdeuc) with ARM processor
located:
Home / C Series / For ARM CPUs / Content Library Applications
download all 3 files (extensions, bugfix, libs) (for example to our workdir)
and unpack in usb-drive in the right order (bugfix after extensions)
Code: Select all
/tmp/samygo>cd /media/SAMYGO
/media/SAMYGO>unzip /tmp/samygo/SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650.zip
/media/SAMYGO>unzip /tmp/samygo/SamyGO-All-Extensions-Bugfix-v0.03.6-r15-for-valencia-20111001120232.zip
/media/SAMYGO>unzip /tmp/samygo/SamyGO-libs-T-VALDEUC-20110123101934.zip
if you like enable or disable some extensions by removing / adding .dis at the end of the filename for the startup scripts in
for example disable something/media/SAMYGO/SamyGO/etc/init.d/
Code: Select all
/media/SAMYGO>cd SamyGO/etc/init.d
/media/SAMYGO/SamyGO/etc/init.d>mv 03_03_djmount.init 03_03_djmount.init.dis
Code: Select all
/media/SAMYGO/SamyGO/etc/init.d>mv 06_05_vsftp.init.dis 06_05_vsftp.init
eject usb-drive properly and plug it to tv
wait a bit to let extensions start and try to ssh to TV
Code: Select all
ssh root@<IP of your TV>
you shoult be prompted for ssh password which is "SamyGO" (probably you first have to confirm the key on first ssh connection to your TV)
if this step was successful its up to you what happens next

to make the hack permanent i modified the link2 aka killself.sh file as following
Code: Select all
#!/bin/sh
sleep 9
echo killself >>/mtd_rwarea/cmd1
#sh -x /dtv/usb/sda1/run4.sh &
#rm -rf /mtd_rwarea/usb_mount/usb_cmd
#rm -rf /mtd_rwarea/usb_mount/usb_mount
#rm -rf /mtd_rwarea/usb_mount/killself.sh
P.S. feel free to use this post for wiki improvement
P.P.S.
if you decide to edit Clone.dat to fit it to your usb-drive devicename in TV
get a hex-editor like okteta or ghex
and change it like this
Code: Select all
0000000: 2f6d 7464 5f72 7761 7265 612f 2e2e 2f64 /mtd_rwarea/../d
0000010: 7476 2f75 7362 2f73 6461 2f6c 696e 6b30 tv/usb/sda1/link
0000020: 3000 0000 0000 0000 0000 0000 0000 0000 0...............
0000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000080: 2f6d 7464 5f72 7761 7265 612f 2e2e 2f64 /mtd_rwarea/../d
0000090: 7476 2f75 7362 2f73 6461 2f6c 696e 6b31 tv/usb/sda1/link
00000a0: 3100 0000 0000 0000 0000 0000 0000 0000 2...............
00000b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000100: 2f6d 7464 5f72 7761 7265 612f 2e2e 2f64 /mtd_rwarea/../d
0000110: 7476 2f75 7362 2f73 6461 2f6c 696e 6b32 tv/usb/sda1/link
0000120: 3200 0000 0000 0000 0000 0000 0000 0000 2...............
0000130: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000140: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000150: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000160: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000170: 0000 0000 0000 0000 0000 0000 0000 0000 ................
//UE46F8090 @ T-FXPDEUC 1136 // rooted by new Widget // root starting with empty usb drive
FYI: you can close your ssh session with SamyGO with
Code: Select all
~.
Re: Hacking TV over Hotel mode (most C series models)

could you please update wiki? Thanks!
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