Monday, March 30, 2015

Flashing a Nexus 6 with the latest version of Android

I was trying to follow the directions listed here (Google's factory images) for updating my Nexus 6 to the latest Android build and I kept getting an error about the zip file not containing system.img. Well it appears that there is a limitation into the memory size that fastboot will let you use and the flash-all.bat file supplied in the download from Google surpasses that memory limit causing the issue.

I was able to fix this by doing the following:
1) after downloading and unzipping the factory image from Google, you will see another zip file inside. Extract all those files into the same directory:
2) Create a new bat file called flash-it.bat, copy paste the following into that file:
@ECHO OFF
:: Copyright 2012 The Android Open Source Project
::
:: Licensed under the Apache License, Version 2.0 (the "License");
:: you may not use this file except in compliance with the License.
:: You may obtain a copy of the License at
::
::      http://www.apache.org/licenses/LICENSE-2.0
::
:: Unless required by applicable law or agreed to in writing, software
:: distributed under the License is distributed on an "AS IS" BASIS,
:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
:: See the License for the specific language governing permissions and
:: limitations under the License.

PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.08.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-shamu-d4.0-9625-02.95.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash system system.img
fastboot flash userdata userdata.img 
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase cache
fastboot flash cache cache.img
echo Press any key to exit...
pause >nul
exit
3)Navigate to the directory you downloaded the files to and run flash-it.bat

4) use the volume up/down buttons untll you see "Recovery" , then press the power button

5)on the screen with the dead android press  power button then volume up

6)Select "Wipe data/factory data reset"

7)choose reboot

8) celebrate! because it may take a while on the swirly colored balls screen.


7 comments:

  1. Replies
    1. IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.

      IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.

      corporate training in chennai corporate training in chennai

      corporate training companies in india corporate training companies in india

      corporate training companies in chennai corporate training companies in chennai

      I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai

      Delete

  2. You write this post very carefully I think, which is easily understandable to me. Not only this, but another post is also good. As a newbie, this info is really helpful for me. Thanks to you.
    Tally ERP 9 Training
    tally classes
    Tally Training institute in Chennai
    Tally course in Chennai

    ReplyDelete
  3. I really appreciate your method to explaining, I hope to see more posts from your blog. thank you!
    Digital Marketing Course In Kolkata
    Web Design Course In Kolkata
    SEO Course In Kolkata

    ReplyDelete
  4. Subsequently, by quietly letting your phone sit in the rice for the time being it is permitted to totally dry out so whenever you turn it on it will work without shortcircuiting.Handy reparatur

    ReplyDelete
  5. Now and again it gets hard to keep note of the utilization and surpassing as far as possible expenses intensely upon your pocket. For monitoring your utilization, you can pick to download an application by the name of 3G Watchdog. mx player video

    ReplyDelete