L
L
Leri12021-06-15 21:59:30
Android
Leri1, 2021-06-15 21:59:30

Fake WiFi, how to simulate the presence of WiFi networks for android?

There is a need to convince a geo-dependent application on android that the device is moving from point A to point B. Based on the fact that the location is determined by: ip, wifi networks around and the presence of cell towers, a hypothesis was born to imitate the surrounding WIFI networks. Without real Internet access, only the appearance of their presence.
How to make a "track" found, the question is how to "play" it on another device without taking the device out on the street.

There are several versions:
1. Use an application like Fake wifi on a real device, but the application is very old and most likely broken https://repo.xposed.info/module/com.lemonsqueeze.f... And the question arises how to reliably fake a fingerprint Phone OS?
2. The same but on the nox or memu emulator, but there are already two questions on how to push xposed into memu (read the tractor into a cow)
3. Using the information from here https://support.google.com/chrome/a/answer/6271286 ... somehow return information about "found" networks either on an emulator or on a real device
4. Rent a garage in the outskirts, install a dozen routers and launch networks on the fly with the desired parameters and signal strength. The question is still the same in the OS print

Who is to blame and what to do ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Golovanenko, 2021-09-29
@drygdryg

I doubt that a geo-dependent application gets the location from Wi-Fi hotspots on its own - most likely, only Google Play services do this (using the appropriate Google API with a large database of Wi-Fi hotspots and base stations), and the application accesses the services through the system API.
There is an open alternative to Google Play services - microG (their open implementation). It implements a modular system of geoproviders (called UnifiedNLP): each geoprovider (say, Apple or Mozilla) is installed as a separate application and enabled in the microG settings. If you implement a geoprovider that will return a fake location in microG, then applications will receive it.
The only unsolved problem is to learn UnifiedNLPand write your own fake geoprovider for it (they are called backends in the documentation)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question