lemonsqueeze / FakeWifiConnection

Make android apps believe Wifi is connected
Other
65 stars 19 forks source link

Can it work for apps which search for WiFi devices (like iRobot HOME)? #12

Open lwcorp opened 5 years ago

lwcorp commented 5 years ago

The iRobot HOME app provides remote control over your WiFi connected iRobot device.

When installing the app for the first time, you can't complete the installation unless it finds your device in your WiFi.

Should FakeWiFiConnection be able to trick it to connect anyway? Assuming, of course, I shall define the real SSID to which the device is connected.

lemonsqueeze commented 5 years ago

Hi,

FakeWifiConnection won't fake the device if that's what you're asking. It can pass some other network (ethernet, 3g ...) as a wifi network, but if the device is not on that network then it won't work.

lwcorp commented 5 years ago

But it is on that network. Does that change things? I didn't mean to fake the device, just to allow getting access into the real device.

lemonsqueeze commented 5 years ago

Not sure i understand what you're trying to do. If the device is there on wifi the app should just work, you don't need FakeWifiConnection.

lwcorp commented 5 years ago

I emulate Android-X86 inside VirtualBox, so Android-x86 thinks there's no Wi-Fi. But I want to connect to devices like ChromeCast and iRobot through apps that expect to find these devices inside the Wi-Fi which those apps are supposed to be used in.

lemonsqueeze commented 5 years ago

Ok, should work then.

lwcorp commented 5 years ago

Do you mean I should install FakeWifiConnection, use the SSID of the real network and then suddenly the VM will find devices?

Here's the current situation (a neverending looped search):

searching

lemonsqueeze commented 5 years ago

SSID shouldn't matter. If it doesn't work check what the app is doing. Specifically how it scans for device, could be using wifi-specific calls that FakeWifiConnection doesn't emulate yet.