Like all OTAs and factory images, the Android 7.1.1 developer preview build NPF10C for the Nexus 6P and Nexus 5X also force encrypts your device on boot.

If you’ve tried rooting Android 7.1.1 with either Magisk zip or SuperSU, you’ve probably already disabled force encryption on boot. However, if you prefer to not root your device, then you can flash a modified NPF10C boot image with forced encryption disabled.

As of now, we have a modified boot image for Nexus 6P only. But it shouldn’t be long before Nexus 5X gets it too.

Downloads

How to Flash No Force Encrypt Boot .img via Fastboot

  1. Setup ADB and Fastboot on your PC.
  2. Download & save the modified boot image file to a separate folder on your PC. Also, rename it to boot.img.
  3. Open a command window inside the folder where you saved the file in the Step above. To do that, “Shift + Right click” on any empty white space inside the folder and then select “Open command window here” from the context menu.
  4. Boot your device into bootloader mode by issuing the following command in command window:
    adb reboot bootloader
  5. Now issue the following command into the command window to flash the modified boot image:
    fastboot flash boot boot.img
  6. Once the modified boot is flashed successfully, reboot device using the following command:
    fastboot reboot

That’s it. Forced encryption on boot should be disabled on your device now.

Happy Androiding!