Provide a method for OEM to save firmware version

RESOLVED FIXED in Firefox 19


Firefox OS
5 years ago
5 years ago


(Reporter: khu, Assigned: shelly)


B2G C2 (20nov-10dec)
Mac OS X

Firefox Tracking Flags

(blocking-basecamp:+, firefox19 fixed, firefox20 fixed, b2g18 fixed)



(1 attachment, 1 obsolete attachment)



5 years ago
Continue from bug 808892. 

We need to make sure we have a way for OEM to give their firmware version and save into Firefox OS. 

Additional question(s): 
1. Should we also need a way for OEM to "update" the firmware version? And how?

Comment 1

5 years ago
Marco, any comments?
blocking-basecamp: --- → ?
Flags: needinfo?(mchen)

Comment 2

5 years ago
Normally, the build information is put on Android property (ex:
And the properties can be updated from kernel or init.XXX.rc (boot.img) as well as the build.prop (system.img). 
So OEM can update related info into these files by itself.

What we need to do is just to "read" them back and make sure the correct property name with OEM.
Flags: needinfo?(mchen)

Comment 3

5 years ago
So please use this key "deviceinfo.firmware_revision" to write into mozSettings DB. Thanks.
Component: General → Gaia::Settings

Comment 4

5 years ago
Please also add '' which should be OS name + OS version. eg: "FirefoxOS 1.0.0" (UX confirmed, see comment 9 in bug 808892). Thanks!

Please note this issue is intended for a Gecko patch, although it's related to Settings app.

Comment 5

5 years ago
Created attachment 687614 [details] [diff] [review]
v1: Add firware revision and software info

Hi Chris, in this patch, I've added keys of firmware revision and software info to the IndexedDB, just like what I did in bug 790158. I've cleaned up some coding style issue from my previous patch as well (if that's okay).

Could you give my some feedback? Thanks a lot.
Attachment #687614 - Flags: feedback?(jones.chris.g)
blocking-basecamp: ? → +
Priority: -- → P1
Comment on attachment 687614 [details] [diff] [review]
v1: Add firware revision and software info

This seems fine, but we can't use the name "Firefox" in unbranded assets.  Let's go with "Boot2Gecko" for now.
Attachment #687614 - Flags: feedback?(jones.chris.g) → feedback+

Comment 7

5 years ago
Created attachment 688075 [details] [diff] [review]
v1: Add firware revision and software info, clean up.

Thanks Chris, I've changed the OS name from FirefoxOS to Boot2Gecko.

Here's the try server result:
(The Bi of B2G otoro opt doesn't seem related)
Attachment #687614 - Attachment is obsolete: true
Attachment #688075 - Flags: review?(jones.chris.g)


5 years ago
Assignee: nobody → slin
Attachment #688075 - Flags: review?(jones.chris.g) → review+


5 years ago
Keywords: checkin-needed

Comment 9

5 years ago
Last Resolved: 5 years ago
Resolution: --- → FIXED
Keywords: checkin-needed
status-b2g18: --- → fixed
status-firefox19: --- → fixed
status-firefox20: --- → fixed
Keywords: checkin-needed
Target Milestone: --- → B2G C2 (20nov-10dec)
You need to log in before you can comment on or make changes to this bug.