How to find the Wi-Fi password on a Huawei phone: all methods for EMUI

Forgot your home Wi-Fi password, and the router is in an inaccessible place, or the sticker with the password has long since worn off? From your phone Huawei or Honor You can retrieve a saved network security key—even if you're not an administrator. In this article, we'll cover all the current methods for firmware. EMUI 12, 13, and 14, including bypassing restrictions without superuser rights.

Important: System capabilities depend on the shell version. For example, in EMUI 14 (based on Android 13/14) some functions have been moved to the section Security and privacy, and the path to settings may differ in older versions. If your phone was released before 2019, check the interface is up-to-date using the instructions below.

Before you begin, make sure that:

  • 📶 The phone is currently connected to the target Wi-Fi network (otherwise the password will not be displayed).
  • 🔒 The device does not have any corporate policies (for example, from an employer) that block access to system files.
  • 📱 EMUI version not lower than 9.0 (on Android 9 and newer). For older models (Huawei P20 Lite, Mate 10) alternative methods may be required.
📊 What Huawei/Honor model do you have?
P40/P50 series
Mate 30/40/50
Nova 7/8/9
Y6/Y7/Y8
Another model

1. The standard method through EMUI settings (without root)

The easiest method is to use the built-in password viewer feature available on most devices. Huawei With EMUI 10.1 and laterHowever, the manufacturer has limited this feature: the password is shown only for networks connected manually (not via WPS or Easy Project).

Instructions:

  1. Open SettingsMobile networkWi-Fi.
  2. Click on the name of the current network (not on the switch!).
  3. Tap on the icon Share (QR code or three dots icon in the upper right corner).
  4. Enter PIN code or pattern screen lock.
  5. A text password will appear in the field below the QR code. Wi-Fi password.

⚠️ Attention: If the Share button is missing or grayed out, it means:

  • 🔄 The network is connected via WPS - the password is not saved in the system.
  • 🏢 This is a guest network with limited rights (for example, in a hotel or cafe).
  • 🔒 The function is activated on the phone Privacy protection (check in Settings → Security → Advanced).
What should I do if the Share button is grayed out?

If the button is grayed out, try disconnecting from the network and reconnecting manually (re-enter the password). This sometimes resets EMUI restrictions. Also, check if the mode is enabled. Energy saving - it can block access to system functions.

2. Viewing the password via the configuration file (requires a file manager)

All saved Wi-Fi networks are stored in a file wpa_supplicant.conf, but access to it is limited. On phones Huawei Without root rights, you can bypass this limitation using a third-party file manager, for example, FX Explorer or Solid Explorer.

Step-by-step instructions:

  1. Install FX Explorer from Google Play (or AppGallery for models without Google services).
  2. Launch the application and grant all requested permissions.
  3. Follow the path:
    /data/misc/wifi/WifiConfigStore/

    or (for EMUI 13+):

    /data/vendor/wifi/WifiConfigStore/
  4. Find the file WifiConfigStore.xml and open it with a text editor.
  5. Look for the line <string name="PreSharedKey">PASSWORD</string> for your network.

⚠️ Attention: Starting from EMUI 12, the path to the file may vary depending on the firmware version. If the folder WifiConfigStore missing, try an alternative path:

/data/misc/wifi/WifiConfigStore/softap/

Enable USB debugging (Settings → About phone → Build number → 7 taps)

Install FX Explorer with root support (if you have rights)

Download a text editor (e.g. QuickEdit)

Disable battery optimization for FX Explorer (Settings → Applications → FX Explorer → Battery → Unlimited)-->

3. Using ADB commands (for advanced users)

If standard methods don't work, you can extract the password through Android Debug Bridge (ADB)This method does not require root access, but it does require a computer with installed drivers. Huawei and a package ADB Tools.

Instructions:

  1. Download Platform Tools from Google and unzip it into a folder C:\adb.
  2. Activate Developer mode on the phone: Settings → About phone → Build number (tap 7 times).
  3. Turn on USB debugging V Settings → System → Developer Options.
  4. Connect your phone to your PC and run the following in the command line:
    adb shell
    

    su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep -A 10 'SSID_YOUR_NETWORK'"

    Replace SSID_YOUR_NETWORK the name of your network (in quotation marks).

⚠️ Attention: On EMUI 13/14 the command may return an error Permission deniedIn this case:

  • 🔧 Try an alternative command:
    adb shell cmd wifi list-networks

    (will show a list of networks, but not passwords).

  • 📱 Install Magisk to temporarily obtain root rights (see section 5).

