{"id":180507,"date":"2013-05-22T12:07:02","date_gmt":"2013-05-22T08:07:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=180507"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=180507","title":{"rendered":"<span class=\"post_title\">\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 Google Apps \u0432 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 Android (Intel x86 Atom System Image)<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2ae\/120\/e2e\/2ae120e2ede8fb33f1660bce62634840.jpg\"\/><\/p>\n<p>  \u0412\u0441\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u043e\u0434 Android \u0437\u043d\u0430\u044e\u0442, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440. \u0412 \u0438\u044e\u043d\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0433\u043e\u0434\u0430 Intel \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 Android, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 x86 (\u0431\u0435\u0437 \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u0438 ARM). \u0418 \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0441\u0442\u0430\u043b\u0430 \u043f\u043e\u0442\u0440\u044f\u0441\u0430\u044e\u0449\u0430\u044f. \u041d\u043e \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043e\u0431\u0440\u0430\u0437\u0430\u0445 \u044d\u0442\u0438\u0445 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 Google Apps.<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0442 Google.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <a href=\"http:\/\/software.intel.com\/en-us\/articles\/intel-hardware-accelerated-execution-manager\">Intel Hardware Accelerated Execution Manager<\/a>.<br \/>  \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c <a href=\"http:\/\/wiki.cyanogenmod.org\/w\/Gapps\">Google Apps<\/a> (\u0432\u0435\u0440\u0441\u0438\u044f CM 10.1)<br \/>  \u0422\u0430\u043a\u0436\u0435, \u0447\u0435\u0440\u0435\u0437 Android SDK \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c Intel x86 Atom System Image \u0434\u043b\u044f Android 4.2.2 (API 17).<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/627\/89e\/73a\/62789e73a2d95a6ca0d1c78c3e0809d8.png\"\/><\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0438\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0441 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u043d\u044b\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c:  <\/p>\n<pre><code class=\"bash\">emulator -avd tablet_4.2 -partition-size 512 <\/code><\/pre>\n<p>  \u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0443, \u0433\u0434\u0435 \u0430\u0440\u0445\u0438\u0432 \u0441 Google Apps, \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442 (\u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 bash):  <\/p>\n<pre><code class=\"bash\"># \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 Google Apps \u0432 \u043f\u0430\u043f\u043a\u0443 gapps unzip gapps-jb-20121212-signed.zip -d .\/gapps  # \u043f\u0435\u0440\u0435\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 adb remount  # \u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430. adb shell rm \/system\/app\/SdkSetup*  # \u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438\u0437 Googe Apps find .\/gapps\/system\/app\/ -type f -exec adb push {} \/system\/app\/ \\; find .\/gapps\/system\/framework\/ -type f -exec adb push {} \/system\/framework\/ \\; find .\/gapps\/system\/lib\/ -type f -exec adb push {} \/system\/lib\/ \\; find .\/gapps\/system\/etc\/permissions\/ -type f -exec adb push {} \/system\/etc\/permissions\/ \\; adb shell mkdir \/system\/etc\/preferred-apps find .\/gapps\/system\/etc\/preferred-apps\/ -type f -exec adb push {} \/system\/etc\/preferred-apps\/ \\; adb push .\/gapps\/system\/etc\/g.prop \/system\/etc\/ adb shell mkdir \/system\/addon.d find .\/gapps\/system\/addon.d\/ -type f -exec adb push {} \/system\/addon.d\/ \\; find .\/gapps\/system\/tts\/lang_pico\/ -type f -exec adb push {} \/system\/tts\/lang_pico\/ \\; adb shell mkdir -p \/system\/usr\/srec\/en-US find .\/gapps\/system\/usr\/srec\/en-US\/ -type f -exec adb push {} \/system\/usr\/srec\/en-US\/ \\;  # \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c mkfs.yaffs2.x86 (https:\/\/code.google.com\/p\/android-group-korea\/downloads\/detail?name=mkfs.yaffs2.x86) curl --remote-name https:\/\/android-group-korea.googlecode.com\/files\/mkfs.yaffs2.x86  # \u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0432 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b adb push mkfs.yaffs2.x86 \/system\/app adb shell chmod 777 \/system\/app\/mkfs.yaffs2.x86 adb shell \/system\/app\/mkfs.yaffs2.x86 \/system \/sdcard\/system.img  # \u0418\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u043c \u0441 SD \u043a\u0430\u0440\u0442\u044b \u043e\u0431\u0440\u0430\u0437 adb pull \/sdcard\/system.img # \u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u043e\u0431\u0440\u0430\u0437 \u0432 \u043f\u0430\u043f\u043a\u0443 \u0441 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u043c cp system.img ~\/.android\/avd\/tablet_4.2.avd\/ <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0432 \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441 \u043f\u043e\u043b\u043d\u044b\u043c \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u043e\u043c Google Apps!<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u0441\u0431\u043e\u0439 \u0432 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0435, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043b\u044e\u0431\u0443\u044e \u0434\u0440\u0443\u0433\u0443\u044e.<\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0437 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043d\u043e\u0432\u044b\u0445 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u043d\u0430 Android 4.2 (\u043f\u0440\u043e\u0441\u0442\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u043f\u0430\u043f\u043a\u0443 avd \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430). \u041f\u043e \u044d\u0442\u043e\u043c\u0443 \u0436\u0435 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438 \u043f\u043e\u0434 \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0438.<\/p>\n<p>  \u0423\u0441\u043f\u0435\u0445\u043e\u0432 \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435!    \t \t\t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/180507\/\"> http:\/\/habrahabr.ru\/post\/180507\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2ae\/120\/e2e\/2ae120e2ede8fb33f1660bce62634840.jpg\"\/><\/p>\n<p>  \u0412\u0441\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u043e\u0434 Android \u0437\u043d\u0430\u044e\u0442, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440. \u0412 \u0438\u044e\u043d\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0433\u043e\u0434\u0430 Intel \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 Android, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 x86 (\u0431\u0435\u0437 \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u0438 ARM). \u0418 \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0441\u0442\u0430\u043b\u0430 \u043f\u043e\u0442\u0440\u044f\u0441\u0430\u044e\u0449\u0430\u044f. \u041d\u043e \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043e\u0431\u0440\u0430\u0437\u0430\u0445 \u044d\u0442\u0438\u0445 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 Google Apps.<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0442 Google.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-180507","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/180507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=180507"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/180507\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=180507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=180507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=180507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}