As you may know, one big pain point of B2G has been related to
distributing ready-to-flash builds. To make a long story short, this is
a legal nightmare. In order to avoid this nightmare, I have been working
along with a couple of people on a solution which we call a "blob-free
build" [1]. Basically, this is a full system build where we remove the
proprietary components and just instruct folks on where to get them.

This means we need a device to be already ported (i.e., have a config.sh
entry) *and* we need someone to add support for producing a blob-free
image, because it is disabled by default. Doing so is documented [2].

Installation steps are documented on [3] and the use of the addon, while
expected to be easy as plug & play, is detailed on [4]. Essentially, all
you need is:
- a supported device
- a firefox nightly with a dedicated profile
- install b2g installer addon and adb helper
- plug your device and flash it
- if you are running linux, you might have to configure udev rules

Right now, only OSX and Linux are supported. A virtual machine is also
available in a ready-to-use state if your platform is not supported or
if you are having issues.

We are collecting some data, on an opt-in basis. Those data are
documented on MDN and they will be useful to assess the usefulness of
the addon itself, and help focus contributions for new devices to
support. I can only encourage you to opt-in :).

Please keep in mind the focus for this release is on the "flash from
Android to B2G” use-case. Being able to *update* a device /might/
work, but making sure we have a good user story for this will require
that someone step up and do this, as my focus will shift. I will however
remain available to help anyone willing to hack and to review changes.

Some of the devices we support includes:
- Sony Xperia Z3 and Z3 Compact with Kitkat base
- T2M Flame with Kitkat base
- LG Nexus 4 on Kitkat base
- LG Nexus 5 on Lollipop base
- Wileyfox Swift on Lollipop CyanogenMod base, from contributor

We have some very soon-to-be released support also for Fairphone 2
(Lollipop base).

Any contribution towards improving this is welcome, and there is already
a list of things that can be hacked in the TODO section of the MDN page.

Cheers

Alexandre

[1]
https://developer.mozilla.org/en-US/Firefox_OS/Building#Building_a_blob_free_full_system_zip
[2]
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS/B2G_installer_add-on#Adding_new_device_support
[3]
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS/B2G_installer_add-on#Installation
[4]
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS/B2G_installer_add-on#Usage
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to