{"id":2944,"date":"2015-04-22T07:31:12","date_gmt":"2015-04-21T22:31:12","guid":{"rendered":"http:\/\/www.nkozawa.com\/blog\/?p=2944"},"modified":"2015-04-23T19:29:06","modified_gmt":"2015-04-23T10:29:06","slug":"moto-x-pro%e3%81%ae%e3%83%ab%e3%83%bc%e3%83%88%e5%8c%96-how-to-root-the-moto-x-pro","status":"publish","type":"post","link":"http:\/\/www.nkozawa.com\/blog\/archives\/2944","title":{"rendered":"Moto X Pro\u306e\u30eb\u30fc\u30c8\u5316 \/ How to root the Moto X Pro"},"content":{"rendered":"<p>\u4e00\u756a\u306e\u76ee\u7684\u306f\u4e2d\u83ef\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306b\u306f\u5c0e\u5165\u3055\u308c\u3066\u3044\u306a\u3044Google\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u5f93\u3063\u3066\u30eb\u30fc\u30c8\u5316\u306f\u76ee\u7684\u3067\u306f\u7121\u304f\u3001\u305d\u306e\u624b\u6bb5\u3067\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Chinese Android Mobile Phone does not support Google services. I want to install Google Application Framework on my Moto X Pro. This is my objective to get root.<\/p>\n<p>\u6700\u521d\u306f\u4e2d\u56fd\u3067\u826f\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u4e00\u767a\u30eb\u30fc\u30c8\u5316\u7684\u306a\u30c4\u30fc\u30eb\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u307e\u3060\u5bfe\u5fdc\u51fa\u6765\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u30eb\u30fc\u30c8\u5316\u3059\u308b\u3053\u3068\u306f\u51fa\u6765\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>Nexus 6\u3067\u306e\u30eb\u30fc\u30c8\u5316\u60c5\u5831\u3092\u983c\u308a\u306b\u30eb\u30fc\u30c8\u5316\u3057\u307e\u3057\u305f\u3002Nexus 6\u3068\u306f\u624b\u9806\u306b\u82e5\u5e72\u306e\u9055\u3044\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u307e\u3068\u3081\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>Chinese one-click-root tools seem to be not support Moto X Pro yet. \u00a0I used Nexus 6 rooting information.<\/p>\n<p>\u30eb\u30fc\u30c8\u5316\u306b\u6311\u6226\u3059\u308b\u3068\u6642\u306b\u306f\u7aef\u672b\u304c\u4f7f\u3048\u306a\u304f\u306a\u308b\u5371\u967a\u3082\u3042\u308a\u307e\u3059\u3001\u307e\u305f\u30e1\u30fc\u30ab\u30fc\u4fdd\u8a3c\u3082\u5916\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u81ea\u5df1\u8cac\u4efb\u306a\u624b\u6cd5\u3067\u3042\u308b\u3053\u3068\u3092\u4e88\u3081\u3054\u627f\u77e5\u304f\u3060\u3055\u3044\u3002\u30dd\u30a4\u30f3\u30c8\u3060\u3051\u66f8\u3044\u3066\u7d30\u304b\u3044\u3053\u3068\u306f\u66f8\u304b\u306a\u3044\u306e\u3082\u3001\u826f\u304f\u5206\u304b\u3063\u3066\u3044\u308b\u4eba\u5411\u3051\u3068\u3044\u3046\u3053\u3068\u3067\u4e86\u627f\u9858\u3044\u307e\u3059\u3002<\/p>\n<p>If you try rooting your phone, please take your own risk.<\/p>\n<p><em><strong>[ SDK\u5c0e\u5165\u3068USB\u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u5c0e\u5165 \/ Install Android SDK and USB drivers ]<br \/>\n<\/strong><\/em>\u79c1\u306fMac OS X\u3068Windows\u306e\u53cc\u65b9\u3067Android\u306e\u958b\u767a\u74b0\u5883\u304c\u63c3\u3063\u3066\u3044\u307e\u3057\u305f\u306e\u3067\u3001\u65b0\u305f\u306b\u4f55\u3082\u5c0e\u5165\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002adb\u3068fastboot\u304c\u4f7f\u3048\u308b\u74b0\u5883\u3068Windows\u306e\u5834\u5408\u306f\u3001\u624b\u4f5c\u696d\u3067fastboot\u7528\u306eUSB\u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u5c0e\u5165\u3057\u3066\u7f6e\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u8a73\u3057\u304f\u306f\u89e3\u8aac\u3057\u307e\u305b\u3093\u3002\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u304c\u8a73\u3057\u304f\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u53c2\u8003\u307e\u3067\u306b\u30ea\u30f3\u30af\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/androidlover.net\/smartphone\/android-sdk-install.html\">Android SDK\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3068\u6700\u65b0\u306eplatform-tools\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u3002<\/a><\/p>\n<p><a href=\"http:\/\/androidlover.net\/smartphone\/nexus-6\/nexus6-driver.html\">Nexus6\u306e\u30c9\u30e9\u30a4\u30d0\u30fc\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3002<\/a>(\u305f\u3060\u3057\u3001\u30c9\u30e9\u30a4\u30d0\u30fc\u81ea\u4f53\u306f\u4e0a\u306e\u624b\u9806\u306e\u4e2d\u3067\u3082\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u51fa\u6765\u308b\u306f\u305a\u3067\u3059\uff09<\/p>\n<p>You need to install Android SDK and USB drivers for ADB and FASTBOOT, if you do not have installed them. I do not write detail about this here.<\/p>\n<p><a href=\"http:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/MotoXProUnlocked.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-2969 size-full\" src=\"http:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/MotoXProUnlocked.jpg\" alt=\"MotoXProUnlocked\" width=\"400\" height=\"438\" hspace=\"5\" srcset=\"http:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/MotoXProUnlocked.jpg 400w, http:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/MotoXProUnlocked-274x300.jpg 274w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><em><strong>[ Bootloader unlock ]<\/strong><\/em><br \/>\n\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u3067\u898b\u3064\u304b\u308bNexus 6\u306eBootloader unlock\u306ffastboot oem unlock\u3060\u3051\u3067\u5b8c\u7d50\u3057\u3066\u3044\u307e\u3059\u304cMoto x Pro\u3067\u8a66\u3057\u305f\u3068\u3053\u308dUnlock\u306e\u305f\u3081\u306e\u30b3\u30fc\u30c9\u304c\u5fc5\u8981\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3053\u306e\u30b3\u30fc\u30c9\u306f<a href=\"https:\/\/motorola-global-portal.custhelp.com\/app\/standalone\/bootloader\/unlock-your-device-a\">Motorola\u306eWeb\u30b5\u30a4\u30c8<\/a>\u3067\u5165\u624b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>&#8211; Motorola\u30b5\u30a4\u30c8\u306e\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u3042\u308b\u3044\u306fGoogle\u3067\u306e\u30ed\u30b0\u30a4\u30f3\u304c\u5fc5\u8981<br \/>\n&#8211; Web\u30b5\u30a4\u30c8\u306e\u6307\u793a\u306b\u5f93\u3044\u3001fastboot oem get_unlock_data\u30b3\u30de\u30f3\u30c9\u3067\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u3092\u5165\u529b\u3059\u308b\u3068unlock\u30b3\u30fc\u30c9\u304c\u30e1\u30fc\u30eb\u3055\u308c\u3066\u304f\u308b<br \/>\n&#8211; fastboot oem unlock xxcode\u3067\u30a2\u30f3\u30ed\u30c3\u30af\u3059\u308b(xxcode = \u9001\u3089\u308c\u3066\u304d\u305funlock\u30b3\u30fc\u30c9)<br \/>\n&#8211; \u5ff5\u306e\u305f\u3081fastboot\u3092\u518d\u8d77\u52d5\u3057\u3066\u304a\u304d\u307e\u3059<\/p>\n<p>We need to get unlock code from <a href=\"https:\/\/motorola-global-portal.custhelp.com\/app\/standalone\/bootloader\/unlock-your-device-a\">Motorola web site<\/a> to unlock bootloader of Moto X Pro. It seems to me, no unlcok code is required on Nexus 6.<\/p>\n<p>&#8211; You need to sign up Motorola web site or use Google ID login<br \/>\n&#8211; Follow web site instruction. Fill up unlock data gathered by &#8216;fastboot oem get_unlock_code&#8217; command to the web site. Then you will receive unlock code by e-mail<br \/>\n&#8211; &#8216;fastboot oem unlock unlock_ocde&#8217; to unlock bootloader \u00a0(replace unlock_code with unlock code you got)<br \/>\n&#8211; Reboot fastboot for safe<\/p>\n<p><em><strong>[ \u30eb\u30fc\u30c8\u5316 \u00a0\/ Get root]<br \/>\n<\/strong><\/em><a href=\"http:\/\/juggly.cn\/archives\/134445.html\">CF-Auto-Root<\/a>\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002\u4f7f\u3044\u65b9\u306f\u7c21\u5358\u3067fastboot\u30e2\u30fc\u30c9\u3067\u63a5\u7d9a\u3057\u3001\u6dfb\u4ed8\u3055\u308c\u3066\u3044\u308b\u30b9\u30af\u30ea\u30d7\u30c8(Windows\u306e\u5834\u5408\u306froot-windows.bat)\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>Just use <a href=\"http:\/\/download.chainfire.eu\/628\/CF-Root\/CF-Auto-Root\/CF-Auto-Root-shamu-shamu-nexus6.zip\">CF-Auto-Root for Nexus 6<\/a> to get root. Put the phone to fastboot mode and connect USB. Then run script which contained CF-Auto-Root package.<\/p>\n<p><em><strong>[ Recovery\u306e\u66f8\u304d\u63db\u3048 &#8211; \u5931\u6557\u3001\u65ad\u5ff5 \u00a0\/ Custom recovery installation was failed ]<\/strong><\/em><br \/>\nTWRP\u3092\u5c0e\u5165\u3057\u3088\u3046\u3068\u3057\u307e\u3057\u305f\u304c\u3001\u3046\u307e\u304f\u8d77\u52d5\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3053\u308c\u306b\u3064\u3044\u3066\u306f<a href=\"http:\/\/www.nkozawa.com\/blog\/archives\/2971\">\u5225\u9014<\/a>\u304a\u77e5\u3089\u305b\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n<p>TWRP does not run on my Moto X Pro. I gave up to use it.<\/p>\n<p><em><strong>[ Google\u30b5\u30fc\u30d3\u30b9\u306e\u5c0e\u5165 \/ Install Google service framework ]<\/strong><\/em><br \/>\n\u30ab\u30b9\u30bf\u30e0Recovery\u304c\u3042\u308c\u3070gapps\u3092\u305d\u306e\u307e\u307e\u5c0e\u5165\u51fa\u6765\u308b\u306e\u3067\u3059\u304c\u3001recovery\u306e\u66f8\u304d\u63db\u3048\u3092\u65ad\u5ff5\u3057\u307e\u3057\u305f\u306e\u3067\u624b\u4f5c\u696d\u306b\u3066Google\u30b5\u30fc\u30d3\u30b9\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>Since no custom recovery tool. I installed gapps manually.<\/p>\n<p>CM12\u7528\u306e<a href=\"http:\/\/wiki.cyanogenmod.org\/w\/Google_Apps\">gapps\u30d1\u30c3\u30b1\u30fc\u30b8<\/a>\u3001\u79c1\u306e\u4f7f\u7528\u3057\u305f\u306e\u306f gapps-lp-20141212-signed.zip \u3067\u3059\u3002\u307e\u305a\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u3069\u3053\u304b\u306b\u5c55\u958b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>I used gapps package for CM12,\u00a0gapps-lp-20141212-signed.zip. At first, please unzip the file contents.<\/p>\n<p>\u5927\u96d1\u628a\u306b\u8a00\u3046\u3068\u3001gapps\u306e\u4e2d\u306e\/system\/prev-app\/\u3068\/system\/app\/\u4ee5\u4e0b\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u3001\u30d5\u30a1\u30a4\u30eb\u5168\u3066\u3092Moto X Pro\u306e\u540c\u3058\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u30b3\u30d4\u30fc\u3059\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<p>I copied application folders under \/system\/prev-app\/ and \/system\/app\/ of gapps package to same folders of Moto X Pro.<\/p>\n<p>\u3082\u3046\u5c11\u3057\u565b\u307f\u7815\u3044\u3066\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n&#8211; Windows\u306eExplorer\u304b\u3089(\u3042\u308b\u3044\u306fMac\u3067Android File Transfer\u3092\u7528\u3044\u3066)gapps\u3092\u5c55\u958b\u3057\u305f\u306a\u304b\u304b\u304b\u3089\/system\/app\u3092\u4e38\u3054\u3068Download\/xxtemp\/\u4ee5\u4e0b\u306b\u30b3\u30d4\u30fc\u3002\u540c\u69d8\u306b\/system\/prev-app\u3082\u30b3\u30d4\u30fc\u3002<br \/>\n\u2013 adb shell\u306b\u5165\u308a\u4ee5\u4e0b\u3092\u5b9f\u884c<br \/>\n$ su<br \/>\n# mount -o rw,remount \/system<br \/>\n# cp \/sdcard\/xxtemp\/* \/system\/app<br \/>\n# chmod -R 6755 \/system\/app\/GoogleContactsSyncAdapter<br \/>\n-&gt; \u306a\u3069\u3068\u5168\u3066\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5bfe\u3057\u3066\u5b9f\u884c\u3002\u308f\u305f\u3057\u306e\u5834\u5408\u3001prev-app\u4e0b\u306b11\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3001app\u4e0b\u306b13\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n# reboot<\/p>\n<p>\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n<p>Some more details&#8230;<br \/>\n&#8211; Using Windows Explorer (Or Android File Transfer on Mac OS X), copy all folders and files under &#8216;\/system\/app&#8217; of gapps to &#8216;Download\/xxtemp\/app\/&#8217; of the Moto X Pro. Do same thing for &#8216;\/system\/prev-app&#8217;.<br \/>\n\u2013 Run adb shell and do followings.<br \/>\n$ su<br \/>\n# mount -o rw,remount \/system<br \/>\n# cp \/sdcard\/xxtemp\/* \/system\/app<br \/>\n# chmod -R 6755 \/system\/app\/GoogleContactsSyncAdapter<br \/>\n-&gt; perform &#8216;chmod -R 6755 to all application folders. In my case, there were 11 applications under &#8216;prev-app&#8217; and 13 applications under &#8216;app&#8217;.<br \/>\n# reboot<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u756a\u306e\u76ee\u7684\u306f\u4e2d\u83ef\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306b\u306f\u5c0e\u5165\u3055\u308c\u3066\u3044\u306a\u3044Google\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u5f93\u3063\u3066\u30eb\u30fc\u30c8\u5316\u306f\u76ee\u7684\u3067\u306f\u7121\u304f\u3001\u305d\u306e\u624b\u6bb5\u3067\u3042\u308a\u307e\u3059\u3002 Chinese Android Mobile Phone does n [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[33],"tags":[],"class_list":["post-2944","post","type-post","status-publish","format-standard","hentry","category-android"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/2944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/comments?post=2944"}],"version-history":[{"count":9,"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/2944\/revisions"}],"predecessor-version":[{"id":2977,"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/2944\/revisions\/2977"}],"wp:attachment":[{"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/media?parent=2944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/categories?post=2944"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/tags?post=2944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}