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.
- Nexus 6P: Download modified boot.img with no force encrypt
- Nexus 5X: Not yet available
└ No, don’t think of using the Nexus 6P modified boot.
How to Flash No Force Encrypt Boot .img via Fastboot
- Setup ADB and Fastboot on your PC.
- Download & save the modified boot image file to a separate folder on your PC. Also, rename it to boot.img.
- 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.
- Boot your device into bootloader mode by issuing the following command in command window:
adb reboot bootloader
- Now issue the following command into the command window to flash the modified boot image:
fastboot flash boot boot.img
- Once the modified boot is flashed successfully, reboot device using the following command:
That’s it. Forced encryption on boot should be disabled on your device now.