Closed Bug 1126682 Opened 9 years ago Closed 6 years ago

[OPEN] Can't enter STK menu after FOTA updated

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jiang.haiyan, Unassigned, NeedInfo)

Details

Attachments

(11 files)

2.60 MB, application/x-7z-compressed
Details
2.35 MB, application/x-zip-compressed
Details
500.06 KB, text/plain
Details
10.00 MB, application/x-7z-compressed
Details
7.50 MB, application/octet-stream
Details
10.00 MB, application/x-7z-compressed
Details
10.00 MB, application/octet-stream
Details
4.42 MB, application/octet-stream
Details
10.00 MB, application/x-7z-compressed
Details
6.62 MB, application/octet-stream
Details
2.52 MB, application/zip
Details
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31

Steps to reproduce:

1. FOTA upate
2. Enter STK, but can't open it.


Actual results:

Can't enter stk menu


Expected results:

Can enter stk menu
Attached file log
Flags: needinfo?(vchen)
Dear Mozilla team,

In Peru, our front test engineers find the STK menu only can display less than one second and then go back to Settings window when they click [Settings]->[Operator Services]->[STK]application.

Here are log fragments of 2015012893617-STK.zip.

01-28 09:36:28.001   520   520 I GeckoDump: [settings] Showing STK main menu
01-28 09:36:28.091   520   520 I GeckoDump: [settings] STK Main App Menu title: movistar
01-28 09:36:28.091   520   520 I GeckoDump: [settings] STK Main App Menu default item: undefined
01-28 09:36:28.091   520   520 I GeckoDump: [settings] STK Main App Menu item: Mi Movistar # 5
01-28 09:36:28.101   520   520 I GeckoDump: [settings] STK Main App Menu item: Promociones # 12
01-28 09:36:28.101   520   520 I GeckoDump: [settings] STK Main App Menu item: Agenda Backup # 16
01-28 09:36:28.101   520   520 I GeckoDump: [settings] STK Main App Menu item: Chat # 19
01-28 09:36:28.111   520   520 I GeckoDump: [settings] STK Main App Menu item: Diversion # 25
01-28 09:36:28.111   520   520 I GeckoDump: [settings] STK Main App Menu item: Multimedia # 28
01-28 09:36:28.121   520   520 I GeckoDump: [settings] STK Main App Menu item: Canal Movistar # 34
01-28 09:36:28.121   520   520 I GeckoDump: [settings] STK Main App Menu item: Te llamo luego # 13
01-28 09:36:28.131   520   520 I GeckoDump: [settings] STK Main App Menu item: Mas Servicios # 40
01-28 09:36:28.131   520   520 I GeckoDump: [settings] STK Main App Menu item: Roaming # 128
01-28 09:36:28.211   520   520 I GeckoDump: [settings] sendStkResponse to command: 
01-28 09:36:28.211   520   520 I GeckoDump: [settings] sendStkResponse -- # response = {"resultCode":18}
01-28 09:36:28.211   113   113 I Gecko   : -*- QCMessageManager_QC_B2G: receiveMessage: RIL:SendStkResponse arrived from content process
01-28 09:36:28.211   113   113 I Gecko   : -*- QCMessageManager_QC_B2G: Forwarding message to clientId = 0
01-28 09:36:28.211   113   113 I Gecko   : -*- [SUB0] QCContentHelper_QC_B2G: receiveMessage: 'RIL:SendStkResponse'
01-28 09:36:28.211   113   113 I Gecko   : -*- [SUB0] QCContentHelper_QC_B2G: [zte]receiveMessage msg.json != null

Thanks,
Xiaodong
Attached file 2015012893617-STK.zip
Dear Mozilla team,

When I use the sim card of China Mobile in ShangHai, stk can be launched and jump to below stk main menu title and items.

Line 975: 05-17 01:54:33.449: I/GeckoDump(459): [settings] Showing STK main menu
Line 976: 05-17 01:54:33.499: I/GeckoDump(459): [settings] STK Main App Menu title: USIM卡应用
Line 977: 05-17 01:54:33.499: I/GeckoDump(459): [settings] STK Main App Menu default item: undefined
Line 978: 05-17 01:54:33.509: I/GeckoDump(459): [settings] STK Main App Menu item: 手机报 # 40
Line 979: 05-17 01:54:33.539: I/GeckoDump(459): [settings] STK Main App Menu item: 手机营业厅 # 86
Line 980: 05-17 01:54:33.539: I/GeckoDump(459): [settings] STK Main App Menu item: 炫铃 # 104
Line 981: 05-17 01:54:33.539: I/GeckoDump(459): [settings] STK Main App Menu item: 新闻娱乐 # 119
Line 982: 05-17 01:54:33.549: I/GeckoDump(459): [settings] STK Main App Menu item: 掌上股市 # 168
Line 983: 05-17 01:54:33.549: I/GeckoDump(459): [settings] STK Main App Menu item: 精彩上海 # 191


About 2-3 minutes later, the stk main menu window will be exited automatically and then go back to Settings main screen. But in Peru, stk main menu window will be exited automatically in 1 second, so it looks like stk can't be entered to customers.


When stk main menu exits, the following error information print out. May the data.command=null make this issue happans?