4. Export passwords via backup (EMUI 10–12)

In firmware EMUI 10–12 There's a hidden feature for exporting Wi-Fi settings to a file that can be read on a PC. This method works without rooting, but requires a computer connection.

How to do:

  1. Connect your phone to your PC via USB (mode File transfer).
  2. Open it on your phone Settings → System → Backup.
  3. Select Local backupWi-Fi settings.
  4. Create a backup copy (the file will be saved in the folder Backup on the internal storage).
  5. Copy the file backup_*.ab on PC and rename it to backup.zip.
  6. Unzip the ZIP file and open it apps/com.android.providers.settings/ → find the file settings.db.
  7. Use the program DB Browser for SQLite to open the database. Go to the table wifi — there will be SSID and passwords.

Important: Starting with EMUI 13, Huawei encrypts backups, and this method no longer works. For newer firmware versions, use ADB or root access.

5. Obtaining root rights to access system files

If none of the above methods worked, there remains a radical method - obtaining root rightsThis will give you full access to system files, including Wi-Fi passwords. However, please note:

  • 🚨 Rooting voids your warranty and may interfere with your banking apps.
  • 🔄 After updating EMUI, root often fails.
  • 🛡️ On new models (Huawei P60, Mate 50) unlocking the bootloader is officially prohibited.

Instructions for supported models:

  1. Unlock the bootloader through the official website Huawei (an unlock code is required, which is issued after registering an account).
  2. Install a custom recovery (TWRP) for your model.
  3. Sew it Magisk via recovery.
  4. After reboot install Root Explorer and go to /data/misc/wifi/ — passwords will be in the file wpa_supplicant.conf.

⚠️ Attention: On phones with a processor Kirin 9000 (For example, Mate 40 Pro) unlocking the bootloader may result in loss of IMEIBefore the procedure, make a backup copy of the partition. nvme through Fastboot:

fastboot backup nvme backup.img

6. Alternative methods (if nothing helps)

If all other methods have been exhausted and the password is still unavailable, try:

Method Conditions Restrictions
Resetting the router Physical access to the router All settings will be reset, including the network name.
View on another device Another phone/PC is already connected to the network You need to know the password for the second device.
Contacting your provider Internet contract in your name They may ask for passport details
Using WPS The router supports WPS Many modern routers disable WPS by default.

💡 Advice: If you have access to the router's web interface (usually at 192.168.1.1 or 192.168.0.1), try standard login/password combinations:

  • admin / admin
  • admin / password
  • admin / (blank password)

After logging in, go to the section Wireless → Security, where the current password will be displayed.

FAQ: Frequently Asked Questions

Is it possible to find out the Wi-Fi password on a Huawei device without connecting to a network?

No. System EMUI Shows passwords only for active connections. If the phone isn't connected to a network, network data is stored encrypted and inaccessible without root access. An exception are backups (see section 4), but they only contain passwords for previously connected networks.

Why is the password displayed as asterisks (*) in the wpa_supplicant.conf file?

This means that the password is encrypted. In new versions EMUI (12+) The data in this file is protected. To decrypt it, you will need:

  1. Get root rights.
  2. Use the utility sqlcipher to decode the database settings.db.

Without root, decryption is impossible.

Will the ADB method work on Huawei P30 Pro with EMUI 12?

Yes, but with reservations. Huawei P30 Pro With EMUI 12 team adb shell may return an error due to manufacturer limitations. In this case:

  • Try connecting via adb shell su (if there is temporary root).
  • Use an alternative path to the configuration file: /data/vendor/wifi/WifiConfigStore/softap/.
Is it possible to extract the password from a phone if it is locked?

No. Without unlocking the screen, you can't access system files or Wi-Fi settings. The only options are:

  • Reset pattern lock via Find My Device (if a Google account is linked).
  • Restore access via Huawei ID (linked email required).
  • Perform a factory reset (will delete all data, including Wi-Fi passwords).
How to protect your Wi-Fi passwords from being stolen on Huawei?

To prevent access to saved networks:

  • Turn it off USB debugging in the developer settings.
  • Set a password for the file manager (for example, in FX Explorer).
  • Use Privacy protection V Settings → Security.
  • Clear your saved networks list regularly (Settings → Wi-Fi → Advanced → Manage networks).