Need access to wpa_supplicant.conf


-Dr3X

Members
Aug 17, 2022
6
3
Hi guys, new here.

I need to find a way to recover a wifi password. Cant connect to the SSID anymore as it has changed. Is my understanding the password is on /data/misc/wifi/wap_supplicant.conf
When use adb shell I can get just as far as to /data/misc, then says permission denied.
if try to do adb pull /data/misc/wifi/wpa_suplicant.conf , i get the following:

C:\platform-tools>adb pull /data/misc/wifi/wpa_suplicant.conf
adb: error: failed to stat remote object '/data/misc/wifi/wpa_suplicant.conf': Permission denied

Any Idea how I can read the file?

Best Regards
-Dr3X
 
Hi guys, new here.

I need to find a way to recover a wifi password. Cant connect to the SSID anymore as it has changed. Is my understanding the password is on /data/misc/wifi/wap_supplicant.conf
When use adb shell I can get just as far as to /data/misc, then says permission denied.
if try to do adb pull /data/misc/wifi/wpa_suplicant.conf , i get the following:

C:\platform-tools>adb pull /data/misc/wifi/wpa_suplicant.conf
adb: error: failed to stat remote object '/data/misc/wifi/wpa_suplicant.conf': Permission denied

Any Idea how I can read the file?

Best Regards
-Dr3X
I dont know which android version you have… there are restrictions to get access to system files. there are alot ways to get access

use a magisk module and copy the file to a directory where you have access

or.. .

# install magisk & mix explorer
# grant root in magisk to mix explorer
# grant root access in mix explorer -> settings - more settings - allow root
 
I dont know which android version you have… there are restrictions to get access to system files. there are alot ways to get access

use a magisk module and copy the file to a directory where you have access

or.. .

# install magisk & mix explorer
# grant root in magisk to mix explorer
# grant root access in mix explorer -> settings - more settings - allow root
MIUI 13.0.6
Android 12SKQ1.211006.001

Phone is not rooted.

I rather not root the phone, if possible.


Does your instructions are usable for non root phone?

Thanks
 
MIUI 13.0.6
Android 12SKQ1.211006.001

Phone is not rooted.

I rather not root the phone, if possible.


Does your instructions are usable for non root phone?

Thanks
no… sorry if you are on a12.thats one thing i have not updated :) but its about 15 minutes to install magisk / root
 
of course… there are many roads to magisk here is one..
if you have any questions please put them into this topic

Well, got stuck on using fastboot.

It fails on the second part.

C:\platform-tools>fastboot flash boot magisk_patched.img
Sending 'boot_a' (196608 KB) OKAY [ 4.298s]
Writing 'boot_a' FAILED (remote: 'Flashing is not allowed in Lock State')
fastboot: error: Command failed


Found this command but still fail.

C:\platform-tools>fastboot oem unlock
FAILED (remote: 'Token Verify Failed, Reboot the device')


The phone is on dev mode, oem unlocking is on.


Any ideas?????

Thanks

-Dr3X
 
Well, got stuck on using fastboot.

It fails on the second part.

C:\platform-tools>fastboot flash boot magisk_patched.img
Sending 'boot_a' (196608 KB) OKAY [ 4.298s]
Writing 'boot_a' FAILED (remote: 'Flashing is not allowed in Lock State')
fastboot: error: Command failed


Found this command but still fail.

C:\platform-tools>fastboot oem unlock
FAILED (remote: 'Token Verify Failed, Reboot the device')


The phone is on dev mode, oem unlocking is on.


Any ideas?????

Thanks

-Dr3X


I found a way to retrieve the Wi-Fi password needed.


Pretty simple, made a backup using the phone app then open the Wi-Fi setting .bak file and look for the key.

Thanks for the help

-Dr3X