Within the shell, settings get global captive_portal_mode returned null . Changing the captive_portal_mode setting to 0 should mean the phone ignores captive portals, so I made the change with settings put global captive_portal_mode 0 . So that was progress, and may well be success.