partition.bin资料如图:
然后根据各位前辈的相关教程 制作黑砖救砖文件
partition.xml如现下(希望懂得指点下错误)
<?xml version="1.0"?>
<physical_partition>
<partition label="modem" size_in_kb="65536" bootable="false" readonly="false" filename="NON-HLOS.bin" />
<partition label="sbl1" size_in_kb="512" bootable="false" readonly="false" filename="sbl1.mbn" />
<partition label="dbi" size_in_kb="32" bootable="false" readonly="false" filename="sdi.mbn" />
<partition label="DDR" size_in_kb="32" bootable="false" readonly="false" filename="" />
<partition label="aboot" size_in_kb="8192" bootable="false" readonly="false" filename="emmc_appsboot.mbn" />
<partition label="rmp" size_in_kb="500" bootable="false" readonly="false" filename="rpm.mbn" />
<partition label="boot" size_in_kb="16384" bootable="false" readonly="false" filename="boot.img" />
<partition label="tz" size_in_kb="500" bootable="false" readonly="false" filename="tz.mbn" />
<partition label="pad" size_in_kb="1024" bootable="false" readonly="false" filename="" />
<partition label="modemst1" size_in_kb="1536" bootable="false" readonly="false" filename="" />
<partition label="modemst2" size_in_kb="1536" bootable="false" readonly="false" filename="" />
<partition label="system" size_in_kb="1310720" bootable="false" readonly="false" filename="system.img" />
<partition label="persist" size_in_kb="32768" bootable="false" readonly="false" filename="persist.img" />
<partition label="cache" size_in_kb="819200" bootable="false" readonly="false" filename="" />
<partition label="recovery" size_in_kb="16384" bootable="false" readonly="false" filename="recovery.img" />
<partition label="fsg" size_in_kb="1536" bootable="false" readonly="false" filename="" />
<partition label="fsc" size_in_kb="1" bootable="false" readonly="false" filename="" />
<partition label="ssd" size_in_kb="8" bootable="false" readonly="false" filename="" />
<partition label="oemdata" size_in_kb="256" bootable="false" readonly="false" filename="" />
<partition label="dbg" size_in_kb="2048" bootable="false" readonly="false" filename="cache.img" />
<partition label="userdata" size_in_kb="27783151" bootable="false" readonly="false" filename="" />
</physical_partition>
</configuration>
rawprogram0.xml 如下(希望懂得指点下错误)
<?xml version="1.0" ?>
<data>
<!--NOTE: Sector size is 512bytes-->
<program file_sector_offset="0" filename="NON-HLOS.bin" label="modem" num_partition_sectors="131072" physical_partition_number="0" size_in_KB="65536" start_sector="1024"/>
<program file_sector_offset="0" filename="sbl1.mbn" label="sbl1" num_partition_sectors="1024" physical_partition_number="0" size_in_KB="512" start_sector="263167"/>
<program file_sector_offset="0" filename="sdi.mbn" label="dbi" num_partition_sectors="64" physical_partition_number="0" size_in_KB="32" start_sector="263168"/>
<program file_sector_offset="0" filename="" label="DDR" num_partition_sectors="64" physical_partition_number="0" size_in_KB="32" start_sector="393216"/>
<program file_sector_offset="0" filename="emmc_appsboot.mbn" label="aboot" num_partition_sectors="16384" physical_partition_number="0" size_in_KB="8192" start_sector="524288"/>
<program file_sector_offset="0" filename="rpm.mbn" label="rmp" num_partition_sectors="1000" physical_partition_number="0" size_in_KB="500" start_sector="540672"/>
<program file_sector_offset="0" filename="boot.img" label="boot" num_partition_sectors="32768" physical_partition_number="0" size_in_KB="16384" start_sector="655360"/>
<program file_sector_offset="0" filename="tz.mbn" label="tz" num_partition_sectors="1000" physical_partition_number="0" size_in_KB="500" start_sector="786432"/>
<program file_sector_offset="0" filename="" label="pad" num_partition_sectors="2048" physical_partition_number="0" size_in_KB="1024" start_sector="787432"/>
<program file_sector_offset="0" filename="" label="modemst1" num_partition_sectors="3072" physical_partition_number="0" size_in_KB="1536" start_sector="789480"/>
<program file_sector_offset="0" filename="" label="modemst2" num_partition_sectors="3072" physical_partition_number="0" size_in_KB="1536" start_sector="792552"/>
<program file_sector_offset="0" filename="system.img" label="system" num_partition_sectors="2621440" physical_partition_number="0" size_in_KB="1310720" start_sector="917504"/>
<program file_sector_offset="0" filename="persist.img" label="persist" num_partition_sectors="65536" physical_partition_number="0" size_in_KB="32768" start_sector="3538944"/>
<program file_sector_offset="0" filename="cache.img" label="cache" num_partition_sectors="1638400" physical_partition_number="0" size_in_KB="819200" start_sector="3604480"/>
<program file_sector_offset="0" filename="recovery.img" label="recovery" num_partition_sectors="32768" physical_partition_number="0" size_in_KB="16384" start_sector="5242880"/>
<program file_sector_offset="0" filename="" label="fsg" num_partition_sectors="3072" physical_partition_number="0" size_in_KB="1536" start_sector="5275648"/>
<program file_sector_offset="0" filename="" label="fsc" num_partition_sectors="2" physical_partition_number="0" size_in_KB="1" start_sector="5373952"/>
<program file_sector_offset="0" filename="" label="ssd" num_partition_sectors="16" physical_partition_number="0" size_in_KB="8" start_sector="5373954"/>
<program file_sector_offset="0" filename="" label="oemdata" num_partition_sectors="512" physical_partition_number="0" size_in_KB="256" start_sector="5373970"/>
<program file_sector_offset="0" filename="" label="dbg" num_partition_sectors="4096" physical_partition_number="0" size_in_KB="2048" start_sector="5374482"/>
<program file_sector_offset="0" filename="" label="userdata" num_partition_sectors="55566302" physical_partition_number="0" size_in_KB="27783151" start_sector="5505024"/>
<program file_sector_offset="0" filename="partition0.bin" label="PrimaryGPT" num_partition_sectors="1" physical_partition_number="0" size_in_KB="0.5" start_sector="0"/>
<program file_sector_offset="1" filename="partition0.bin" label="BackupGPT" num_partition_sectors="21" physical_partition_number="0" size_in_KB="10.5" start_sector="263167"/>
<data>