Extracting Wi-Fi Passwords & Screen Mirroring (Wired + Wireless) on a Rooted Redmi 10A



Ever had someone connect your phone to Wi-Fi without telling you the password? That was me, connected, but in the dark. I wanted the password so I could connect my laptop and other devices too. That’s when it hit me:

Rooted phones + ADB = Full control.

And not just for Wi-Fi passwords. I also wanted to mirror and control my phone screen wirelessly from my PC, for faster typing, app control, and even tutorials. So I decided to make it happen.

Requirements

Phase 1 – Setting Up ADB Connections (Wired and Wireless)

I connected my phone via USB, navigated to the Fastboot directory, and opened the Command Prompt by typing ‘cmd’ in the Windows address bar.

Once the Command Prompt opened, I checked for the ADB device and successfully established a connection.

adb shell

Next, I entered the command su to gain root access to the phone, followed by cat /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml to display the XML file containing the saved Wi-Fi passwords. When running the su command, you must grant superuser access on your phone to proceed.

adb shell 2

As you can see, it’s that simple, I’m connected to the MiFi, and the password is ‘66452574’.

Now, let’s try using a wireless ADB connection. First, ensure your phone and computer are connected to the same Wi-Fi network. Then, connect your phone via USB and run adb tcpip 5555 to enable ADB over Wi-Fi. Make sure you have exited the shell using the exit command; otherwise, the command won’t work. After that, disconnect the USB cable and run adb connect <phone_ip_address>:5555 to establish a wireless connection. If you skip this step, you’ll get the error: no devices/emulators found. You can find your phone’s IP address by checking the connected Wi-Fi device information on your phone or by using the status menu.

adb shell 3

Phase 2: Mirror + Control Phone from PC (scrcpy)

Next, I moved to screen mirroring and more importantly, wireless remote control.

What I used:

  • scrcpy
  • USB for first-time setup
  • My rooted phone + ADB

Running scrcpy via USB

I ran the adb disconnect command to end the wireless connection. Then, I connected my Redmi 10A and launched the GUI version of Scrcpy.

adb shell 4

The phone’s screen appeared instantly on my PC, fast, smooth, and fully controllable. Note that you won’t be able to control the device with Scrcpy unless USB debugging (including the security settings) is enabled.

No extra setup needed

  • Just connect to your Redmi 10A wirelessly using the ADB commands we discussed earlier.
  • Run Scrcpy and enjoy seamless remote control of your device.
adb shell 5

With just a rooted phone, ADB, and the right tools, I went from passive user to active controller. Every locked setting, hidden file, or inaccessible feature became an invitation to explore. This experience wasn’t just about tools, it was about owning your device and understanding your system. And that’s something most users never dare to do.

If you’re ready to go beyond the surface and truly make your device yours, this is the path



Leave a Comment

Your email address will not be published. Required fields are marked *

Join us
WhTlYt
Scroll to Top