How to access system files via adb

  • Thread starter Thread starter Android Central Question
  • Start date Start date
A

Android Central Question

Hey there,

I want get a wifi password in my Samsung Galaxy Grand Prime. I know to do it by the adb pull command. But I end up getting
Error remote object doesn't exist.

Here is what I typed.

adb pull /data/misc/wifi/wpa_supplicant.conf c:/wpa_supplicant.conf

Please help
 
Welcome to Android Central! You don't remember your own wi-fi password, or is this a password to someone else's network?
 
1. /data/misc/wifi probably doesn't exist.

2. To get to any folder in /data (nothing in /data is accessible without root), you have to:

adb shell "su -c cat /data/<wherever the file is>/wpa_supplicant.conf" > c:/wpa_supplicant.conf

(You'll have to find where the wpa_supplicant.conf is kept. [It's possible that Samsung put it in /data/misc/wifi/ - Google didn't. There's no wifi folder in my /data folder in my Pixel 2.])
 

Trending Posts

Forum statistics

Threads
956,253
Messages
6,967,230
Members
3,163,495
Latest member
sadda