2/01/2013

How can I extract a CEFS partition MODEM_ST1 and MODEM_ST2 with QRD8x25 ?

1. set FEATURE_EFS_ENABLE_FACTORY_IMAGE_SECURITY_HOLE, and download whole image and qcn file.
2. switch the device to the mass storage (download) mode, use "sudo fdisk" to find the right partition of MODEM_ST1 and MODEM_ST2, add dump it. for example:

sudo dd if=/dev/sdb10 of=./st1.bin
sudo dd if=/dev/sdb11 of=./st2.bin

3.creat a dummy file.
dd if=/dev/zero of=./dummy.bin count=1 bs=3145728

4.modify the rawprogram0.xml
+++++<program file_sector_offset="0" filename="dummy.bin" label="BACKUP" num_partition_sectors="6144" physical_partition_number="0" size_in_KB="3072.0" sparse="false" start_byte_hex="0x50ad000" start_sector="165224" />

--------<program file_sector_offset="0" filename="" label="BACKUP" num_partition_sectors="6144" physical_partition_number="0" size_in_KB="3072.0" sparse="false" start_byte_hex="0x50ad000" start_sector="165224" />

+++++<program file_sector_offset="0" filename="st1.bin" label="MODEM_ST1" num_partition_sectors="6144" physical_partition_number="0" size_in_KB="3072.0" sparse="false" start_byte_hex="0x53ad000" start_sector="171368" />

------<program file_sector_offset="0" filename="" label="MODEM_ST1" num_partition_sectors="6144" physical_partition_number="0" size_in_KB="3072.0" sparse="false" start_byte_hex="0x53ad000" start_sector="171368" />

++++<program file_sector_offset="0" filename="st2.bin" label="MODEM_ST2" num_partition_sectors="6144" physical_partition_number="0" size_in_KB="3072.0" sparse="false" start_byte_hex="0x56ad000" start_sector="177512" />

-------<program file_sector_offset="0" filename="" label="MODEM_ST2" num_partition_sectors="6144" physical_partition_number="0" size_in_KB="3072.0" sparse="false" start_byte_hex="0x56ad000" start_sector="177512" />

5. download the st1.bin and st2.bin with xml.

No comments:

Post a Comment