The guide given here let you know how to root a Nexus phone (Nexus 5, 5X, 6, 6P, 9 and 7 2013) on Android 6.0 Marshmallow without modifying the system partition. Before you get start, please note that this is an experimental feature, so it might have many bugs that have not been fixed yet. Also, a factory reset will unroot your phone.

The main benefits of this rooting method, according to Chainfire are, it is easier to unroot, unlittered/system partition, OTA’s are slightly easier, and most importantly it will not soft brick your device.

Root Nexus Devices on Android 6.0 without Modifying System Partition

Warning: This is experimental. Rooting your phone should do with extreme care; otherwise you will end-up with a bricked device. Backup data on your phone.

  1. This method requires unlocked bootloader and TWRP custom recovery installed on the phone. Also, if you have already rooted, you have to reflash your stock /system partition. Also, setup ADB and Fastboot on your PC.
  2. Now, download SuperSU 2.56 Beta zip file [HERE] or [Source] and save it on your phone’s internal memory.
  3. Download modified boot image zip file for your device [HERE] (for example, download this file [HERE] for Nexus 5) and unzip the file to get boot.img file.
  4. Connect your Nexus phone to your computer and issue the below command: adb reboot bootloader
  5. Once your phone boot into bootloader mode, flash the modified boot image by issuing the below command: fastboot flash boot boot.img
  6. Once done, reboot your phone by selecting the ‘reboot system’ option.
  7. Now, boot your phone into TWRP recovery mode and flash the SuperSU zip file by taping ‘Install’ button. Then reboot your phone. You can read more about this root method and discuss at the XDA thread [HERE]. If you come across any issue, leave it in the comment section below.