[REQUEST] Add EAP-SIM Support


Aug 14, 2014
54
23
18
#1
Hi everybody,

I want to ask you if it's possible to add EAP-SIM support on CM11 (or in any ROM, I tried pretty much all of them, and any one is supporting it).

What is EAP-SIM ?


Basically, this is just a protocol that allows you to connect to a special Wifi network (in my case with the netowrk "FreeWifi_secure") without having to type in any password. You're automatically authenticated using you SIM card, which, obviously, is a SIM card of the company which provides the Wifi network.

What's the problem with CM11 ?


First of all, the phone doesn't give the possibility to connect through the SIM card. That's how CM11 looks like when we try to cnnect such a network :



That's how the menu should look like to allow the connection to the network :



After searching a lot on the web, I understood that Android AOSP dosen't includes libraries to connect to such a network. As CM is based on Android AOSP, this is normal that it doesn't support it. Is there a way to add it in CM11 ? Or at least, to give a patch for users who need this option ?

Useful links for developpers :

https://code.google.com/p/seek-for-android/wiki/EapSimAka

https://android-review.googlesource.com/#/q/message:eap-sim,n,z


This is also important to underline that this feature has been requested to Google since 2010, and nothing has changed, despite the fact that near 10 000 persons starred the issue and more than 1200 persons wrote a comment : https://code.google.com/p/android/issues/detail?id=9329
 
Likes: Beyaz
Aug 14, 2014
54
23
18
#3
Hi,

I'm gonna try that ! Thank you for the information dude !
Anyway, if someone could add this feature into CM11, it would be great !
 
Oct 26, 2013
648
217
80
#4
Hi everybody,

I want to ask you if it's possible to add EAP-SIM support on CM11 (or in any ROM, I tried pretty much all of them, and any one is supporting it).
What is EAP-SIM ?

Basically, this is just a protocol that allows you to connect to a special Wifi network (in my case with the netowrk "FreeWifi_secure") without having to type in any password. You're automatically authenticated using you SIM card, which, obviously, is a SIM card of the company which provides the Wifi network.
What's the problem with CM11 ?

First of all, the phone doesn't give the possibility to connect through the SIM card. That's how CM11 looks like when we try to cnnect such a network :



That's how the menu should look like to allow the connection to the network :



After searching a lot on the web, I understood that Android AOSP dosen't includes libraries to connect to such a network. As CM is based on Android AOSP, this is normal that it doesn't support it. Is there a way to add it in CM11 ? Or at least, to give a patch for users who need this option ?

Useful links for developpers :

https://code.google.com/p/seek-for-android/wiki/EapSimAka

https://android-review.googlesource.com/#/q/message:eap-sim,n,z


This is also important to underline that this feature has been requested to Google since 2010, and nothing has changed, despite the fact that near 10 000 persons starred the issue and more than 1200 persons wrote a comment : https://code.google.com/p/android/issues/detail?id=9329
Actually Android supports it but Settings.apk don't so you need to enter configuration directly into WiFi configuration file.
 
Aug 14, 2014
54
23
18
#5
Hi,

Unfortunately, no, it's not working because I have already tried everything I was able to do before posting this thread. Indeed, many tutorials on the web explains that we have to modifiy the wpa_supplicant file. That's what I did and it's still not working. That's why I think EAP-SIM is neither implemented on Settings.apk nor on Android (AOSP, of course, because some ROM not based on AOSP or some manufacturer ROM support it)
Actually, this links seems very useful to help implementing EAP-SIM on android but, as I'm not a developper, I can't do anything :

https://code.google.com/p/seek-for-android/wiki/EapSimAka


EDIT : Unfortunately, after testing latest MIUI release (4.8.22) as advised me cpasmoi, EAP-SIM is still not working, even with the wpa_supplicant file modified (SIM option is still not here). Definitely, there isn't any ROM for Mi2S which supports EAP-SIM ! If someone could help me, it would be great. Thanks for reading such a long message !
 
Last edited:
Oct 26, 2013
648
217
80
#6
Hi,

Unfortunately, no, it's not working because I have already tried everything I was able to do before posting this thread. Indeed, many tutorials on the web explains that we have to modifiy the wpa_supplicant file. That's what I did and it's still not working. That's why I think EAP-SIM is neither implemented on Settings.apk nor on Android (AOSP, of course, because some ROM not based on AOSP or some manufacturer ROM support it)
Atually, this links seems very useful to help implementing EAP-SIM on android but, as I'm not a developper, Ican't do anything :

https://code.google.com/p/seek-for-android/wiki/EapSimAka


EDIT : Unfortunately, after testing latest MIUI release (4.8.22) as advised me cpasmoi, EAP-SIM is still not working, even with the wpa_supplicant file modified (SIM option is still not here). Definitely, there isn't any ROM for Mi2S which supports EAP-SIM ! If someone could help me, it would be great. Thanks for reading such a long message !
I will take a look at source code,maybe something can be done.
 
Aug 14, 2014
54
23
18
#12
Hi,

@M1cha : I just installed the ROM you advised me. But, unfortunately, like all Mi2S ROMs, EAP-SIM is not supported. (wifi network is stuck on "Connecting")
Hope somebody will help me to fix this issue ! ;)
 
Oct 26, 2013
648
217
80
#16
Its not possible,there's no simple switch in source code to make it working,code rewriting is needed and I doubt anyone will do it since Android L will come in a month or so.
 
Aug 14, 2014
54
23
18
#17
Hi,

Ok, thank you for your franchise. The only thing I can do now is to wait for Android L and hope that this feature will be built-in. But I doubt it.