Difference between revisions of "Dumping and Flashing images by hand"


From SamyGO
Jump to: navigation, search
Line 1: Line 1:
 
The steps outlined below allow the flashing of an image directly into the flash of your TV, without using the offical upgrade process of the TV.<br>The example shown below is for flashing a modified exe.img on a UExxB70xx.<br>
 
The steps outlined below allow the flashing of an image directly into the flash of your TV, without using the offical upgrade process of the TV.<br>The example shown below is for flashing a modified exe.img on a UExxB70xx.<br>
 
There is no need to flash app_data Image, if the actual exeDSP Version is unchanged and you are flashing your personal changes.
 
There is no need to flash app_data Image, if the actual exeDSP Version is unchanged and you are flashing your personal changes.
#Prevent TV from rebooting when exeDSP is stopped<br>'''/mtd_boot/MicomCtrl 23'''
+
== Manual flashing steps ==
#Stop exeDSP binary<br>'''killall -9 exeDSP'''
+
*(1) Prevent TV from rebooting when exeDSP is stopped
#Unmount the respective directory<br>'''umount /mtd_exe'''
+
/mtd_boot/MicomCtrl 23
#Take a backup of the current image in the flash.<br>'''bml.dump /dev/bml0/8 /mtd_swu/exe.img.orig'''
+
*(2) Stop exeDSP binary
#Move backup image to a safe space ( e.g. USB ) and remove file from '''/mtd_swu'''<br>'''mv /mtd_swu/exe.img.orig /dtv/usb/sda1'''<br>'''rm /mtd_swu/exe.img.orig<br>
+
killall -9 exeDSP
#Copy Image to be flashed from your USB to /mtd_swu<br>'''cp /dtv/usb/sda1/exe.img /mtd_swu<br>'''->this is the safest way, even though flashing directly from USB-Device may also be possible, which I have not tested
+
*(3) Unmount the respective directory
#Perform the actual step of flashing the file.<br>'''bml.resore /dev/bml0/8 /mtd_swu/exe.img'''<br>-> Flashing progress will be shown 0% ... 100%. Don't interrupt this process!!
+
umount /mtd_exe
#Mount the updated image<br>'''mount -t auto /dev/tbml8 /mtd_exe'''<br>-> check out content and ensure it mounts without problems and looks ok from a content perspective.
+
*(4) Take a backup of the current image in the flash.
# Try starting exeDSP<br>'''/mtd_exe/rc.local'''<br>->If something went wrong and your exeDSP doesn't start up properly, then you can flash back your backup ".orig" image following steps 3-9.<br>-> Don't worry, if you see your screen upside down. That is just due to a variable not been set ;-)
+
bml.dump /dev/bml0/8 /mtd_swu/exe.img.orig
 +
*(5) Move backup image to a safe space ( e.g. USB ) and remove file from '''/mtd_swu'''
 +
mv /mtd_swu/exe.img.orig /dtv/usb/sda1
 +
rm /mtd_swu/exe.img.orig<br>
 +
*(6) Copy Image to be flashed from your USB to /mtd_swu  
 +
cp /dtv/usb/sda1/exe.img /mtd_swu
 +
-> this is the safest way, even though flashing directly from USB-Device may also be possible, which I have not tested
 +
*(7) Perform the actual step of flashing the file.
 +
bml.resore /dev/bml0/8 /mtd_swu/exe.img
 +
->Flashing progress will be shown 0% ... 100%. Don't interrupt this process!!
 +
*(8) Mount the updated image( afterwards check out content and ensure it mounts without problems and looks ok from a content perspective. )
 +
mount -t auto /dev/tbml8 /mtd_exe<br>
 +
*(9) Starting exeDSP<br>
 +
/mtd_exe/rc.local
 +
-> If something went wrong and your exeDSP doesn't start up properly, then you can flash back your backup ".orig" image following steps 3-9.<br>-> Don't worry, if you see your screen upside down. That is just due to a variable not been set ;-)
 
<br><br>
 
<br><br>
 +
== Flash Device files  ==
 
Find below the device files for different areas of the firmware for FW types listed ( this information is taken from the run.sh file and was not validated! )
 
