Mygod / VPNHotspot

Share your VPN connection over hotspot or repeater! (root required)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

internal error for short custom SSID repeater after Android 10 March 2020 security patch

Mygod opened this issue · comments

commented

Shit.

Only thing I can offer is that creating a password works in PDAnet (Android 10) Even though you can't pick your own SSID. Idunno if that helps you towards your goal.

commented

It's only going to work if your SSID starts with DIRECT-xy, no?

Screenshot_20200315-174214_1
Apparently that seems to be the case.

Screenshot_20200315-175038
Well, that's good to know.

commented

It seems like actually SSID has to be at least 9 characters long instead of having to conform to "DIRECT-xy". This is the commit that broke it: https://android.googlesource.com/platform/frameworks/opt/net/wifi/+/221cd9e93b94def60aa4a5adbdd3bfa91502bdc8%5E%21/

commented

A patch reverting the change has been submitted: https://android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/1261161

Y'all are welcome to go there and +1.

commented

Please also go star this issue at Google: https://issuetracker.google.com/issues/152250230

The best way to fix this is to get Google to revert their changes.

commented

If you are using Android 10 March 2020 security patch or newer, in the next update, you will see an option to turn off "Repeater safe mode", this will enable the "legacy behavior" that you would get on Android 9- but short SSIDs work according to my test.

Turning it off means all the caveats from the legacy behavior; see also: #8 (comment), #31.

P.S. It is not necessary to turn off safe mode if you do not encounter "internal errors". A more reliable way to tell whether your ROM has this "feature" merged would be to look at ro.system.build.id and see if the second segment is at least 200305.

This commit is known to be contained in android-10.0.0_r30, android-r-preview-2 or newer.