How to restore a deleted Wi-Fi network on Android: from manual addition to hidden settings

You accidentally deleted a saved Wi-Fi network on your smartphone. Android, and now you can't reconnect—the system persistently asks you to enter the password, even though you're sure it's correct? Or has the network completely disappeared from the list of available networks? This problem is familiar to many users, especially after updating the firmware or resetting network settings. Unlike iOS, where deleted networks sometimes return after a reboot, Android behaves less predictably: some networks are “forgotten” forever, while others are blocked at the system level.

In this article we will look at 5 proven methods restore a deleted Wi-Fi network - from basic (manual addition) to advanced (working with configuration files and ADB). We will pay special attention to problems on new versions. Android 13/14, where Google has tightened its network security policies. You'll also learn why a network can "disappear" on its own and how to prevent this in the future.

Before you proceed with the instructions, please check two key points:

  • 🔍 Make sure your router included and is distributing the network (the Wi-Fi indicator on it should be lit or blinking). Try connecting to it from another device.
  • 📶 Check if the network is hidden in the router settings (parameter Hide SSID or "Hide network name").
📊 How often do you encounter Wi-Fi problems on Android?
Often, several times a month
Sometimes, once every six months
Nearby, only after updates
Never had any problems

1. Manually adding a network: why it doesn't always work

The most obvious solution is to re-add the network through the settings. However, there are some pitfalls:

  • 🔄 On Android 10+ The system may block you from reconnecting to a network you previously deleted, even if the password is correct.
  • 🔒 Some routers (especially with firmware Keenetic or ASUS Merlin) use dynamic authentication, which is why Android treats the network as "new" each time it is connected.
  • 📱 On devices Samsung, Xiaomi And OnePlus The "Protection against fake networks" function may be activated, which requires confirmation via SMS or the manufacturer's app.

How to add a network correctly:

  1. Open Settings → Wi-Fi.
  2. Tap the button Add a network (or Other networks at the bottom of the list).
  3. Enter exact network name (SSID) — case is important! For example, MyWiFi_5G And mywifi_5g for the system there will be different networks.
  4. Select the security type: this is usually WPA2-PSK or WPA3-PSK (check in your router settings).
  5. Enter the password and save.
⚠️ Attention: If you get the error "Unable to connect" after entering your password, try remove all Cyrillic characters from the network name (SSID) in the router settings. Some versions Android They don't work well with Russian letters in network names.

Make sure your router isn't in "Guest Only" mode|Try connecting to the network from another device|Restart your router and smartphone|Check if "Data Saver" mode is enabled on your phone-->

2. Resetting network settings: when is it justified?

If manually adding doesn't help, the next step is to reset the network settings. This will remove all saved Wi-Fi networks, Bluetooth devices, and VPNs, but will not affect personal data (photos, messages, etc.).

How to reset:

  1. Go to Settings → System → Reset settings (on some devices the path may differ: Settings → General settings → Reset).
  2. Select Reset Wi-Fi, mobile network, and Bluetooth settings.
  3. Confirm the action (you may be asked to enter a PIN or pattern).
  4. After rebooting, try connecting to the network again.

On devices Samsung And Xiaomi There's a caveat: after a reset, the "Smart Wi-Fi Switching" feature may be enabled, which automatically turns off Wi-Fi when the signal is weak. To disable it:

Settings → Connections → Wi-Fi → ⚙️ (Advanced) → Smart Switching
⚠️ Attention: On Android 12+ After resetting network settings, you may need to re-authorization in some applications (for example, in banking or instant messaging applications), since they are tied to the MAC address of the device.
What to do if resetting doesn't help?

If after resetting the network still does not connect, the problem may be in MAC filtering on the router. Go to the router settings (usually at 192.168.1.1 or 192.168.0.1) and check the section Wireless MAC FilterIf the "white list" is enabled there, add the MAC address of your smartphone (you can find it in Settings → About phone → Status).

3. Editing the Wi-Fi configuration file (for advanced users)

