Installing the newest version of Google’s operating system, Android Lollipop, on your Nexus 5 is as easy as following these steps:
- Install Minimal ADB and Fastboot.. This will allow you to run commands on your phone.
- Install Android USB Drivers. This will add the proper driver to recognize your device.
- Install Universal Android USB Driver. This will automatically add the driver when you go into recovery mode. It’s a different driver than the one above.
- Open Minimal ADB and Fastboot (your phone should be plugged into your USB now)
- Make sure your phone is recognized (enter ‘adb devices‘. A long number plus the word “device” should show up).
- enter “adb reboot bootloader“
- Use the volume rockers on your phone until it says “recovery mode,” then hit the power button.
- When you get the android with the exclamation, hold power and tap volume up. Don’t hold, just tap it.
- Use the volume rocker to choose “apply update from adb“
- Go back to the minimal adb and fastboot command prompt, and enter “adb sideload update.zip“. Filename should be the path and the name of the zip file. You can rename the zip file so it’s easier to type in. You can also type in “adb sideload” then just drag and drop the zip file into the command prompt if you’d prefer.
- It should now sideload. Once it finishes on your screen, it will go back to the bootloader and you should reset your system once it’s finished.
- Watch in anticipation as your apps get optimized.
- Ready!
Source reddit