root nexus 4 marshmallow rom

Developers were quick to develop and cook a stable custom ROM based on Android 6.0 Lollipop for the aging Nexus 4. Once the most popular phone in the market, now the Nexus 4 has been left by Google, but not by developers. The Nexus 4 originally came with Android 4.4.2 KitKat and the last official update by Google was Android 5.1. Now, developers created a Marshmallow ROM. Here’s a link to the full article to learn how to install the ROM.

Now that you are running Marshmallow on your Nexus 4, it is time to root. Since you are capable of flashing a ROM, rooting won’t be a problem. A member at XDA managed to modify the boot.img file of Android Marshmallow so the user can flash SuperSU and gain root access. Here’s how to do it.

How to root Nexus 4 Marshmallow ROM

  • Modified boot | fixed_Data_root.img | Download
  • SuperSU | BETA-SuperSU-v2.51.zip | Download
  1. Since you’ve just flashed a Marshmallow ROM on your Nexus 4, it means that you have a custom recovery, most probably TWRP.
  2. Download the modified boot img file and SuperSU and move them to your phone.
  3. Turn the phone off, boot into fastboot mode (volume down + power) and choose TWRP.
  4. Now, make a full Nandroid backup in case something goes wrong.
  5. Wipe cache, dalvik cache and perform a full data factory reset.
  6. Now to go Install and tap on Images located at bottom left. Chose to flash Boot image.
  7. Navigate to the folder where you moved the modified image and select it.
  8. Flash the modified image file.
  9. Now go to Install again and switch back to zip from images. Select SuperSU and flash it.

Reboot your phone and now your Android 6.0 Marshmallow Nexus 4 will be rooted with SuperSU.

SOURCEktetreault14
SHARE
Previous articleInstall AOSP Android 6.0 Marshmallow ROM on Nexus 4
Next articleInstall Marshmallow ROM on Nexus 6 (Debloated & Center Clock)