{"id":94,"date":"2018-05-10T21:03:24","date_gmt":"2018-05-10T13:03:24","guid":{"rendered":"https:\/\/0x.mk\/?p=94"},"modified":"2018-12-22T18:18:41","modified_gmt":"2018-12-22T10:18:41","slug":"%e9%80%82%e7%94%a8%e4%ba%8esurface-book2%e7%9a%84android-x86%e8%a7%a6%e5%b1%8f%e9%a9%b1%e5%8a%a8%e7%bc%96%e8%af%91","status":"publish","type":"post","link":"https:\/\/0x.mk\/?p=94","title":{"rendered":"\u9002\u7528\u4e8eSurface Book2\u7684Android x86\u89e6\u5c4f\u9a71\u52a8\u7f16\u8bd1"},"content":{"rendered":"<p>\u6ce8\u610f\uff1a\u672c\u6587\u7ae0\u662f\u51ed\u8bb0\u5fc6\u5199\u7684\uff08\u56e0\u4e3a\u7f16\u8bd1\u7684\u65f6\u5019\u535a\u5ba2boom\uff09\uff0c\u5982\u6709\u4e0d\u51c6\u786e\/\u7528\u4e0d\u4e86\u7684\u5730\u65b9\u8bf7\u5728\u8bc4\u8bba\u533a\u6307\u51fa~<\/p>\n<h3>\u83b7\u53d6\u6e90\u7801<\/h3>\n<p>\u53c2\u8003<a href=\"http:\/\/www.android-x86.org\/getsourcecode\">\u8fd9\u91cc<\/a>\uff0c\u76f4\u63a5\u6309\u7167\u9875\u9762\u8bf4\u660eclone\u5e76\u5b89\u88c5\u6240\u9700\u7684\u5305\u3002\u5efa\u8bae\u7f16\u8bd1\u5b89\u88c58.0\u7248\u672c\uff08\u56e0\u4e3a7.1\u6211\u542f\u52a8\u5931\u8d25\u4e86\uff09\u3002init\u4e4b\u540e\u5c06`<span>.repo\/manifest.xml`\u91cc\u9762\u7684\u94fe\u63a5\u4fee\u6539\u4e3a\u6e05\u534e\u6e90\uff08\u5177\u4f53\u53c2\u7167<a href=\"https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/AOSP\/\">\u8fd9\u91cc<\/a>\uff09\uff0c\u4e4b\u540e\u540c\u6b65\u5b89\u5353\u6e90\u7801\u3002<\/span><\/p>\n<p>\u6b64\u5916\u6211\u4eec\u8fd8\u9700\u8981<a href=\"https:\/\/github.com\/jakeday\/linux-surface\">linux-surface<\/a>\u8fd9\u4e2a\u9879\u76ee\uff0c\u5728<a href=\"https:\/\/github.com\/jakeday\/linux-surface\">\u8fd9\u91cc<\/a>\u53ef\u4ee5\u540c\u6b65<\/p>\n<h3>\u66f4\u6362\u5185\u6838<\/h3>\n<p>\u7531\u4e8elinux-surface\u8fd9\u4e2a\u9879\u76ee\u4ec5\u652f\u6301\u6700\u65b0\u7684\u5185\u6838\uff0c\u6240\u4ee5\u6211\u4eec\u9700\u8981\u5c06Android-x86\u7684\u5185\u6838\u6362\u6389\u3002\u7ffb\u6e90\u7801\u7684\u65f6\u5019\u53d1\u73b0Android-x86\u7684\u4f5c\u8005\u4e5f\u9002\u914d\u4e864.14\u7684\u6e90\u7801\uff0c\u6211\u4eec\u5c06\u521a\u540c\u6b65\u7684Android-x86\u6e90\u7801\u91cc\u9762\u7684kernel\u6587\u4ef6\u5939\u6574\u4e2a\u5220\u9664\uff0c\u7136\u540e\u4ecesouceforge\u540c\u6b654.14\u7684\u5185\u6838\u6e90\u7801\u3002<\/p>\n<pre class=\"prettyprint\">git clone https:\/\/git.code.sf.net\/p\/android-x86\/kernel android-x86-kernel\ngit checkout&nbsp;kernel-4.14\n<\/pre>\n<h3>\u4fee\u6539\u6e90\u7801<\/h3>\n<p>\u6309\u7167<a href=\"https:\/\/github.com\/jakeday\/linux-surface\/blob\/master\/README.md\">linux-surface\u7684\u8bf4\u660e<\/a>\uff0c\u4fee\u6539\u6211\u4eec\u4e0b\u8f7d\u7684Android-x86\u6e90\u7801<\/p>\n<pre class=\"prettyprint\">cd kernel\n\nfor i in ~\/linux-surface\/patches\/4.14\/*.patch; do patch -p1 &lt; $i; done\n<\/pre>\n<p>\u7136\u540e\u5bf9\u6bd4\u5185\u6838\u7f16\u8bd1\u7684config\u548clinux-surface\u7684config\uff0c\u5c06linux-surface\u9879\u76ee\u91cc\u9762\u7684\u6240\u6709\u6d89\u53caTOUCH\u7684\u548cINTEL_IPTS\u7684\u5168\u62f7\u8fc7\u53bb\u3002<\/p>\n<h3>\u7f16\u8bd1<\/h3>\n<p><code>make iso_img&nbsp;-j8 V=s<\/code><\/p>\n<p>\u7f16\u8bd1\u4e2d\u4f1a\u63d0\u793apython\u7f3a\u5c11\u4e00\u4e2a\u5e93\uff0cGoogle\u641c\u4e0b\u4fbf\u77e5\u9700\u8981apt\u88c5\u4e2a\u5305\u3002<\/p>\n<h3>\u4fee\u6539system<\/h3>\n<p>\u7f16\u8bd1\u5b8c\u6210\u540e\uff0c\u6309\u7167\u8bf4\u660e\u4fee\u6539out\u91cc\u9762\u7f16\u8bd1\u597d\u7684system\u5206\u533a\uff0c\u518d\u6b21\u6267\u884c\u7f16\u8bd1\u4f7f\u5176\u91cd\u65b0\u6253\u5305\uff0c\u5373\u5b8c\u6210\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4fee\u6539\u597d\u7684\u56fa\u4ef6\u53ef\u4ee5\u6233\u8fd9\u91cc\u4e0b\u8f7d\u3002<\/p>\n<p>\uff08\u8fd8\u5728\u4e0a\u4f20\u5495\u5495\u5495<br \/>\n<script src=\"\/wp-content\/uploads\/run_prettify.js\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6ce8\u610f\uff1a\u672c\u6587\u7ae0\u662f\u51ed\u8bb0\u5fc6\u5199\u7684\uff08\u56e0\u4e3a\u7f16\u8bd1\u7684\u65f6\u5019\u535a\u5ba2boom\uff09\uff0c\u5982\u6709\u4e0d\u51c6\u786e\/\u7528\u4e0d\u4e86\u7684\u5730\u65b9\u8bf7\u5728\u8bc4\u8bba\u533a\u6307\u51fa~ \u83b7 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-compilation"],"_links":{"self":[{"href":"https:\/\/0x.mk\/index.php?rest_route=\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/0x.mk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/0x.mk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/0x.mk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/0x.mk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=94"}],"version-history":[{"count":7,"href":"https:\/\/0x.mk\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":126,"href":"https:\/\/0x.mk\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions\/126"}],"wp:attachment":[{"href":"https:\/\/0x.mk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0x.mk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0x.mk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}