Perform a right swipe to install this file as well. When the flashing is complete, go back to the Install section and this time select the GApps package. Navigate to the downloaded LineageOS 18.1 ZIP file, select it and perform a right swipe to install it. After this, go to the Install section of TWRP.Then, select the System, Vendor, Data, and the Cache partition and perform a right swipe to format the selected partitions.Now that your device is booted to TWRP, head over to the Wipe section and tap on Advanced Wipe.Execute the below command in the CMD window to boot your device to TWRP Recovery.This will launch the Command Prompt window. Head over to the platform-tools folder on your PC, type in CMD in the address, and hit Enter.
Now connect it to the PC via USB Cable.Transfer the downloaded ROM and the GApps file to the Internal Storage of your device.Instructions to Install LineageOS 18.1 on Nexus 5 You may now proceed with the installation steps. If you want Google Apps as well, then download the Android 11 GApps file.Finally, download the LineageOS 18.1 for Nexus 5: Download Link.Ĭredits for the ROM go to XDA member z3DD3r.Also, download and install the Google USB drivers onto your PC.This will provide you with the necessary binary files. Next, up, download, and install the Android SDK Platform Tool on your PC.For that, head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging. Also, enable USB Debugging on your device so that it gets recognized by your PC in the ADB Mode.
You could refer to our guide on How to Install Official TWRP Recovery on Nexus 5. Once that is done, you also need to have the TWRP Recovery installed.Next up, you will need to unlock the bootloader on your device.This is because we will be wiping the data partition which will format your device. First and foremost, create a complete device backup.So if you are ready to install LineageOS 18.1 onto your Nexus 5 (hammerhead) device, then here is all the required information.