How can I solve the problem of updating Android5.0 by Nexus 5?
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.