Offering some amazing features and still keeping the stock Android look, AOSP Android 5.1.1 is now available for Nexus 4. Popular for improving Nexus 4 battery life, here is how to flash AOSP Android 5.1.1 Lollipop on Nexus 4. You can also check other guides covering Android 5.1.1 Lollipop custom ROMs too.
-Relevant: Best Android Lollipop Based Custom ROMs - List

AOSP Android 5.1.1 features:
App OpsAmbient DisplayVolume Rocker WakeReboot MenuLollipop Phone IconsHeadup ImprovementsDynamic Location and Cast TilesLollipop BootanimationExcellent Battery Life
Prereqs to update Nexus 4 to AOSP Android 5.1.1:
Downloadand install USB drivers for LG Nexus 4 in your computer.Enable USB debugging option by pressingMenu>Settings>Applications. Navigateand tap onDeveloper Optionsto ensure thatUSB Debuggingis enabled.Your Nexus 4 should be rooted.Make sure that ClockworkMod recovery is installed.Ensure that your Nexus 4 carries more than 70% of charge.
Update Nexus 4to Android 5.1.1 Custom ROM:
Required files: Download AOSPAndroid 5.1.1 custom firmware fromhereon your computer. Also, download GApps package fromhere.
Connect your Nexus 4 to your PC using USB cable and copy the downloaded files to the SD card of your device.Disconnect your Nexus 4 and power it off.Now boot it in to the Bootloader mode: press and holdVolume Up, Volume Downand thePowerbuttons simultaneously. Follow onscreen instructions and go torecovery. Once here, useVolumekeys to highlight andPowerto select.Data wipe operations: go towipe data/factory resetand confirm the operation. Alsowipe cache partitionand finally go forwipe dalvik cachetoclean it up too.Now, selectinstall zip from sdcardand thenchoose zip from Sdcard. Locatethe AOSPAndroid 5.1.1 Lollipop file and confirm its installation.When the ROM installation completes successfully, repeat the above step for installing the GApps package.Once done, go back to main recovery menu and selectreboot system now.
First boot takes a little while so don't get worried. Don't forget to let us know if you like the AOSP 5.1.1 Lollipop ROM on your Nexus.









