Retrieve saved wifi password without root - Galaxy Note 4 Q&A, Help & Troubleshooting

Dear all,
I am currently using a totally stock unrooted Note 4 (the G variant). I need to retrieve a wifi password for my school wifi network, which I cannot recall. I tried using adb to retrieve wpa_supplicant.conf from my phone (adb pull /data/misc/wifi/wpa_supplicant.conf c:/wpa_supplicant.conf), but apparently the file does not exist (the exact error message I got was "the remote object '/data/misc/wifi/wpa_supplicant.conf' does not exist").
Can anyone with a rooted phone advise me if the above address is the correct location for the wpa_supplicant.conf on our Note 4? If not, where is the exact location for this file? Is it because the phone is not rooted that prevents me from retrieving the file using adb?
Any other solution would be greatly appreciated.
Thank you.

huy_lonewolf said:
Dear all,
I am currently using a totally stock unrooted Note 4 (the G variant). I need to retrieve a wifi password for my school wifi network, which I cannot recall. I tried using adb to retrieve wpa_supplicant.conf from my phone (adb pull /data/misc/wifi/wpa_supplicant.conf c:/wpa_supplicant.conf), but apparently the file does not exist (the exact error message I got was "the remote object '/data/misc/wifi/wpa_supplicant.conf' does not exist").
Can anyone with a rooted phone advise me if the above address is the correct location for the wpa_supplicant.conf on our Note 4? If not, where is the exact location for this file? Is it because the phone is not rooted that prevents me from retrieving the file using adb?
Any other solution would be greatly appreciated.
Thank you.
Click to expand...
Click to collapse
Without root you can try in Facebook of Samsung.
Is the better solution for you.
Xda is a forum of hacking.

Rajada said:
Without root you can try in Facebook of Samsung.
Is the better solution for you.
Xda is a forum of hacking.
Click to expand...
Click to collapse
Without root we can still use adb, which I believe is sufficient for the purpose of retrieving files from root folders (I may be wrong, that is why I ask the question in my OP), one of which contains all saved wifi passwords. Regardless, I find it extremely hard to believe that Samsung will ever entertain such a request if you approach them.
Since I have you here, and assuming that you are using a rooted Note 4, could you let me know where you can find the file wpa_supplicant.conf on your Note 4? You can use ES File Explorer to navigate to those root folders.
Thank you.

huy_lonewolf said:
Without root we can still use adb, which I believe is sufficient for the purpose of retrieving files from root folders (I may be wrong, that is why I ask the question in my OP), one of which contains all saved wifi passwords. Regardless, I find it extremely hard to believe that Samsung will ever entertain such a request if you approach them.
Since I have you here, and assuming that you are using a rooted Note 4, could you let me know where you can find the file wpa_supplicant.conf on your Note 4? You can use ES File Explorer to navigate to those root folders.
Thank you.
Click to expand...
Click to collapse
I'm not a expert on non rooted phones, but I think to use adb, you need at least a permissive selinux kernel and a non secure kernel.
Without that 2 conditions your better solution is the Facebook of Samsung.
....and yes. Your path for wpa_suppIicant.conf is correct and that file contains wifi passwords.

Related

[Q] Borked my Wifi