05-17 01:57:03.729: E/GeckoConsole(112): [JavaScript Error: "data.command is null" {file: "file:///system/b2g/distribution/bundles/libqc_b2g_ril/content_helper/QCContentHelper.js" line: 18}]
05-17 01:57:03.729: E/GeckoConsole(112): [JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: '[JavaScript Error: "data.command is null" {file: "file:///system/b2g/distribution/bundles/libqc_b2g_ril/content_helper/QCContentHelper.js" line: 18}]' when calling method: [nsIQCContentHelper::receiveMessage]" {file: "file:///system/b2g/distribution/bundles/libqc_b2g_ril/content_helper/QCMessageManager.js" line: 28}]

Thanks,
Xiaodong
The log has been catched by sim card of China Mobile in ShangHai.
Hi,
 Could you please help provide us video (from Peru)?

We suspect the icc.selectTimeout (common-settings.json) was wrong.

Thanks!!
Shawn
Flags: needinfo?(jiang.haiyan)
Dear Shawn,

I have uploaded the video and corresponding log (STK_VIDEO&LOG.zip) from Peru. Please help us to research together.

Thanks,
Xiaodong
Per comment 7, ni myself for tracking.
Flags: needinfo?(sku)
Hi Duan:
 Could you please help check is attachment is uploaded properly?
I didn't see in attachment section.
Flags: needinfo?(duan.xiaodong)
Dear Shawn,

The video attachment is too big(19376KB).It seems that couldn't be uploaded successfully.

Thanks,
Xiaodong
Flags: needinfo?(duan.xiaodong)
Please upload video to baidu or somewhere else, and provide us URL/password to access the link here.
Thanks!!
Flags: needinfo?(sku) → needinfo?(duan.xiaodong)
Dear Shawn,

The video and log have been uploaded to following ftp server.
(path /20150130AndlogtoMozilla/STK_VIDEO&LOG.zip)

FTP Address: ftp://116.228.53.175:60021
UserName: Foreign
Password: 30dwe%K3#DE54

Please let me know if you have any questions ASAP.

Thanks,
Xiaodong
Flags: needinfo?(duan.xiaodong)
Hi Xiaodong,

We couldn't access the FTP site,Could you please help upload the video and logs on Baidu ?

BTW, is does this issue only happen with China Mobile SIM card ?
Flags: needinfo?(duan.xiaodong)
FOTA update version.7z.001 part1 
you need download all then zip it.
Flags: needinfo?(jiang.haiyan)
FOTA update version.7z.002 part2
you need download all then zip it
Attached file normal version.7z.001
normal version.7z.001 part1
you need download all then unzip it
Attached file normal version.7z.002
normal version.7z.002
you need download all then unzip it
Attached file normal version.7z.003
normal version.7z.003 part3
you need download all then unzip
Attached file IMG_0436.7z.001
IMG_0436.7z.001 video part1
Attached file IMG_0436.7z.002
IMG_0436.7z.001 video part2
2015012991329-(STK Log).zip new adb log
Hi ZTE team,

In Gaia repo, there are some STK timeout settings in build/config/common-settings.json .
The following STK settings are for timeout and the unit is in ms.
   "icc.displayTextTimeout": 40000, << EX: 40s
   "icc.inputTextTimeout": 40000,
   "icc.toneDefaultTimeout": 5000,
   "icc.goBackTimeout": 4000,
   "icc.selectTimeout": 150000,

Could you help to check these timeout settings for STK?
Hi Xiadong,

May I kindly ask for your help to change the timeout value for this timer "icc.goBackTimeout" to 4000 ms (4 sec) instead of 1000ms in your current setting ?

change to 
"icc.goBackTimeout": 4000

Thank you very much!
modify the title of the bug to right information.
It's reported from Open FOTA 1.1-->1.3.
Flags: needinfo?(vchen)
Summary: [OPEN C_1.3] Can't enter STK menu after FOTA updated → [OPEN] Can't enter STK menu after FOTA updated
Looking through log_stk_china_mobile(sim card).txt, I see some things wrong with the sending of terminal response from Gaia:

05-17 01:57:03.689: I/GeckoDump(459): [settings] sendStkResponse to command: 
05-17 01:57:03.689: I/GeckoDump(459): [settings] sendStkResponse -- # response = {"resultCode":18}

The _iccLastCommand should contain valid values which will get sent down to RIL: https://github.com/mozilla-b2g/gaia/blob/v1.3/apps/system/js/icc.js#L133. This is also the reason why we see "data.command is null" later on. There's nothing the telephony code can do if Gaia doesn't send valid values down.

Just to elaborate on my point, below is an example in the same set of logs that contain valid values when a TR is being sent down from Gaia:

05-17 01:57:10.249: I/GeckoDump(112): [system] sendStkResponse to command: {"commandNumber":1,"typeOfCommand":33,"commandQualifier":1,"options":{"text":"×ð¾´µÄÓû§£¬»¶Ó­ÄúʹÓÃÖйúÁªÍ¨ÒµÎñ£¡","isHighPriority":true}}
05-17 01:57:10.249: I/GeckoDump(112): [system] sendStkResponse -- # response = {"resultCode":0}

Also, here, it seems that response is equivalent to 18 (or 0x12) which is "No response from user". Assuming this really is a response sent for SET_UP_MENU, this response seems incorrect. According to ETSI TS 102 223, section 6.11, "No response from user" is not a possible TR for SET_UP_MENU proactive command.

One last point I wanted to clarify on comment 22 and comment 23. This bug was initially opened to report issue entering STK menu. The comments mentioning goBackTimeout should not really affect menu related STK commands, at least it shouldn't. I'm adding Fernando on this for some comments.
Flags: needinfo?(frsela)
Thank you Carol,

We'll take a look why iccLastCommand is empty.

We'll keep you informed ;)
Flags: needinfo?(frsela)
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: