[{"data":1,"prerenderedAt":315},["ShallowReactive",2],{"navigation":3,"post-\u002Fposts\u002F2021\u002Ffastboot-failed-remote-operation-not-permitted":20,"surroundPosts-\u002Fposts\u002F2021\u002Ffastboot-failed-remote-operation-not-permitted":302},[4,8,12,16],{"title":5,"path":6,"stem":7},"首页","\u002F","00.index",{"title":9,"path":10,"stem":11},"文章","\u002Fposts","01.posts",{"title":13,"path":14,"stem":15},"动态","\u002Fmoments","02.moments",{"title":17,"path":18,"stem":19},"关于","\u002Fabout","09.about",{"id":21,"title":22,"body":23,"class":282,"cover":283,"coverSize":282,"date":284,"description":29,"draft":285,"extension":286,"hideComments":285,"location":282,"meta":287,"navigation":288,"path":289,"readingTime":290,"seo":295,"sitemap":296,"stem":297,"tags":298,"time":282,"weather":282,"__hash__":301},"posts\u002Fposts\u002F2021\u002F20210105.fastboot-failed-remote-operation-not-permitted.md","fastboot FAILED (remote: Operation not permitted) 的问题",{"type":24,"value":25,"toc":280},"minimark",[26,30,38,249,256,259,262,265,273,276],[27,28,29],"p",{},"这两天买了台安卓测试设备，由于我们的项目需要系统签名，所以不得不重新刷系统。",[27,31,32,33,37],{},"在 ",[34,35,36],"code",{},"fastboot flash system"," 的时候，每次都在最后要完成的时候报一个错误：",[39,40,45],"pre",{"className":41,"code":42,"language":43,"meta":44,"style":44},"language-log shiki shiki-themes material-theme-lighter github-light github-dark","target reported max download size of 536870912 bytes\nSending sparse 'system' 1\u002F4 (524284 KB)...\nOKAY [ 15.543s]\nWriting 'system' 1\u002F4...\nOKAY [  3.548s]\nSending sparse 'system' 2\u002F4 (524284 KB)...\nOKAY [ 15.483s]\nWriting 'system' 2\u002F4...\nOKAY [  3.644s]\nSending sparse 'system' 3\u002F4 (524284 KB)...\nOKAY [ 15.103s]\nWriting 'system' 3\u002F4...\nFAILED (remote: Operation not permitted)\nFinished. Total time: 58.650s\n","log","",[34,46,47,63,90,102,119,131,151,161,176,186,206,216,231,237],{"__ignoreMap":44},[48,49,52,56,60],"span",{"class":50,"line":51},"line",1,[48,53,55],{"class":54},"su5hD","target reported max download size of ",[48,57,59],{"class":58},"s39Yj","536870912",[48,61,62],{"class":54}," bytes\n",[48,64,66,69,73,76,78,81,84,87],{"class":50,"line":65},2,[48,67,68],{"class":54},"Sending sparse ",[48,70,72],{"class":71},"s_sjI","'system'",[48,74,75],{"class":58}," 1",[48,77,6],{"class":54},[48,79,80],{"class":58},"4",[48,82,83],{"class":54}," (",[48,85,86],{"class":58},"524284",[48,88,89],{"class":54}," KB)...\n",[48,91,93,96,99],{"class":50,"line":92},3,[48,94,95],{"class":54},"OKAY [ ",[48,97,98],{"class":58},"15",[48,100,101],{"class":54},".543s]\n",[48,103,105,108,110,112,114,116],{"class":50,"line":104},4,[48,106,107],{"class":54},"Writing ",[48,109,72],{"class":71},[48,111,75],{"class":58},[48,113,6],{"class":54},[48,115,80],{"class":58},[48,117,118],{"class":54},"...\n",[48,120,122,125,128],{"class":50,"line":121},5,[48,123,124],{"class":54},"OKAY [  ",[48,126,127],{"class":58},"3",[48,129,130],{"class":54},".548s]\n",[48,132,134,136,138,141,143,145,147,149],{"class":50,"line":133},6,[48,135,68],{"class":54},[48,137,72],{"class":71},[48,139,140],{"class":58}," 2",[48,142,6],{"class":54},[48,144,80],{"class":58},[48,146,83],{"class":54},[48,148,86],{"class":58},[48,150,89],{"class":54},[48,152,154,156,158],{"class":50,"line":153},7,[48,155,95],{"class":54},[48,157,98],{"class":58},[48,159,160],{"class":54},".483s]\n",[48,162,164,166,168,170,172,174],{"class":50,"line":163},8,[48,165,107],{"class":54},[48,167,72],{"class":71},[48,169,140],{"class":58},[48,171,6],{"class":54},[48,173,80],{"class":58},[48,175,118],{"class":54},[48,177,179,181,183],{"class":50,"line":178},9,[48,180,124],{"class":54},[48,182,127],{"class":58},[48,184,185],{"class":54},".644s]\n",[48,187,189,191,193,196,198,200,202,204],{"class":50,"line":188},10,[48,190,68],{"class":54},[48,192,72],{"class":71},[48,194,195],{"class":58}," 3",[48,197,6],{"class":54},[48,199,80],{"class":58},[48,201,83],{"class":54},[48,203,86],{"class":58},[48,205,89],{"class":54},[48,207,209,211,213],{"class":50,"line":208},11,[48,210,95],{"class":54},[48,212,98],{"class":58},[48,214,215],{"class":54},".103s]\n",[48,217,219,221,223,225,227,229],{"class":50,"line":218},12,[48,220,107],{"class":54},[48,222,72],{"class":71},[48,224,195],{"class":58},[48,226,6],{"class":54},[48,228,80],{"class":58},[48,230,118],{"class":54},[48,232,234],{"class":50,"line":233},13,[48,235,236],{"class":54},"FAILED (remote: Operation not permitted)\n",[48,238,240,243,246],{"class":50,"line":239},14,[48,241,242],{"class":54},"Finished. Total time: ",[48,244,245],{"class":58},"58",[48,247,248],{"class":54},".650s\n",[27,250,251,252,255],{},"不管怎么 ",[34,253,254],{},"-S"," 给多少，最后总在 70% 左右的时候报这个错，网上的资料也是查不到。",[27,257,258],{},"后来想，会不会和 system 分区大小有关，尝试了半天又没结果。",[27,260,261],{},"最终下了个最新版的 platform-tools，解决了。问题确实是 system 分区大小的问题，最新版的 fastboot 在烧录前会自动调整 system 分区大小。",[27,263,264],{},"附个最新版 platform-tools 的下载地址：",[27,266,267],{},[268,269,270],"a",{"href":270,"rel":271},"https:\u002F\u002Fdeveloper.android.com\u002Fstudio\u002Freleases\u002Fplatform-tools",[272],"nofollow",[27,274,275],{},"记录一下，方便后人。如果帮助到你的话，留个言再走吧。",[277,278,279],"style",{},"html pre.shiki code .su5hD, html code.shiki .su5hD{--shiki-light:#90A4AE;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s39Yj, html code.shiki .s39Yj{--shiki-light:#39ADB5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":44,"searchDepth":65,"depth":65,"links":281},[],null,"png","2021-01-05",false,"md",{},true,"\u002Fposts\u002F2021\u002Ffastboot-failed-remote-operation-not-permitted",{"text":291,"minutes":292,"time":293,"words":294},"2 min read",1.24,74400,248,{"title":22,"description":29},{"loc":289},"posts\u002F2021\u002F20210105.fastboot-failed-remote-operation-not-permitted",[299,300],"技术","Android","YV00Q09feWoUxyWhCUlxF32Tk1GXdjRSj33StuPrWdo",[303,309],{"title":304,"path":305,"stem":306,"date":307,"description":308,"children":-1},"群晖 Let's Encrypt 配置多个泛域名 SSL 证书自动更新","\u002Fposts\u002F2021\u002Fsynology-letsencrypt-multiple-domain-cert-configuration","posts\u002F2021\u002F20210108.synology-letsencrypt-multiple-domain-cert-configuration","2021-01-08","之前一直用的 syno-acme 配合群晖的计划任务实现泛域名 SSL 证书的更新，但是最近想切换域名，但是又要保持原有域名一段时间可用。syno-acme 的方案只支持默认证书的配置，群晖上多个证书的配置确实比较麻烦，几年前也折腾过。",{"title":310,"path":311,"stem":312,"date":313,"description":314,"children":-1},"2021 年伊始","\u002Fposts\u002F2021\u002Fbeginning-of-2021","posts\u002F2021\u002F20210103.beginning-of-2021","2021-01-03","多事之秋的 2020 年终于结束了，这一年最大的关键词可能就是“新冠疫情”了，全民抗疫果真成为了常态，戴口罩也成了大家出门的一种习惯。",1777579139234]