I wanted to enable wifi tethering with my Verizon Galaxy Tab to my Fascinate. Now I cannot get my Tab to see any networks.
I thought I'd made a clean copy of my original wpa_supplicant. BUT I cannot find it - seems to have gotten deleted.
If someone would post me a clean copy of the /system/bin/wpa_supplicant I would greatly appreciate.
Thanks
If the t-mobile one is the same I can share it just unsure if it is
Sent from my GT-P1000 using XDA App
I tried it - didn't really help
jay_jay_n said:
If the t-mobile one is the same I can share it just unsure if it is
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
I tried it but it didn't help.
Thanks tho
UnBorked
As I said, I was trying to get the wpa_supplicant file replaced and Wifi AndroidTether working.
I tried everything. Until I went to data/wifi and copied bcm_supp.conf from my Samsung Fascinate.
Bingo Bongo Bingo!!!
Unborked!!!!
benlane said:
Until I went to data/wifi and copied bcm_supp.conf from my Samsung Fascinate.
Unborked!!!!
Click to expand...
Click to collapse
Hi, i'm actually experiencing the same situation but i don't have a clean copy of "bcm_supp.conf". Could you provide the file or its structure? Thank you
No Wifi
selene107 said:
Hi, i'm actually experiencing the same situation but i don't have a clean copy of "bcm_supp.conf". Could you provide the file or its structure? Thank you
Click to expand...
Click to collapse
Hi,
So far none of the modifications i've tried worked, so if anyone has any suggestions please let me know.
1) Removed "bcm_supp.conf", so it got recreated - no effect.
2) Took a copy of "wpa_supplicant.conf" and renamed it "bcm_supp.conf" since they may have the same contents - no effect.
3) Modified "wifi.conf" with a different path and the file got recreated there - no effect.
[....
SUPP_CONFIG_TEMPLATE=/system/etc/wifi/wpa_supplicant.conf
SUPP_CONFIG_FILE=/data/wifi/bcm_supp.conf ==> SUPP_CONFIG_FILE=/data/misc/wifi/bcm_supp.conf
...
SUPP_CONF_FILEPATH=/data/misc/wifi/
...]
Rebooted the unit after each experiment and attempted to turn wifi on. It tries to scan and finds absolutely nothing (no AP) even though it used to.
Thanks
when i change my wpa_supplicant file to see adhoc networks i faced the same problem and i figured that it was because of the file security settings chmod it to 766 and it worked. you can try this.
Unable to scan networks
kromosto said:
when i change my wpa_supplicant file to see adhoc networks i faced the same problem and i figured that it was because of the file security settings chmod it to 766 and it worked. you can try this.
Click to expand...
Click to collapse
I found a wpa_supplicant.conf in /etc/ and a bcm_supp.conf in /data/misc/wifi (not in (/data/wifi like I read in many forum posts). Which of these files do I need to remove or correct in my Samsung Moment 2.1?
simian340 said:
I found a wpa_supplicant.conf in /etc/ and a bcm_supp.conf in /data/misc/wifi (not in (/data/wifi like I read in many forum posts). Which of these files do I need to remove or correct in my Samsung Moment 2.1?
Click to expand...
Click to collapse
for making it see adhoc networks?
No, for the "unable to scan for wireless networks" problem.
kromosto said:
when i change my wpa_supplicant file to see adhoc networks i faced the same problem and i figured that it was because of the file security settings chmod it to 766 and it worked. you can try this.
Click to expand...
Click to collapse
Thanks kromosto. It was permission related after all as file replacement with root explorer solved the issue.

[q] help me guys please

Hi guys,
I have just started using kik messenger and registered a few accounts.
But i nedeed to rest one of my accounts now i cant remember the e-mail for it.
My question is there a way to see what i typed before on my phone or what i typed in that app.
If im correct there was a file in root files that saves wifi passwords,is there a file for specific apps.
I need to learn it somehow.
Every app have a data base on the phone
You will need root access to see these files
Look for kik folder in data
But I dont know specifically where to find the file
RubbaBand said:
Every app have a data base on the phone
You will need root access to see these files
Look for kik folder in data
But I dont know specifically where to find the file
Click to expand...
Click to collapse
i have rooted my phone and using an app called rom toolbox pro,it has root browser in it and i searched for "kik" all the root files but couldnt find anything

Why cant i view saved wifi password on rooted galaxy?

Looks like all those wifi recovery apps for rooted phones just give back a hex/binary code instead of the actual wifi password
anyway to decrypt these?
all wifi passwords are in a text file
..
fffft said:
It's difficult to give you an useful answer since you provided no details at all. You'll get better answers if you tell us exactly how you tried to recover a password, program names, versions, examples, et cetera.
Start with telling us what you see in
/data/misc/wifi/ wpa_supplicant.conf
.
Click to expand...
Click to collapse
i used all those programs wifi root recovery, wifi password recover...etc
when i click on data i dont see any misc folder, nothing is really in the data folder
i have no such path
/data/misc/wifi/ wpa_supplicant.conf
..
demarco5 said:
i used all those programs wifi root recovery, wifi password recover...etc
when i click on data i dont see any misc folder, nothing is really in the data folder
i have no such path
/data/misc/wifi/ wpa_supplicant.conf
Click to expand...
Click to collapse
ok i found the file
ssid:cisco
psk=225bc5c03f545744174477eebad879295
key_mgmt=wpa-psk
priority-10
frequence-2412
autojoin-1
usable_internet-0
skip_internet_check=0
all PSK for every saved wifi looks like that ...all encypted
Try this.
koragg97 said:
Try this.
Click to expand...
Click to collapse
that didnt work that just shows the wpa file
demarco5 said:
i used all those programs wifi root recovery, wifi password recover...etc
when i click on data i dont see any misc folder, nothing is really in the data folder
i have no such path
/data/misc/wifi/ wpa_supplicant.conf
Click to expand...
Click to collapse
I have too this problem on my Galaxy S6 DUOS.
if all this programs recover only encrypted password.
Maybe is possible make something for android in order to save new entered password NO ENCRYPTED to "/data/misc/wifi/ wpa_supplicant.conf " ?
Hope someone can help US, encrypted passwords are useless
I found slove this problem edit BUILD.PROB:
ro.securestorage.support=true
na
ro.securestorage.support=false
REEBOT PHONE and when you connect to network USING password this password isn't encrypted
Working in Galaxy S6 DUOS ;]

[NST/G] Revisiting cacerts.bks

cacerts.bks updated 12-6-20
When the original search was on to repair the aging cacerts.bks file in order to get the Kindle app working again, one of the things I came across was a remark from a fellow who had located a Honeycomb ROM (Android 3.2...last stop before the format of the security certificate storage was changed) and copied the cacerts.bks file from it to his Android 2.2 device which was having problems with websites, etc.
I still can't get the method described by @tshoulihane in this thread to work for me. But his edited cacerts.bks file works really well in solving the problem.
Yesterday I managed to locate a CM 7 ROM (Honeycomb). It contains a largish cacerts.bks file (compared to ours) with 127 certificates, 17 of which have expired. These seem to be mostly for central/eastern European and Asian entities, so perhaps not that critical. Well, it's only 10 years old
It has worked for me with the Kindle app and perhaps will help with some of the websites that complain about a secure connection even though I have enabled TLS 1.2 in Opera Mobile. More testing is needed there.
For anyone who wants to try it out, it is attached below. To use, rename your current cacerts.bks file (that's in /system/etc/security) to cacerts.bks.bak or similar. Then move the new file (unzip) into the same place. Check permissions. They should be rw-r-r. Reboot.
This looks great... though when I tried to rename and copy the new cacerts file, I am getting blocked due to the lack of root permissions.
I'm running the 1.2.1 tweaked/modded rom so I thought it wouldn't be an issue. I also tracked down the supersu3.1.3 apk and sideloaded it, but it didn't help either. Wondering if you had any ideas?
xrayd2 said:
This looks great... though when I tried to rename and copy the new cacerts file, I am getting blocked due to the lack of root permissions.
I'm running the 1.2.1 tweaked/modded rom so I thought it wouldn't be an issue. I also tracked down the supersu3.1.3 apk and sideloaded it, but it didn't help either. Wondering if you had any ideas?
Click to expand...
Click to collapse
So was your SU app missing? Or did your file manager just not have root access?
Hard to know where to start. From my experience, the best-behaving SU for the NST/G is the one that comes with NookManager (attached below). It's old and the binaries are probably out of date, but you don't need anything better for the device.
You can try removing the one you have now, reboot, and install the one below. Then check that your file manager has root acccess. In ES File Explorer, for example, you have to go into settings and tick the selection for root access. It's not automatic. And even with that, you have to tick an additional box to mount /system as rw while you're working in it.
At one time the superuser app was included -- but is no longer linked, and I had overlooked it after initially flashing the rom.
Unfortunately, the su app you provided also doesn't work. When I try to delete the old cacerts.blk it looks like it's doing something, but then the file still remains. If I instead try to rename the file, I get "operation failed".
I tried to delete or rename using an app called "root browser", and also the file manager in "super manager" suite. When I try to enable the root explorer function in ES file manager , I get "sorry, test failed. This feature cannot run on your device."
When I go under Device info, the ROM name does indeed say "Tweaked Modded ROM". I assume this should mean it's rooted but I'll have to dig deeper.
I appreciate your help though!
xrayd2 said:
When I go under Device info, the ROM name does indeed say "Tweaked Modded ROM". I assume this should mean it's rooted but I'll have to dig deeper.
Click to expand...
Click to collapse
Mmm.... so the ROM came "rooted"? I've attached a root check app which I've tried on my NST. This should answer the question of root.
If root has been lost somehow, it might be possible to salvage what you have by running NookManager. If you don't want the various additions like Relaunch, you can remove those apps from the data/app folder once you've written the card and then make the other needed changes as described here: https://forum.xda-developers.com/nook-touch/development/nst-g-updating-nookmanager-t3873048
Or, you could just use NM as-is and uninstall unwanted material afterwards. The important thing is root and a functioning SU.
Okay... turns out my device was NOT rooted after all; I had assumed the binaries were already installed. Fortunately, I was able to find a superSU 0.93 binary and root through CWM. I replaced cacerts.blk with yours, and now the kindle app works! At first I had difficulty logging in, but turns out Amazon was emailing me a one time password after every attempt. After entering the OTP I am now up and running.
My next issue is getting Pocket working -- I installed Read it Later 1.0.1 but it's not syncing.
Thanks for the link to your other post. I will sideload the apk's you recommended.
xrayd2 said:
My next issue is getting Pocket working -- I installed Read it Later 1.0.1 but it's not syncing.
Click to expand...
Click to collapse
Might not be possible. Chatter here: https://forum.xda-developers.com/showthread.php?t=1604661&page=2 goes back to 2013.
I found reference to a functioning version in 9/2016. Had hoped it was a cacerts issue but maybe pocket changed their api.
https://forum.xda-developers.com/showpost.php?p=68600731&postcount=54
Would this be what's causing my Nook to not load certain https sites?
I can get to gmail fine, but I can't for the life of me load the todoist website
Tried loading your cacerts.bks, doesn't seem like it changed anything
I had no problem getting the Todoist home page. Logging in may be another matter.
Are you using Opera Mobile and did you make the settings change for TLS 1.2?

Any way to get file from non-rooted G5 Plus using PC?

There's a file I need from my phone, but I cannot access it as it requires root and my device is not rooted and never has been. When I read rooting guides they all state to do a wipe. Is there any way to get the file from my phone using my PC even if my phone isn't rooted?
Not sure by your vague description, but do a search of QPST and its sub program QFIL as it is Qualcomm's set of tools for development and working with their chipsets.
[email protected] said:
Not sure by your vague description, but do a search of QPST and its sub program QFIL as it is Qualcomm's set of tools for development and working with their chipsets.
Click to expand...
Click to collapse
Vague description?
- There is a file on my phone that I want to copy to my computer
- I am unable to access the file on my phone because it is in a location that requires root
- My phone is not rooted
My question is, is there a method using my pc to access the file even if my phone is not rooted? And if so, what is that method? I'm asking if my PC can get root access to files on my phone even if my phone is not rooted.
devvshukla said:
Is the "file" in [root]/data/ or [root]/system/ or it's in your internal storage and your device is locked down?
If internal then there is no way as it is encrypted.
You can copy some of them from system storage, try some file managers eg FX. I could copy the system apps with their lib from /System/apps to my SD Card.
Click to expand...
Click to collapse
I'm not sure where it's located. I was given this info from Roboform support. It's a password manager.
"By default it would be RoboForm/_user-data.rfo on your device if you have root access, the folder location itself varies from device to device."
With FX File Manager I can find two Roboform related folders, but access to both is denied without having root. Their locations are:
System/data/app
System/data/data
If you're looking for wifi passwords, and it sounds like that's what you're after, you're not going to be able to get them without root access.
Sent from my Acer Chromebook R11 (CB5-132T / C738T) using Tapatalk
riggerman0421 said:
If you're looking for wifi passwords, and it sounds like that's what you're after, you're not going to be able to get them without root access.
Sent from my Acer Chromebook R11 (CB5-132T / C738T) using Tapatalk
Click to expand...
Click to collapse
I already stated what the file is. It's my own user data from the password manager app Roboform. I need the file to import the data into the PC version, as my user data was lost. As long as I don't sync the phone app, I still have all of my 211 site logins/passwords saved... but there is no way to recover the data to the PC app without getting that file.
Isn't there a PC app that can create a 1:1 image of everything on my phone, and then another that can open the image to view the files? Or a way to root without having to lose the data in the process?
I'm just trying to avoid having to manually input every single one of my logins & passwords manually, but will if there's no other way. I've gotten about 40 done so far but quit until I got an answer here.
maybe you can use adb to pull the files
plastic_green_head said:
Vague description?
- There is a file on my phone that I want to copy to my computer
- I am unable to access the file on my phone because it is in a location that requires root
- My phone is not rooted
My question is, is there a method using my pc to access the file even if my phone is not rooted? And if so, what is that method? I'm asking if my PC can get root access to files on my phone even if my phone is not rooted.
Click to expand...
Click to collapse
Vague in that you did not say it was in
Code:
System/data/app
System/data/data
in your first post. As I posted, QFIL can dump the whole chipset, but getting it to work, and then extracting right file with a hex editor, is pretty involved.
Another option is to try using ADB backup. If the app allows itself to be backed up, then you may be able to extract the relevant files from the backup.
plastic_green_head said:
There's a file I need from my phone, but I cannot access it as it requires root and my device is not rooted and never has been. When I read rooting guides they all state to do a wipe. Is there any way to get the file from my phone using my PC even if my phone isn't rooted?
Click to expand...
Click to collapse
Hey, just use Moto lenovo software assistant and back up the file into pc and then access with your computer.
riyan65 said:
Hey, just use Moto lenovo software assistant and back up the file into pc and then access with your computer.
Click to expand...
Click to collapse
That won't work as it doesn't provide root access.
42o247 said:
maybe you can use adb to pull the files
Click to expand...
Click to collapse
[email protected] said:
Vague in that you did not say it was in
Code:
System/data/app
System/data/data
in your first post. As I posted, QFIL can dump the whole chipset, but getting it to work, and then extracting right file with a hex editor, is pretty involved.
Click to expand...
Click to collapse
NZedPred said:
Another option is to try using ADB backup. If the app allows itself to be backed up, then you may be able to extract the relevant files from the backup.
Click to expand...
Click to collapse
Thanks. I don't think I'll mess with QFIL but will give ADB backup a go.
plastic_green_head said:
That won't work as it doesn't provide root access.
Vague in that you did not say it was in
Thanks. I don't think I'll mess with QFIL but will give ADB backup a go.
Click to expand...
Click to collapse
You are not vague... simply wrong!
You need the data belonging to an app so if the phone is not rooted and the app isn't a system app their data is under /data/data/APPNAME/
The Lenovo Assistant does an adb backup,nothing more and nothing less.
nicolap8 said:
You are not vague... simply wrong!
You need the data belonging to an app so if the phone is not rooted and the app isn't a system app their data is under /data/data/APPNAME/
The Lenovo Assistant does an adb backup,nothing more and nothing less.
Click to expand...
Click to collapse
Zero idea what you're trying to say there. You also quoted me as saying something that another poster said. What exactly am I "simply wrong!" about? I stated that I can see the location of the folders on my phone, but that I cannot enter into the folders because I do not have root access. "Access Denied". Someone told me to use Lenovo MOTO Smart Assistant, so I figured they were telling me to simply use it to browse my phones directory and copy the file to my computer. Naturally, if I browse my phone with the app it does not give me root access, thus I am unable to even see data/app/APPNAME or data/data/APPNAME. The person who suggested it did not mention anything about using it to create a backup. You stated that it "does an adb backup,nothing more and nothing less." which is completely incorrect. You're the one that's wrong here. The assistant does NOT do a complete adb backup. In fact the only things you can backup using it are contacts, sms, pics, music, video, and apps. Plus it does much more. Not "nothing more and nothing less" as you stated.
Roboform creates folders in the system partition. Are you telling me I'm wrong about where the folders are located? Wrong that the assistant app doesn't even let me see system folders? Wrong that it can't be used to create a full backup? Wrong that it does more than let you back up non-system files? Because I'm not wrong about a single one of those things.
Soooooooo. That brings me to having a full backup using adb command line, but no way to extract it's contents. I tried this but the unpack feature does absolutely nothing & the main interface doesn't even see my phone. Not to mention the install is bug ridden. It creates folders in the wrong locations & with the wrong names, so I needed to manually rename & move files because the app would crash trying to find files needed to run. https://github.com/camalot/droidexplorer
Is there any way to easily unpack the backup? If not I'll just give up on this and manually input the remaining 100+ passwords one by one from my phones screen to my PC. LoL.
plastic_green_head said:
Roboform creates folders in the system partition.
Click to expand...
Click to collapse
I don't think so! No app modifies /system, it requires root access to do.
Your data is in /data/data/roboform folder.
Do the backup:
https://9to5google.com/2017/11/04/how-to-backup-restore-android-device-data-android-basics/
Unpack the data:
https://forum.xda-developers.com/showthread.php?t=2011811
nicolap8 said:
I don't think so! No app modifies /system, it requires root access to do.
Your data is in /data/data/roboform folder.
Do the backup:
https://9to5google.com/2017/11/04/how-to-backup-restore-android-device-data-android-basics/
Unpack the data:
https://forum.xda-developers.com/showthread.php?t=2011811
Click to expand...
Click to collapse
Didn't need the first link. I said I already have an adb backup. You still didn't tell me what I was previously wrong about. The file locations? I'm going by where FX File Manager tells me it's located, which says System/data/app. Does it really matter anyway? I see them, I just can't open them without rooting & once I get the extracting stuff set up I will know where to look for them. A 100% technically (in)accurate location name was irrelevant to even point out as being "not vague, just wrong".
plastic_green_head said:
Didn't need the first link. I said I already have an adb backup. You still didn't tell me what I was previously wrong about. The file locations? I'm going by where FX File Manager tells me it's located, which says System/data/app. Does it really matter anyway? I see them, I just can't open them without rooting & once I get the extracting stuff set up I will know where to look for them. A 100% technically (in)accurate location name was irrelevant to even point out as being "not vague, just wrong".
Click to expand...
Click to collapse
This is relevant, the Roboform app
a) was installed by you
b) it's an app that already was on phone
???

Categories

Resources