Maralexbar / Wifi-Key-View

View your Wifi saves password
GNU General Public License v3.0
14 stars 1 forks source link

Says root access needed, but phone is rooted #4

Open paulle opened 9 years ago

Maralexbar commented 9 years ago

Chek your superuser app only work in the Chainfire version

marcosilva85 commented 9 years ago

I also have this problem in cyanogenMod 11 M12. I don't understand why you need chainfire version, why shouldn't it work with the open source SuperUser?

marcosilva85 commented 9 years ago

The fix is to surround the commands after su -c <...> with ' and ' so that it becomes sudo -c 'something1 | something2' so it becomes: su -c 'cat /data/misc/wifi/wpa_supplicant.conf | busybox grep -E \"key_mgmt|ssid|psk\"' at: https://github.com/Maralexbar/Wifi-Key-View/blob/master/src/com/maralexbar/wifikeyview/MainActivity.java

Sukrit-Gupta commented 9 years ago

@marcosilva85 what can we as a user do to rectify the app?

rdonnelly2 commented 9 years ago

Where exactly is the file we need to edit and add 2 ' ' ?

ildar commented 9 years ago

@Maralexbar says that "Only work in the Chainfire SuperUser" That's inadequate but may be true.

ildar commented 9 years ago

@Maralexbar ,

You superuser app is the Chainfire superuser? No. There are many other SU implementations. Please find another way to check.

ildar commented 9 years ago

Oh! @marcosilva85 , Would you make a pull request?

rdonnelly2 commented 9 years ago

I no longer have the tablet, so not an issue for me.