• Marshmallow custom ROM — Link | File: (245.0 MB)
  • Google Apps (Gapps)

How to Install Android 6.0 Marshmallow on Nexus 4

Here is a tested and working tutorial to install the AOSP based Android 6.0 Marshmallow ROM on Nexus 4. The listed


  • Set up ADB and Fastboot on your computer. You can download the minimal ADB and fastboot tool from here (unzip it) or get the quick ADB and fastboot installer from here. For Mac or Linux OS, click here.
  • Install Nexus USB Drivers on your computer.
  • Open Settings> Developer options and enable USB Debugging on your device.
  • Go to Developer options and enable Allow OEM unlock.

Installation Instructions

  • Make sure you have downloaded the suitable recovery image for your device. Now transfer them to your PC.
  • Make sure you have setup ADB and fastboot on your PC. Also, accept Always allow from this computer when you plug in the device for the first time to enable USB Debugging.
  • Now power off your device and unplug it from your PC.
  • Boot into the bootloader or fastboot mode. To do so, press and hold volume down and the power button simultaneously for 5-6 seconds.
  • You will see the bootloader screen. Select fastboot if such option is available. Now connect your device to the PC using a USB cable.
  • Navigate to the location where you have placed the recovery file. Rename the recovery file to a simple one, like recovery.img. While the folder with ‘recovery.img’ file is open, hold the shift key on the keyboard and right-click on an empty space and select “Open command window here” option to launch a cmd window.
  • Now type the following in the command prompt to check your device connectivity. It should show the device information. If it doesn’t, you need to re-install drivers and check the connectivity.
fastboot devices
  • Now issue the following commands to install the ROM onto your device
fastboot flash boot boot.img

fastboot reboot bootloader

fastboot flash radio modem.img

fastboot reboot bootloader

fastboot flash system system.img

fastboot reboot

Wait until your Nexus 4 boots up and when you see the boot logo, that means the firmware has successfully been installed on your device. Now if you come across any force close on apps, then you should perform a factory reset from TWRP and that will solve your problem.

Now Google apps have not been installed yet on your device. Gapps needs to be installed through the custom recovery. Make sure you have installed TWRP on your device. To know more about how to setup TWRP on Nexus 4, get to this link and install the latest available TWRP from here.

Now once you have setup TWRP on Nexus 4, download the Gapps from the download section and flash through the custom recovery. The listed Gapps support the latest Android 6.0 Marshmallow. Before you install the Gapps perform a full backup of the ROM you just installed. The steps are provided in the following tutorial.

To know more on how to flash custom packages like Google Apps on Nexus 4, see

How to Install a Custom ROM on Nexus

To Root your Nexus 4 on Android 6.0 Marshmallow ROM, see

Android 6.0 Marshmallow Root for Nexus 4, 5, 6, 7, 9 with SuperSU v2.50

For queries, comment down below.

This site uses Akismet to reduce spam. Learn how your comment data is processed.