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 .
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.Sign up to join this community
It has the latest compiled wpa_cli binary..
You can get the binary from the app's data from
/data/data, and you might push it to
/su/bin/ or wherever you need..
Instead, you can use the
wpa_supplicant binary, which can be found in many devices by default, if that's enough to do what you want..
Or if you wish, you can compile wpa_cli from source.