Difference between revisions of "Enable Network support on B550 and B6000 Series Devices"


From SamyGO
Jump to: navigation, search
Line 1: Line 1:
Instructions to network enable kernel for T-CHL5DAUC(UA32B6000)<br />
+
Instructions tested on TV model '''UA32B6000 firmware T-CHL5DAUC'''<br />
READ ALL BEFORE ATTEMPTING - ASK QUESTIONS IF ANYTHING UNCLEAR<br />
+
'''READ ALL BEFORE ATTEMPTING - ASK QUESTIONS IF ANYTHING UNCLEAR HERE: [http://forum.samygo.tv/viewtopic.php?f=2&t=956 Forum Thread]'''<br />
IMPORTANT: before beginning dump/backup all important partitions in case of bricked tv. <i>(for instructions see step 4)</i> hopefully not required if careful
+
'''IMPORTANT:''' before beginning dump/backup all important partitions in case of bricked tv. <i>(for instructions see step 4)</i> hopefully not required if careful
 
+
== Requirements==
# '''<u>Download network enabled kernel and extract to fat formatted usb flash drive</u>'''
+
To Do
## Directory structure as following:
+
==Step 1 - Download New Networked Enabled Kernel==
 +
:<code lang="text">
 +
:<u><b>Download network enabled kernel and extract to fat formatted usb flash drive.</b></u>
 +
