-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Needs changes for Android 10 (Lineage 17) #6
Comments
thanks @matthijskooijman for the report!
@jimklimov can you share what Android version and phone model you use? Obviously what works for one fails for other and vice versa, so I'd like to at least document it in readme (or maybe add options to select which to use). |
For now I've documented it and created a new |
I see this issue is closed, but figured I'd add a note here: I am on Android 11 & LIneageOS and |
BTW the file location changed to |
note the alternative location for WifiConfigStore.xml as reported in #6 (comment)
@ildar thanks, added |
I tried your script today to import a wpa_supplicant.conf from Android 7 (Fairphone Open OS) into Android 10 (Lineage 17.1), but it needed some changes to work. In the hope that this might benefit others, I'm documenting what I did here.
Without changes, the produced file produces the following logcat warning:
Comparing the system-generated file with the script-generated file confirms that there should not be a dash between the SSID and the keymgmt. Other changes are the file version number (1 vs 3), but that does not seem to matter, Android autobumps it. And some of the Allowed fields have a few more bits in the script-generated version (probably because the script allows everything by default). However, the AllowedProtocols field does seem to cause a problem:
Bit 3 is WAPI, I suspect Android 10 does not support it anymore (here is also some docs with the WAPI value grayed out). Unsetting that bit, fixes the error.
With the changes below, I managed to import 63 of my networks (one failed, but that one is a bit weird in wpa_supplication.conf).
The text was updated successfully, but these errors were encountered: