Forgot your smartphone's pattern or PIN code, but urgently need to connect to Wi-Fi? This situation is familiar to many: your phone is locked, the internet is offline, and you need network access right now—to recover your Google account, download firmware, or simply contact support. Luckily, even on a locked device Android-there are ways to activate the device Wi-Fi without a complete reset.
In this article we will look at 5 proven methods, which work on most modern smartphones - from budget ones Redmi to the flagship Samsung GalaxyImportant: Not all methods are universal - their effectiveness depends on the version Android (from 7.0 Nougat to 14), phone model and even manufacturer. For example, on Xiaomi With MIUI the bypass is often triggered by an emergency call, and on Huawei may be required ADB.
Before you begin, please check:
1) You have access to another device with Internet access (to download drivers or firmware).
2) The phone's battery charge must be at least 30% - some methods take time.
3) You remember the data from the Google account linked to the device (if the function is enabled) Factory Reset Protection).
1. Enabling Wi-Fi via Emergency Mode (EMC)
This method works on many devices with Android 9-12, including Samsung Galaxy, LG and some models XiaomiThe method involves exploiting a vulnerability in the emergency call interface to gain access to network settings.
Instructions:
- 📱 On the lock screen, tap the button Emergency Call (or
Emergency call). - 🔢 Enter any number (for example,
112) and press the call button. - 🛠️ Immediately after dialing (before the call starts!) quickly tap on the icon Contacts or "Telephone" at the bottom of the screen.
- 🔄 If a menu appears, select
Settings → Wi-Fiand turn on the network.
⚠️ Attention: On new versions Android 13+ This method is often blocked. If nothing happens after clicking "Contacts," try holding the button. "Home" (or return gesture) within 5 seconds.
Why did this method stop working on newer Androids?
With Android 12, Google tightened protection against bypassing the lock via emergency calls. Manufacturers (especially Samsung and Google Pixel) closed this loophole in firmware versions released after 2021.
| Brand | Models where it works | Models where it doesn't work |
|---|---|---|
| Samsung | Galaxy S8/S9, Note 8, A-series (2018-2020) | Galaxy S21/S22, all models on One UI 4.0+ |
| Xiaomi | Redmi Note 5/7, Mi 8/9 (MIUI 10-11) | Poco X3/X4, Redmi Note 10+ (MIUI 12.5+) |
| Huawei | P20/P30, Mate 10/20 (EMUI 9-10) | All models after 2020 (EMUI 11+) |
2. Using ADB (Android Debug Bridge) to Unlock Wi-Fi
If it was previously enabled on the phone USB debugging mode (USB Debugging), you can connect to it via a computer and turn on Wi-Fi with a command. This method requires some preparation, but it works 90% of devices, regardless of Android version.
What you will need:
- 💻 Computer with Windows/macOS/Linux.
- 🔌 USB cable (preferably original).
- 📦 Installed drivers ADB And Fastboot (you can download it from the website) Google Android Developers).
- 🔧 USB debugging enabled before the blocking phone.
Step-by-step instructions:
- Connect your phone to your PC via USB.
- Open Command Prompt (
cmdon Windows orTerminalon macOS/Linux). - Enter the command to check the connection:
adb devicesIf the device appears in the list, proceed further.
- Turn on Wi-Fi with the command:
adb shell am start -a android.settings.WIFI_SETTINGSOr an alternative option:
adb shell svc wifi enable - If you need to connect to the network, use:
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
Install ADB drivers|Download platform-tools|Connect the phone with the original cable|Check that USB debugging is enabled before locking-->
⚠️ Attention: If USB debugging has not been activated beforehand, this method it won't work. Also on some devices (for example, Samsung With Knox) ADB commands may be limited.
3. Unlocking via Safe Mode
On some devices (especially Samsung And LG) Safe mode Allows you to bypass the screen lock and access settings. This works if the lock is set by a third-party app (for example, AppLock), and not the system PIN code.
How to enable Safe Mode:
- 🔄 Turn off your phone (hold the power button for 10 seconds).
- 🔧 Hold the button Volume Down and turn on the phone without releasing it.
- 📱 Wait for it to load – a message will appear in the lower left corner
Safe Mode. - 🔓 Try unlocking the screen with a standard gesture (if the lock was from a third-party app, it will be reset).
- 📶 Go to
Settings → Wi-Fiand turn on the network.
To exit Safe Mode, just restart your phone.
4. Reset network settings via Recovery Mode
If the previous methods did not work, you can try resetting the network settings via recovery mode (Recovery Mode). This will not delete your data, but it will reset all network settings, including saved Wi-Fi networks.
Instructions for most devices:
- Turn off your phone.
- Press the key combination to enter
Recovery:- Samsung: Power + Volume Up + Bixby (hold for 10 sec).
- Xiaomi/Redmi: Power + Volume Up.
- Huawei: Power + Volume Up (after vibration, release the power).
Recovery select "Wipe & Reset" → "Wipe Network Settings" (on some firmware versions the item may be called "Advanced → Wipe Dalvik/ART Cache").After the reset, try connecting to Wi-Fi through the standard lock menu (if the network icon appears on the screen).
5. Alternative methods: SIM card and USB-OTG
If there is one on the phone SIM card with mobile Internet, you can use it to access the network even if Wi-Fi is disabled. However, this won't help if:
- 🚫 There is no SIM slot on the device or the SIM card is not activated.
- 🚫 Mobile Internet is disabled at the operator level.
- 🚫 The phone is blocked by the operator (for example, when purchased on credit).
Another rare but working method is to use USB-OTG adapter with a keyboard or mouse. On some devices (e.g., Samsung Galaxy Tab) this allows you to bypass the screen lock:
- Connect a USB keyboard via an OTG adapter.
- On the lock screen, tap
Menu(orWindows) on the keyboard. - If a context menu appears, select
Settings → Wi-Fi.
⚠️ Attention: This method only works on devices that support it. USB Host Mode and USB debugging enabled. On modern smartphones (post-2021), it's almost never used.
What to do if nothing helps?
If all the above methods do not work, there are two radical options left:
- Factory reset (
Hard Reset) — will delete all data but unlock the phone. To reset:- Go to
Recovery Mode(see section 4 for button combinations). - Select "Wipe Data/Factory Reset".
- Confirm the action and wait for the reboot.
- Go to
⚠️ Attention: After the reset, you may be asked to enter your Google account details (FRP Lock). If you don't remember the password, your phone will remain locked!
Before resetting, try removing it SD card or SIM card - sometimes the data on them remains accessible even after Hard Reset.
FAQ: Frequently asked questions about unlocking Wi-Fi on Android
Is it possible to turn on Wi-Fi on a locked iPhone?
No, on iPhone With iOS Bypassing the screen lock without a factory reset is practically impossible. Apple has patched all the vulnerabilities that allow access to network settings. The only option is a factory reset. iTunes or Finder (on macOS), but this will delete all data.
Does the emergency call method work on Android 13?
On most devices with Android 13+ (2022 and newer) this method is blocked. The exception is some Chinese firmware (for example, on Realme or Oppo), where the vulnerability may persist.
How do I know if USB debugging is enabled on a locked phone?
Directly - nothing. Indirect signs:
- You have previously connected your phone to a PC to transfer files in the mode
MTP. - The option was activated in the developer settings
USB Debugging. - A notification appeared on the lock screen
"USB debugging enabled".
If none of this happened, the ADB method will not work.
Is it possible to recover data after a Hard Reset?
Partially, yes. If the phone was turned on Backup to Google Account, after unblocking and logging into the same account, the following will be restored:
- Contact
- Applications (but not their data)
- Some system settings
Photos, videos, and files stored only on the phone's memory will be lost. Recovering them will require specialized services (e.g., Dr.Fone or Tenorshare), but success is not guaranteed.
Why does my phone require the old PIN code after resetting?
This is the function that works Factory Reset Protection (FRP), which links the device to a Google account. To unlock the phone after a reset:
- Enter the email and password for the account that was linked to the device. before reset.
- If you don’t remember the data, restore access via Google recovery page.
- If the phone was purchased second-hand and the previous owner did not unlink the account, contact them or provide the receipt to a service center for unlinking.