Install Android 7.0 Nougat On Nexus 4 Port from Official AOSP ROM

Sarang Avatar

Published on


Following official AOSP firmware port from Google onto the Nexus 5 and the Nexus 7 (2013), which did not receive the Android 7.0 Nougat update this year, developers and device maintainers have come to the support for the good old LG Nexus 4. This was certain, however, we are surprised it would be this quick. The Nougat source has been ported to the Nexus 4 today and comes in the form of an unofficial AOSP ROM. As we know, Google has cut off support for this device. Just like the Nexus 5 and Nexus 7, the AOSP ROM port for Nexus 4 comes with some bugs. That’s because it is an initial build and some of the features are not yet supported by the device. With this AOSP build, you may see some issues with the camera app, sensors, NFC, etc. However, if you are not bugged by these things and simply want to try the new Android 7.0 Nougat OS, then head over to the download section and instructions from below and flash it via TWRP recovery. So remember, the ROM may not prove to be a daily driver for everyone. Check out the bug report from below and make a wise decision. Yes, after this first build, more builds can be expected.

What’s working with the first build?

With Google Nexus 4

  • Wifi
  • RIL
  • Bluetooth
  • H/W Acceleration
  • USB
  • Other stuff.


  • Brightness slider (Disable adaptative brightness in order to use it)
  • Audio (Earpiece/Microphone doesn’t seem to work)

Known Issues with the first build?

With Google Nexus 5

  • Camera
  • NFC
  • Sensors (Accelerometer, GPS, etc)

More Nexus devices will be updated as they become available.

Download Nexus 4 Android 7.0 Nougat AOSP ROM

Nougat AOSP ROM Port for Nexus 4

  • Build 1: Android 7.0 Nougat AOSP ROM Port for Nexus 4
    → Download | File: aosp_mako-ota-eng_V1.zip (234.17 MB)
  • Build 2: Android 7.0 Nougat AOSP ROM Port for Nexus 4
    → Download | coming soon…

Google Apps (gapps) for Android 7.0 Nougat

You may need the gapps package with this AOSP build. Simply download AOSP from above and flash via TWRP. If you find gapps missing, flash them from below. Sometimes the Gapps may cause problems as they are not yet stable wth the AOSP ROM ports. So it is advisable that you boot the ROM first and then later install gapps for Nougat.

  • Android 7.0 Nougat compatible Google Apps:
    → GApps for arm devices → Download Link | for arm, arm64, x86 etc.

See: How to check if the device is arm, arm64, x86, etc?

Flash SuperSU to root Nougat

It has been confirmed that the latest SuperSU 2.76 stable works with the Android 7.0 Nougat AOSP ROM. However, if you need to disable forced encryption, then get the package on this page: additional force encryption image. You may also flash the latest TWRP to bypass forced encryption problem.

  • Flash SuperUser for Root Access
    → SuperSU v2.76+ → Download Link | File: UPDATE-SuperSU-v2.76.zip

Download latest TWRP for Nexus 4

TWRP download repository → Download link

Warning: Once you root or install a custom ROM, your warranty may be void. Even though the ROM has been tested by many Nexus users you should still be cautious about it and sometimes come across major issues. this is an unofficial AOSP procedure/ROM. Reader’s discretion is advised.

How to Install Android 7.0 Nougat on Nexus 4 with AOSP ROM Port?


1. Unlocked Bootloader is required most commonly for custom TWRP recovery installation. If you have a custom recovery installed, then you can flash the ROMS right away.

2. Make sure you have a custom recovery installed on your device. Latest build from TWRP is highly recommended. Get the TWRP from the download section and get here to know how to flash it.

3. Make sure you have latest device drivers setup on your PC in order to transfer the files to your device’s internal storage. Get it from the official page of your device manufacturer.

Installation Instructions for Nougat AOSP

Here is are brief instructions to install custom ROM via TWRP. For a full tutorial, go to: How to Install Custom ROM using TWRP?

Step 1: Download the AOSP ROM and the compatible Google Apps from above. For root access, download the SuperSU file from above.

Step 2:  Transfer all the necessary files to your device’s internal storage or SDcard.

Step 3: Reboot into TWRP recovery. Power off completely and then press and hold the power button and volume down key for a few seconds.

Step 3: Take full Nandroid backup: Backup partitions- system, data, boot, recovery, EFS and cache(optional).

Step 4: Wipe the current system.

Step 5: Tap Install, navigate to the AOSP ROM zip file and select it. Confirm action.

Step 6:  Similarly, flash the compatible Google apps and SuperSU zip files.

Step 7: Reboot to system.

How to restore Nexus 4 back to stock?

Flash Nexus 4 Factory Image:

Just in case you would like to revert back to stock, head over to this tutorial. Flash Android 5.1.1 Lollipop factory image. Like and share us on social media. If you need any help, then comment down below or leave a question in the forum.

Thanks: zaclimon

Follow and Subscribe

Sarang Avatar

Leave a Reply