Closed
Bug 828089
Opened 11 years ago
Closed 11 years ago
[B2G][Settings][Cellular & Data][Network Operator] Unable to disconnect from existing network operator and connect to a new one
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: ndavidson, Assigned: swu)
References
Details
(Whiteboard: testrun 2)
Attachments
(7 files, 2 obsolete files)
This is repro on Test Run 2 Unagi Build 20130104070203 Related to CASE #3540 Description: As a user I want the phone to disconnect from an existing Network operator when the phone connects to a new network so that I am connected to one network at a time. Prerequisites: Automatic Selection is off. there are at least two available network operators to which to connect; phone is connected to the first one in the list. Repro Steps: 1. Go to Settings> Cellular and Data Settings > Network Operator 2. Turn Automatic Selection OFF, wait for the list of networks to show up First network operator on a list saying AT&T "Current" and second one T-Mobile - "Available" 4. Tap on a second ("Available") network operator (in this case T-Mobile) Actual Results: Trying to connect for several seconds then status line under network name saying "Connection failed" Expected Results: Phone connects to the second network in the list, which then moves to the top. User is able browse to a web page to test if connection works. Notes: -Repro'd 4/4 Times on multiple devices -See attached screenshot for more info Issue might be also with first carrier at&t - which might not allow connection to other carrier if at&t coverage is present.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
logcat -b radio shows "Generic Failure". D/RILC ( 111): UI --- RIL_REQUEST_SET_NETWORK_SELECTION_MANUAL (47) ---> RIL [RID 0, token id 120, data len 4] D/RILC ( 111): RID 0 corresponds to as_id 0 D/RILC ( 111): Manual network selection : 2622 D/RILC ( 111): RID 0 ph srv 3GPP(1): modem id=0, ma=Multimode(0), net_pref=GSM WCDMA preferred(0) D/RILC ( 111): UI <--- RIL_REQUEST_SET_NETWORK_SELECTION_MANUAL (47) Complete --- RIL [RID 0, Token 120, Generic Failure, Len 0 ]
Attachment #699629 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Component: Gaia → General
OS: Windows 7 → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Updated•11 years ago
|
Component: General → DOM: Device Interfaces
Product: Boot2Gecko → Core
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → swu
Assignee | ||
Comment 4•11 years ago
|
||
This is the MNC format issue, the MNC must be at least two digits. Currently all operators with MNC starting with '0' will hit this bug. This patch fixed the issue by appending '0' on MNC when there's only 1 digit.
Attachment #699749 -
Flags: review?(vyang)
Assignee | ||
Comment 5•11 years ago
|
||
The current MCC/MNC value are stored as integer. For operator, it's use exact string for matching, so it will cause problems when if MNC value starts with '0'. Fix this bug by appending '0' on MNC, and a follow up bug 828307 was created to store MCC/MNC by string.
Attachment #699749 -
Attachment is obsolete: true
Attachment #699749 -
Flags: review?(vyang)
Attachment #699788 -
Flags: review?(vyang)
Updated•11 years ago
|
Attachment #699788 -
Flags: review?(vyang) → review+
Comment on attachment 699788 [details] [diff] [review] V2 [Triage Comment] Feel free to land this though.
Attachment #699788 -
Flags: approval-mozilla-b2g18+
Not blocking since this is a problem in the RIL that we're not shipping.
blocking-basecamp: ? → -
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/177cce1bbb3f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 10•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/d709345fccee
status-b2g18:
--- → fixed
status-firefox19:
--- → wontfix
status-firefox20:
--- → wontfix
status-firefox21:
--- → fixed
Comment 11•11 years ago
|
||
UCID: set-035 https://moztrap.mozilla.org/results/case/62558/
Whiteboard: testrun 2
Reporter | ||
Comment 12•11 years ago
|
||
Issue still reproduces on Unagi Kernal from Dec 5 Build 20130116070204 Repro Steps: 1. Insert at&t sim in a device 2. Go to Settings> Cellular and Data Settings > Network Operator 3. Turn Automatic Selection OFF, wait for the list of networks to show up First network operator on a list saying AT&T "Current" and second one T-Mobile - "Available" 4. Tap on a second ("Available") network operator (in this case T-Mobile) --==This was also reproduced with a T-mobile SIM card==-- 1. Insert T-Mobile SIM card in a device 2. Go to Settings> Cellular and Data Settings > Network Operator 3. Turn Automatic Selection OFF, wait for the list of networks to show up First network operator on a list saying T-Mobile "Current" and second one at&t - "Available" 4. Tap on a second ("Available") network operator (in this case at&t) Actual Results (in both situations): Trying to connect for several seconds with status line under network name saying "connecting" and than status line under network name changes to "Connection failed"
Assignee | ||
Comment 13•11 years ago
|
||
It would be great to have RIL log(logcat and logcat -b radio) for analysis. Thanks! To enable RIL log: $ adb pull /system/b2g/defaults/pref/user.js $ sed -i 's/pref("ril.debugging.enabled", false);/pref("ril.debugging.enabled", true);/g' user.js $ adb remount $ adb push user.js /system/b2g/defaults/pref/user.js $ adb shell stop b2g $ adb shell start b2g
Reporter | ||
Comment 14•11 years ago
|
||
I found file and was able to modify it in text editor -->>pref("ril.debugging.enabled", true); and save it when I tried to push file to device getting following errors: [2013-01-17 09:32:08 - ddms] transfer error: Read-only file system [2013-01-17 09:32:08] Failed to push selection: Read-only file system do you know ow to fix that? (In reply to Shian-Yow Wu from comment #13) > It would be great to have RIL log(logcat and logcat -b radio) for analysis. > Thanks! > > To enable RIL log: > $ adb pull /system/b2g/defaults/pref/user.js > $ sed -i 's/pref("ril.debugging.enabled", > false);/pref("ril.debugging.enabled", true);/g' user.js > $ adb remount > $ adb push user.js /system/b2g/defaults/pref/user.js > $ adb shell stop b2g > $ adb shell start b2g
Assignee | ||
Comment 15•11 years ago
|
||
(In reply to Nick Dee from comment #14) > I found file and was able to modify it in text editor > -->>pref("ril.debugging.enabled", true); and save it > > when I tried to push file to device getting following errors: > > [2013-01-17 09:32:08 - ddms] transfer error: Read-only file system > [2013-01-17 09:32:08] Failed to push selection: Read-only file system > > do you know ow to fix that? > The /system partition is read-only, before pushing, please change it to read-write first by "adb remount". After that, you need to restart b2g (or reboot phone) to capture the RIL log.
Reporter | ||
Comment 16•11 years ago
|
||
repro steps in comment 12
Reporter | ||
Comment 17•11 years ago
|
||
repro steps described in comment 12. Please let me know if log has required information
Reporter | ||
Comment 18•11 years ago
|
||
New Bug 834973 Is open on this issue since it is still repro on Unagi Kernal Dec 5 Build 20130125070201 RIL logs will be attached to new bug.
You need to log in
before you can comment on or make changes to this bug.
Description
•