I can`t backup TV partitions

General Forum for talking area for B series TVs.

I can`t backup TV partitions

Postby raulvola » Thu Mar 03, 2011 9:16 am

Hi,

For security reasons I would like to make a backup of my tv software as explained in

http://wiki.samygo.tv/index.php?title=Recovery_of_Bricked_Device(Make dumps section)

I connect TV by telnet and write on my computer:

Code: Select all
# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/tbml6                3.1M      3.1M         0 100% /
none                     10.0M     12.0k     10.0M   0% /dtv
/dev/tbml7              896.0k    896.0k         0 100% /mtd_boot
none                     10.0M         0     10.0M   0% /mtd_ram
/dev/stl0/14             11.0M      5.6M      5.3M  52% /mtd_rwarea
/dev/tbml10              60.0M     51.2M      8.8M  85% /mtd_exe
/dev/tbml11              28.6M     28.6M         0 100% /mtd_appdata
/dev/stl0/13            189.0M    178.9M     10.1M  95% /mtd_tlib
/dev/stl0/15             50.0M      6.4M     43.5M  13% /mtd_contents
/dev/stl0/16             87.9M     14.5M     73.4M  17% /mtd_down
/dev/stl0/12            149.0M    224.0k    148.8M   0% /mtd_wiselink
/dev/stl0/17             87.0M    176.0k     86.8M   0% /mtd_swu
/dev/sda1                14.9G     24.0k     14.9G   0% /dtv/usb/sda1
#

# ls -l /dev/tbml10
brwxr-xr-x    1 root     0        139,  10 Jan  8  2009 /dev/tbml10
#


Then I plug an USB stick on TV and try to dump data from TV with no success:

Code: Select all
# bml.dump /dev/tbml10 /dtv/usb/sda1/tbml10_dump
+----------------------------------------------------------------------+
| bml.dump : Low-level Partition Dump Tool for NAND Flash Memory       |
+----------------------------------------------------------------------+
    This utility program can be used to dump the specified low-level partition.
However, the reserved area is not dumped by this utility
This program is operated over FSR based
[main][166]Can not excute BML_GET_PART_INFO ioctl. system error message : Inappr
opriate ioctl for device. device driver error number: ffffffff.

# bml.dump /dev/tbml10/1 /dtv/usb/sda1/tbml10_1_dump
+----------------------------------------------------------------------+
| bml.dump : Low-level Partition Dump Tool for NAND Flash Memory       |
+----------------------------------------------------------------------+
    This utility program can be used to dump the specified low-level partition.
However, the reserved area is not dumped by this utility
This program is operated over FSR based
[main][154]Device file /dev/tbml10/1 can not open. System error Msg : Not a dire
ctory


What am I doing wrong ?

Thanks a lot

Raul de Frutos
----------------
Raul de Frutos (TV MODEL SAMSUNG LE32B651T3W FIRMWARE T-CHL7DEUC-2005.0)
raulvola
 
Posts: 38
Joined: Thu Feb 25, 2010 10:42 am

Re: I can`t backup TV partitions

Postby juzis » Thu Mar 03, 2011 4:14 pm

wrong command line. Right one is:
Code: Select all
bml.dump /dev/bml0/10 /dtv/usb/sda1/tbml10_dump

and so on...
you have to write /dev/bml0/x where x is partition number.
you can`t dump stl partitions with bml tool, you need to use cat.

p.s. why don`t you read manuals. You can see on wiki:
bml.dump /dev/bml0/1 /dtv/usb/sda1/dump/bml0_1_dump
bml.dump /dev/bml0/2 /dtv/usb/sda1/dump/bml0_2_dump
bml.dump /dev/bml0/3 /dtv/usb/sda1/dump/bml0_3_dump
bml.dump /dev/bml0/4 /dtv/usb/sda1/dump/bml0_4_dump
bml.dump /dev/bml0/5 /dtv/usb/sda1/dump/bml0_5_dump
bml.dump /dev/bml0/6 /dtv/usb/sda1/dump/bml0_6_dump
bml.dump /dev/bml0/7 /dtv/usb/sda1/dump/bml0_7_dump
bml.dump /dev/bml0/8 /dtv/usb/sda1/dump/bml0_8_dump
bml.dump /dev/bml0/9 /dtv/usb/sda1/dump/bml0_9_dump
bml.dump /dev/bml0/10 /dtv/usb/sda1/dump/bml0_10_dump
bml.dump /dev/bml0/11 /dtv/usb/sda1/dump/bml0_11_dump

why do you write incorrect then? :evil:
juzis
SamyGO Moderator
 
Posts: 6014
Joined: Sun Mar 07, 2010 6:20 pm

Re: I can`t backup TV partitions

Postby raulvola » Thu Mar 03, 2011 5:48 pm

Thank you, It works !!

Please, I would like to understand where is 'bm10'. Why it doesn´t appear at the command 'df', Is it a hidden partition?

And what is the meaning of the \0, \1, \2 ... \11

I want to know...

Raul
-----------------
Raul de Frutos (TV MODEL SAMSUNG LE32B651T3W FIRMWARE T-CHL7DEUC-2005.0)
raulvola
 
Posts: 38
Joined: Thu Feb 25, 2010 10:42 am

