I rooted my phone, removed some bloatware and used some firewall app to disallow certain apps from accessing mobile networks. Suddenly, my apps don't connect usually to wifi. The wifi gets established but the apps act as if there's no connection. Oddly, every once in a while it will work! Apps using Mobile Networks (data) works! I don't have a data plan but it works.
Here's what I have tried.
I tried a factory reset. No success.
I tried using ROM Manager to do a clockwork recovery. No success.
I tried downloading a toolkit for my phone and flashing a complete stock ROM. The ROM loaded and all the bloatware returned but the apps still don't (usually) access the WiFi