Closed Bug 1131896 Opened 9 years ago Closed 6 years ago

Leave the phone overnight and data connection is not working

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED WONTFIX
tracking-b2g backlog

People

(Reporter: ting, Unassigned)

References

Details

(Keywords: steps-wanted)

Attachments

(3 files)

Version:
Gaia-Rev        8238eeacc7030b2cdbf7ab4eba2f36779b702599
Gecko-Rev       https://hg.mozilla.org/mozilla-central/rev/29b05d283b00
Build-ID        20150129160230
Version         38.0a1
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  65
FW-Date         Mon Dec 15 18:51:29 CST 2014
Bootloader      L1TC000118D0

STR:
1) I have both 3G/2G sims on my Flame, 2G for outgoing calls/messages, and 3G for data.
2) Leave only WiFi on before going to bed.
3) In the morning, the data connection icon in quick settings is a sqaure, enable it does not work, 3G sim stays at no data connection.

I also realized that switch on/off plane mode can workaround it.

I have showed Edgar the device, he grabbed a log and will attach it here later.
Thanks Ting-Yu for reporting this. The symptom sounds similar to bug 1118490, did you notice what was the icon in the quick settings? Was it like a square?
It seems that we are losing data registration after some time. Will need logs to confirm it.
(In reply to Jessica Jong [:jjong] [:jessica] from comment #1)
> Thanks Ting-Yu for reporting this. The symptom sounds similar to bug
> 1118490, did you notice what was the icon in the quick settings? Was it like
> a square?

Oh sorry, I see it in your description now, my bad :(

> It seems that we are losing data registration after some time. Will need
> logs to confirm it.
Attached file logcat.log
(In reply to Edgar Chen [:edgar][:echen] from comment #3)
> Created attachment 8562585 [details]
> logcat.log

Enabling/disabling airplane mode brings the data connection back.
(In reply to Edgar Chen [:edgar][:echen] from comment #3)
> Created attachment 8562585 [details]
> logcat.log

(In reply to Jessica Jong [:jjong] [:jessica] from comment #1)
> Thanks Ting-Yu for reporting this. The symptom sounds similar to bug
> 1118490, did you notice what was the icon in the quick settings? Was it like
> a square?
> It seems that we are losing data registration after some time. Will need
> logs to confirm it.

Yes, it looks like device lost data registration.

02-11 10:48:53.314   206   206 I Gecko   : -*- DataConnectionManager: 'ril.data.enabled' is now true
02-11 10:48:53.314   206   206 I Gecko   : -*- DataConnectionManager: Default id for data call: 0
02-11 10:48:53.324   206   206 I Gecko   : -*- DataConnectionHandler[0]: RIL is not ready for data connection: Phone's not registered or doesn't have data connection.
So it seems to be a modem issue... I wonder if this happens with qcril as well, if yes, we can ask partner's help to look into this.
blocking-b2g: --- → backlog
Eric,

Could you or do you know who can help test this scenario using moz-ril and caf-ril at the same time? We need ril logs as well. Thank you! :)
Flags: needinfo?(echang)
(1) Pure v18D 
(2) & v18D+master full image
Do we need ril debug log on overnight?
Flags: needinfo?(echang)
(In reply to Eric Chang [:ericcc] [:echang] from comment #8)
> (1) Pure v18D 
> (2) & v18D+master full image
> Do we need ril debug log on overnight?

Yes, please.
Current setup 
* Change to v18D-1 for grabbing log when sleep.
* RIL debug ON.
* Wifi on but not connected to any ap.
* Data connection off.
* SIM inserted in slot1 & slot2 
* Display timeout NOT set to "never"

Tried for 2 nights, not able to reproduce.
Keywords: steps-wanted
The reproduce rate was lower when I enabled RIL debug.
blocking-b2g: backlog → ---
Can you still reproduce it?
See Also: → 1226065
Attached file log-data-loss
i met a similar symptom: having data on, having wifi on without connecting to any AP. I can't remember what exactly I did as I just left the device on my desk. No idea how long the time past... then I lost data connection, and turning on/off airplane mode *cannot* recover.

"square icon" was displayed. I also observed that signal bar is always *searching*, operator information in ril log is null. That implies that voice registration is lost, which is different from what we addressed in bug 1156231. 
Bug 1156231 was for data registration loss while voice registration remains.
Firefox OS is not being worked on
Status: NEW → 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

Created:
Updated:
Size: