Samsung Android Source Code

TripFlex

Senior Member
Feb 9, 2008
127
23
0
Orlando, FL
smyl.es
Does anybody know where I can look at finding the source code for the modified version of Android that Samsung devices seem to be running?

The reason I ask is because i'm trying to figure out captive portal issues with Samsung devices (ONLY on samsung devices), as it seems they do not follow the standard Android methods for handling captive portal network login prompts.

There's numerous forums and questions online of people asking about this, and Samsung clearly has zero intention of giving any kind of answer to this ... so my only option I can think of is to try and find the source code to go through it, and figure out wtf they are doing differently to get my captive portals to trigger correctly.

Here's one forum as an example:
https://community.meraki.com/t5/Wireless-LAN/Captive-Portal-Woes-Samsung-Devices/td-p/38048

I've done everything I can imagine to get this to work, and nothing seems to work. Samsung devices don't even seem to query the `/generate_204` URL even after responding with the wifi router's IP address to DNS queries. This ONLY happens on samsung devices .. ugh!

OR if anybody knows what Samsung is doing differently in their captive portal detection, I would <3 you forever if you could provide that section of the source code

For example, here's what i found in Google's android source code:
https://android.googlesource.com/pl...ava/android/net/CaptivePortalTracker.java#340

But it appears that Samsung devices, never even get to this point of attempting to query the `/generate_204` and i don't know why! AHHH!

Just for reference, this is for my Open Source captive portal library (not for any commercial gain, but for benefit of the open source community):
https://github.com/tripflex/captive-portal
 
Last edited: