BD-C6900 /mtd_exe Success modified :)
Posted: Tue May 10, 2011 11:57 pm
1. cat partition from stl0 u want modify ( i have use mtd_exe /dev/stl0/16) coipy to PC.
2. toggle to old sw partition.(be sure both partitions are written!)
3. modify partition and pack it with mksquashfs back.
4. make on usb stick fw directory like B-BARBSPUSC
5. copy exe.img.mod in the created directory
6. run ./flash_c6900 /dtv/usb/sda1
7. when finis and all match , execute ./toggle_c6900
all tools included in zip as i change only mtd_exe i just wrote this part, other partitions need to be done !.
also , when u sure u know what u do enable
the tool calc new hash of flashed file and store it in corect partition.
if you dont know what to do ,dont do anything and take care before you manual execute : ./toggle_c6900 command, dont call me when u brick tv/bd
in the log cmac are almost same , coz i have multiply reflash the partition before i realy toggle to changed partition.
this is my log:
i toggle the partitions and all went okey
just for fun i modified this part :
source and rest can be downloaded here :
http://www.multiupload.com/TXGI8FQXQ0
now time to do T-VALDEUC
Denny
2. toggle to old sw partition.(be sure both partitions are written!)
3. modify partition and pack it with mksquashfs back.
4. make on usb stick fw directory like B-BARBSPUSC
5. copy exe.img.mod in the created directory
6. run ./flash_c6900 /dtv/usb/sda1
7. when finis and all match , execute ./toggle_c6900
all tools included in zip as i change only mtd_exe i just wrote this part, other partitions need to be done !.
also , when u sure u know what u do enable
Code: Select all
//#define EXEC_SYSTEM // ENABLE ME IF U REALY KNOW WHAT U DO!!!!!
if you dont know what to do ,dont do anything and take care before you manual execute : ./toggle_c6900 command, dont call me when u brick tv/bd
in the log cmac are almost same , coz i have multiply reflash the partition before i realy toggle to changed partition.
this is my log:
i toggle the partitions and all went okey

just for fun i modified this part :
Code: Select all
if [ -e /dtv/usb/sda1/myBoot.sh ]; then
/dtv/usb/sda1/myBoot.sh
else
cd /mtd_exe
./exeDSP
fi
http://www.multiupload.com/TXGI8FQXQ0
now time to do T-VALDEUC

