How to Update Nexus 4 to Android 7.1 Nougat Custom Firmware
Before you update Nexus 4 to Android 7.1 Nougat ROM
Do note that this is not an official firmware, but a custom ROM. You might experience some features not working properly. Before proceeding, please visit the official thread for more details and bug reports.
- Create a backup of your data for when you run into some problem during the process.
- Make sure that your Nexus 4 has at least 80% of battery life.
- Your device should be rooted using the most recent recovery system installed.
- Its bootloader should be unlocked.
- Make sure to enable USB Debugging on your Nexus 4.
Steps to update Nexus 4 to Android 7.1 NitrogenOS
Required files: download NitrogenOS Android 7.1 Nougat on your PC. Also download Google Apps for your device.
Connect your Nexus 4 to your PC using USB cable and copy the downloaded files to the internal storage of your device. Power off your device and unplug from the computer.
Boot your Nexus 4 to Recovery mode: press and hold Power, Volume Up and Volume Down buttons. Release them when you see the Bootloader or Fastboot menu. Use volume keys to navigate and Power button to select a choice. Select Bootloader > Recovery.
Select Backup and Restore to perform Nandroid Backup and then go back to main menu. Next, wipe data by selecting wipe data/factory reset. Also, wipe cache partition to perform cache wipe. Finally, Delvik Cache should also be wiped from Advanced > Wipe Delvik Cache.
Now, select Install Zip from sdcard > choose zip from sdcard from the main recovery menu. Locate the NitrogenOS Android 7.1 custom ROM. Select and confirm.
Follow the above step for installing GApps. After you are done, select reboot system now to reboot your Nexus 4. It will take some time to load all files as this is the first boot after flashing, so don’t be worried if it takes longer than usual.