Forgot your home Wi-Fi password, and the sticker on your router has worn off? Or need to connect a new device but can't be bothered to find the piece of paper with the code? On smartphones Huawei And Honor There are several ways to retrieve a saved network password - both with superuser rights (root), and without them. In this article, we'll cover all the current flashing methods. EMUI 13/14 and earlier versions, including bypassing manufacturer restrictions.
It is important to understand: Huawei is deliberately hiding Wi-Fi passwords. in the system interface for security reasons. This means there's no standard way like "go to network settings and copy the password." However, there are workarounds, ranging from browsing through configuration files to using third-party utilities. We've sorted the methods by difficulty: from the simplest (suitable for 90% of users) to the most technically advanced (requiring ADB or root).
If you're unsure of your skills, start with the first methods—they don't require any special knowledge. For experienced users, there's a section at the end of the article with advanced techniques, including working with adb pull and editing system files.
1. View password via Wi-Fi Sharing (EMUI 12 and later)
The easiest way that works on most modern smartphones Huawei And Honor (starting from EMUI 12). The method does not require superuser rights and takes less than a minute. The point is that the system allows you to generate QR code for connection to the network from which the password can be extracted.
Here are the step-by-step instructions:
- 📱 Open
Settings → Wireless & networks → Wi-Fi. - 🔍 Find your network in the list and tap on its name (do not reconnect!).
- 🔗 Scroll down and select the item
Wi-Fi sharing(orShare the networkon some models). - 🖼️ The system will display a QR code. There will be a button underneath it.
Show password- click on it. - 🔑 Enter your PIN or fingerprint to confirm.
Done! The password will be displayed below the QR code in text form. This method works on Huawei P50/P60, Mate 50/60, Nova 10/11 and other models with EMUI 12+. On older firmware versions (for example, EMUI 10/11) this item may be missing - proceed to the next method.
2. Using a file manager with root access
If your phone has root rights, you can directly read the password from the system file, where Android stores network data. This method is universal and works on all versions. EMUI, but requires preliminary unlocking of the bootloader and installation Magisk or another tool for rooting.
Instructions:
- Install any file manager with root support (For example, Solid Explorer, FX File Explorer or Root Browser).
- Follow the path:
/data/misc/wifi/WifiConfigStore.xmlOr an alternative path for newer versions:
/data/misc/ape/WifiConfigStore.xml - Open the file in a text editor and find the block with the name of your network (
<string name="SSID">Your_network</string>). - Below there will be a line with a password:
<string name="PreSharedKey">your_password</string>
If the file WifiConfigStore.xml missing, try searching for the password in:
/data/misc/wifi/WifiConfigStore/WifiConfigStore.xml
or through the command adb pull (more on this in the next section).
⚠️ Attention: Editing system files without root access may cause the Wi-Fi module to malfunction. Do not modify the file contents; copy only the data!
Install Magisk or SuperSU|Back up your data|Check the path to WifiConfigStore.xml|Use only trusted file managers-->
3. Extracting the password via ADB (without root)
If you don't have root rights, but your phone is enabled USB debugging, you can try to extract the password using ADB (Android Debug Bridge). This method does not work on all models. Huawei, since the manufacturer restricts access to system data, but there is a chance.
What you will need:
- 🖥️ Computer with installed ADB Tools.
- 📱 Enabled USB debugging on your phone (
Settings → About phone → Build number(tap 7 times) →For Developers → USB Debugging). - 🔌 USB cable (preferably original).
Instructions:
- Connect your phone to your PC and confirm trust of the computer on your smartphone screen.
- Open Command Prompt (Windows) or Terminal (macOS/Linux) and run:
adb shellsu -c "cat /data/misc/wifi/WifiConfigStore.xml | grep -A 10 'Your_Network'"Replace
Your_networkto the name of your Wi-Fi. - If the command doesn't work, try this alternative:
adb shellsu -c "cat /data/misc/ape/WifiConfigStore.xml" - Find the line in the output
PreSharedKey- this is the password.
On some firmware versions Huawei access to these files is blocked even through ADBIn this case, only root or the following method.
4. Apps for viewing Wi-Fi passwords
IN Google Play There are apps that promise to show saved passwords without root. Most of them don't work. Huawei due to manufacturer limitations, but some utilities may help if you have an older version EMUI (up to 10th).
List of applications with a chance of success:
- 🔓 WiFi Password Viewer - shows passwords for open networks and some protected ones (requires Android 9 and below).
- 📡 WiFi Key Recovery — works on firmware up to EMUI 9, extracts data from backups.
- 🛠️ Root Browser - if you have root, allows you to manually find the password file.
How to use:
- Download and install one of the applications.
- Run it and grant the requested permissions.
- Find your network in the list and copy the password.
⚠️ Attention: Many applications in Play Market contain malicious code or display ads. Before installing, check reviews and ratings. It's better to use official utilities like Solid Explorer with root support.
These apps don't work on phones with EMUI 13/14 and newer due to Huawei hardware limitations. The only reliable method is root or the QR code method (Section 1).
5. Resetting the router as a last resort
If none of the methods worked, and you urgently need Wi-Fi access, there remains reset the router settings to factory defaults. This will delete all user settings, including the password, and you will be able to set a new one. The downside of this method is that you will have to configure the router again (SSID, password, channel, DHCP etc.).
How to reset a router:
- Find the button on the back of the router.
Reset(usually recessed into the body). - Take a paper clip or toothpick and hold the button for 10-15 seconds until the indicators flash.
- Connect to the router's network (it will have a default name, for example,
TP-Link_1234). - Go to the web interface at
192.168.0.1or192.168.1.1(default logins and passwords are usuallyadmin/admin). - In the section
WirelessorWi-Fiset a new password.
Standard login details for popular router brands:
| Brand | IP address | Login/Password |
|---|---|---|
| TP-Link | 192.168.0.1 |
admin/admin |
| ASUS | 192.168.1.1 |
admin/admin |
| Xiaomi | 192.168.31.1 |
Indicated on the sticker |
| Huawei (routers) | 192.168.3.1 |
admin/@HuaweiHgw |
⚠️ Attention: After the reset, all devices on the network will be disconnected. If you share the router, warn your family or colleagues in advance.
6. Alternative methods (for advanced users)
If standard methods do not help, and you want to receive root If you don't have the desire, you can try workarounds. They require technical skills, but sometimes they work where other methods fail.
Method for owners of custom firmware
If on yours Huawei unofficial firmware is installed (for example, LineageOS or Havoc-OS), Wi-Fi passwords are stored in clear text. Use any file manager and go to:
/data/misc/wifi/WifiConfigStore.xml
or do it in ADB:
adb pull /data/misc/wifi/WifiConfigStore.xml
Open the file on your PC and find the line PreSharedKey.
Method with backup via Titanium Backup:
- 📦 Install Titanium Backup (requires root).
- 🔄 Back up the app
Wi-Fi(orcom.android.wifi). - 📂 Extract the backup to your PC and open it with an archiver (for example, 7-Zip).
- 🔍 Find the file inside
WifiConfigStore.xml- it will contain passwords.
Usage Termux:
If the phone has Termux with root access, run:
pkg install sqlciphersqlcipher /data/data/com.android.providers.settings/databases/settings.db
PRAGMA key='x'wv8tg';
SELECT * FROM wifi;
Replace x'wv8tg' to the current key for your version Android (it can be found on forums like XDA-Developers).
FAQ: Frequently Asked Questions
Is it possible to find out the Wi-Fi password on a Huawei device without rooting?
Yes, but only if you have EMUI 12 or later — via the "Wi-Fi Sharing" function (section 1). On older versions without root, the chances are minimal, since Huawei blocks access to system files.
Why isn't my network listed in the WifiConfigStore.xml file?
Possible reasons:
- You are not currently connected to the network (the file is updated only for active connections).
- The file path has changed (try
/data/misc/ape/WifiConfigStore.xml). - The firmware uses a different storage (on HarmonyOS the structure is different).
Does the ADB method work on Huawei P30 Pro?
On Huawei P30 Pro With EMUI 10/11 There is a chance, but it is not guaranteed. Huawei closed many loopholes in new firmware. If the command adb pull returns an error Permission denied, you can't do it without root.
Is it possible to find out someone else's Wi-Fi password via Huawei?
No, unless you are connected to that network. Huawei (like any other Android smartphone) only stores passwords for networks you've previously connected to. Password guessing or network hacking is prohibited by law.
What should I do if the internet doesn't work after resetting my router?
Check:
- Is the cable from the provider connected to the port?
WAN(usually highlighted in color). - Is the connection type configured (
PPPoE,DHCPetc.) in the router's web interface. - Have you entered the correct data from the provider (logins/passwords for
PPPoE).
If the problem persists, please contact your internet service provider's technical support.