Solution for updating Android5.0 by Nexus 5: nexusandroid5.0

Source: Internet
Author: User

Solution for updating Android5.0 by Nexus 5: nexusandroid5.0

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

Image: Images.

Follow these steps:

1. decompress the downloaded. tgz package

2. decompress the faseboot package and copy the content to the file directory of the decompressed tgz package.

3. Shut down the phone, and press and hold the on key and volume at the same time-

4. Double-click the flash-all.bat. An error occurred during execution: archive does not contain 'boot. sig '; archive does not contain 'recovery. sig '; failed to allocate 717308456 bytes; error: update package missing system. img;

Work und: edit the flash-all.bat, comment out ": fastboot-w update image-hammerhead-lrx21o.zip", that is, add ":" Before this line, and then add the following code:

Fastboot flash boot. img
Fastboot flash cache. img
Fastboot flash recovery. img
Fastboot flash system. img
Fastboot flash userdata. img
Fastboot reboot


The overall code is changed:

@ 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 T in compliance with the License.
: You may obtain a copy of the License
::
: 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-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. img
Fastboot flash cache. img
Fastboot flash recovery. img
Fastboot flash system. img
Fastboot flash userdata. img
Fastboot reboot


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


Double-click again. Android 5.0 is successfully refreshed.


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.