Force android to keep a Wi-Fi without Internet access

This shell command works on android version 6.0+ : type su to enter superuser mode. Then type the following command:
settings put global captive_portal_detection_enabled 0

This command disables the “drop wifi if no internet connection” functionality and stops checking if internet access is available.

Leave a Reply

Your email address will not be published. Required fields are marked *

3 × 2 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.