How to find out the password from Wi-Fi on Xiaomi Redmi Note 8 Pro: all working methods

Forgot the password from your home or work Wi-Fi, which your Xiaomi Redmi Note 8 Pro is connected to, and there is no one to ask for it? The situation is familiar to many β€” especially if the network was set up by someone else or the connection was long ago. Fortunately, there are several ways to extract the saved password on Xiaomi smartphones, and not all require root rights or complex manipulation.

In this article, we’ll look at 5 proven methods, from simple (via MIUI settings) to advanced (using ADB or root file manager). Importantly, some methods only work on certain versions of the firmware, so we’ll point out the limitations for each, and you’ll learn how to bypass MIUI locking on passwords (relevant for recent updates).

1. Standard method via MIUI settings (no root)

The most obvious method is to look at the password in the Wi-Fi menu, but in MIUI 12 and later, Xiaomi has removed the ability to view passwords in the GUI for security, but on some versions of the firmware (especially if the phone hasn’t been updated for a long time), this method still works.

To check:

  • πŸ“± Open the Settings. β†’ Wi-Fi.
  • πŸ” Find the network you are connected to in the list and tap it by its name.
  • πŸ”‘ If you have the option to show password or share, you're in luck! PIN-The screen unlock code/pattern lock and the password will be displayed.

❌ If you don’t have an option, then your version MIUI It blocks viewing. Go to the following methods.

⚠️ Attention: On the Redmi Note 8 Pro MIUI 14 Android 12/13 This method is guaranteed not to work – Xiaomi completely removed the function from the interface.

πŸ“Š What version? MIUI you have installed?
MIUI 11 or older
MIUI 12
MIUI 13
MIUI 14
I don't know.

2. Viewing the password through QR-Code (works on all versions)

Few people know, but Xiaomi allows you to export data to the network QR-It's a code that you can then extract your password from, and it works even on the latest versions. MIUI It doesn't require rooting.

Instructions:

  1. Connect to the right Wi-Fi network.
  2. Go to Settings β†’ Wi-Fi β†’ [network name] β†’ Share.
  3. Enter. PIN-Screen unlock code will open QR-code.
  4. Take a picture of it or scan it with another device.
  5. Use any online application to decode QR (e.g., ZXing Decoder) and you will get a line of the type: WIFI:S:[network name]; T:WPA;P:[your password]; where P:[your password] is the key you want.

πŸ”Ή Plus method: works on all versions MIUI It does not require additional programs.

πŸ”Έ Minus: We need to scan. QR-code by another device or manually decode a line.

πŸ’‘

If you don’t have a second QR scanner, install the QR & Barcode Scanner app from Google Play on the Redmi Note 8 Pro, which can read QR directly from your smartphone screen.

3. Use ADB (no root, but debugging is needed)

If previous methods failed, you can extract the password through Android Debug Bridge (ADB), which requires connecting the phone to your computer and enabling USB Debugging, but does not need root rights.

Step-by-step:

Enable Developer Mode (7 times tap the MIUI version in Settings β†’ About Phone)|

Activate USB Debugging in Settings β†’ Additional β†’ For Developers |

Download ADB Tools on PC|

Connect Redmi Note 8 Pro to your computer via USB (select File Transfer mode)

-->

Next, run in the command line (or Terminal on Mac/Linux):

adb shell


su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep '<string name=\"PreSharedKey\">'"

If the team returns a line of form:

<string name="PreSharedKey">12345678</string>

12345678 is your password.

⚠️ Note: Some firmware may have different paths to the file. If the command fails, try: su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep 'psk='" or check the contents of the folder /data/misc/wifi/ via adb shell ls /data/misc/wifi/.

πŸ“Œ Important: If su doesn't work, then there's no superuser rights on the phone.

4. Viewing password through file manager with root

If you have Magisk or another root rights manager installed on your Redmi Note 8 Pro, you can read the file directly with the Wi-Fi settings. This will require any root file manager (such as Root Explorer or FX File Explorer).

Instructions:

  • πŸ“ Open the file manager and go on the way: /data/misc/wifi/ or /data/misc/apexdata/com.android.wifi/ (Depends on the Android version).
  • πŸ” Find the file. WifiConfigStore.xml (or WifiConfigStore.xml.bak).
  • πŸ“„ Open it with a text editor and find a line: <string name="PreSharedKey">password</string>

πŸ”Ή An alternative path (for Android) 10+): /data/vendor/wifi/WifiConfigStore.xml

Android versionThe path to the password fileNote
Android 9 (MIUI 10-11)/data/misc/wifi/WifiConfigStore.xmlThe classic way, works on most firmware.
Android 10 (MIUI 12)/data/misc/apexdata/com.android.wifi/WifiConfigStore.xmlYou may need to install /apex.
Android 11-13 (MIUI 12.5-14)/data/vendor/wifi/WifiConfigStore.xmlSome firmware has the file encrypted.

⚠️ Attention: If the file WifiConfigStore.xml is absent or empty, so, MIUI It uses a different mechanism for storing passwords, and in this case, only a backup copy will help. TWRP (method 5).

5. Removing password from TWRP backup (advanced method)

If none of the previous methods worked, the last option is to back up the /data partition via TWRP and extract the password on the computer.

  • πŸ’Ύ Access to a computer with 7-Zip Tar.

Step-by-step:

  1. Boot to TWRP (turn off the phone, then press Power + Volume up).

πŸ”Ή The advantage of the method: works even if the file is encrypted in a living system.

πŸ”Έ Disadvantage: requires TWRP takes a long time.

