Tested with krillin #20 (ubuntu-touch/ubuntu-rtm/14.09). While the basic fix works, it can still cause the SIM selection to flip once after upgrade.
Here's the scenario, if two SIMs are in the phone, and the user hasn't yet used the Cellular Settings to pin a SIM for mobile data, then both SIMs will have 'Powered=1' in the associated gprs settings files. Let's say for instance, that mobile data was using SIM2 when the upgrade occurs. At this point, when the phone boots, say SIM1 takes longer to register thant SIM2. When SIM1 comes online, the gprs settings file is read, and 'Powered=1', so the fix causes the other SIM's 'Powered' to be set to 0. This doesn't happen when SIM1 came online, because since SIM2 wasn't online yet, it didn't have a valid gprs atom, so it's 'Powered' property couldn't yet be set to '0'. This will only happen the first time after upgrade, and only if the user previously had two SIMs installed *and* they'd never used Cellular Settings to pin mobile data to a specific SIM yet, and the non-selected SIM comes online *after* the SIM that currently is being used for mobile data. >From this point on, the fix works as expected... and the selected SIM will only change in response to the user changing the setting. -- You received this bug notification because you are a member of Ubuntu Phonedations bugs, which is subscribed to ofono in Ubuntu. https://bugs.launchpad.net/bugs/1413672 Title: The SIM used for data in MTK-based dual-standby modems can change after carrier re-registration or reboot Status in the base for Ubuntu mobile products: Fix Committed Status in ofono package in Ubuntu: Fix Committed Status in ofono package in Ubuntu RTM: Fix Committed Bug description: When there are 2 SIMs inserted in a krillin running Ubuntu, it may happen that the one that gets used for mobile data changes on each reboot. ofono allows both SIMs to be activated for data. For multi-sim standby modems this implies that on each reboot, or even more, when one of the SIMs loses coverage, the SIM used for data can change as only one slot can be attached at a time. Note, this bug applies to RTM as of version ubuntu-touch/stable #14. It also applies to vivid devel-images. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413672/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs More help : https://help.launchpad.net/ListHelp

