Using Theta V on a Pixel 4 Phone turns off mobile data

This seems like the most likely community to have a sensible answer to my question. Is anyone able to successfully connect to a Theta V via WiFi while maintaining an active mobile data connection?

I have tested it on two different Pixel 4s and the same outcome on both, yet on a Pixel 2 the mobile data works fine. The main issue being if I am using Google Street view it is preferable to be connected to the Theta V AND maintain an Internet connection via mobile data.

Google Pixel support has deemed it a ā€œRicoh hardware bugā€ so there isnā€™t much more digging I can do with them at this point.

I have a Pixel 2 using Android 10. I cannot connect to both WiFi and mobile at the same time. I have heard that some iPhones can connect to mobile data and WiFi at the same time. I do not have an iPhone.

Other people may be able to give better reports back of using Android mobile and WiFi

@craig I actually havenā€™t tested my Pixel 2 with Android 10 but I am 99% sure that I was able to connect to the Theta V and open the Street View app with no connectivity error. I also noticed that the option for selecting mobile data connection options in advanced preferences is now gone in Android 10.

In theory it shouldnā€™t be a hardware limitation as we can use the Pixels for a mobile hotspot while connecting other incoming devices via WiFi. The only difference being one incoming connection and one outgoing, vs. two outgoing.

1 Like

Hi, guys
iPhone always can connect THETA and internet(mobile data).
Thatā€™s Android issue.

Toyo

Thatā€™s my understanding as well. I believe this is a security feature of Android. The unfortunate side effect of the increased security is that most Android phones canā€™t use mobile data and Wi-Fi at the same time. I am unable to use mobile data and Wi-Fi from my Pixel 2 at the same time.

Checking on a few sources. This thread indicates itā€™s not possible.
https://forums.androidcentral.com/android-8-0-oreo/862775-use-mobile-data-while-connected-wifi.html

this also indicates that Android devices needed to either use Wi-Fi or mobile, not both Wi-Fi and mobile at the same time, though itā€™s possible to switch back and forth.

It doesnā€™t appear to be a security feature, it just appears to be poorly designed architecture. I see a lot of threads about developers that have to hack together a working functionality (where IOS seems to have functional logic in place).

The issue appears to be only 1 default gateway is valid at a time, if a wifi device you are connected to uses DHCP (like the Theta V) you are automatically assigned and IP and gateway.

In Android 10, you can switch to a static IP connection and manually enter the IP you wish to use but you canā€™t leave the gateway blank. On the Theta connection I am assigned the gateway of 192.168.1.1 and I can delete it character by character, all except the last character. The moment I delete the final character, the original gateway IP is autofilled in the field again.

I tested with a gateway of 0.0.0.0 and that makes it so the wifi connection just bounces on and off over and over again.

I guess Iā€™m confused as to why Google created an app (Street View) that doesnā€™t work with the underlying architecture of their own OS?

I also think that the current restriction is due to security.

When running ancient Andrioid versions, I was able to download images from the THETA to the phone and then directly post it to theta.com via mobile connection.
In order to enable this dual interface utilization, the THETA app has to change the routing table.
But this is considered harmful as a malicious app could direct all traffic to an unwanted destination.
This security hole was fixed some versions of Android ago.

1 Like

@CorLeone in the case of an app having the ability to redirect traffic, yeah I can see the vulnerability there.

But in the case of people that connect via wifi to a device that happens to have DHCP but no valid Internet connection (as is the case of Theta cams), how would that be more ā€œsecureā€ to give that gateway with no route to the Internet the priority?

Sorry, I canā€™t answer your question without more insight into this.
When digging into security issues, it is usually quite tricky to consider all implications and side effects of the relevant use cases.

But there seems to be a solution to this as it is implemented by Insta360 for their cameras and app!
Their app also connects via WiFi to their camera (One X, EVO, etc.) and enabling a mobile connection in parallel will usually break the WiFi link - same as for the THETAs.
However, the following option in their app will enable parallel connections via WiFi to the camera and via mobile to the Internet:

I have no idea what this option actually does, but it does fix the problem for my S7 running the current vanilla Android.
Perhaps Ricoh should have a look at this in order to implement it for the THETA app as well?!

1 Like

thanks. Iā€™m going to send this information to people I know at RICOH.

@CorLeone, can you confirm that you have access to a Insta360 and that you can actually use Wi-Fi and mobile at same time with the Insta360 mobile app.

I donā€™t have an Insta360 camera and canā€™t test this myself. Have you seen any other information online about this feature? Iā€™ve been searching for additional information to send to my contact at RICOH.

Thank you for your help.

2 Likes

Yes, I have an Insta360 EVO and running the current versions of app and firmware, I can confirm that:
When connected to the camera via WiFi (e.g. for live preview), other apps can access the Internet via mobile connection.
Note that the Insta360 app itself can not access the Internet then.

Here is the kernelā€™s routing table:


App traffic is routed to interface wlan0 and all other traffic to rmnet0.

@CorLeone, thanks again for your help. Iā€™ve sent your information to people I know at RICOH. Just to confirm, the route table is on your Android device, right?

Correct

[some more arbitrary text to meet the 20 chars minimum for posting]

1 Like

To add more information:

  1. When connected via WiFi, the interface rmnet0 is usually not included in the kernelā€™s routing list, even with mobile activated.
  2. There is an option ā€˜mobile data always-on while on wifiā€™ (or similar) in the developer section of the Android settings. When this option is activated, rmnet0 is included in the routing list.
  3. My normal WiFi router has IP address 192.168.178.1, so that the network address of 192.168.178.0 is used as destination address for wlan0.
  4. In the above screenshot, the network address 192.168.42.0 is used as destination address for wlan0.
  5. The IP address of the EVO is 192.168.42.1.
1 Like

Thank you for the additional information. I will pass this along. I believe the ā€œMobile data always activeā€ is enabled by default on most Android phones, right? I think this is the feature that allows the phone to switch back and forth between mobile and Wi-Fi automatically? Maybe itā€™s disabled on some phone models or data plans?

Was it enabled by default on your S7? Or, did you have to enable ā€œDeveloper optionsā€ and then go into the panel and toggle the ā€œMobile data always activeā€ switch? Mine was enabled by default.

1 Like

Hi, just wondering if there any work around for this. We have developed an app that uses the theta V but the app is used in environments where we dont have access to a router. Does the mobile hotspot facilitate CL mode, thanks

Thereā€™s no way to use mobile data and Wi-Fi at the same time that I know of. You must disconnect your phone from the THETA to use mobile data.

If there is a different device that is supplying mobile data, it should work. In this configuration, there are three physical devices:

  1. dedicated mobile hotspot supplies Wi-Fi access to THETA
  2. dedicated mobile hotspot supplies Wi-Fi access to phone
  3. dedicated mobile hotspot connects to Internet with 4G mobile data

I have not tested how the mobile app on the phone finds the THETA on the W-Fi network with discovery. You may be able to test it with another mobile phone.

Although you may not be able able to eliminate the extra device, you might be able to as you are building your own mobile app.

Using my phone as the hotspot, I can get this type of setup working.

image

On Android, I am using ip neigh to get the IP address of the THETA Z1 from the command line of my Pixel 2. This is just for testing.