What to do if TWRP is not installed?
If you're on your Redmi Note. 8 Pro is not custom recavator, it can be installed via Fastboot (but this will lead to a data reset: 1. Unlock Bootloader via Mi Unlock Tool (you need a Mi Account and wait) 7-30 days). 2. Download. TWRP For the Redmi Note 8 Pro. 3. The following is a quickboot flash recovery. twrp.img 4. Boot in. TWRP And build a backup. ⚠️ Warning: Unlocking the bootloader will reset all data on the phone!

Comparison of methods: which one to choose?

Not all methods are equally convenient. Here's a quick comparison:

MethodNeed root?DifficultyWorks on MIUI 14?Notes
Through the Wi-Fi settings❌ No.⭐ (simple)❌ No.Only on older versions of MIUI.
QR-code❌ No.β­β­βœ… Yes.You need to scan the code with another device.
ADB❌ No (but I need debugging)β­β­β­βœ… Yes.It requires PC and knowledge of commands.
Root file managerβœ… Yes.β­β­βœ… Yes.We need super-user rights.
Backup copy of TWRPβœ… Yes (TWRP)β­β­β­β­βœ… Yes.The most reliable, but longest way.

πŸ’‘

If you don't have root and MIUI 14, the easiest way to use is to use QR-If you have access to a PC, try it. ADB. For advanced users, the method of TWRP.

FAQ: Frequent questions

Can I find out the password from Wi-Fi without root on the Redmi Note 8 Pro with MIUI 14?
Yes, but only through QR-code (method 2) or ADB (Method 3) Standard viewing in the settings in the latest versions MIUI switched off.
What if the command returns β€œPermission denied” when using ADB?
This means that you don't have permission to read the file. Solutions: Try adding su before the command (root needed). Check if USB Debugging is enabled and ADB is allowed on your phone. Use an alternative file path (see table in section 4).
Can I retrieve my password if the phone is not rooted and ADB is not helping?
Yes, but you'll need to: Back up Mi Cloud (if you have Wi-Fi settings backed up), download backup to your PC and find a file with your network settings (usually backup.ab archive). πŸ“– Also read How to Change the Badge 4G Xiaomi: 5 working-class (2026) Step-by-step instructions for changing the icon 4G/LTE on smartphones Xiaomi (Redmi, POCO). Setting up mobile Internet MTS on Xiaomi: step-by-step instructions 2026 How to set up correctly 4G/5G MTS on smartphones Xiaomi (Redmi, POCO)? Automatic and manual How to find out how much Internet spent on Xiaomi: full review Detailed instructions for checking traffic consumption on Xiaomi. Find out what apps eat mobile How to connect Xiaomi to a car radio recorder through USB: Read how to connect Xiaomi smartphone to a car radio recorder through USB. Set up Android Auto, MIUI How to connect your phone to a Xiaomi TV: 5 ways + FAQ Step-by-step instructions for connecting a smartphone with Xiaomi TV via Wi-Fi, HDMI, Miracast and other methods Connecting without internet access via WiFi on Xiaomi: fixing Xiaomi Phone writes "Connected, no internet access"? Learn how to fix a WiFi error on MI πŸ“± XiaoMaster πŸ”“ Reset and release Β· βš™οΈ System setup Β· πŸ’Ύ Memory and files Β· πŸ”Š Sound and vibration Β· πŸ“Έ Camera and photo Β· πŸ“‘ Communication and network Home Β· About the project Β· Contacts Β· Privacy Β© XiaoMaster, all rights reserved. Accept document.getElementById('pbMenuBtn')?.addEventListener('click', () => { document.getElementById('pbMainNav')?.classList.toggle('pb-nav-open'); }); // Dropdown menu toggle (click for touch devices) document.querySelectorAll('.pb-dropdown-toggle').forEach(btn => { btn.addEventListener('click', (e) => { e.stopPropagation(); btn.closest('.pb-nav-dropdown').classList.toggle('pb-dd-open'); }); }); document.addEventListener('click', () => { document.querySelectorAll('.pb-nav-dropdown.pb-dd-open').forEach(d => d.classList.remove('pb-dd-open')); }); (function() { const popup = document.getElementById('cookie-consent'); const btn = document.getElementById('cookie-accept'); if (popup && btn &&!localStorage.getItem('cookie-accepted')) { setTimeout(() => popup.classList.add('pb-cookie-visible'), 1500); btn.onclick = () => { localStorage.setItem('cookie-accepted','true'); (function(d,s){d.getElementById("licnt06C4").src= "https://counter.yadro.ru/hit?t26.5;r"+escape(d.referrer)+ ((typeof(s)=="undefined")?"":";s"+s.width+"*"+s.height+"*"+ (s.colorDepth?s.colorDepth:s.pixelDepth))+";u"+escape(d.URL)+ ";h"+escape(d.title.substring(0,150))+";"+Math.random()})(document,screen) πŸͺ We use cookies to improve the operation of the website. popup.classList.remove('pb-cookie-visible'); }; } })(); function pbPollVote(el) { var poll = el.closest('.pb-poll'); if (poll.classList.contains('voted')) return; poll.classList.add('voted'); el.classList.add('selected'); var opts = poll.querySelectorAll('.pb-poll-option'); var n = opts.length; var raw = []; var sum = 0; for (var i = 0; i < n; i++) { var v = Math.random() * 50 + 5; if (opts[i] === el) v += 30; raw.push(v); sum += v; } var pcts = raw.map(function(v) { return Math.round(v / sum * 100); }); var diff = 100 - pcts.reduce(function(a,b){ return a+b; }, 0); pcts[Array.from(opts).indexOf(el)] += diff; setTimeout(function() { opts.forEach(function(opt, i) { opt.querySelector('.pb-poll-bar').style.width = pcts[i] + '%'; opt.querySelector('.pb-poll-pct').textContent = pcts[i] + '%'; }); }, 50); }