Nexus 5 Update Android5.0 failure workaround

Source: Internet
Author: User

Android 5.0 finally launched the official version, and today also in time to brush the Android5.0 (lrx21o), the official link: https://developers.google.com/android/nexus/images

Image: Https://dl.google.com/dl/android/aosp/hammerhead-lrx21o-factory-01315e08.tgz. MD5:761667f1ddaf4e38d4792136df4ab927. SHA-1:01315e08c7f282452b5eba0606dd5a2d5274edde.

The process of brushing the machine is as follows:

1, unzip the download good. tgz Bag

2, decompression Faseboot package. and copy the contents into the file folder of the unpacked tgz package.

3, mobile phone shutdown, the same time press and hold the power button and volume-

4. Double-click to run Flash-all.bat. A problem occurred during Operation: Archive does not contain ' boot.sig '. Archive does not contain ' recovery.sig '; failed-allocate 717308456 bytes;error:update package missing system.img.

Workaround: Edit Flash-all.bat. Stare out ":: Fastboot-w update Image-hammerhead-lrx21o.zip". That is, add "::" Before this line, the Image-hammerhead-lrx21o.zip decompression open. Then add the following code:

FastBoot Flash Boot boot.img
FastBoot Flash Cache Cache.img
FastBoot Flash Recovery recovery.img
FastBoot Flash System system.img
FastBoot Flash UserData userdata.img
FastBoot reboot


The overall code changes are:

@ECHO OFF
:: Copyright the Android Open Source Project
::
:: Licensed under the Apache License, Version 2.0 (the "License");
:: You are not a use of this file except in compliance with the License.
:: Obtain a copy of the License at
::
:: http://www.apache.org/licenses/LICENSE-2.0
::
:: Unless required by applicable or agreed to writing, software
:: Distributed under the License is distributed on a "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-hammerhead-hhz12d.img
FastBoot Reboot-bootloader
Ping-n 5 127.0.0.1 >nul
FastBoot Flash radio Radio-hammerhead-m8974a-2.0.50.2.21.img
FastBoot Reboot-bootloader
Ping-n 5 127.0.0.1 >nul
:: Fastboot-w Update Image-hammerhead-lrx21o.zip
FastBoot Flash Boot boot.img
FastBoot Flash Cache Cache.img
FastBoot Flash Recovery recovery.img
FastBoot Flash System system.img
FastBoot Flash UserData userdata.img
FastBoot reboot


Echo Press any key to exit ...
Pause >nul
Exit


Double-click Run again. Successfully brushed into Android 5.0.


Nexus 5 Update Android5.0 failure workaround

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.