Closed Bug 835210 Opened 11 years ago Closed 11 years ago

FOTA updates don't seem to be working anymore.

Categories

(Firefox OS Graveyard :: General, defect, P1)

x86_64
Linux
defect

Tracking

(blocking-b2g:tef+, firefox19 wontfix, firefox20 wontfix, firefox21 fixed, b2g18 fixed, b2g18-v1.0.0 fixed, b2g18-v1.0.1 fixed)

VERIFIED FIXED
B2G C4 (2jan on)
blocking-b2g tef+
Tracking Status
firefox19 --- wontfix
firefox20 --- wontfix
firefox21 --- fixed
b2g18 --- fixed
b2g18-v1.0.0 --- fixed
b2g18-v1.0.1 --- fixed

People

(Reporter: dhylands, Assigned: dhylands)

References

Details

Attachments

(1 file, 1 obsolete file)

Applying a FOTA update doesn't seem to work any more.
Assignee: nobody → dhylands
With these changes, the update is downloaded and applied.

I've been testing with the emulator, which doesn't have librecovery.so so it fails to reboot into recovery. I'll test on a real device tomorrow.
Attachment #706968 - Flags: feedback?(marshall)
This WIP works on my unagi, I can now enter FOTA update procedure after downloading the MAR file.
I also threw in some better error handling if librecovery.so doesn't exist (which is what happens on the emulator).

Asking fabrice to review since Marshall is still PTO until next week.
Attachment #707380 - Flags: review?(fabrice)
Attachment #706968 - Attachment is obsolete: true
Attachment #706968 - Flags: feedback?(marshall)
Comment on attachment 707380 [details] [diff] [review]
Locates fota destination is /data/local/updates/fota or /mnt/sdcard/updates/fota - v2

Review of attachment 707380 [details] [diff] [review]:
-----------------------------------------------------------------

::: b2g/components/DirectoryProvider.js
@@ +75,1 @@
>        return file;

I think we want to set persistent.value = true on these. They are unlikely to change during runtime...
Attachment #707380 - Flags: review?(fabrice) → review+
blocking-b2g: --- → tef?
Priority: -- → P1
persistent is currently being set to false, since the returned directory toggles between /data/local and /mnt/sdcard based on free space and/or availability (the user can pull the sdcard).

https://hg.mozilla.org/integration/mozilla-inbound/rev/3867507b9419
blocking-b2g: tef? → tef+
https://hg.mozilla.org/mozilla-central/rev/3867507b9419
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Depends on: 838924
Verified fix on Unagi Build ID 20130219070200 Dec 5 Kernel.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: