network interfaces selection - Android Q&A, Help & Troubleshooting

Hi to all, i have a question about architecture of android OS, and i would have an answer before i start develop my custom android OS.
I would like to know wich "component" of android OS take decision about which network interface use for sending and receive data. As we know, if our system has a 4g network active and is connected to a wifi network too, all network data goes through wifi connection.
I would like to know which is the portion of os that "take" this decision, and if is possible to modify it for manage network connections and traffic forwarding in different way as default (for example send automatically an email with 3g network also if a wifi network is active).

Related

[Q] How to enable 3G on Viewpad 7

I have recently purchased a viewpad 7. I have also enabled 3G services from my operator. Can somebody help me in the following:-
(a) How to start a video call?
(b) What will be the indication for 3G services running on the pad?
(c) Can someone show me a display of the screen with 3G services enabled?
What is your mobile operator (and country, if applicable) since we have users around the globe on this sub-forum?
Based in US, I've used a prepaid 3G Sim from AT&T (also, tested my China Mobile HK/China dual phone # prepaid Sim) and getting E(dge) or 2G+ voice/data services only along with much faster secured wifi (20GB broadband) - but I'm setup to use Google Voice for all voice calls.
Regardless, the upper right portion of the status bar (on top of the display) should show the "H" or "3G" symbol when data is active.
Try by going to Settings, Wireless & network settings and check your Mobile networks - check that Data is enabled (including roaming, if applicable) and that Network Mode is configured properly, also APN is set for MMS per your mobile operator specifications, etc. etc.
I'm doubtfull about its ability to easily take/make video calls over mobile network (possible & probably easier to configure over wifi - with the proper software as bandwidth needed could be part of the issues) - however, I could be mistaken & not fully up-to-date on this.
I am using BSNL network India. In the mobile network settings on enabling data, the download E symbol shows up on the top right with arrow marks. I am able to load/upload data but no video calls. The review says that video calls are possible with the viewpad 7. But how please help.....
view this thread i have just run into the same problem
http://forum.xda-developers.com/showthread.php?t=1267297
and there is the solution, if you have a different network, pm me ill work out the solution for you
note im with o2 in the uk, as for your other questions, to indicate you have a 3g signal, there will be a 3g icon next to the signal bar, in my case its a H as im connected to a HSDPA signal.
I put my automatically: S
mahua402 said:
I have recently purchased a viewpad 7. I have also enabled 3G services from my operator. Can somebody help me in the following:-
(a) How to start a video call?
(b) What will be the indication for 3G services running on the pad?
(c) Can someone show me a display of the screen with 3G services enabled?
Click to expand...
Click to collapse
DOes it mean, your VP7 can not connect to internet via mobile/SIM module? I had the same problem with the latest official ROM from VS. I Had to install FM6-3350-0-1008-A01.nb0 which I have to find on this forum. Unfortunately I have lost Czech localization.

Cellular network issue (StraightTalk, AT&T, Marshmallow, LePro3)

Background:
LeEco LePro3 (LEX727) bought a year ago and in service since that time.
Not rooted. (Nor do I wish to root, if that was even possible.)
Use Nova Launcher for better desktop experience
StraightTalk on AT&T network. Indoors, usually shows LTE with 2 bars.
"Fully patched". LeEco EUI version 5.8.021S. (No LeEco Android updates available since 1/2017 as they pulled out of the USA market.)
Android 6.0.1.
Android security patch level January 1, 2017.
Handset worked fine for many months.
There was no obvious change or trauma to the handset (no drops, skills, weather exposure, etc.)
Lately, there have been data issues when WiFi is disabled.
(Everything still works with a WiFi connection.)
Not all features work with the StraightTalk/AT&T data connection when WiFi is disabled.
StraightTalk/AT&T data function details:
SIM card status
Signal strength -110 dBm 27 asu
Cellular network type LTE
Service status Voice: In service / Data: In service
Cellular network state Connected
Phone works (can make & receive calls).
Simple text messaging works (can send & receive texts)
MMC messaging works (can send & receive MMC texts)
(Ookla) Speedtest App works with good speeds.
Google Chrome browsing does not work "ERR_EMPTY_RESPONSE"
Firefox browsing does not work "Secure Connection Failed The connection to the server was reset while the page was loading."
Gmail does not download messages, sent messages are stuck in Outbox ("Queued")
Google Maps does not work "Can't connect to Maps".
Google Play does not work. When searching for Apps, "No internet connection. Make sure Wi-Fi or cellular data is turned on, then try again."
Troubleshooting steps taken:
Adjust AT&T APN settings used as per StraightTalk Tech Support.
Change out StraightTalk/AT&T SIM card with StraightTalk Tech Support assistance.
Factory/Hard Reset with reinstallation of all accounts & Apps.
Anyone know how to fix my web data issue? (Or know what further tests/observations to make?)

Prioritize Cellular over Wifi?

Hello everyone,
I have searched but have been unable to find an answer so I will ask the question
Is it possible to Prioritize a Cellular connection over a Wifi connection?
The main reason for this question is that we are running many Rugged android devices with a PTT application on them and when they connect to a buildings Wi-Fi network it can be congested and cause poor results. So we are looking to have the Android PTT devices connect primarily to Cellular and then when they drop Cellular signal as they head into a basement or a blackspot etc, it will search for a pre-configured Wi-Fi network and then connect it to until the Cellular network is available again.
Pretty much, we would like to know if its possible to get them to work in reverse. Prioritize Cellular over Wi-Fi rather than the default prioritize Wi-FI over Cellular.
Any assistance would be greatly appreciated
Cheers.

Android 9, MMS, national roaming and mobile data

Hi!
I started having problems with sending/receiving MMSes after upgrading my HTC U11 to Android 9 a few days ago.
The problem disappears when I turn mobile data on.
My mobile operator uses its own transmitters but also uses networks of three other operators to provide services in areas where they have no coverage.
That's why I always have National Roaming active in my settings. If I have a weak signal, I can switch to a different operator (with whom my MNO has an agreement).
For many years using different Android versions and different HTC devices I could use national roaming without having to turn mobile data on.
I turned the mobile data on only when I had no access to Wi-Fi and wanted to connect to the internet.
And now if mobile data is off I can only send/receive MMSes while connected to my home network/operator. Whenever my phone switches to a different operator, I am unable to send or receive any MMS and I have to turn mobile data on.
Looks like national roaming was previously separated (worked independently) from mobile data and now it works only when mobile data is on.
Do you think it's related to the new Android version itself, or maybe to its interaction with a specific phone model?
Best regards,
Matt

Can Android set to use data on SIM1 and SIM2 based on site URL?

I was trying to maximize the use of the data plan we have. Say, SIM1 is with provider A and SIM2 is provider B.
Both has data plan - say, SIM1 with 20 GB data monthly and SIM2 is unlimited data but on 4Mbps speed.
So, I'd like to maximize both - say, if remote site is Youtube or Facebook, use SIM2 (as 4Mbps speed). All other use SIM1.
I had been searching but to no available. Is there such a thing?
Thank you.
BTW, current phone is Huawei and not root.
Note: The phone is capable of dual 4G, both SIM connects to 4G at the same time and both already runs VoLTE connection so they should be fine. Huawei has Dual-Sim Default 4G selector only which means it goes *either* on SIM1 or SIM2.
With the above assumption, the only missing is the 'router' part within Android. This which redirect traffic based on destination server IP - similar to a home router with multi-link capability.
Which, in turn, if there is such a thing, it maybe much much benefits that you can configure to Prefer youtube on WIFI connection, facebook on SIM1 and the rest on SIM2

Categories

Resources