Open stan2100 opened 6 years ago
hi stan,
You have to check first where your busy box binary is installed on your device and edit the script file for wpa_supplicant provided here in the script folder accordingly. Once you've edited it to point to where busy box is installed on your device (if you've needed to), you have to then create a file called "mac" in your /dev folder. The wpa_supplicant script file provided here is written to communicate with the /dev/mac file before it communicates with wpa_supplicant_real, so it is absolutely nesessary to create that file and place it in /dev, otherwise your WiFi won't start, as you have already mentioned. So here's a summary of what you need to do - first, edit the wpa_supplicant script provided here in scripts to point to where your busy box is installed. Second, create a file called mac and place it in /dev. Third, install the app and check the button there at the bottom of the screen. If it reads, "uninstall changes", you're good to go and all of this should work as intended.
Hi, I manually created the file /system/bin/wpa_supplicant (according to the file in script on github). And I renamed the original file to wpa_supplicant_real. I chmod /system/bin/wpa_supplicant 0755 and I tried root:shell and +x this file. I have not installed the app for this test. When I run wpa_supplicant (in adb shell), it says: file not found, and I cannot start wifi. My device runs Samsung stock rom 6.01. Can anyone tell me how I can reroute the request properly to /system/bin/wpa_supplicant_real?