Skip to content

Instantly share code, notes, and snippets.

@dmpatel151282
Last active April 20, 2025 15:16
Show Gist options
  • Save dmpatel151282/34d14c61a1565d71736d5d2a637bdceb to your computer and use it in GitHub Desktop.
Save dmpatel151282/34d14c61a1565d71736d5d2a637bdceb to your computer and use it in GitHub Desktop.
Android Ethernet 802.1x support

"As of now Android doesn’t support 802.1x Authentication over Ethernet natively."

Below components need to be changed/modified

  • Ethernet Supplicant
  • Ethernet Supplicant interface (HAL)
  • EthernetManager and EthernetService/EthernetEnterpriseService
  • IPConfiguration
  • SELinux

Proposed solution supports EAP-TLS, EAP-PEAP, EAP-TTLS, EAP-MD5 and EAP-PWD authentication methods.

Solution is ready and tested on AOSP Android 4.4, Android 7, Android 9, Android 10, Android 11, Android 12, Android 13, Android 14 and Android 15 OS. Contact for more details.

#AOSP #Android #Ethernet #802.1X #Enterprise_security #LAN #EAP_over_LAN #EAPOL #EAP-TLS #TLS #PEAP #AndroidEAPOL #AOSP_EAPOL #Android_EAP_TLS #AOSP_EAP_TLS #Android_802.1x #AOSP_802.1x #Android_Ethernet_802.1x #Android_Ethernet_EAP_TLS

https://prabhusystemtech.com/2021/11/10/802_1x-authentication-over-ethernet-in-aosp-android/ https://prabhusystemtech.com/2023/05/20/setup-testing-environment-to-test-android-ethernet-802-1x/

@bocalexandru
Copy link

I am referring to the changes made by Android, when they decided to drop support for 802.1X. I am browsing their repo and cannot find any relevant changes where they decided not to support it anymore...

P.S. Can you solution be applied to a Samsung device?

@dmpatel1512
Copy link

Android only support Wifi based 802.1x. Android doesn't support Ethernet based 802.1x. The provided custom solution is different based on different version of Android OS.

@bocalexandru
Copy link

Can you assist me with some support for a specific device? Please drop me an email at [email protected]

@Thomas-Oh
Copy link

Hi Dharmesh Patel,

We are interesting in ethernet 802.1x authentication function for our Android 14 device
can I have your email address or could you send email to me([email protected]) to discuss it further?

Best Regards,
Thomas

@gnhenderson72
Copy link

gnhenderson72 commented Mar 17, 2025

I have a Zebra ET65 running Android 14. Would this work on this device and how may I contact you discuss this as well as other options we are looking for. thank you

I can be contacted at [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment