Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I rooted my device, then I go to adb shell and type su to enter wpa_cli. I was surprised that wpa_cli: not found appeared, although I get information when I type wpa_supplicant.

I know that wpa_cli is from same library wpa_supplicant .

share|improve this question
Has anyone found a compiled version of wpa_cli and p2p_cli that work on Android 5.0 and newer? Binaries require PIE support when compiled... – RoundSparrow hilltx Feb 21 at 12:53

In some cases, wpa_cli will not come along with the Android image. You have to compile and push to Android.

share|improve this answer
how can i do that ? – Hanaa Mar 8 '13 at 10:30
is it the same commands that Wifi direct used ? – Hanaa Mar 8 '13 at 10:31

Install the app: WiFi WPS WPA Tester

It has the wpa_cli binary & installs it automatically..

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.