{"id":700,"date":"2024-08-10T18:58:36","date_gmt":"2024-08-10T10:58:36","guid":{"rendered":"https:\/\/himpqblog.cn\/?p=700"},"modified":"2024-08-10T18:58:36","modified_gmt":"2024-08-10T10:58:36","slug":"bootloader%e3%80%81fastboot%e7%ad%89%e5%88%b7%e6%9c%ba%e9%83%a8%e5%88%86%e6%a6%82%e5%bf%b5","status":"publish","type":"post","link":"https:\/\/himpqblog.cn\/index.php\/archives\/700","title":{"rendered":"Bootloader\u3001Fastboot\u7b49\u5237\u673a\u90e8\u5206\u6982\u5ff5"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Bootloader<\/h2>\n\n\n\n<p>\u8bbe\u5907\u542f\u52a8\u8fc7\u7a0b\u4e2d\u6700\u521d\u52a0\u8f7d\u7684\u7a0b\u5e8f\uff0c\u8d1f\u8d23\u542f\u52a8\u5f15\u5bfc\u8fc7\u7a0b\u3002\u5927\u90e8\u5206\u56fd\u5185\u624b\u673a\u5382\u5546\u4f1a\u7ed9Bootloader\u4e0a\u9501\uff0c\u4f7f\u5f97\u5b89\u88c5\u65b0\u7684ROM\u65f6\u5019\u786e\u4fdd\u8bbe\u5907\u53ea\u80fd\u542f\u52a8\u7ecf\u8fc7\u5382\u5546\u9a8c\u8bc1\u7684\u7cfb\u7edf\u6216\u8f6f\u4ef6\uff0c\u4ee5\u9632\u6b62\u6076\u610f\u8f6f\u4ef6\u7684\u8fd0\u884c\u3002<\/p>\n\n\n\n<p>\u800c\u89e3\u9501Bootloader(\u89e3BL)\u5219\u53ef\u4ee5\u5237\u5165\u5176\u4ed6\u7684\u7cfb\u7edfROM\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fastboot<\/h2>\n\n\n\n<p>Fastboot\u6a21\u5f0f\u53ef\u4ee5\u4f7f\u624b\u673a\u5237\u5199\u5206\u533a\uff0c\u5237\u5165\u7cfb\u7edf\uff0c\u89e3BL\u7b49\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p>Fastboot\u672c\u8eab\u662f\u4e00\u79cd\u534f\u8bae\u6216\u5de5\u5177\uff0c\u5141\u8bb8\u7528\u6237\u901a\u8fc7 USB \u8fde\u63a5\u4e0e\u8bbe\u5907\u8fdb\u884c\u4f4e\u7ea7\u522b\u7684\u4ea4\u4e92\uff0c\u5b83\u901a\u5e38\u8fd0\u884c\u5728\u8bbe\u5907\u7684 Bootloader \u6a21\u5f0f\u4e0b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nfastboot flash boot boot.img\nfastboot reboot recovery\n...\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">ADB (Android Debug Bridge)<\/h2>\n\n\n\n<p>ADB\u53c8\u540d\u5b89\u5353\u8c03\u8bd5\u6865\uff0c\u662f\u7528\u4e8e\u901a\u8fc7WIFI\u3001USB\u7b49\u94fe\u63a5\u4e0e\u8bbe\u5907\u4ea4\u4e92\u7684\u4e00\u79cd\u5de5\u5177\uff0c\u901a\u8fc7ADB\u53ef\u4ee5\u64cd\u4f5c\u5b89\u5353\u7cfb\u7edf\u4e0a\u7684\u4e00\u4e9b\u529f\u80fd\u4e0e\u76f4\u63a5\u6267\u884cShell\u547d\u4ee4\uff0c\u6216\u4f20\u8f93\u6587\u4ef6\u3001\u5b89\u88c5\u5e94\u7528\u7b49\u3002<\/p>\n\n\n\n<p>\u4e00\u822c\u7cfb\u7edf\u9ed8\u8ba4\u5173\u95ed\u8be5\u6a21\u5f0f\uff0c\u9700\u8981\u5728\u624b\u673a\u7684\u5f00\u53d1\u8005\u6a21\u5f0f\u6253\u5f00\uff0c\u5e76\u4e14\u9700\u8981\u7535\u8111\u5b89\u88c5\u76f8\u5e94\u7684\u5de5\u5177\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nadb install app.apk\nadb shell\nadb push ...\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Root<\/h2>\n\n\n\n<p>\u901a\u8fc7\u4fee\u8865boot.img\u5185\u6838\u8fbe\u5230\u83b7\u53d6\u66f4\u9ad8\u7528\u6237\u6743\u9650\u7684\u624b\u6bb5\uff0c\u5982 Magisk \u4fee\u8865boot.img\u540e\u4f5c\u4e3a\u4e00\u4e2a\u6743\u9650\u7ba1\u7406\u5668\u53ef\u4ee5\u7ed9\u4e88\u76f8\u5e94\u5e94\u7528root\u6743\u9650\uff0c\u6216\u5728\u7cfb\u7edf\u542f\u52a8\u65f6\u6267\u884c\u5bf9\u5e94\u6a21\u5757\u5185\u5bb9\u3002<\/p>\n\n\n\n<p>\u7ed9\u4e88\u672a\u77e5\u6a21\u5757\/\u5e94\u7528root\u6743\u9650\u5341\u5206\u5371\u9669\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5237\u673a<\/h2>\n\n\n\n<p>\u901a\u8fc7 Miflash \u5237\u5165\u7cfb\u7edf\u955c\u50cf\u7684\u540c\u65f6\u4f1a\u5c06\u539f\u672c\u901a\u8fc7 Magisk \u4fee\u8865\u7684boot.img\u66ff\u6362\u4e3a\u65b0\u7684boot.img\uff0c\u5bfc\u81f4 Magisk \u4e22\u5931\u6743\u9650\uff0c\u6216\u8005\u5931\u53bbTWRP\uff0c\u63d0\u53d6\u51fa\u7cfb\u7edf\u955c\u50cf\u7136\u540e\u91cd\u65b0\u5237\u5165\u5373\u53ef\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6839\u76ee\u5f55<\/h2>\n\n\n\n<p>\u4e00\u822c\u6765\u8bf4\u5728\u672aroot\u6216\u672a\u89e3BL\u7684\u8bbe\u5907\u4e0a\u662f\u65e0\u6cd5\u8bbf\u95ee\u7cfb\u7edf\u6839\u76ee\u5f55\u7684\uff0c\u53ea\u6709\u83b7\u53d6\u4e86\u66f4\u9ad8\u6743\u9650\u624d\u80fd\u76f4\u63a5\u8bbf\u95ee\u7cfb\u7edf\u6839\u76ee\u5f55\u3002<\/p>\n\n\n\n<p>\u5728\u4f60\u4e0d\u77e5\u9053\u7684\u60c5\u51b5\u4e0b\u4e0d\u8981\u968f\u610f\u5220\u6539\u6839\u76ee\u5f55\u6587\u4ef6\u6216\u6587\u4ef6\u5939\u3002<\/p>\n\n\n\n<p>\u81f3\u4e8e\u6839\u76ee\u5f55\u5b58\u653e\u4e86\u4ec0\u4e48\u53c2\u8003Linux\u7684\u7cfb\u7edf\u6839\u76ee\u5f55\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Data\u5206\u533a<\/h2>\n\n\n\n<p>\u6839\u76ee\u5f55\u4e0b\/data\u3002\u91cc\u9762\u5305\u542b\u4e86\u6240\u6709\u7528\u6237\u7684\u6240\u6709\u8f6f\u4ef6\u8d44\u6599\uff0c\u4ee5\u53ca\u5df2\u5237\u5165\u7684 Magisk \u7684\u6a21\u5757\u3002<\/p>\n\n\n\n<p>\u5f53\u8de8\u7248\u672c\u5237\u5165\u65b0\u7cfb\u7edf\u65f6\u4e00\u822c\u9700\u8981<em><strong>\u53cc\u6e05<\/strong><\/em><sup>\u89c1\u4e0b\u6587<\/sup>\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5185\u7f6e\u5b58\u50a8<\/h2>\n\n\n\n<p>\u6839\u76ee\u5f55\u4e0b\/storage\u3002\u5b58\u653e\u4e86\u6240\u6709\u5b89\u5353\u7528\u6237\u7684\u4fe1\u606f\u8d44\u6599\uff0c\u8f6f\u4ef6\u7f13\u5b58\uff0c\u7167\u7247\u89c6\u9891\u97f3\u9891\u7b49\u3002\u4e5f\u5c31\u662f\u7cfb\u7edf\u81ea\u5e26\u7684\u6587\u4ef6\u5939\u901a\u5e38\u4e00\u6253\u5f00\u5c31\u662f\u7684\u5730\u65b9\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u53cc\u6e05<sup>\u6b67\u4e49<\/sup><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u5373\u6e05\u9664\u6240\u6709\u7528\u6237\u6570\u636e\u4ee5\u53ca\u7f13\u5b58\u5206\u533a\u3002<\/li>\n\n\n\n<li>\u6e05\u9664 Dalvik Cache\u3001Cache \u7f13\u5b58\u5206\u533a\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u6211\u66f4\u504f\u5411\u4e8e\u7b2c\u4e00\u4e2a\u542b\u4e49\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TWRP<\/h2>\n\n\n\n<p>\u5168\u79f0 Team Win Recovery Project\uff0c\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684\u5f00\u6e90\u81ea\u5b9a\u4e49\u6062\u590d\u5de5\u5177\uff0c\u5e7f\u6cdb\u7528\u4e8e Android \u8bbe\u5907\u3002\u5b83\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u4e00\u4e2a\u6bd4\u539f\u5382\u6062\u590d\u6a21\u5f0f\u66f4\u9ad8\u7ea7\u548c\u7075\u6d3b\u7684\u73af\u5883\uff0c\u7528\u4e8e\u6267\u884c\u5404\u79cd\u7ef4\u62a4\u548c\u5b9a\u5236\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p>\u5b83\u53ef\u4ee5\u4f7f\u7528\u5361\u5237\u5305\u5b89\u88c5\u7cfb\u7edfROM\u3001\u6e05\u9664\u6216\u5907\u4efd\u3001\u6062\u590d\u4e00\u4e9b\u5206\u533a\u7684\u6570\u636e\uff0c\u6302\u8f7d\u5206\u533a\u7b49\uff0c\u8fd8\u81ea\u5e26\u6587\u4ef6\u7ba1\u7406\u5668\u529f\u80fd\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"570\" height=\"790\" src=\"https:\/\/himpqblog.cn\/wp-content\/uploads\/2024\/08\/image.png\" alt=\"\" class=\"wp-image-701\" style=\"width:437px;height:auto\" srcset=\"https:\/\/himpqblog.cn\/wp-content\/uploads\/2024\/08\/image.png 570w, https:\/\/himpqblog.cn\/wp-content\/uploads\/2024\/08\/image-216x300.png 216w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/figure>\n\n\n\n<p>\u5237\u5165TWRP\u53ef\u4ee5\u65b9\u4fbf\u4f60\u8131\u79bb\u7535\u8111\u64cd\u4f5c\u3001\u5728\u6709\u5907\u4efd\u7684\u60c5\u51b5\u8fdb\u884c\u6551\u7816\u7b49\u3002<\/p>\n\n\n\n<p>\u53ef\u4ee5\u901a\u8fc7 <strong><em>fastboot flash recovery TWRP.img<\/em><\/strong> \u5c06TWRP\u955c\u50cf\u6587\u4ef6\u5237\u5165\u5230recovery\u4e2d\uff0c\u4f46\u90e8\u5206\u673a\u578b\u4e0d\u5b58\u5728\u5355\u72ec\u7684recovery\uff0c\u800c\u662f\u5b58\u5728\u4e8eboot\u4e2d\u3002\u8fd9\u65f6\u9700\u8981\u63d0\u53d6boot.img\u5c06twrp\u4fee\u8865\u8fdb\u53bb\u518d\u5237\u5165boot.img\u5373\u53ef\uff0c\u6216\u8005\u76f4\u63a5\u4e0b\u8f7d\u522b\u4eba\u5df2\u7ecf\u4fee\u8865\u597d\u7684boot.img\u6587\u4ef6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bootloader \u8bbe\u5907\u542f\u52a8\u8fc7\u7a0b\u4e2d\u6700\u521d\u52a0\u8f7d\u7684\u7a0b\u5e8f\uff0c\u8d1f\u8d23\u542f\u52a8\u5f15\u5bfc\u8fc7\u7a0b\u3002\u5927\u90e8\u5206\u56fd\u5185\u624b\u673a\u5382\u5546\u4f1a\u7ed9Bootloade [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-700","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/himpqblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/himpqblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/himpqblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/himpqblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/himpqblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=700"}],"version-history":[{"count":1,"href":"https:\/\/himpqblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/700\/revisions"}],"predecessor-version":[{"id":702,"href":"https:\/\/himpqblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/700\/revisions\/702"}],"wp:attachment":[{"href":"https:\/\/himpqblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/himpqblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/himpqblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}