Closed Bug 1162376 Opened 6 years ago Closed 6 years ago

[FFOS2.0][Woodduck]available space is around 5MB, after restart the phone it can’t attach on the network

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: sync-1, Unassigned)

References

Details

Attachments

(2 files)

Office : 0752-8228382(68382)
 
  DEFECT DESCRIPTION:
 
  REPRODUCING PROCEDURES:
     when the available space is around 5MB, after restart the phone it can’t attach on the network,but call "112",it attach on the network successfully.
 
  EXPECTED BEHAVIOUR:
    after restart the phone it should attach on the network.
 
  ASSOCIATE SPECIFICATION:
 
  TEST PLAN REFERENCE:
 
  TOOLS AND PLATFORMS USED:
 
  USER IMPACT:
 
  REPRODUCING RATE:
 
  For FT PR, Please list reference mobile's behavior:
Attached file low device storage
I/Gecko   (  164): RIL Worker: [0] Radio state changed from 'off' to 'ready'

after dial 112.
https://dxr.mozilla.org/mozilla-central/source/hal/gonk/GonkDiskSpaceWatcher.cpp#115
https://dxr.mozilla.org/mozilla-central/source/hal/gonk/GonkDiskSpaceWatcher.cpp#168

Default WATCHER_PREF_LOW is 5MB
Default WATCHER_PREF_HIGH is 10MB

You can customize "disk_space_watcher.low_threshold = 1" by using below example

Ex: 
/device/jrdhz/jrdhz72_w_ff/dev-pref.js

pref("disk_space_watcher.low_threshold", 1);
Do *NOT* change the value to 0 for disk_space_watcher.low_threshold. It will result in unexpected error.
Blocks: Woodduck
Hi shawn, 

We don't want to modify this low_threashold. We want the device be able to dial out even the device storage is under this threshold.

We found here if change 
http://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.js#6075
>>   this.setRadioEnabled({enabled: false}); 
to 
>>   this.setRadioEnabled({enabled: true}); 

things will be done. Need your confirm.

Thx
Flags: needinfo?(sku)
And later Mozilla may add a multi-level notification mechnism for this issue, I've created a patch before but will not take it in Woodduck.
Another way to solve this problem which seems OK to me is to add
>> self.enabled = false;
before https://github.com/mozilla-b2g/gaia/blob/v2.0m/apps/system/js/airplane_mode.js#L359

as we will never get into the callback here when db locked.
Already provide suggestion via mail. Please help help follow up first.
And let us know if any further concern/problem you have.
Flags: needinfo?(sku)
Dear dengwei,
   this pr have fixed,please close this pr.
Resolved per comment 8 from partner.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
See Also: → LowStorage
You need to log in before you can comment on or make changes to this bug.