Menu
Forums
New posts
Search forums
What's new
New posts
New media
New media comments
New profile posts
Latest activity
Media
New media
New comments
Search media
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
Search
Search titles only
By:
Search titles only
By:
New posts
Search forums
Search
Search titles only
By:
Search titles only
By:
Menu
Welcome DJI Spark Pilot!
Jump in and join our free Spark community today!
Sign up
Forums
DJI Spark Forums
Spark Discussions
[Root (or not)/Android] Fix for WiFi RC/AC connection issues
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="snovvman" data-source="post: 27122" data-attributes="member: 5602"><p>I have a Mavic. The cable connection is great. No mystery, cellular data works at the same time, no problems. I recently bought a Spark and was surprised with how many problems I had getting it set up, also in testing. As it turns out, the problems were related to WiFi: </p><p></p><p>On Android devices/certain versions, when it is connected to a WiFi host without access to the Internet, the device automatically routes the data packets back to cellular. This is done to ensure that the device maintains Internet connection. Even though the WiFi icon shows connected, the data is still routed through cellular. There is no easy way to change this behavior. On my N6 running Oreo, I received a popup "WiFi has no Internet connection, stay connected?" when I am adding a new host, but even when I answer "yes" and tick "don't ask again", the setting does not stick when I switch between RC and AC. It is annoying that I have to "forget" and re-add the RC and AC if I want to switch between them.</p><p></p><p>In seeking for a solution, I found "Mobiwol", but it force closes. I then found a console command (requires root) that disables the device's tendency to switch back to cellular for data. I used the app "automate" to script the command to run on startup. <strong>Now it is reliable in connecting AND I am able to switch between RC and AC with no more issues.</strong> The command is <strong>settings put global captive_portal_detection_enabled 0. </strong>Clearly, this command tells the device to not detect if the WiFi host has a captive portal so that it does not switch away.</p><p></p><p>If you have no root--I found that the easiest workaround is to put the phone into airplane mode, then enable WiFi (and GPS). You lose cellular data, but at least it will connect to the RC or AC every time. You can cache the map and other needed info.</p><p></p><p>Enjoy...</p></blockquote><p></p>
[QUOTE="snovvman, post: 27122, member: 5602"] I have a Mavic. The cable connection is great. No mystery, cellular data works at the same time, no problems. I recently bought a Spark and was surprised with how many problems I had getting it set up, also in testing. As it turns out, the problems were related to WiFi: On Android devices/certain versions, when it is connected to a WiFi host without access to the Internet, the device automatically routes the data packets back to cellular. This is done to ensure that the device maintains Internet connection. Even though the WiFi icon shows connected, the data is still routed through cellular. There is no easy way to change this behavior. On my N6 running Oreo, I received a popup "WiFi has no Internet connection, stay connected?" when I am adding a new host, but even when I answer "yes" and tick "don't ask again", the setting does not stick when I switch between RC and AC. It is annoying that I have to "forget" and re-add the RC and AC if I want to switch between them. In seeking for a solution, I found "Mobiwol", but it force closes. I then found a console command (requires root) that disables the device's tendency to switch back to cellular for data. I used the app "automate" to script the command to run on startup. [B]Now it is reliable in connecting AND I am able to switch between RC and AC with no more issues.[/B] The command is [B]settings put global captive_portal_detection_enabled 0. [/B]Clearly, this command tells the device to not detect if the WiFi host has a captive portal so that it does not switch away. If you have no root--I found that the easiest workaround is to put the phone into airplane mode, then enable WiFi (and GPS). You lose cellular data, but at least it will connect to the RC or AC every time. You can cache the map and other needed info. Enjoy... [/QUOTE]
Verification
Post reply
Forums
DJI Spark Forums
Spark Discussions
[Root (or not)/Android] Fix for WiFi RC/AC connection issues