Pushing wpa_supplicant.conf through adb breaks wifi even with no changes to the file So I have an issue with very high packet loss on M and above so I know it's something to do with android and not the physical phone. I'm trying to modify wpa_supplicantl.conf but even if I pull it from my phone then push the unmodified file, wifi won't work after the next reboot until I delete the file and it's regenerated, anyone know why this is happening?

Note: I forgot to say, I've checked permissions and it's not an issue with them, it's 0660 before and 0660 after.
Make sure you've checked ownership as well (see Restoring wpa_supplicant.conf)? Check the original ownership of the system created file before; the answer linked uses chown wifi:wifi, other places mention system:wifi.