... + wipe all
*reboot to recovery
*select wipe > advanced wipe select cache then select repair or change file system and select F2FS
*Do the same step with Data
(*reboot to recovery)
*Flash ROM and GApps
*boot
Thanks to Vantom and Ahmed Ali
Based on our love demon.