:<b>T-CHL5DAUC Download link: [http://linux.zsolttech.com/Samsung/SamyGO-Flash-Image-v0.01.1-r01-for-arm-T-CHL5DAUC-20101118183911.zip]
 +
:T-CHL5DEUC Download link: [http://linux.zsolttech.com/Samsung/SamyGO-Flash-Image-v0.01.1-r02-T-CHL5DEUC-20101209195338.zip]</b>
 +
:</code>
 +
# Directory structure as following:
 +
#: <pre>
 +
#: usb-root
 +
#: +-- boot
 +
#: ¦  +-- uImage
 +
#: +-- T-CHL5DAUC
 +
#:    +-- crc
 +
#:    +-- ddcmp
 +
#:    +-- image
 +
#:    ¦  +-- Image
 +
#:    ¦  +-- info.txt
 +
#:    ¦  +-- major_version
 +
#:    ¦  +-- minor_version
 +
#:    ¦  +-- serial_temp
 +
#:    ¦  +-- validinfo.txt
 +
#:    ¦  +-- version_info.txt
 +
#:    +-- MicomCtrl
 +
#:    +-- modules
 +
#:        +-- 2.6.18_SELP-ARM
 +
#:            +-- extra
 +
#:            ¦  +-- rt2570.ko
 +
#:            +-- kernel
 +
#:                +-- drivers
 +
#:                ¦  +-- block
 +
#:                ¦  ¦  +-- loop.ko
 +
#:                ¦  ¦  +-- pktcdvd.ko
 +
#:                ¦  +-- bluetooth
 +
#:                ¦  ¦  +-- hci_usb.ko
 +
#:                ¦  +-- cdrom
 +
#:                ¦  ¦  +-- cdrom.ko
 +
#:                ¦  +-- input
 +
#:                ¦  ¦  +-- evdev.ko
 +
#:                ¦  +-- net
 +
#:                ¦  ¦  +-- dm9601.ko
 +
#:                ¦  ¦  +-- rt2570.ko
 +
#:                ¦  ¦  +-- rt3070sta.ko
 +
#:                ¦  +-- rt2870
 +
#:                ¦  ¦  +-- os
 +
#:                ¦  ¦      +-- linux
 +
#:                ¦  ¦          +-- rt2870sta.ko
 +
#:                ¦  +-- rt73
 +
#:                ¦  ¦  +-- Module
 +
#:                ¦  ¦      +-- rt73.ko
 +
#:                ¦  +-- scsi
 +
#:                ¦  ¦  +-- sg.ko
 +
#:                ¦  ¦  +-- sr_mod.ko
 +
#:                ¦  +-- usb
 +
#:                ¦  ¦  +-- gadget
 +
#:                ¦  ¦  ¦  +-- dummy_hcd.ko
 +
#:                ¦  ¦  ¦  +-- g_file_storage.ko
 +
#:                ¦  ¦  +-- input
 +
#:                ¦  ¦      +-- usbhid.ko
 +
#:                ¦  +-- video
 +
#:                ¦      +-- cfbcopyarea.ko
 +
#:                ¦      +-- cfbfillrect.ko
 +
#:                ¦      +-- cfbimgblt.ko
 +
#:                ¦      +-- console
 +
#:                ¦      ¦  +-- bitblit.ko
 +
#:                ¦      ¦  +-- fbcon.ko
 +
#:                ¦      ¦  +-- font.ko
 +
#:                ¦      ¦  +-- softcursor.ko
 +
#:                ¦      +-- fb.ko
 +
#:                ¦      +-- vfb.ko
 +
#:                +-- fs
 +
#:                ¦  +-- cifs
 +
#:                ¦  ¦  +-- cifs.ko
 +
#:                ¦  +-- coda
 +
#:                ¦  ¦  +-- coda.ko
 +
#:                ¦  +-- hfs
 +
#:                ¦  ¦  +-- hfs.ko
 +
#:                ¦  +-- hfsplus
 +
#:                ¦  ¦  +-- hfsplus.ko
 +
#:                ¦  +-- isofs
 +
#:                ¦  ¦  +-- isofs.ko
 +
#:                ¦  +-- lockd
 +
#:                ¦  ¦  +-- lockd.ko
 +
#:                ¦  +-- nfs
 +
#:                ¦  ¦  +-- nfs.ko
 +
#:                ¦  +-- nfs_common
 +
#:                ¦  ¦  +-- nfs_acl.ko
 +
#:                ¦  +-- udf
 +
#:                ¦      +-- udf.ko                                             
 +
#:                +-- net
 +
#:                    +-- bluetooth
 +
#:                    ¦  +-- bluetooth.ko
 +
#:                    ¦  +-- bnep
 +
#:                    ¦  ¦  +-- bnep.ko
 +
#:                    ¦  +-- hidp
 +
#:                    ¦  ¦  +-- hidp.ko
 +
#:                    ¦  +-- l2cap.ko
 +
#:                    ¦  +-- rfcomm
 +
#:                    ¦  ¦  +-- rfcomm.ko
 +
#:                    ¦  +-- sco.ko
 +
#:                    +-- sunrpc
 +
#:                        +-- auth_gss
 +
#:                            +-- auth_rpcgss.ko
 +
#:                            +-- rpcsec_gss_krb5.ko
 +
#: </pre>
 +
==Step 2 - Test Modified Kernel Before Flash To TV==
 +
:<code lang="text">
 +
:<u><b>Test kernel image via u-boot with Exlink cable. (with usb drive prepared in step 1 plugged in tv usb port)</b></u>
 +
:</code>
 +
# Enter service menu, tv is initially '''off''', then on remote control hit '''{info}-{menu}-{mute}-{ON}'''
 +
# Change setting for your RS232C interface to '''"debug"''' ( Control -> Sub Option -> RS-232 Jack -> [ Debug | UART | Logic ] )
 +
# Change setting for Watchdog to '''"off"''' ( Control -> Sub Option -> Watchdog -> [ on | off ] )
 +
# Exit service menu & switch off tv.
 +
# Connect computer to tv via exlink cable and start telnet. (to test connection, switch on & off tv to see output in telnet)
 +
# Press and hold '''"~" (shift + "~")''' and while holding, switch on tv. Then quickly hit '''"enter"''' before 3 seconds delay expires.
 +
# Select '''"0"''' (zero) and hit '''"enter"'''. to jump to uboot prompt.
 +
# Type or copy paste following command and hit '''"enter"'''
 +
#: <pre>
 +
#: setenv bootargs root=139:6 console=ttyS1;usb start;fatload usb 0 61000000 /image/uImage;bootm</pre>
 +
# TV should start like normal, booting modified kernel image off usb drive.
 +
# If success and tv started and operated like normal. proceed to step 3.
 +
#:<br />
 +
==Step 3 - Flash Modified Kernel To TV==
 +
:<code lang="text">
 +
:<u><b>Flash usb drive prepared in step 1 to TV memory. (WARNING. no option in TV 'software update' to revert to previous firmware)</b></u>
 +
:</code>
 +
# Plug usb drive in tv usb port and power on tv.
 +
# Select ''''software update'''' and ''''ok'''' to search usb for update.
 +
# When update found select ''''ok'''' to continue update. Do NOT switch off tv or unplug usb.
 +
# TV will reboot itself to complete update. update process was under 30 seconds on my tv.
 +
# If successfully flashed, tv will be network enabled and ready for testing and setup. proceed to step 4.
 +
#:<br />
 +
==Step 4 - Dump / Copy TV Boot Partition For Modification==
 +
:<code lang="text">
 +
:<u><b>Dump your tv's boot partition. Fat formatted usb drive plugged in TV required</b></u>
 +
:</code>
 +
# Telnet to tv via exlink cable and power on tv.
 +
# Type <b>"debug"</b> at the invisible prompt to enable your serial console.
 +
# Type <b>"1198282"</b> and hit <b>"enter"</b>, for '<u>Top Debug Menu</u>'.
 +
# Type <b>"11"</b> and hit <b>"enter"</b>, for '<u>TD Debug</u>'
 +
# Type <b>"04"</b> and hit <b>"enter"</b>, for '<u>spl Debug</u>'
 +
# Type <b>"68"</b> and hit <b>"enter"</b>, for '<u>Shell</u>'
 +
# At prompt# type following line and hit <b>"enter"</b>, to dump/copy boot image to usb drive.
 +
#: <pre>cat /dev/bml0/7 > /dtv/usb/sda1/dev_bml0_07.img</pre>
 +
# IMPORTANT, before step 1 to dump/backup all important partitions in case of bricked tv. hopefully not required if careful.
 +
#:<br />
 +
==Step 5 - Modify 'rc.local' To Auto Start Script==
 +
:<code lang="text">
 +
:<u><b>Modify tv boot partition to auto start 'SamyGo.sh' script. Fat formatted usb drive plugged in TV required</b></u>
 +
:</code>
 +
# Download squashfs-tool-pack.tar.bz2 from SamyGO file downloads:''' [http://download.samygo.tv/SamyGO%20Tools/squashfs-tool-pack.tar.bz2]'''
 +
# Extract desired squashfs-tools platform into new folder with ''''dev_bml0_07.img'''' file created earlier.
 +
# To inspect ''''dev_bml0_07.img'''' open command prompt in new folder and type following and hit "enter" (I used win XP)
 +
#: <pre>unsquashfs -s dev_bml0_07.img</pre>
 +
# To extract image open command prompt in new folder and type following and hit <b>"enter"</b>
 +
#: <pre>unsquashfs -dest dev_bml0_07 dev_bml0_07.img</pre>
 +
# Open <b>'/<new folder>/dev_bml0_07'</b> folder and edit <b>'.version'</b> file (with notepad++ or similar text editor) increasing version number by 1 and save file. Example below done on my tv.
 +
#: <code lang="text">
 +
#: <b>From this:</b></code>
 +
#: <pre>28_64_256-34</pre>
 +
#: <code lang="text">
 +
#: <b>To this:</b></code>
 +
#: <pre>28_64_256-35</pre>
 +
# While in <b>'/<new folder>/dev_bml0_07'</b> folder also edit <b>'rc.local'</b> file, after line <b>'insmod /mtd_boot/modules/usb_fault.ko'</b> add line <b>'/mtd_rwarea/SamyGO.sh &'</b> and save file.
 +
#:<code lang="text">
 +
#:(optionally after testing samygo-extensions, add line <b>'/mtd_rwarea/rcSGO &'</b> instead)
 +
#:</code>
 +
# If you know what you are doing delete unneeded files (I safely deleted <b>'dev_bml0_07/modules/install_ko.sh'</b>)
 +
# Copy new modules like <b>'rt73.ko'</b>, <b>'rt2870sta.ko'</b>, <b>'cifs.ko'</b> & <b>'nfs.ko'</b> etc to <b>'dev_bml0_07/modules'</b> folder. Other options are to copy required modules manually to tv memory or use <i>'samygo-extensions pack'</i> for your tv's firmware.
 +
#:<code lang="text">
 +
#:New cut down version of 'samygo-extensions' available here: '''[http://linux.zsolttech.com/Samsung/SamyGO-All-Extensions-v0.03.6-r11-for-T-CHL5DAUC-20101210213931.zip]'''
 +
#:</code>
 +
# Fix ownership if done on linux pc <b>'chown -R root:root dev_bml0_07'</b> (I skipped this as I used windows XP)
 +
# Create <b>'boot.img'</b> type following command in command prompt and hit <b>"enter"</b>
 +
#: <pre>
 +
#: mksquashfs dev_bml0_07 boot.img -le -b 65536</pre>
 +
# To ckeck <b>'boot.img'</b> type following command and hit <b>"enter"</b>
 +
#: <pre>
 +
#: unsquashfs -s boot.img</pre>
 +
#:<br />
 +
==Step 6 - Flash Modified 'boot.img' To TV Memory==
 +
:<code lang="text">
 +
:<u><b>Prepare usb drive with new 'boot.img' and  flash to TV memory</b></u>
 +
:</code>
 +
# Download original firmware from Samsung and extract to usb drive.
 +
# Delete unwanted files from firmware
 +
#: <pre>
 +
#: T-CHL5DAUC/image/exe.img.enc
 +
#: T-CHL5DAUC/image/appdata.img.enc</pre>
 +
# Copy <b>'boot.img'</b> (created in step 5.10) to usb in <b>'T-CHL5DAUC/image'</b> folder
 +
# Get crc of <b>'boot.img'</b> and edit <b>'T-CHL5DAUC/image/validinfo.txt'</b> performing 2 steps below
 +
## delete existing info <b>'exe.img.enc'</b> and <b>'appdata.img.enc'</b>. <i>see example below:</i>
 
##: <pre>
 
##: <pre>
##: to do soon
+
##: *007_exe.img_718ba666*011_appdata.img_cc1057e2</pre>
##: </pre>
+
## insert new crc info of <b>'boot.img'</b> into <b>'validinfo.txt'</b>.  <i>see example below:</i>  
# '''<u>Test kernel image via u-boot with Exlink cable. (with usb drive prepared in step 1 plugged in tv usb port)</u>'''
 
## Enter service menu, tv initially off then on remote control hit (info)-(menu)-(mute)-(ON)
 
## Change setting for your RS232C interface to "debug" ( Control -> Sub Option -> RS-232 Jack -> [ Debug | UART | Logic ] )
 
## Change setting for Watchdog to "off" ( Control -> Sub Option -> Watchdog -> [ on | off ] )
 
## Exit service menu & switch off tv.
 
## Connect computer to tv via exlink cable and start telnet. (to test connection, switch on & off tv to see output in telnet)
 
## Press and hold "~" (shift + "~") and while holding, switch on tv. quickly hit "enter" before 3 seconds delay expires.
 
## Select "0" (zero) and hit "enter". to jump to uboot prompt.
 
## Type or copy paste following command and hit "enter"
 
 
##: <pre>
 
##: <pre>
##: setenv bootargs root=139:6 console=ttyS1;usb start;fatload usb 0 61000000 /image/uImage;bootm</pre>
+
##: *008_boot.img_a1cb1115</pre>
## TV should start like normal, booting modified kernel image off usb drive.
+
# Plug usb into tv usb port, when/if popup window appears select ''''software update''''. if no popup, then in menu select ''''support'''', ''''software update'''', ''''by usb''''. after search locates upgrade on usb select ''''ok'''' to continue.  
## If success and tv started and operated like normal. proceed to step 3.
 
##:<br />
 
# '''<u>Flash usb drive prepared in step 1 to tv memory.''' (WARNING. no option in tv 'software update' to revert to previous firmware)</u>
 
## Plug usb drive in tv usb port and power on tv.
 
## Select 'software update' and 'ok' to search usb for update.
 
## When update found select 'ok' to continue update. Do NOT switch off tv or unplug usb.
 
## TV will reboot itself to complete update. update process iwas under 30 seconds on my tv.
 
## If successfully flashed, tv will be network enabled and ready for testing and setup. proceed to step 4.
 
##:<br />
 
# '''<u>Dump your tv's boot partition. fat formatted usb drive plugged in tv required</u>'''
 
## Telnet to tv via exlink cable and power on tv.
 
## Type <b>"debug"</b> at the invisible prompt to enable your serial console.
 
## Type <b>"1198282"</b> and hit <b>"enter"</b>, for '<u>Top Debug Menu</u>'.
 
## Type <b>"11"</b> and hit <b>"enter"</b>, for '<u>TD Debug</u>'
 
## Type <b>"04"</b> and hit <b>"enter"</b>, for '<u>spl Debug</u>'
 
## Type <b>"68"</b> and hit <b>"enter"</b>, for '<u>Shell</u>'
 
## At prompt# type following line and hit <b>"enter"</b>, to dump/copy boot image to usb drive.
 
##: <pre>cat /dev/bml0/7 > /dtv/usb/sda1/dev_bml0_07.img</pre>
 
## IMPORTANT, before step 1 to dump/backup all important partitions in case of bicked tv. hopefully not required if careful.
 
##:<br />
 
# '''<u>Modify tv boot partition to auto start 'SamyGo.sh' script. Fat formatted usb drive plugged in tv required</u>'''
 
## Download squashfs-tool-pack.tar.bz2 from SamyGO file downloads:''' [http://download.samygo.tv/SamyGO%20Tools/squashfs-tool-pack.tar.bz2]'''
 
## Extract desired squashfs-tools platform into new folder with 'dev_bml0_07.img' file created earlier.
 
## To inspect 'dev_bml0_07.img' open command prompt in new folder and type following and hit "enter" (I used win XP)
 
##: <pre>unsquashfs -s dev_bml0_07.img</pre>
 
## To extract image open command prompt in new folder and type following and hit <b>"enter"</b>
 
##: <pre>unsquashfs -dest dev_bml0_07 dev_bml0_07.img</pre>
 
## Open '/<new folder>/dev_bml0_07' folder and edit '.version' file (with notepad++ or similar text editor) increasing version number by 1 (eg. from '28_64_256-34' to 28_64_256-35') and save file
 
## While in <b>'/<new folder>/dev_bml0_07'</b> folder also edit <b>'rc.local'</b> file, after line <b>'insmod /mtd_boot/modules/usb_fault.ko'</b> add line <b>'/mtd_rwarea/SamyGO.sh &'</b> and save file.
 
##:<code lang="text">
 
##:(optionally after testing samygo-extensions, add line <b>'/mtd_rwarea/rcSGO &'</b> instead)
 
##:</code>
 
## If you know what you are doing delete unneeded files (I safely deleted <b>'dev_bml0_07/modules/install_ko.sh'</b>)
 
## Copy new modules like <b>'rt73.ko'</b>, <b>'rt2870sta.ko'</b>, <b>'cifs.ko'</b> & <b>'nfs.ko'</b> etc to <b>'dev_bml0_07/modules'</b> folder. Other options are to copy required modules manually to tv memory or use <i>'samygo-extensions pack'</i> for your tv's firmware.
 
##:<code lang="text">
 
##:New cut down version of 'samygo-extensions' available here: [http://linux.zsolttech.com/Samsung/SamyGO-All-Extensions-v0.03.6-r11-for-T-CHL5DAUC-20101210213931.zip]
 
##:</code>
 
## Fix ownership if done on linux pc <b>'chown -R root:root dev_bml0_07'</b> (I skipped this as I used windows XP)
 
## Create <b>'boot.img'</b> type following command in command prompt and hit <b>"enter"</b>
 
##: <pre>
 
##: mksquashfs dev_bml0_07 boot.img -le -b 65536</pre>
 
## To ckeck <b>'boot.img'</b> type following command and hit <b>"enter"</b>
 
##: <pre>
 
##: unsquashfs -s boot.img</pre>
 
##:<br />
 
# '''<u>Prepare usb drive with new 'boot.img' and  flash to TV memory</u>'''
 
## Download original firmware from samsung and extract to usb drive.
 
## Delete unwanted files from firmware
 
##: <pre>
 
##: T-CHL5DAUC/image/exe.img.enc
 
##: T-CHL5DAUC/image/appdata.img.enc</pre>
 
## Copy <b>'boot.img'</b> (created in step 5.10) to usb in <b>'T-CHL5DAUC/image'</b> folder
 
## Get crc of <b>'boot.img'</b> and edit <b>'T-CHL5DAUC/image/validinfo.txt'</b> performing 2 steps below
 
### delete existing info <b>'exe.img.enc'</b> and <b>'appdata.img.enc'</b>. <i>see example below:</i>
 
###: <pre>
 
###: *007_exe.img_718ba666*011_appdata.img_cc1057e2</pre>
 
### insert new crc info of <b>'boot.img'</b> into <b>'validinfo.txt'</b>.  <i>see example below:</i>
 
###: <pre>
 
###: *007_boot.img_a1cb1115</pre>
 
## Plug usb into tv usb port, when/if popup window appears select ''''software update''''. if no popup, then in menu select ''''support'''', ''''software update'''', ''''by usb''''. after search locates upgrade on usb select ''''ok'''' to continue.  
 
 
::: Do NOT switch off TV or unplug usb.
 
::: Do NOT switch off TV or unplug usb.
 
<br />
 
<br />
 
:::<b>***** <u>TO BE COMPLETED</u> *****</b>
 
:::<b>***** <u>TO BE COMPLETED</u> *****</b>

Revision as of 15:29, 21 December 2010

Instructions tested on TV model UA32B6000 firmware T-CHL5DAUC
READ ALL BEFORE ATTEMPTING - ASK QUESTIONS IF ANYTHING UNCLEAR HERE: Forum Thread
IMPORTANT: before beginning dump/backup all important partitions in case of bricked tv. (for instructions see step 4) hopefully not required if careful

Requirements

To Do

Step 1 - Download New Networked Enabled Kernel

Download network enabled kernel and extract to fat formatted usb flash drive.
T-CHL5DAUC Download link: [1]
T-CHL5DEUC Download link: [2]
  1. Directory structure as following:
    usb-root
    +-- boot
    ¦ +-- uImage
    +-- T-CHL5DAUC
    +-- crc
    +-- ddcmp
    +-- image
    ¦ +-- Image
    ¦ +-- info.txt
    ¦ +-- major_version
    ¦ +-- minor_version
    ¦ +-- serial_temp
    ¦ +-- validinfo.txt
    ¦ +-- version_info.txt
    +-- MicomCtrl
    +-- modules
    +-- 2.6.18_SELP-ARM
    +-- extra
    ¦ +-- rt2570.ko
    +-- kernel
    +-- drivers
    ¦ +-- block
    ¦ ¦ +-- loop.ko
    ¦ ¦ +-- pktcdvd.ko
    ¦ +-- bluetooth
    ¦ ¦ +-- hci_usb.ko
    ¦ +-- cdrom
    ¦ ¦ +-- cdrom.ko
    ¦ +-- input
    ¦ ¦ +-- evdev.ko
    ¦ +-- net
    ¦ ¦ +-- dm9601.ko
    ¦ ¦ +-- rt2570.ko
    ¦ ¦ +-- rt3070sta.ko
    ¦ +-- rt2870
    ¦ ¦ +-- os
    ¦ ¦ +-- linux
    ¦ ¦ +-- rt2870sta.ko
    ¦ +-- rt73
    ¦ ¦ +-- Module
    ¦ ¦ +-- rt73.ko
    ¦ +-- scsi
    ¦ ¦ +-- sg.ko
    ¦ ¦ +-- sr_mod.ko
    ¦ +-- usb
    ¦ ¦ +-- gadget
    ¦ ¦ ¦ +-- dummy_hcd.ko
    ¦ ¦ ¦ +-- g_file_storage.ko
    ¦ ¦ +-- input
    ¦ ¦ +-- usbhid.ko
    ¦ +-- video
    ¦ +-- cfbcopyarea.ko
    ¦ +-- cfbfillrect.ko
    ¦ +-- cfbimgblt.ko
    ¦ +-- console
    ¦ ¦ +-- bitblit.ko
    ¦ ¦ +-- fbcon.ko
    ¦ ¦ +-- font.ko
    ¦ ¦ +-- softcursor.ko
    ¦ +-- fb.ko
    ¦ +-- vfb.ko
    +-- fs
    ¦ +-- cifs
    ¦ ¦ +-- cifs.ko
    ¦ +-- coda
    ¦ ¦ +-- coda.ko
    ¦ +-- hfs
    ¦ ¦ +-- hfs.ko
    ¦ +-- hfsplus
    ¦ ¦ +-- hfsplus.ko
    ¦ +-- isofs
    ¦ ¦ +-- isofs.ko
    ¦ +-- lockd
    ¦ ¦ +-- lockd.ko
    ¦ +-- nfs
    ¦ ¦ +-- nfs.ko
    ¦ +-- nfs_common
    ¦ ¦ +-- nfs_acl.ko
    ¦ +-- udf
    ¦ +-- udf.ko
    +-- net
    +-- bluetooth
    ¦ +-- bluetooth.ko
    ¦ +-- bnep
    ¦ ¦ +-- bnep.ko
    ¦ +-- hidp
    ¦ ¦ +-- hidp.ko
    ¦ +-- l2cap.ko
    ¦ +-- rfcomm
    ¦ ¦ +-- rfcomm.ko
    ¦ +-- sco.ko
    +-- sunrpc
    +-- auth_gss
    +-- auth_rpcgss.ko
    +-- rpcsec_gss_krb5.ko

Step 2 - Test Modified Kernel Before Flash To TV

Test kernel image via u-boot with Exlink cable. (with usb drive prepared in step 1 plugged in tv usb port)
  1. Enter service menu, tv is initially off, then on remote control hit {info}-{menu}-{mute}-{ON}
  2. Change setting for your RS232C interface to "debug" ( Control -> Sub Option -> RS-232 Jack -> [ Debug | UART | Logic ] )
  3. Change setting for Watchdog to "off" ( Control -> Sub Option -> Watchdog -> [ on | off ] )
  4. Exit service menu & switch off tv.
  5. Connect computer to tv via exlink cable and start telnet. (to test connection, switch on & off tv to see output in telnet)
  6. Press and hold "~" (shift + "~") and while holding, switch on tv. Then quickly hit "enter" before 3 seconds delay expires.
  7. Select "0" (zero) and hit "enter". to jump to uboot prompt.
  8. Type or copy paste following command and hit "enter"
    setenv bootargs root=139:6 console=ttyS1;usb start;fatload usb 0 61000000 /image/uImage;bootm
  9. TV should start like normal, booting modified kernel image off usb drive.
  10. If success and tv started and operated like normal. proceed to step 3.

Step 3 - Flash Modified Kernel To TV

Flash usb drive prepared in step 1 to TV memory. (WARNING. no option in TV 'software update' to revert to previous firmware)
  1. Plug usb drive in tv usb port and power on tv.
  2. Select 'software update' and 'ok' to search usb for update.
  3. When update found select 'ok' to continue update. Do NOT switch off tv or unplug usb.
  4. TV will reboot itself to complete update. update process was under 30 seconds on my tv.
  5. If successfully flashed, tv will be network enabled and ready for testing and setup. proceed to step 4.

Step 4 - Dump / Copy TV Boot Partition For Modification

Dump your tv's boot partition. Fat formatted usb drive plugged in TV required
  1. Telnet to tv via exlink cable and power on tv.
  2. Type "debug" at the invisible prompt to enable your serial console.
  3. Type "1198282" and hit "enter", for 'Top Debug Menu'.
  4. Type "11" and hit "enter", for 'TD Debug'
  5. Type "04" and hit "enter", for 'spl Debug'
  6. Type "68" and hit "enter", for 'Shell'
  7. At prompt# type following line and hit "enter", to dump/copy boot image to usb drive.
    cat /dev/bml0/7 > /dtv/usb/sda1/dev_bml0_07.img
  8. IMPORTANT, before step 1 to dump/backup all important partitions in case of bricked tv. hopefully not required if careful.

Step 5 - Modify 'rc.local' To Auto Start Script

Modify tv boot partition to auto start 'SamyGo.sh' script. Fat formatted usb drive plugged in TV required
  1. Download squashfs-tool-pack.tar.bz2 from SamyGO file downloads: [3]
  2. Extract desired squashfs-tools platform into new folder with 'dev_bml0_07.img' file created earlier.
  3. To inspect 'dev_bml0_07.img' open command prompt in new folder and type following and hit "enter" (I used win XP)
    unsquashfs -s dev_bml0_07.img
  4. To extract image open command prompt in new folder and type following and hit "enter"
    unsquashfs -dest dev_bml0_07 dev_bml0_07.img
  5. Open '/<new folder>/dev_bml0_07' folder and edit '.version' file (with notepad++ or similar text editor) increasing version number by 1 and save file. Example below done on my tv.
    From this:
    28_64_256-34
    To this:
    28_64_256-35
  6. While in '/<new folder>/dev_bml0_07' folder also edit 'rc.local' file, after line 'insmod /mtd_boot/modules/usb_fault.ko' add line '/mtd_rwarea/SamyGO.sh &' and save file.
    (optionally after testing samygo-extensions, add line '/mtd_rwarea/rcSGO &' instead)
  7. If you know what you are doing delete unneeded files (I safely deleted 'dev_bml0_07/modules/install_ko.sh')
  8. Copy new modules like 'rt73.ko', 'rt2870sta.ko', 'cifs.ko' & 'nfs.ko' etc to 'dev_bml0_07/modules' folder. Other options are to copy required modules manually to tv memory or use 'samygo-extensions pack' for your tv's firmware.
    New cut down version of 'samygo-extensions' available here: [4]
  9. Fix ownership if done on linux pc 'chown -R root:root dev_bml0_07' (I skipped this as I used windows XP)
  10. Create 'boot.img' type following command in command prompt and hit "enter"
    mksquashfs dev_bml0_07 boot.img -le -b 65536
  11. To ckeck 'boot.img' type following command and hit "enter"
    unsquashfs -s boot.img

Step 6 - Flash Modified 'boot.img' To TV Memory

Prepare usb drive with new 'boot.img' and flash to TV memory
  1. Download original firmware from Samsung and extract to usb drive.
  2. Delete unwanted files from firmware
    T-CHL5DAUC/image/exe.img.enc
    T-CHL5DAUC/image/appdata.img.enc
  3. Copy 'boot.img' (created in step 5.10) to usb in 'T-CHL5DAUC/image' folder
  4. Get crc of 'boot.img' and edit 'T-CHL5DAUC/image/validinfo.txt' performing 2 steps below
    1. delete existing info 'exe.img.enc' and 'appdata.img.enc'. see example below:
      *007_exe.img_718ba666*011_appdata.img_cc1057e2
    2. insert new crc info of 'boot.img' into 'validinfo.txt'. see example below:
      *008_boot.img_a1cb1115
  5. Plug usb into tv usb port, when/if popup window appears select 'software update'. if no popup, then in menu select 'support', 'software update', 'by usb'. after search locates upgrade on usb select 'ok' to continue.
Do NOT switch off TV or unplug usb.


***** TO BE COMPLETED *****