Open pejakm opened 9 years ago
The fdroid version gives the same error. CyanogenMod 11m12
Your SuperUser app is the Chainfire version?
I use this, but it never displays any superuser request from your app. (Also, your app needs have SUPERUSER permissions declared.)
The android.permission.ACCESS_SUPERUSER is declared, I update the manifest https://github.com/Maralexbar/Wifi-Key-View/blob/master/AndroidManifest.xml
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?
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
I only get error that it needs root access and busybox. Android 4.2.2 here, rooted, full busybox installed. Compiled using Eclipse.
Few notes:
android.permission.ACCESS_SUPERUSER
declared in manifest