This trick will help you to see the password for one of the networks you connected to in your android smartphone. The trick is divided into two methods, the first method is for those smartphone which uses Android 10 or higher and the second method is for those smartphone which uses Android 9 or lower.
Method 1: Android 10 or higher
This first method doesn’t require root or even an extra app. But it does require that your phone is running Android 10 or higher. Follow these steps
Goto Wi-Fi Settings, you will need to search your phone’s Settings menu for the “Wi-Fi” submenu. On Stock Android, that’s located in Settings –> Network & internet. Once you’ve found the Wi-Fi settings menu, go ahead and select it.
In this step, from the list of available networks and select the “Saved networks” option. From there, you’ll see a list of all the Wi-Fi networks your phone remembers. Select one.
choose the “Share” option towards the top of the screen. You’ll be asked to scan your fingerprint or face or enter your PIN or password. Upon doing so, you’ll see a QR code with that represents the network’s SSID and password. You could scan this with another device using a QR scanner if you wanted, but the password is also listed in plain text beneath the QR code, so you can copy it from there.
Method 2: Android 9 & Lower
If your are using Android 9.0 or lower, the only way to view saved Wi-Fi passwords is with a root app. The result of such will be best if your device have TWRP installed and used that to install Magisk for root. Then follow the following steps:
In the first step yo will need to install an app from the playstore. There are several app which can be used to show your Wi-Fi passwords on the Play Store, we well be sing one of such app, the one we are using in this trick is WiFi Password Viewer by SimoneDev.
After installing the app, launch WiFi Password Viewer, the app will ask for Superuser access. Tap “Grant” on the popup, then you’ll be taken to a list containing all of the Wi-Fi networks that you’ve ever connected to, where each entry shows a password beneath it.
If you need to share one of these passwords with another device, you have a few options. Start by tapping any entry in the list, then a small menu will pop up. From here, you can either tap “Copy password” to copy that network’s password to your clipboard, which would make it easy to paste into your favorite texting app and send to the other device. Or, you could skip a step and tap “Share,” then select your favorite texting app from the menu that appears to send the password.
Finally, you could also tap “QR” to make the app generate a QR code containing the network info. If the other device is a Pixel or iPhone, you can simply open the camera app, point it at the QR code, then tap the popup prompt to automatically connect it to the Wi-Fi network.