Closed
Bug 1015811
Opened 10 years ago
Closed 10 years ago
[MTBF] APN issue for 7-mobile
Categories
(Firefox OS Graveyard :: General, defect)
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"]}
],
Reporter | ||
Comment 1•10 years ago
|
||
Arthur is taking a look at this bug currently.
Reporter | ||
Comment 2•10 years ago
|
||
Arthur will look at this next week. I just do this needinfo in case he forgets.
No longer blocks: 1001304
Flags: needinfo?(arthur.chen)
Reporter | ||
Comment 3•10 years ago
|
||
Jessica, do you want to take a look on this issue? :P
Flags: needinfo?(jjong)
Comment 4•10 years ago
|
||
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)
Reporter | ||
Comment 5•10 years ago
|
||
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
Comment 6•10 years ago
|
||
(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. :)
Reporter | ||
Comment 7•10 years ago
|
||
Thank you.
Assignee | ||
Comment 8•10 years ago
|
||
I'll have a look next week.
Assignee: nobody → arthur.chen
Flags: needinfo?(arthur.chen)
Assignee | ||
Comment 9•10 years ago
|
||
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)
Reporter | ||
Comment 10•10 years ago
|
||
So, replace the apn.json in system and settings, right?
Flags: needinfo?(wachen)
Assignee | ||
Comment 11•10 years ago
|
||
Yap. Note that it should be done before the first start.
Reporter | ||
Comment 12•10 years ago
|
||
If I can't do it before the first start, would it be the same if I do it and then restart??
Assignee | ||
Comment 13•10 years ago
|
||
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.
Reporter | ||
Comment 14•10 years ago
|
||
Okay then... What about stopping B2G right after I detect that the device starts?
Assignee | ||
Comment 15•10 years ago
|
||
How are you going to detect the start of the device? I not sure if there will be a race condition.
Reporter | ||
Comment 16•10 years ago
|
||
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
Reporter | ||
Comment 17•10 years ago
|
||
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: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•10 years ago
|
QA Contact: wachen
Reporter | ||
Updated•10 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•