Denny
Code: Select all
# ./flash_c6900 /dtv/usb/sda1
We have B-BARBSPUSC
Parition used 0
Parition 1 will be flashed
/dev/bml0/10
0 02726000 : 2b d1 26 04 d6 2a e1 8b 15 dd 4d fc 08 98 e4 3d
1 0240c000 : 2c 23 83 1d 82 14 07 d1 80 60 78 90 c0 7d 4d 22
2 002f5e48 : 60 a8 d9 99 f3 b6 da 20 c5 8a 3e b2 05 6d 43 d6
3 003ff014 : b0 da c7 4b 78 a6 81 41 49 18 7c f4 d6 60 f1 f5
4 0001e276 : 7b ca 4c f5 f2 59 47 5a da c2 c5 79 65 d7 d6 f1
Opening /dtv/usb/sda1/B-BARBSPUSC/exe.img.mod
+---------------------------------------------------------------------+
| stl.format : STL-level Partitioning Tool for Flash Block Devices |
+---------------------------------------------------------------------+
This partition does not have GWL attribute
[Block size : 512 KB]
[Total unit : 90]
[Block Device Information for /dev/bml0/16]
--------------------------------------------
Total number of sectors = 84992 (41 MB/45 MB)
--------------------------------------------
STL format complete.
+------------------------------------------------------------------------+
| stl.restore : stl-level Partition Restore Tool for NAND Flash Memory |
+------------------------------------------------------------------------+
100%
All of the flash memory blocks have been restored successfully.
Verify /dev/stl0/16 2726000 , Please Wait....
Flash Write Verified!, calculate hash, please wait...
2b d1 26 04 d6 2a e1 8b 15 dd 4d fc 08 98 e4 3d
New Hash : 2b d1 26 04 d6 2a e1 8b 15 dd 4d fc 08 98 e4 3d
Write new hash
0 02726000 : 2b d1 26 04 d6 2a e1 8b 15 dd 4d fc 08 98 e4 3d
1 0240c000 : 2c 23 83 1d 82 14 07 d1 80 60 78 90 c0 7d 4d 22
2 002f5e48 : 60 a8 d9 99 f3 b6 da 20 c5 8a 3e b2 05 6d 43 d6
3 003ff014 : b0 da c7 4b 78 a6 81 41 49 18 7c f4 d6 60 f1 f5
4 0001e276 : 7b ca 4c f5 f2 59 47 5a da c2 c5 79 65 d7 d6 f1
/dtv/usb/sda1/B-BARBSPUSC/cmac.bin
0 02726000 : 2b d1 26 04 d6 2a e1 8b 15 dd 4d fc 08 98 e4 3d
1 0240c000 : 2c 23 83 1d 82 14 07 d1 80 60 78 90 c0 7d 4d 22
2 002f5e48 : 60 a8 d9 99 f3 b6 da 20 c5 8a 3e b2 05 6d 43 d6
3 003ff014 : b0 da c7 4b 78 a6 81 41 49 18 7c f4 d6 60 f1 f5
4 0001e276 : 7b ca 4c f5 f2 59 47 5a da c2 c5 79 65 d7 d6 f1
+----------------------------------------------------------------------+
| bml.restore : Low-level Partition Restore Tool for NAND Flash Memory |
+----------------------------------------------------------------------+
------------------ This is confirm message ---------------------
/******** Check your options and selected partition ***********/
Selected Flex-OneNAND device and 10 partition
100%
All of the flash memory units have been restored successfully
0 02726000 : 2b d1 26 04 d6 2a e1 8b 15 dd 4d fc 08 98 e4 3d
1 0240c000 : 2c 23 83 1d 82 14 07 d1 80 60 78 90 c0 7d 4d 22
2 002f5e48 : 60 a8 d9 99 f3 b6 da 20 c5 8a 3e b2 05 6d 43 d6
3 003ff014 : b0 da c7 4b 78 a6 81 41 49 18 7c f4 d6 60 f1 f5
4 0001e276 : 7b ca 4c f5 f2 59 47 5a da c2 c5 79 65 d7 d6 f1
Verify CMAC DATA!!!! if match with previus hit ./toggle_c6900 to switch paritions.
0 02726000 : 2b d1 26 04 d6 2a e1 8b 15 dd 4d fc 08 98 e4 3d
1 0240c000 : 2c 23 83 1d 82 14 07 d1 80 60 78 90 c0 7d 4d 22
2 002f5e48 : 60 a8 d9 99 f3 b6 da 20 c5 8a 3e b2 05 6d 43 d6
3 003ff014 : b0 da c7 4b 78 a6 81 41 49 18 7c f4 d6 60 f1 f5
4 0001e276 : 7b ca 4c f5 f2 59 47 5a da c2 c5 79 65 d7 d6 f1
#
# mount -t squashfs /dev/stl0/16 /dtv/usb/sda1/mtd_exe_mod
# ls /dtv/usb/sda1/mtd_exe_mod
BD_JAVA ReleaseInfo mtd_boot
Comp_LIB SpecialItemNumber.txt mtd_contents
EXE_IMG_VER WIFI_LIB prelink.cache
Factory_Part1.dat cvmparam prelink.conf
Factory_Part2.dat ddr_margin rc.local
InfoLink exeDSP rc.local.rfs
JadeTarget fpi.ko samdrv.ko
JadeTarget.cfg libs stagecraft
LifeScenario memalloc value.bin
# cat /dtv/usb/sda1/mtd_exe_mod/rc.local
#!/bin/sh
echo "/mtd_exe/rc.local start !!!!!"
export MAPLE_DEFAULT_PATH=/mtd_cmmlib/InfoLink/lib
export MAPLE_MANAGER_WIDGET_PATH=/mtd_down/widgets/manager
export MAPLE_NORMAL_WIDGET_PATH=/mtd_down/widgets/normal
export MAPLE_WIDGET_DATA_PATH=/mtd_down
export MAPLE_WIDGET_INCLUDE_PATH=/mtd_down/widgets/inc
export MAPLE_PLUGIN_DATA_PATH=/mtd_cmmlib/InfoLink/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_cmmlib/YWidget_LIB
export KF_SLEEP_READ=-2
echo 30000 > /mtd_rwarea/DelayValue.txt
export KF_NO_INTERACTIVE=1
export KF_LOG=/dev/null #Remove engine logging.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_exe/Comp_LIB:/mtd_exe/InfoLink/lib:/mtd_contents:/mtd_cmmlib/InfoLink/lib/plugin/Static:/mtd_appdata/Comp_LIB
#/sbin/usb_start.sh
insmod /mtd_exe/samdrv.ko
insmod /mtd_exe/fpi.ko
#mount -t squashfs /dev/tbml14 /mtd_appdata
#mount -t rfs /dev/stl0/17 /mtd_rwarea
#mount -t rfs /dev/stl0/16 /mtd_rwcommon
if [ ! -e /mtd_rwarea/ps ]; then
mkdir /mtd_rwarea/ps
fi
#if [ ! -e /mtd_rwarea/ps ]; then
# partition.erase /dev/bml0/25
# stl.format /dev/bml0/25
# fat.format -S 2048 -s 1 -F 32 /dev/stl0/25
#
# echo "STL0/25 Patition Unformated : STL Format agaion...!!"
# mkdir /mtd_rwarea/ps
#fi
if [ ! -e /mtd_rwarea/bd_local ]; then
mkdir /mtd_rwarea/bd_local
fi
#if [ ! -e /mtd_rwarea/bd_vfs/bd_local ]; then
# mkdir /mtd_rwarea/bd_vfs/bd_local
#fi
if [ ! -e /mtd_rwarea/vfs_p ]; then
mkdir /mtd_rwarea/vfs_p
fi
#temp
#mkdir /mtd_rwarea/pstor
#mkdir /mtd_rwarea/pstor/bd_vfs
#mkdir /mtd_rwarea/pstor/bd_vfs/lstor
#mkdir /mtd_rwarea/pstor/bd_vfs/lstor/bd_local
#temp_end
#insmod /mtd_exe/usbabs.ko
#insmod /mtd_exe/wl.ko
# Set the default Time (2009. 1. 1. 1. 1). requested by JH.Yang. BD TC Disc Issue.
date 010101002010
echo "B-BARBSPUSC" > /dtv/info
echo 7 4 1 7 > /proc/sys/kernel/printk
sysctl -w kernel.msgmni=64
if [ -e /dtv/usb/sda1/myBoot.sh ]; then
/dtv/usb/sda1/myBoot.sh
else
cd /mtd_exe
./exeDSP
fi
#