We've decided to post a guide that teaches them how to successfully flash the Android 5.0
Factory Image instead.
Not exact matches
Simply go back through the same steps above, except for two changes: you don't need to unlock your bootloader again, and you'll want to download the Oreo
factory image from Google
instead.
In case you have a custom ROM installed on your device, or in case your Nexus 5 is rooted, then we strongly recommend you to flash the
factory image of Android 5.0 LRX21O
instead.