Re: I can`t backup TV partitions

Postby juzis » Thu Mar 03, 2011 6:46 pm

bml0/8 and bml 0/9 are first firmware partitions
bml0/10 and bml0/11 are second firmware partitions

Here are two firmwares on TV: current and alternative.
with command df -h you see only curently active/mounted partitions. Alternative firmware is invisible.

enter
Code: Select all
cat /proc/partitions
and you`ll see how many partitions here are on tv...
0/2 ...0/11... 0/17 are partitions of NAND (1) on 1Gb memory models.
1/1...1/2...1/3 are partitions of NAND(2) - on 2 Gb memory models.

whole partition bml0/c and bml1/c - you get 1 Gb file. But i do not recommend flash it back, you could brick TV...(i guess)

p.s. I tested your map widget, do you have another interesting stuff to try? ;)
juzis
SamyGO Moderator
 
Posts: 6014
Joined: Sun Mar 07, 2010 6:20 pm

Re: I can`t backup TV partitions

Postby raulvola » Thu Mar 03, 2011 6:58 pm

I got lost.

When i wrote the comands:

Code: Select all
 bml.dump /dev/bml0/x /dtv/usb/sda1/dump/bml0_x_dump


Am I doing a backup only of firmware partitions ?

What sould I do to backup the /mtd_tlib/GGame folder where I put my SamyGo applications, for example.

Excuse me, linux TV world is dark for me.

Regards

Raul (Spain)
--------
Raul de Frutos (TV MODEL SAMSUNG LE32B651T3W FIRMWARE T-CHL7DEUC-2005.0)
raulvola
 
Posts: 38
Joined: Thu Feb 25, 2010 10:42 am

Re: I can`t backup TV partitions

Postby juzis » Thu Mar 03, 2011 7:13 pm

you dump partitions, not only firmware partitions (u-boot, kernel, rootfs and other) with bml.dump.
ContentLibrary is on /mtd_tlib , it is mounted as /dev/stl0/13
So you can dump it as:
Code: Select all
cat /dev/stl0/13 > /dtv/usb/sda1/dump_stl_13

But restore is others.
what is your TV model?
juzis
SamyGO Moderator
 
Posts: 6014
Joined: Sun Mar 07, 2010 6:20 pm

Re: I can`t backup TV partitions

Postby raulvola » Thu Mar 03, 2011 11:14 pm

juzis:

My TV is a Samsung LE32B651T3W (yera 2009 model) with telnet access hacked firmware T-CHL7DEUC 2005

I would like to learn more things about my TV file system, can you made me any recomendation ?

Lately my TV response is more slow and it suffers a total block from time to time.

I am thinking about to made a RESTORE FACTORY DEFAULT or downgrade to previous firmware T-CHL7DEUC 2005 (original, non-hacked)

That´s the reason of the backup and dump I made.

I will tell yoy If I success. Thanks a lot.

p.s. I fell happy if you like my map widget. Widget Programming is a lot easier than all this linux stuff.

Raul
------
Raul de Frutos (TV MODEL SAMSUNG LE32B651T3W FIRMWARE T-CHL7DEUC-2005.0)
raulvola
 
Posts: 38
Joined: Thu Feb 25, 2010 10:42 am

Re: I can`t backup TV partitions

Postby juzis » Fri Mar 04, 2011 7:52 am

raulvola wrote:juzis:
My TV is a Samsung LE32B651T3W (yera 2009 model) with telnet access hacked firmware T-CHL7DEUC 2005
I would like to learn more things about my TV file system, can you made me any recomendation ?
Lately my TV response is more slow and it suffers a total block from time to time.
I am thinking about to made a RESTORE FACTORY DEFAULT or downgrade to previous firmware T-CHL7DEUC 2005 (original, non-hacked)
That´s the reason of the backup and dump I made.
I will tell yoy If I success. Thanks a lot.
p.s. I fell happy if you like my map widget. Widget Programming is a lot easier than all this linux stuff.
Raul
------

Partitions where firmware is stored are bml0/8 bml0/9 and bml0/10 bml0/11 (check your df -h for currently active firmware)
You can update your firmware normal way over TV menu - you have unrestricted firmware - why you need flash it at hand?

If you want lern deeper, you have to order exlink cable first!
wiki articles for you:
http://sourceforge.net/apps/mediawiki/s ... eries_Wiki

Flashing / dumping images and u-boot section.
juzis
SamyGO Moderator
 
Posts: 6014
Joined: Sun Mar 07, 2010 6:20 pm

Re: I can`t backup TV partitions

Postby raulvola » Fri Mar 04, 2011 5:16 pm

I am not going to manually restore firmware. I´ll do it by TV menu option.

Backup copies are only for security reasons. Who knows what tomorrow brings ?

I would like to have a deeper know of the TV file system. Thats all.

Thanks a lot.

Raul
-----
Raul de Frutos (TV MODEL SAMSUNG LE32B651T3W FIRMWARE T-CHL7DEUC-2005.0)
raulvola
 
Posts: 38
Joined: Thu Feb 25, 2010 10:42 am

Re: I can`t backup TV partitions

Postby juzis » Fri Mar 04, 2011 5:31 pm

you can use DumpMaker for making dumps :)
juzis
SamyGO Moderator
 
Posts: 6014
Joined: Sun Mar 07, 2010 6:20 pm


Return to [B] General

Who is online

Users browsing this forum: Darkmind1982 and 1 guest