recover WiFi password file Android Pie
It seems that the magisk folder is just a link. Not sure about the misc_ce folder.
I copied WifiConfigStore.xml, changed properties and owners and renamed the checksum file. After reboot the checksum was recreated and the xml gets valid...