Got another semi-permanent fix.
Semi because I’m not sure if it will hapen again if u turn off or restart your device. So far, I think it’s been about 3 days and and my wifi has stayed on, usually it bugs out after a day at most. Haven’t turned off the phone since to check if the bug returns (probably will so I’m being careful not to turn it off or go to dead batt).
• reset wifi and bluetooth settings
• go to the playstore settings and turn off automatic updates. means you’ll need to update apps manually now .(You can do this with data to make sure it won’t update over wifi. You can also do this once wifi has been restored but be fast so google wifi provisioner won’t auto update)
• settings>apps>show system apps>google wi-fi provisioner
• Uninstall updates
• Continually restart/power off/force restart the phone until the wifi powers back on (be patient, took my last round almost 3-4 hrs before it went back on with frequent breaks to let it cool down and not get too hot)
• once the gacha gods decide to turn on your wifi, go to settings>apps>show system apps>google wi-fi provisioner
• DISABLE IT. DO NOT UPDATE IT. there will be an update prompt in the playstore, but once you disable it it’ll disappear.
NOTE: If you have multiple users profile on ur phone, turn off automatic updates on playstore and make sure you have also disabled google wi-fi provisioner for every profile to stop it from updating.
Edit: forgot to add, I also turned off sleep standby optimization. This limits network when turned on when sleeping which might be also the cause of the bug.