{"id":303,"date":"2021-05-10T23:20:29","date_gmt":"2021-05-10T15:20:29","guid":{"rendered":"http:\/\/cocozq.com\/?p=303"},"modified":"2021-05-27T22:07:40","modified_gmt":"2021-05-27T14:07:40","slug":"%e5%a4%a7%e5%9e%8b%e8%bf%9e%e7%bb%ad%e5%89%a7%e4%b9%8b%e6%8b%af%e6%95%91%e5%8f%98%e7%a0%96%e9%bb%91%e8%8e%93key2%e4%b9%8b%e7%ac%ac%e4%b8%80%e9%9b%86-%e5%b0%8f%e7%b1%b3note3%e7%9a%84rom%e5%88%86","status":"publish","type":"post","link":"https:\/\/cocozq.com\/?p=303","title":{"rendered":"\u5927\u578b\u8fde\u7eed\u5267\u4e4b\u62ef\u6551\u53d8\u7816\u9ed1\u8393KEY2\u4e4b\u7b2c\u4e09\u96c6&#8212;-\u5c0f\u7c73Note3\u7684ROM\u5206\u6790"},"content":{"rendered":"<blockquote><p>\n  \u524d\u666f\u63d0\u8981\uff1a\u5237\u5165\u4e86\u540c\u4e3a660\u7684\u5c0f\u7c73Note3\u7684\u56fa\u4ef6\n<\/p><\/blockquote>\n<p>\u5728\u4f7f\u7528\u9ad8\u901a\u6a21\u5f0f\u5237\u5165\u56fa\u4ef6\u7684\u65f6\u5019\uff0c\u5728\u5c0f\u7c73note3\u7684ROM\u4e0b\u5206\u6790\u53ef\u4ee5\u770b\u51fa\uff0c\u6bd4fastboot\u591a\u51fa\u51e0\u4e2axml\u6587\u4ef6\uff0c\u5206\u5e03\u662fpartition.xml\u3001rawprogram0.xml\u548cpatch0.xml\uff0c\u5927\u81f4\u5982\u4e0b<\/p>\n<pre data-language=XML><code class=\"language-markup line-numbers\">&lt;?xml version=\"1.0\"?&gt;\n&lt;configuration&gt;\n    &lt;parser_instructions&gt;\n         &lt;!-- NOTE: entries here are used by the parser when generating output --&gt;\n         &lt;!-- NOTE: each filename must be on it's own line as in variable=value--&gt;\n         WRITE_PROTECT_BOUNDARY_IN_KB    = 65536\n         GROW_LAST_PARTITION_TO_FILL_DISK= true\n         ALIGN_PARTITIONS_TO_PERFORMANCE_BOUNDARY = true\n         PERFORMANCE_BOUNDARY_IN_KB = 4\n    &lt;\/parser_instructions&gt;\n\n    &lt;!-- NOTE: \"physical_partition\" are listed in order and apply to devices such as eMMC cards that have (for example) 3 physical partitions --&gt;\n    &lt;!-- This is physical partition 0 --&gt;\n    &lt;physical_partition&gt;\n        &lt;!-- NOTE: Define information for each partition, which will be created in order listed here --&gt;\n        &lt;!-- NOTE: Place all \"readonly=true\" partitions side by side for optimum space usage --&gt;\n        &lt;!-- NOTE: If OPTIMIZE_READONLY_PARTITIONS=true, then partitions won't be in the order listed here --&gt;\n        &lt;!--       they will instead be placed side by side at the beginning of the disk --&gt;\n        &lt;!-- pre: 20k, next: 1M-20k --&gt;\n        &lt;partition label=\"switch\" size_in_kb=\"8\" type=\"0FC63DAF-8483-4772-8E79-3D69D8477DE4\" bootable=\"false\" readonly=\"false\" filename=\"dummy.img\" \/&gt;\n        &lt;partition label=\"fsc\" size_in_kb=\"8\" type=\"57B90A16-22C9-E33B-8F5D-0E81686A68CB\" bootable=\"false\" readonly=\"false\" filename=\"\"\/&gt;\n        &lt;partition label=\"dpo\" size_in_kb=\"8\" type=\"11406F35-1173-4869-807B-27DF71802812\" bootable=\"false\" readonly=\"false\" filename=\"\"\/&gt;\n        &lt;partition label=\"bk1\" size_in_kb=\"20\" type=\"0FC63DAF-8483-4772-8E79-3D69D8477DE4\" bootable=\"false\" readonly=\"false\" filename=\"\" \/&gt;\n        &lt;partition label=\"sec\" size_in_kb=\"32\" type=\"303E6AC3-AF15-4C54-9E9B-D9A8FBECF401\" bootable=\"false\" readonly=\"false\" filename=\"\" \/&gt;\n        &lt;partition label=\"ssd\" size_in_kb=\"32\" type=\"2C86E742-745E-4FDD-BFD8-B6A7AC638772\" bootable=\"false\" readonly=\"false\" filename=\"\"\/&gt;\n        &lt;!-- ----&gt;\n        &lt;!-- pre: 13*64M, next: 4*64M --&gt;\n        &lt;partition label=\"cache\" size_in_kb=\"262144\" type=\"5594C694-C871-4B5F-90B1-690A6F68E0F7\" bootable=\"false\" readonly=\"false\" filename=\"cache.img\" sparse=\"true\"\/&gt;\n\n        &lt;!-- pre: 17*64M, left --&gt;\n        &lt;partition label=\"cust\" size_in_kb=\"851968\" type=\"0FC63DAF-8483-4772-8E79-3D69D8477DE4\" bootable=\"false\" readonly=\"false\" filename=\"cust.img\" sparse=\"true\" \/&gt;\n        &lt;partition label=\"system\" size_in_kb=\"5242880\" type=\"97D7B011-54DA-4835-B3C4-917AD6E73D74\" bootable=\"false\" readonly=\"false\" filename=\"system.img\" sparse=\"true\"\/&gt;\n        &lt;partition label=\"userdata\" size_in_kb=\"12582912\" type=\"1B81E7E6-F50D-419B-A739-2AEEF8DA3335\" bootable=\"false\" readonly=\"false\" filename=\"userdata.img\" sparse=\"true\"\/&gt;\n    &lt;\/physical_partition&gt;\n&lt;\/configuration&gt;\n<\/code><\/pre>\n<pre data-language=XML><code class=\"language-markup line-numbers\">&lt;?xml version=\"1.0\" ?&gt;\n&lt;data&gt;\n  &lt;!--NOTE: This is an ** Autogenerated file **--&gt;\n  &lt;!--NOTE: Sector size is 512bytes--&gt;\n  &lt;program SECTOR_SIZE_IN_BYTES=\"512\" file_sector_offset=\"0\" filename=\"dummy.img\" label=\"switch\" num_partition_sectors=\"16\" partofsingleimage=\"false\" physical_partition_number=\"0\" readbackverify=\"false\" size_in_KB=\"8.0\" sparse=\"false\" start_byte_hex=\"0x5000\" start_sector=\"40\"\/&gt;\n  &lt;program SECTOR_SIZE_IN_BYTES=\"512\" file_sector_offset=\"0\" filename=\"\" label=\"fsc\" num_partition_sectors=\"16\" partofsingleimage=\"false\" physical_partition_number=\"0\" readbackverify=\"false\" size_in_KB=\"8.0\" sparse=\"false\" start_byte_hex=\"0x7000\" start_sector=\"56\"\/&gt;\n  &lt;!-- -------- ----&gt;\n  &lt;program SECTOR_SIZE_IN_BYTES=\"512\" file_sector_offset=\"0\" filename=\"system.img\" label=\"system\" num_partition_sectors=\"10485760\" partofsingleimage=\"false\" physical_partition_number=\"0\" readbackverify=\"false\" size_in_KB=\"5242880.0\" sparse=\"true\" start_byte_hex=\"0x78000000\" start_sector=\"3932160\"\/&gt;\n  &lt;program SECTOR_SIZE_IN_BYTES=\"512\" file_sector_offset=\"0\" filename=\"userdata.img\" label=\"userdata\" num_partition_sectors=\"0\" partofsingleimage=\"false\" physical_partition_number=\"0\" readbackverify=\"false\" size_in_KB=\"0\" sparse=\"true\" start_byte_hex=\"0x1b8000000\" start_sector=\"14417920\"\/&gt;\n  &lt;program SECTOR_SIZE_IN_BYTES=\"512\" file_sector_offset=\"0\" filename=\"gpt_main0.bin\" label=\"PrimaryGPT\" num_partition_sectors=\"34\" partofsingleimage=\"true\" physical_partition_number=\"0\" readbackverify=\"false\" size_in_KB=\"17.0\" sparse=\"false\" start_byte_hex=\"0x0\" start_sector=\"0\"\/&gt;\n  &lt;program SECTOR_SIZE_IN_BYTES=\"512\" file_sector_offset=\"0\" filename=\"gpt_backup0.bin\" label=\"BackupGPT\" num_partition_sectors=\"33\" partofsingleimage=\"true\" physical_partition_number=\"0\" readbackverify=\"false\" size_in_KB=\"16.5\" sparse=\"false\" start_byte_hex=\"(512*NUM_DISK_SECTORS)-16896.\" start_sector=\"NUM_DISK_SECTORS-33.\"\/&gt;\n&lt;\/data&gt;\n\n<\/code><\/pre>\n<pre data-language=XML><code class=\"language-markup line-numbers\">&lt;?xml version=\"1.0\" ?&gt;\n&lt;patches&gt;\n  &lt;!--NOTE: This is an ** Autogenerated file **--&gt;\n  &lt;!--NOTE: Patching is in little endian format, i.e. 0xAABBCCDD will look like DD CC BB AA in the file or on disk--&gt;\n  &lt;!--NOTE: This file is used by Trace32 - So make sure to add decimals, i.e. 0x10-10=0, *but* 0x10-10.=6.--&gt;\n  &lt;patch SECTOR_SIZE_IN_BYTES=\"512\" byte_offset=\"168\" filename=\"gpt_main0.bin\" physical_partition_number=\"0\" size_in_bytes=\"8\" start_sector=\"19\" value=\"NUM_DISK_SECTORS-34.\" what=\"Update last partition 70 'userdata' with actual size in Primary Header.\"\/&gt;\n  &lt;patch SECTOR_SIZE_IN_BYTES=\"512\" byte_offset=\"168\" filename=\"DISK\" physical_partition_number=\"0\" size_in_bytes=\"8\" start_sector=\"19\" value=\"NUM_DISK_SECTORS-34.\" what=\"Update last partition 70 'userdata' with actual size in Primary Header.\"\/&gt;\n    &lt;!--- ------&gt;\n  &lt;patch SECTOR_SIZE_IN_BYTES=\"512\" byte_offset=\"16\" filename=\"DISK\" physical_partition_number=\"0\" size_in_bytes=\"4\" start_sector=\"NUM_DISK_SECTORS-1.\" value=\"CRC32(NUM_DISK_SECTORS-1.,92)\" what=\"Update Backup Header with CRC of Backup Header.\"\/&gt;\n&lt;\/patches&gt;\n\n<\/code><\/pre>\n<p>\u53ef\u4ee5\u770b\u51fa\uff0c\u8fd9\u662f\u5bf9\u624b\u673a\u5b58\u50a8\u8fdb\u884c\u4e86\u5206\u533a\u64cd\u4f5c\uff0c\u6bd4fastboot\u66f4\u5e95\u5c42\uff0c\u6240\u4ee5\u53ea\u8981\u5bf9\u6bd4\u5c0f\u7c73Note3\u8fd9\u4e2a\u56fa\u4ef6\u4fe1\u606f\uff0c\u5229\u7528\u9ed1\u8393\u5b98\u65b9\u7684ROM\u6b63\u786e\u6784\u9020\u51fa\u4e0a\u9762\u4e09\u4e2a\u6587\u4ef6\u5c31\u6781\u6709\u53ef\u80fd\u6210\u529f\u6062\u590d\uff0c\u4e3a\u4e86\u9a8c\u8bc1\u6211\u7684\u60f3\u6cd5\uff0c\u6211\u5148\u7528\u90e8\u5206\u9ed1\u8393\u56fa\u4ef6\u6587\u4ef6\u66ff\u6362\uff0c\u7136\u540e\u5237\u5165\uff0c\u679c\u4e0d\u5176\u7136\uff0c\u6bd4\u524d\u9762\u80fd\u70b9\u4eae\u547c\u5438\u53c8\u66f4\u6210\u529f\u4e86\u4e00\u6b65\uff0c\u5237\u5b8c\u540e\u91cd\u542f\u5c4f\u5e55\u4eae\u673a\uff0c\u53ea\u662f\u8fdb\u5165\u4e0d\u4e86\u7cfb\u7edf\uff0c\u5904\u5728fastboot\u754c\u9762\uff0c\u53e6\u5916\u6761\u5f62\u7801\u4fe1\u606f\u4e5f\u662f\u7a7a\u7684\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cocozq.com\/zq\/wp-content\/uploads\/2021\/05\/bbkey2_fastboot.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u666f\u63d0\u8981\uff1a\u5237\u5165\u4e86\u540c\u4e3a660\u7684\u5c0f\u7c73Note3\u7684\u56fa\u4ef6 \u5728\u4f7f\u7528\u9ad8\u901a\u6a21\u5f0f\u5237\u5165\u56fa\u4ef6\u7684\u65f6\u5019\uff0c\u5728\u5c0f\u7c73note3\u7684ROM\u4e0b\u5206\u6790 &hellip; <a href=\"https:\/\/cocozq.com\/?p=303\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;\u5927\u578b\u8fde\u7eed\u5267\u4e4b\u62ef\u6551\u53d8\u7816\u9ed1\u8393KEY2\u4e4b\u7b2c\u4e09\u96c6&#8212;-\u5c0f\u7c73Note3\u7684ROM\u5206\u6790&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[51,42,46],"class_list":{"0":"post-303","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-mobilephone","7":"tag-key2","8":"tag-42","10":"hfeed"},"_links":{"self":[{"href":"https:\/\/cocozq.com\/index.php?rest_route=\/wp\/v2\/posts\/303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cocozq.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cocozq.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cocozq.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cocozq.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=303"}],"version-history":[{"count":6,"href":"https:\/\/cocozq.com\/index.php?rest_route=\/wp\/v2\/posts\/303\/revisions"}],"predecessor-version":[{"id":394,"href":"https:\/\/cocozq.com\/index.php?rest_route=\/wp\/v2\/posts\/303\/revisions\/394"}],"wp:attachment":[{"href":"https:\/\/cocozq.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cocozq.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cocozq.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}