{"id":5634,"date":"2016-01-18T18:18:33","date_gmt":"2016-01-18T09:18:33","guid":{"rendered":"https:\/\/appkitbox.com\/en\/?page_id=5634"},"modified":"2022-08-26T17:24:17","modified_gmt":"2022-08-26T08:24:17","slug":"android-m-developer-preview_nexus6","status":"publish","type":"page","link":"https:\/\/appkitbox.com\/en\/knowledge\/android-m-developer-preview_nexus6\/","title":{"rendered":"How to install \u201cAndroid M Developer Preview\u201d (Nexus 6)"},"content":{"rendered":"<p>Following the announcement of the next version of Android OS, \"Android M,\" at Google I\/O 2015, its developer preview version, \"<strong>Android M Developer Preview,<\/strong>\" was released immediately.<\/p>\n<div class=\"l-imgbox\"><img loading=\"lazy\" src=\"https:\/\/appkitbox.com\/wp-content\/uploads\/2015\/06\/devices-hero_620px.png\" alt=\"devices-hero_620px\" width=\"700\" height=\"404\" class=\"aligncenter size-full wp-image-4288\"><\/div>\n<p>Android Developers Blog<br \/>\n<a href=\"http:\/\/android-developers.blogspot.co.uk\/2015\/05\/android-m-developer-preview-tools.html\" target=\"_blank\" rel=\"noopener\">http:\/\/android-developers.blogspot.co.uk\/2015\/05\/android-m-developer-preview-tools.html<\/a><br \/>\nThis column describes how to install the Android M Developer Preview on a Nexus 6 device.<br \/>\nTo install the Android M Developer Preview, the Android SDK must already be installed on the relevant PC.<br \/>\nInstallation on a Nexus 6 device will fail if one follows the same installation procedure as for the Nexus 5 or 9.<br \/>\nIn some cases, device \u201cbricking\u201d (in which the OS no longer boots due to a failed installation and, in the worst case, cannot be restored) may occur.<br \/>\n<span class=\"redletter\">* One of our Nexus 6 devices was bricked, likely because we made a mistake in the installation procedure.<br \/>\nInstalling the preview version will re-initialize the device (erase all previous data). Moreover, as this is a developer preview version, correct operation is not guaranteed. In the worst case, the device may become bricked as described above.Please install it at your own risk.<\/span><\/p>\n<h3>You can also use Remote TestKit.<\/h3>\n<p>Remote TestKit now offers Nexus 5 devices with the Android M Developer Preview already installed.<br \/>\nFor those who want to try using the next version of Android but are hesitant to install it on their corporate or personal devices, why not experience it on Remote TestKit?<br \/>\nWe are offering an \"Android M Developer Preview Tryout Campaign\" in which we are giving free tickets to Remote TestKit users as part of a limited-time offer.<br \/>\nNew users who sign up Remote TestKit on this occasion are also eligible.<br \/>\nTake this opportunity to try out Remote TestKit!<\/p>\n<h4>Android M Developer Preview Tryout Campaign<\/h4>\n<p>Period: June 3-30, 2015<br \/>\nEligible persons: all Remote TestKit users who complete the tryout campaign sign-up form during the period.<br \/>\nApplication URL: <a href=\"\/en\/news\/20150604-3884\">https:\/\/appkitbox.com\/en\/news\/20150604-3884<\/a><\/p>\n<h3>Upgrading Android versions<\/h3>\n<p>Upgrade your Nexus 6 to the latest version of Android.<br \/>\n*When we carried out this procedure, we upgraded to Android 5.1.1.<br \/>\nThis step may not be necessary, but since one of our Nexus 6 devices was bricked while installing the Android M Developer Preview, we have included this step in the procedure to err on the side of caution. We have confirmed that installation was successful on upgraded Nexus 6 devices.<\/p>\n<h3>Downloading the Android M Developer Preview<\/h3>\n<p>Download site<br \/>\n<a href=\"https:\/\/developer.android.com\/preview\/download.html\" target=\"_blank\" rel=\"noopener\">https:\/\/developer.android.com\/preview\/download.html<\/a><br \/>\nAt present the preview version can be installed on the following four models:<\/p>\n<ul>\n<li>Nexus 5 (GSM\/LTE)<\/li>\n<li>Nexus 6<\/li>\n<li>Nexus 9<\/li>\n<li>Nexus Player<\/li>\n<\/ul>\n<div class=\"l-col2\">\n<div class=\"l-col2c\">\n<p>On the download page, click the following Nexus 6 system image.<br \/>\nNexus 6\uff08shamu\uff09\uff1ashamu-MPZ44Q-preview-c1d6506a.tgz<\/p>\n<\/div>\n<div class=\"l-col2c l-imgbox\"><a href=\"https:\/\/appkitbox.com\/wp-content\/uploads\/2015\/06\/android_m_dp01.png\"><img loading=\"lazy\" src=\"https:\/\/appkitbox.com\/wp-content\/uploads\/2015\/06\/android_m_dp01_small.png\" alt=\"android_m_dp01_small\" width=\"500\" height=\"278\" class=\"alignleft size-full wp-image-4212\"><\/a><\/div>\n<\/div>\n<div class=\"l-col2\">\n<div class=\"l-col2c\">\n<p>The terms and Conditions will be displayed. Check \"I have read and agree with the above terms and conditions\" and click the download button.<\/p>\n<\/div>\n<div class=\"l-col2c l-imgbox\"><a href=\"https:\/\/appkitbox.com\/wp-content\/uploads\/2015\/06\/android_m_dp02.png\"><img loading=\"lazy\" src=\"https:\/\/appkitbox.com\/wp-content\/uploads\/2015\/06\/android_m_dp02_small.png\" alt=\"android_m_dp02_small\" width=\"500\" height=\"278\" class=\"alignleft size-full wp-image-4211\"><\/a><\/div>\n<\/div>\n<h3>Installing the Android M Developer Preview<\/h3>\n<h4>1. Decompressing files (1)<\/h4>\n<p>Decompress the downloaded file.<br \/>\n* In the case of Nexus 9, the following file is downloaded:<br \/>\n<strong>shamu-MPZ44Q-preview-c1d6506a.tgz<\/strong><\/p>\n<div class=\"l-col2\">\n<div class=\"l-col2c\">\n<p>Decompressing this file will generate the following files in the shamu-MPZ44Q folder:<br \/>\nbootloader-shamu-moto-apq8084-71.11.img<br \/>\nflash-all.bat<br \/>\nflash-all.sh<br \/>\nflash-base.sh<br \/>\nimage-shamu-MPZ44Q.zip<br \/>\nradio-shamu-D4.01-9625-05.16+FSG-9625-02.94.img<\/p>\n<\/div>\n<div class=\"l-col2c l-imgbox\"><a href=\"https:\/\/appkitbox.com\/wp-content\/uploads\/2015\/06\/android_m_n6_dp03.png\"><img src=\"https:\/\/appkitbox.com\/wp-content\/uploads\/2015\/06\/android_m_n6_dp03.png\" alt=\"android_m_n6_dp03.png\" width=\"100%\" class=\"alignleft size-full wp-image-4428\"><\/a><\/div>\n<\/div>\n<p>With a Nexus 5 or 9 device, connecting the device via USB and then executing \"flash-all.sh\" will start the installation. However, if the same procedure is applied with a Nexus 6 device, the installation will fail with the following errors:<br \/>\n<error messages=\"\">  (bootloader) flashing versions ...<br \/>\nOKAY [  0.734s]<br \/>\nfinished. total time: 2.853s<br \/>\nrebooting into bootloader...<br \/>\nOKAY [  0.001s]<br \/>\nfinished. total time:  0.001s<br \/>\narchive does not contain 'boot.sig'<br \/>\narchive does not contain 'recovery.sig'<br \/>\nfastboot(2386,0xa11191d4) malloc:  *** mach_vm_map(size=1981542400) failed (error code=3)<br \/>\n*** error:  can't allocate region<br \/>\n*** set a breakpoint in malloc_error_break to debug<br \/>\nfailed to allocate 1979559444 bytes<br \/>\nerror:  update package missing system.img<\/error><\/p>\n<h4>2. Uncompressing the File 2<\/h4>\n<p>Decompress \"image-shamu-MPZ44Q.zip,\" which is included in the files you decompressed in \"Decompressing files (1).\"<br \/>\nDecompressing this file will generate the following files in the image-shamu-MPZ44Q folder.<br \/>\nandroid-info.txt<br \/>\nboot.img<br \/>\ncache.img<br \/>\nrecovery.img<br \/>\nsystem.img<br \/>\nuserdata.img<br \/>\nNext, copy all the decompressed files to the shamu-MPZ44Q folder.<\/p>\n<h4>3. Connecting Nexus 6 to the PC<\/h4>\n<p>From the setting screen of Nexus 6, open \"About phone\" and tap \"Build number\" seven times, which will add the \"Developer options\" menu to the setting screen.<br \/>\nIn the added \"Developer options\" menu, check \"USB debugging.\"<br \/>\nAfter finishing the above settings, connect Nexus 6 with  PC using a USB cable.<\/p>\n<h4>4. Starting the Installation<\/h4>\n<p>Open the Windows Command Prompt or OS X Terminal and navigate to the \"<strong>shamu-MPZ44Q<\/strong>\" folder generated by decompressing \"<strong>shamu-MPZ44Q-preview-c1d6506a.tgz<\/strong>.\"<\/p>\n<div class=\"l-col2\">\n<div class=\"l-col2c\">\n<p>Execute the following commands from the decompressed folder in the Command Prompt or Terminal.<br \/>\n- Execute \"<strong>adb reboot bootloader<\/strong>.\"<br \/>\nNexus 6 will reboot and start the following screen:<\/p>\n<\/div>\n<div class=\"l-col2c l-imgbox\"><a href=\"https:\/\/appkitbox.com\/wp-content\/uploads\/2015\/06\/android_m_dp04.png\"><img loading=\"lazy\" src=\"https:\/\/appkitbox.com\/wp-content\/uploads\/2015\/06\/android_m_dp04_small.png\" alt=\"android_m_dp04_small\" width=\"400\" height=\"416\" class=\"alignleft size-full wp-image-4209\"><\/a><\/div>\n<\/div>\n<div class=\"l-col2\">\n<div class=\"l-col2c\">\n<p>- Execute \"<strong>fastboot oem unlock<\/strong>.\"<br \/>\nSelect \"Yes\" on the screen of Nexus 6.<br \/>\n* Select \"Yes\" using the volume up\/down buttons and confirm using the power button.<\/p>\n<\/div>\n<div class=\"l-col2c l-imgbox\"><a href=\"https:\/\/appkitbox.com\/wp-content\/uploads\/2015\/06\/android_m_dp05.png\"><img loading=\"lazy\" src=\"https:\/\/appkitbox.com\/wp-content\/uploads\/2015\/06\/android_m_dp05_small.png\" alt=\"android_m_dp05_small\" width=\"400\" height=\"360\" class=\"alignleft size-full wp-image-4217\"><\/a><\/div>\n<\/div>\n<p>Instead of \"flash-all.sh\", execute the following commands in order.<br \/>\nAlthough some commands take time to execute, make sure to execute each command after the previous one has finished execution.<br \/>\n- Execute \"<strong>.\/flash-base.sh<\/strong>\".<br \/>\n- Execute \"<strong>fastboot flash recovery recovery.img<\/strong>\"<br \/>\n- Execute \"<strong>fastboot flash boot boot.img<\/strong>\"<br \/>\n- Execute \"<strong>fastboot flash system system.img<\/strong>\"<br \/>\n- Execute \"<strong>fastboot flash cache cache.img<\/strong>\"<br \/>\n- Execute \"<strong>fastboot flash userdata userdata.img<\/strong>\"<br \/>\n- Execute \"<strong>fastboot reboot<\/strong>\"<br \/>\nThe Android M Developer Preview installation is now complete.<br \/>\nThe \"fastboot reboot\" command will cause the Nexus 6 device to reboot and display the initial settings screen for Android M, which indicates installation has been completed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following the announcement of the next version of Android OS, &#8220;Android M,&#8221; at Google I\/O 2015, its developer preview version, &#8220;Android M Developer Preview,&#8221; was released immediately. Android Developers Blog http:\/\/android-developers.blogspot.co.uk\/2015\/05\/android-m-developer-preview-tools.html This column describes how to install the Android M Developer Preview on a Nexus 6 device. To install the Android M Developer Preview, the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":5622,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"general-template.php","meta":{"content-type":""},"categories":[14],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/appkitbox.com\/en\/wp-json\/wp\/v2\/pages\/5634"}],"collection":[{"href":"https:\/\/appkitbox.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/appkitbox.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/appkitbox.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appkitbox.com\/en\/wp-json\/wp\/v2\/comments?post=5634"}],"version-history":[{"count":2,"href":"https:\/\/appkitbox.com\/en\/wp-json\/wp\/v2\/pages\/5634\/revisions"}],"predecessor-version":[{"id":415541,"href":"https:\/\/appkitbox.com\/en\/wp-json\/wp\/v2\/pages\/5634\/revisions\/415541"}],"up":[{"embeddable":true,"href":"https:\/\/appkitbox.com\/en\/wp-json\/wp\/v2\/pages\/5622"}],"wp:attachment":[{"href":"https:\/\/appkitbox.com\/en\/wp-json\/wp\/v2\/media?parent=5634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appkitbox.com\/en\/wp-json\/wp\/v2\/categories?post=5634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}