Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fake a Wi-Fi or 3G connected event on Android

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.

like image 479
Rajkiran Avatar asked Jul 26 '13 08:07

Rajkiran


People also ask

How can I trick my phone into thinking on Wi-Fi?

You can trick your phone into believing that the Wi-Fi is connected by saving a small text file to your SD card so the phone will play games and apps as if it's on Wi-Fi when it's only connected to 3G. 1) Launch a text editing program on your computer and type "FALSE" in all caps.

What is faked Wi-Fi status?

A fake WiFi hotspot, or “Evil Twin” hotspot, is a WiFi access point set up by a hacker or cybercriminal which mimics a legitimate hotspot including the service set identifier (SSID) provided by a business which is nearby, such as a coffee shop or hotel that provides free WiFi access to its customers.

What is Wi-Fi P2P connection?

Wi-Fi Direct (also known as peer-to-peer or P2P) allows your application to quickly find and interact with nearby devices, at a range beyond the capabilities of Bluetooth. The Wi-Fi Direct (P2P) APIs allow applications to connect to nearby devices without needing to connect to a network or hotspot.


2 Answers

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.

like image 183
Rajkiran Avatar answered Sep 28 '22 06:09

Rajkiran


Try Fake Wifi Connection (uses Xposed Framework). It'll make apps believe Wi-Fi is connected.

Hack Connectivity (another Xposed module) didn't work for me so I wrote my own module instead.

like image 21
lemonsqueeze Avatar answered Sep 28 '22 05:09

lemonsqueeze