Find below the device files for different areas of the firmware for FW types listed ( this information is taken from the run.sh file and was not validated! )
*'''T-CHL5DSEUC, T-CHL5DEUC''' and '''T-CHU7DEUC'''
+
=== T-CHL5DSEUC, T-CHL5DEUC and T-CHU7DEUC ===
**BOOTLOADER_DEVICE='''/dev/bml0/2'''
+
*BOOTLOADER_DEVICE='''/dev/bml0/2'''
**FNW_DEVICE='''/dev/bml0/4'''
+
*FNW_DEVICE='''/dev/bml0/4'''
**KERNEL_DEVICE='''/dev/bml0/5'''
+
*KERNEL_DEVICE='''/dev/bml0/5'''
**RFS_DEVICE='''/dev/bml0/6'''
+
*RFS_DEVICE='''/dev/bml0/6'''
**BOOT_DEVICE='''/dev/bml0/7'''
+
*BOOT_DEVICE='''/dev/bml0/7'''
*'''T-CHL5DSEUC''' and '''T-CHL5DEUC'''
+
=== T-CHL5DSEUC and T-CHL5DEUC Specific ===
**EXE_DEVICE='''/dev/stl0/8'''
+
*EXE_DEVICE='''/dev/stl0/8'''
**APPDATA_DEVICE='''/dev/stl0/9'''
+
*APPDATA_DEVICE='''/dev/stl0/9'''
*'''T-CHU7DEUC'''
+
=== T-CHU7DEUC Specific ===
**EXE_DEVICE='''/dev/bml0/8'''
+
*EXE_DEVICE='''/dev/bml0/8'''
**APPDATA_DEVICE='''/dev/bml0/9'''
+
*APPDATA_DEVICE='''/dev/bml0/9'''
'''Attention:'''This process does not validate the correctness and validity of the file being flashed. THIS IS YOUR RESPONSIBILITY!!!
+
<br><br>'''Attention:'''This process does not validate the correctness and validity of the file being flashed. THIS IS YOUR RESPONSIBILITY!!!
  
 
--[[User:Dynamic1969|Dynamic1969]] 17:59, 3 October 2009 (UTC)
 
--[[User:Dynamic1969|Dynamic1969]] 17:59, 3 October 2009 (UTC)

Revision as of 01:24, 4 October 2009

The steps outlined below allow the flashing of an image directly into the flash of your TV, without using the offical upgrade process of the TV.
The example shown below is for flashing a modified exe.img on a UExxB70xx.
There is no need to flash app_data Image, if the actual exeDSP Version is unchanged and you are flashing your personal changes.

Manual flashing steps

  • (1) Prevent TV from rebooting when exeDSP is stopped
/mtd_boot/MicomCtrl 23
  • (2) Stop exeDSP binary
killall -9 exeDSP
  • (3) Unmount the respective directory
umount /mtd_exe
  • (4) Take a backup of the current image in the flash.
bml.dump /dev/bml0/8 /mtd_swu/exe.img.orig
  • (5) Move backup image to a safe space ( e.g. USB ) and remove file from /mtd_swu
mv /mtd_swu/exe.img.orig /dtv/usb/sda1
rm /mtd_swu/exe.img.orig
  • (6) Copy Image to be flashed from your USB to /mtd_swu
cp /dtv/usb/sda1/exe.img /mtd_swu

-> this is the safest way, even though flashing directly from USB-Device may also be possible, which I have not tested

  • (7) Perform the actual step of flashing the file.
bml.resore /dev/bml0/8 /mtd_swu/exe.img

->Flashing progress will be shown 0% ... 100%. Don't interrupt this process!!

  • (8) Mount the updated image( afterwards check out content and ensure it mounts without problems and looks ok from a content perspective. )
mount -t auto /dev/tbml8 /mtd_exe
  • (9) Starting exeDSP
/mtd_exe/rc.local

-> If something went wrong and your exeDSP doesn't start up properly, then you can flash back your backup ".orig" image following steps 3-9.
-> Don't worry, if you see your screen upside down. That is just due to a variable not been set ;-)

Flash Device files

Find below the device files for different areas of the firmware for FW types listed ( this information is taken from the run.sh file and was not validated! )

T-CHL5DSEUC, T-CHL5DEUC and T-CHU7DEUC

  • BOOTLOADER_DEVICE=/dev/bml0/2
  • FNW_DEVICE=/dev/bml0/4
  • KERNEL_DEVICE=/dev/bml0/5
  • RFS_DEVICE=/dev/bml0/6
  • BOOT_DEVICE=/dev/bml0/7

T-CHL5DSEUC and T-CHL5DEUC Specific

  • EXE_DEVICE=/dev/stl0/8
  • APPDATA_DEVICE=/dev/stl0/9

T-CHU7DEUC Specific

  • EXE_DEVICE=/dev/bml0/8
  • APPDATA_DEVICE=/dev/bml0/9



Attention:This process does not validate the correctness and validity of the file being flashed. THIS IS YOUR RESPONSIBILITY!!!

--Dynamic1969 17:59, 3 October 2009 (UTC)