I encountered issues when I updated my rooted Nexus 5 from 5.0 to 5.01:
archive does not contain 'boot.sig' archive does not contain 'recovery.sig'
(You can read about that here: blog post). For the 5.1 update, I decided to manually flash all the files, so as to avoid running into the same errors.
The following is a step by step process of how I updated my rooted Nexus 5.
Notice: If you don’t know how to use adb
and fastboot
, you should just stop right here. You’ll have to reference another tutorial. For those that proceed, you are responsible for your phone. If you brick it, it’s on YOU!
Prerequisite
- download and install
adb
&fastboot
- download latest TWRP recovery (openrecovery-twrp-2.8.5.2-hammerhead.img)
- download 5.1 factory image (“hammerhead”)
- download and prep Chainfire’s CF-Auto-Root (XDA link)
- run a Nandroid backup and transfer a copy of the backup to your computer
- (optional) run a full Titanium backup of all your apps and transfer the copies to your computer
Prep of 5.1 factory image
- expand the
hammerhead-lmy47d-factory-6c1ad81e.tgz
file - expand the
image-hammerhead-lmy47d.zip
file - rename the folder for easier reference (e.g.: extractedZip)
- move/copy
bootloader-hammerhead-hhz12f.img
andradio-hammerhead-m8974a-2.0.50.2.25.img
files to the extractedZip folder- the
img
files are found in the expandedtgz
file from step 1
- the

This is the expanded hammerhead-lmy47d-factory-6c1ad81e.tgz file with the three important files highlighted

The folder contents of the extracted zip file, including the relocated bootloader & radio .img files from the .tgz factory image
5.1 update via manual flash
- connect computer to phone via USB and boot phone into bootloader
- command:
adb reboot bootloader
- command:
- install
bootloader-hammerhead-hhz12f.img
- command:
fastboot flash bootloader bootloader-hammerhead-hhz12f.img
- command:
- install
radio-hammerhead-m8974a-2.0.50.2.25.img
- command:
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.25.img
- command:
- install
system.img
- command:
fastboot flash system system.img
- command:
- install
userdata.img
- command:
fastboot flash userdata userdata.img
- command:
- install
boot.img
- command:
fastboot flash boot boot.img
- command:
- install
recovery.img
- command:
fastboot flash recovery recovery.img
- command:
- delete the cache
- command:
fastboot erase cache
- command:
- from the phone, boot into Recovery
- background image is of an Android on its back with chest open and red triangle (default system recovery)
- press Power + Volume Up buttons to enter into Recovery options
- note: do NOT press and hold the buttons too long, as this will result in booting into the system (the phone), which will not boot… you’ll be stuck with the boot animation
- if done accidentally, reboot back into bootloader: Volume Up + Volume Down + Power and continue from step 9
- note: do NOT press and hold the buttons too long, as this will result in booting into the system (the phone), which will not boot… you’ll be stuck with the boot animation
- select Wipe data/factory data reset
- reboot phone when data wipe is completed
- booting into a newly installed system will take awhile — be patient!
After installing 5.1 update: Re-root & install custom Recovery
After the update, your phone has a fresh and clean install of Android 5.1… meaning there is no custom recovery, nor root access. However, Bootloader will still be unlocked. The default settings will not have USB Debugging enabled. USB Debugging enables you to run commands from your computer to your phone via USB.
Install TWRP recovery and Chainfire SuperSU:
- setup the phone with your existing Gmail account
- recommend setting up as a new device and use Titanium Backup to reinstall your apps
- setup USB Debugging
- connect computer to phone via USB and reboot phone into bootloader
- flash TWRP recovery:
openrecovery-twrp-2.8.5.2-hammerhead.img
- command:
fastboot flash recovery openrecovery-twrp-2.8.5.2-hammerhead.img
- command:
- execute Chainfire’s CF-Auto-Root
- Mac command:
./root-mac.sh
- on a Mac, this will require the admin password of the Mac computer
- the background will have a red pirate android
- when complete, the phone will automatically reboot
- Mac command:
- in Google Play store, update SuperSU to the current version
- SuperSU requires updating binary
- select “Normal” and reboot when finished
Reinstall apps & check phone settings
To reinstall apps, download Titanium Backup and restore from there. If you have issues, I would recommend also using Nandroid Manager (Google Play Store Link). I resolved most of my issues by using Nandroid Manager to install the app and Titanium Backup to install the data.
I recommend checking the phone settings. I’m on Ting (MVNO provider on the Sprint network; CDMA), so I updated my PRL and profile. The default for “Preferred network type” is set to Global; I had to update that to LTE.