{"id":13050,"date":"2025-06-17T06:52:09","date_gmt":"2025-06-17T06:52:09","guid":{"rendered":"https:\/\/www.hovatek.com\/blog\/?p=13050"},"modified":"2025-06-17T06:52:10","modified_gmt":"2025-06-17T06:52:10","slug":"extracting-wi-fi-passwords-screen-mirroring-wired-wireless-on-a-rooted-redmi-10a","status":"publish","type":"post","link":"https:\/\/www.hovatek.com\/blog\/extracting-wi-fi-passwords-screen-mirroring-wired-wireless-on-a-rooted-redmi-10a\/","title":{"rendered":"Extracting Wi-Fi Passwords &amp; Screen Mirroring (Wired + Wireless) on a Rooted Redmi 10A"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">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\u2019s when it hit me:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Rooted phones + ADB = Full control.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And not just for Wi-Fi passwords. I also wanted to <strong>mirror and control my phone screen wirelessly<\/strong> from my PC, for faster typing, app control, and even tutorials. So I decided to make it happen.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Requirements<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Google Platform Tools (ADB)<\/strong> (<a href=\"https:\/\/www.hovatek.com\/forum\/thread-588.html\">https:\/\/www.hovatek.com\/forum\/thread-588.html<\/a>)<\/li>\n\n\n\n<li><strong>scrcpy (screen mirroring tool)<\/strong> &#8211; <a href=\"https:\/\/scrcpy.org\/download\/\">https:\/\/scrcpy.org\/download\/<\/a><\/li>\n\n\n\n<li><strong>Rooted Redmi 10A<\/strong> (You can check out my post on that here)<\/li>\n\n\n\n<li><strong>USB debugging enabled<\/strong><\/li>\n\n\n\n<li><strong>USB debugging security enabled<\/strong><\/li>\n\n\n\n<li><strong>Loggedin MiAccount<\/strong><\/li>\n\n\n\n<li><strong>Windows PC<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Phase 1 \u2013 Setting Up ADB Connections (Wired and Wireless)<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I connected my phone via USB, navigated to the Fastboot directory, and opened the Command Prompt by typing &#8216;cmd&#8217; in the Windows address bar.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the Command Prompt opened, I checked for the ADB device and successfully established a connection.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"977\" height=\"512\" src=\"https:\/\/www.hovatek.com\/blog\/bpyeki\/uploads\/2025\/06\/adb-device-found.png\" alt=\"adb shell\" class=\"wp-image-13053\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, I entered the command <strong><em><code>su<\/code> <\/em><\/strong>to gain root access to the phone, followed by <code>cat \/data\/misc\/apexdata\/com.android.wifi\/WifiConfigStore.xml<\/code> to display the XML file containing the saved Wi-Fi passwords. When running the <strong><em><code>su<\/code> <\/em><\/strong>command, you must grant superuser access on your phone to proceed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"977\" height=\"511\" src=\"https:\/\/www.hovatek.com\/blog\/bpyeki\/uploads\/2025\/06\/password.png\" alt=\"adb shell 2\" class=\"wp-image-13056\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see, it&#8217;s that simple, I\u2019m connected to the MiFi, and the password is <strong>&#8216;66452574&#8217;.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, let&#8217;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 <code><strong>adb tcpip 5555<\/strong><\/code> to enable ADB over Wi-Fi. Make sure you have exited the shell using the <code>exit<\/code> command; otherwise, the command won\u2019t work. After that, disconnect the USB cable and run <code><strong>adb connect &lt;phone_ip_address&gt;:5555<\/strong><\/code> to establish a wireless connection. If you skip this step, you\u2019ll get the error: <em>no devices\/emulators found<\/em>. You can find your phone\u2019s IP address by checking the connected Wi-Fi device information on your phone or by using the status menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/www.hovatek.com\/blog\/bpyeki\/uploads\/2025\/06\/Dark-Blue-and-Yellow-Bold-Modern-Professional-Attractive-YouTube-Thumbnail-3.jpg\" alt=\"adb shell 3\" class=\"wp-image-13062\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Phase 2: Mirror + Control Phone from PC (scrcpy)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Next, I moved to screen mirroring and more importantly, <strong>wireless remote control<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What I used:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a class=\"\" href=\"https:\/\/github.com\/Genymobile\/scrcpy\">scrcpy<\/a><\/li>\n\n\n\n<li>USB for first-time setup<\/li>\n\n\n\n<li>My rooted phone + ADB<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Running scrcpy via USB<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">I ran the <code>adb disconnect<\/code> command to end the wireless connection. Then, I connected my Redmi 10A and launched the GUI version of Scrcpy.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/www.hovatek.com\/blog\/bpyeki\/uploads\/2025\/06\/Dark-Blue-and-Yellow-Bold-Modern-Professional-Attractive-YouTube-Thumbnail-4.jpg\" alt=\"adb shell 4\" class=\"wp-image-13064\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The phone\u2019s screen appeared instantly on my PC, fast, smooth, and fully controllable. Note that you won\u2019t be able to control the device with Scrcpy unless USB debugging (including the security settings) is enabled.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>No extra setup needed <\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Just connect to your Redmi 10A wirelessly using the ADB commands we discussed earlier.<\/strong><\/li>\n\n\n\n<li><strong>Run Scrcpy and enjoy seamless remote control of your device.<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/www.hovatek.com\/blog\/bpyeki\/uploads\/2025\/06\/Dark-Blue-and-Yellow-Bold-Modern-Professional-Attractive-YouTube-Thumbnail-6.jpg\" alt=\"adb shell 5\" class=\"wp-image-13066\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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\u2019t just about tools, it was about <em>owning<\/em> your device and <em>understanding<\/em> your system. And that\u2019s something most users never dare to do.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>If you\u2019re ready to go beyond the surface and truly make your device yours, this is the path<\/em><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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\u2019s when it hit me: Rooted phones + ADB = Full control. And not just for Wi-Fi passwords. I also [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":13079,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[818],"tags":[],"class_list":["post-13050","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts\/13050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/comments?post=13050"}],"version-history":[{"count":20,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts\/13050\/revisions"}],"predecessor-version":[{"id":13081,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts\/13050\/revisions\/13081"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/media\/13079"}],"wp:attachment":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/media?parent=13050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/categories?post=13050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/tags?post=13050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}