On Android data about saved networks is stored in a file wpa_supplicant.confIf you have root access, you can manually add a network to this file. This method works even for networks that the system stubbornly refuses to save.

Instructions:

  1. Install a file manager with support root (For example, Root Explorer or FX File Explorer).
  2. Follow the path:
    /data/misc/wifi/WifiConfigStore

    (on some firmware the path may be /data/misc/wifi/wpa_supplicant.conf).

  3. Open the file wpa_supplicant.conf in a text editor.
  4. Add a block with your network settings (template below). Save the file and reboot your device.

Example of a block for a network named MyWiFi and password 12345678:

network={

ssid="MyWiFi"

psk="12345678"

key_mgmt=WPA-PSK

priority=1

}

⚠️ Attention: Incorrect editing of this file may result in complete loss of all saved networksMake a backup copy of the file before making any changes!

4. Using ADB to repair the network

ADB (Android Debug Bridge) — is a debugging tool that allows you to control your device via a computer. It can be used to add a Wi-Fi network without using the standard interface. This method works without root, but requires inclusion developer mode.

Step-by-step instructions:

  1. Turn on developer mode:
    Settings → About phone → Build number (tap 7 times)

    Then go back to Settings → System → Developer Options and turn it on USB debugging.

  2. Connect your phone to your computer via USB and install ADB drivers (you can download it from the website) Google For Android SDK).
  3. Open Command Prompt (or Terminal on Mac/Linux) and run:
    adb shell
    

    am start -a android.settings.WIFI_SETTINGS

    This will open the Wi-Fi settings on your phone.

  4. To add a network directly, use the command:
    adb shell cmd wifi add-network [SSID] [PASSWORD]

    For example:

    adb shell cmd wifi add-network "MyWiFi" "12345678"

If the command doesn't work, try the alternative method via WifiManager:

adb shell

svc wifi disable

svc wifi enable

cmd wifi add-network [SSID] [PASSWORD] WPA-PSK

ADB command Description
adb shell cmd wifi list-networks Shows a list of saved networks.
adb shell cmd wifi remove-network [ID] Deletes a network by its ID (you can find out the ID with the first command)
adb shell cmd wifi connect-network [ID] Forces connection to the network with the specified ID
adb shell cmd wifi set-country-code RU Sets the country code (may help if the network is not showing)

5. Issues with specific manufacturers: Samsung, Xiaomi, Google Pixel

Some brands make changes to the standard firmware Android, which leads to unique Wi-Fi bugs. Let's look at the specifics:

Samsung (One UI)

On devices Samsung (series Galaxy S, Note, A) the function is often triggered , which automatically switches your device to mobile data when the signal is weak. This can interfere with your network connection. To disable:

Settings → Connections → Wi-Fi → ⚙️ (Advanced) → Smart Switch

Another problem is - network duplicationFor example, if the router distributes two networks with the same name (2.4 and 5 GHz), Samsung may "confuse" them. Solution:

  • 📛 Rename the networks in the router settings (for example, MyWiFi_2G And MyWiFi_5G).
  • 🔄 Remove both networks from the list of saved networks on your phone and reconnect.

Xiaomi (MIUI)

On Xiaomi (including Redmi And POCO) works additional security check via the app SecurityIf a network was removed as "suspicious," it cannot be re-added without confirmation. Solution:

  1. Open the app Security (Safety).
  2. Go to Wi-Fi Security → Network History.
  3. Find your network in the list and tap Allow.

Google Pixel (Stock Android)

On the "clean" Android (devices Pixel, Nexus) an error may occur "Saved, WPA/WPA2 protection" without the ability to connect. This is due to security updates, which block networks with outdated encryption protocols. Solution:

  • 🔧 Go to your router settings and change the encryption type from TKIP on AES (or with WPA on WPA2/WPA3).
  • 📱 On your phone, delete the network, restart the device, and try connecting again.
Why is Pixel blocking some networks?

