How does AOSP on a dual sim smartphone handle data? Does it provide the option to choose the SIM when I do tethering or use the native hotspot?

  • AFAIK tethering has nothing to do with how your device is connected to internet. Tethering works even if there is no mobile data or even if you have setup Wi-Fi as the source of internet. Access Point is created by hostapd while dnsmasq runs as dhcp and dns server. Rules to forward network traffic are defined using ketnel's routing table and netfilter. So the traffic flows through whatever connection of internet you have. But a ROM may add extra feature to choose SIM when tethering is turned on. – Irfan Latif Mar 19 '19 at 12:17
  • This is mostly a question about UI, not architecture. Ideally, I could pick which sim I wanted to use for data. Does the UI afford any feature like this? – Evan Carroll Mar 26 '19 at 2:54
  • 1
    Not in my knowledge, but neither too far from possibility. – Irfan Latif Mar 26 '19 at 3:03

According to digitalcitizenlife, you have two screens you can change this under the Default Mobile Data option,

enter image description here enter image description here enter image description here

There is also a Huawei FAQ about this, "Dual SIM settings "

  • I am not sure but the screenshots and the link seems to be all Huawei specific. How does this answer the question about dual-sim on AOSP? – Robert Jan 15 '20 at 19:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.