You will need to edit the file /data/misc/wifi/wpa_supplicant.conf and add the following lines:
# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
network={
        key_mgmt=NONE
        priority=-9
}
I recommend switching off Wi-Fi first, because this file gets updated automatically. There is a drawback though, on the AP list, you won't see which SSID you are connected to, and QuickSettings will say "Connected to (null)". But it works.
PS: You need a rooted phone for this, the wpa_supplicant.conf is not writable (and not even readable) otherwise.
 
 
No comments:
Post a Comment