Google is actively implementing the protocol WPA3 and refuses to support outdated standards (for example, WEP or WPA-TKIP). If your router uses the old encryption type, Pixel may block the connection "for security reasons" even if the password is correct.

6. If all else fails: alternative solutions

If all the above methods do not work, consider the following options:

Changing the MAC address of your phone

Some routers remember MAC addresses connected devices and may block reconnections if a forced disconnection has occurred previously. To reset this restriction:

  1. Install an application to change the MAC address (for example, Mac Changer — demands root).
  2. Generate a new MAC address and reboot the device.
  3. Try connecting to the network again.

Using a QR code to connect

On Android 10+ Wi-Fi connection is supported via QR codeThis can bypass standard interface blocking:

  1. On another device (for example, a laptop), generate a QR code for your network using the service qifi.org.
  2. On your phone, open the camera, point it at the QR code and confirm the connection.

Resetting the router to factory settings

If the problem is with only one device, and the others connect fine, the culprit may be router. Reset its settings:

  1. Press and hold the button Reset on the back panel of the router (usually 10-15 seconds).
  2. Reconfigure your router (set the network name and password).
  3. Connect your phone to the network.
⚠️ Attention: Resetting the router will remove all its settings, including passwords, linked devices, and firewall rules. After the reset, you'll need to reconfigure your internet connection (the details from your provider are usually included in your contract).

7. How to prevent network loss in the future

To avoid recurring problems with remote networks, follow these tips:

  • 🔄 Regularly export a list of networks using apps like WiFi Key Recovery (requires root).
  • 📱 On devices Samsung And Xiaomi Disable the "Auto-connect to open networks" and "Smart switching" features.
  • 🔒 Use password managers (For example, Bitwarden or KeepassDX) for storing backup copies of Wi-Fi passwords.
  • 📡 Update your router firmware - new versions often fix bugs with connecting devices Android.

Important: With Android 14, Google has introduced a new restriction: the system automatically removes networks that haven't been connected to for more than 30 days unless they're marked as "favorites." To avoid this, connect to important networks periodically or mark them as a priority in your Wi-Fi settings.

FAQ: Frequently Asked Questions

Is it possible to restore a deleted network without root rights?

Yes, it helps in most cases. manually adding a network or reset network settingsIf the network is blocked at the system level (for example, due to security policy on Android 13+), try connecting via ADB or QR code. Root only required for editing the configuration file wpa_supplicant.conf.

Why does Android ask for a password even though I haven't changed it?

This can happen for several reasons:

  • 🔄 The router has changed the encryption type (for example, from WPA2 on WPA3).
  • 📱 The “Forget low-quality networks” function is enabled on the phone (available on Samsung And Xiaomi).
  • 🔒 MAC address binding is enabled in your router settings, and your phone has changed its MAC address (for example, after a reset).

Solution: Check your router settings and disable any MAC or encryption type restrictions.

How do I know what version of Android my phone has?

Go to Settings → About phone → Android version. The version number will be listed there (for example, Android 13) and the security patch level (e.g. May 5, 2026). On devices Samsung The firmware version can be designated as One UI 5.1 (which corresponds to Android 13).

Can antivirus software block Wi-Fi connections?

Yes, some antiviruses (for example, Avast, Kaspersky, 360 Security) have network protection modules that can block "suspicious" connections. To check:

  1. Open your antivirus and find the "Network Protection" or "Wi-Fi Security" section.
  2. View the list of blocked networks.
  3. If your network is there, unblock it.

Also try temporarily disabling your antivirus and trying to connect again.

What should I do if the network appears in the list but does not connect?

This is a typical problem when:

  • 📶 Network signal is too weak (check the level in dBm - if less -70, the network will be unstable).
  • 🔧 The router is using an incompatible Wi-Fi channel (for example, 160 MHz on 5 GHz, which your phone does not support).
  • 🔒 Feature enabled 802.11r (Fast Transition) in the router settings, which conflicts with Android.

Solution: Change the channel width in the router settings to 20/40 MHz and turn it off 802.11r.