Root Google Nexus 4 Running AOSP Android 6.0 Marshmallow

0

AOSP Android 6.0 Marshmallow is now available for Google Nexus 4. If you’ve already updated your Nexus 4 to this AOSP based Marhsmallow, you must have lost the root access. In order to root Android 6.0 Marshmallow on Nexus 4, you need to flash a modified boot image and flash SuperSu.zip afterwards. If you’re looking for a comprehensive guide, you may have spotted the right place. In the proceeding guide we will be flashing the modified boot image on our beloved Google Nexus 4 running AOSP Android 6.0 Marshmallow and we will flash SuperSu.zip file in the end.Nexus-4-Specs1

Pre-installation instructions

  • This guide is intended for LG Nexus 4 D820 or D821. Do not try this on any other device. Before going ahead, check your device’s model number in settings > about device.
  • Your device must be running on AOSP Android 6.0 Marshmallow. Follow our guide to Install AOSP Android 6.0 Marshmallow On Nexus 4
  • Backup all of your important data including contacts, sms messages, call logs and media content.
  • Charge your phone up to 80% before proceeding.
  • Install TWRP recovery on your Nexus 4 and create a Nandroid backup using the Backup feature in TWRP. You may backup all partitions as well including EFS, Modem etc. Copy this backup to your PC.
  • Follow this guide to the letter to avoid any mishap.

Disclaimer: Rooting and flashing custom ROMs voids the warranty of the device. In case of any mishap, TechBeasts or the Device manufacturers may not be held responsible. Make sure that you’re going to do everything at your own risk.

Required downloads:

Copy both the downloaded files to your Nexus 4 now.

How To Root Google Nexus 4 Running AOSP Android 6.0 Marshmallow

  1. Make sure that you’ve backed up each and everything and have also copied the downloaded files.
  2. Now boot your phone into TWRP recovery. To do so,power off your Nexus 4 completely. Now turn it on by pressing and holding Volume Down + Power Keys. You will boot into TWRP recovery.
  3. Now in TWRP recovery tap Install > look for Image files at the bottom-right and tap it. You will find image files that are in your phone. Spot the copied Fixed_Data_root.img file and tap it, swipe the finger from left to right on the bottom of screen to flash this file.
  4. Once flashed, get back to the main menu and tap Install once again. Scroll all the way to the bottom and find SuperSu.zip file. Tap the file and flash it as well.
  5. Once flashed, reboot your phone.
  6. As soon as you get in to the system, checkout SuperSu in app drawer. Also verify root access using Root Checker in Play Store.
  7. That’s all.

Stuck with something? Feel free to reach us out through the comment box below.

Credits: ktetreault14

SHARE
Usama is a software engineer by profession and at TechBeasts.com he uses his expertise to solve everyday consumer tech problems with his main areas of interest being Android, iOS and Windows.

Got a question/query or a suggestion? Drop it below.