Closed Bug 1015811 Opened 11 years ago Closed 11 years ago

[MTBF] APN issue for 7-mobile

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wachen, Assigned: arthurcc)

References

Details

In apn.json, there are lots of different default settings for SIM card internet. 466/01 was set to FETNET(internet), but 7-Mobile is using FETNET lines but differnet apn settings. I did do: 1. b2g shell stop b2g 2. pull the package of settings from b2g phone 3. modify the apn.json 4. b2g shell start b2g Expected to see 7-Mobile selected, but it failed to do so. It selected "Custome Settings" by default. "01": [ {"carrier":"統一電信(7-Mobile) (MMS)","apn":"opentalk","mmsc":"http://mms","mmsproxy":"210.241.199.199","mmsport":"9201","type":["mms"]}, {"carrier":"統一電信(7-Mobile) (Internet)","apn":"opentalk","type":["default","supl"]} ],
Blocks: MTBF-meta
Arthur is taking a look at this bug currently.
Blocks: 1001304
Arthur will look at this next week. I just do this needinfo in case he forgets.
No longer blocks: 1001304
Flags: needinfo?(arthur.chen)
Blocks: 1001304
Jessica, do you want to take a look on this issue? :P
Flags: needinfo?(jjong)
Sure, I can help take a look. As I remember, apns get populated each time a new ICC card is inserted. Could you try switching to a different sim card, e.g. TWM, and then switch back to 7-Mobile again? Thanks.
Flags: needinfo?(jjong)
Hi, Jessica, it did populate after I restart the phone(I checked it in the settings). However, the problem is that it won't select that apn by default. Also, another point here is that we are trying to make this an automatic process so we can automate the testing by CI server. In this case, we can't do switch sim cards manually. Any other thoughts? Thanks, Walter
(In reply to Walter Chen[:ypwalter][:wachen] from comment #5) > Hi, Jessica, it did populate after I restart the phone(I checked it in the > settings). However, the problem is that it won't select that apn by default. > > Also, another point here is that we are trying to make this an automatic > process so we can automate the testing by CI server. In this case, we can't > do switch sim cards manually. > > Any other thoughts? > > Thanks, > Walter I guess it is because the selected apn stored in the database can not find a matching one in the retrieved apn list. I tried to reset the phone, but got the same results. Will need gaia's help on this, let's wait for Arthur's feedback. :)
Thank you.
I'll have a look next week.
Assignee: nobody → arthur.chen
Flags: needinfo?(arthur.chen)
As apn.json in each app is different copy, please ensure the copy in the system is also replaced before the first start of b2g. Walter, could you check if it works?
Flags: needinfo?(wachen)
So, replace the apn.json in system and settings, right?
Flags: needinfo?(wachen)
Yap. Note that it should be done before the first start.
If I can't do it before the first start, would it be the same if I do it and then restart??
No, the result would not be the same as system app set the APN settings upon the first start and would never do it again.
Okay then... What about stopping B2G right after I detect that the device starts?
How are you going to detect the start of the device? I not sure if there will be a race condition.
I think I will do "adb wait-for-device". However, I might think of another way to do so. I will try and let you know! Thanks for the helping
Thanks all for helping on this bug. I have created a script to do so on our jenkins server (mtbf-1).
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
QA Contact: wachen
Blocks: MTBF-B2G
No longer blocks: MTBF-meta
You need to log in before you can comment on or make changes to this bug.