The question is pretty clear. Can I fetch a fake event for of Wi-Fi or 3G connected. Even for rooted phones will do. Googled a lot but could not find any answers. But I believe that this is possible. As this app on play store does it.
Well, I got my answer. All I need to have is a rooted phone with Xposed framework installed on my phone. With an app called Hack Connectivity Service we can fake a Wi-Fi or mobile data connected status to the system even if Wi-Fi is not connected.