<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ben Hearsum (Posts about b2g)</title><link>https://hearsum.ca/</link><description></description><atom:link href="https://hearsum.ca/categories/b2g.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2025 &lt;a href="mailto:ben@hearsum.ca"&gt;Ben Hearsum&lt;/a&gt; </copyright><lastBuildDate>Thu, 30 Jan 2025 16:13:56 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Improvements to updates for Foxfooders</title><link>https://hearsum.ca/posts/improvements-to-updates-for-foxfooders/</link><dc:creator>Ben Hearsum</dc:creator><description>&lt;p&gt;We've been providing on-device updates (that is to say: no flashing required) to users in the Foxfood program for nearly 6 months now. These updates are intended for users who are officially part of the Foxfooding program, but the way our update system works means that anyone who puts themselves on the right update channel can receive them. This makes things tough for us, because we'd like to be able to provide official Foxfooders with some extra bits and we can't do that while these populations are on the same update channel. Thanks to work that &lt;a href="https://mozillians.org/en-US/u/rwood/"&gt;Rob Wood&lt;/a&gt; and &lt;a href="https://mozillians.org/en-US/u/gerard-majax/"&gt;Alexandre Lissy&lt;/a&gt; are doing, we'll soon be able to resolve this and get Foxfooders the bits they need to do the best possible testing.&lt;/p&gt;

&lt;p&gt;To make this possible, we've implemented a &lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1201538"&gt;short term solution&lt;/a&gt; that lets us only serve updates to official Foxfooders. When landed, they will &lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1201556"&gt;send a hashed version of their IMEI&lt;/a&gt; as part of their update request. A list of the acceptable IMEI hashes will be &lt;a href="https://wiki.mozilla.org/ReleaseEngineering/How_To/Update_The_Foxfooding_Program_IMEI_Whitelist"&gt;maintained in Balrog&lt;/a&gt; (the update server), which lets us only serve an update if the incoming one matches one of the whitelisted ones.&lt;/p&gt;

&lt;p&gt;To really make this work we need to &lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1207313#c2"&gt;detangle the current "dogfood" update channel&lt;/a&gt;. As I mentioned, it's currently being used in two distinct populations of users: those are part of the official program, and those who aren't. In order to support both populations of users we'll be splitting the "dogfood" update channel into two:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The new "foxfood" channel will be for users who are officially part of the Foxfooding program. Users on this channel will be part of the IMEI whitelist, and could receive FOTA or OTA updates.&lt;/li&gt;
&lt;li&gt;The "dogfood" channel will continue to serve serve OTA updates to anyone who puts themself on it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To transition, we will be asking folks who are officially part of the Foxfooding program to flash with a new image that switches them to the "foxfood" update channel. When this is ready to go, it will be announced and communicated appropriately.&lt;/p&gt;

&lt;p&gt;Big thanks to everyone who was involved in this effort, particularly Rob Wood, who implemented the new whitelisting feature in Balrog, and Alexandre Lissy and Jean Gong, who went through multiple rounds of back and forth before we settled on this solution.&lt;/p&gt;

&lt;p&gt;It's worth noting that this solution isn't ideal: sending IMEIs (even hashed versions) isn't something we prefer to do for both reasons of user privacy and protection of the bits. In the longer term, we'd like to look at a solution that wouldn't require IMEIs to be sent to us. This could come in the form of embedding or asking for credentials, and using those to access the updates. This type of solution would enhance user privacy and make it harder to get around the protections by brute forcing.&lt;/p&gt;</description><category>aus</category><category>b2g</category><category>balrog</category><category>planet-mozilla</category><guid>https://hearsum.ca/posts/improvements-to-updates-for-foxfooders/</guid><pubDate>Thu, 01 Oct 2015 18:07:40 GMT</pubDate></item><item><title>B2G builds with multilocale Gaia now available (attention localizers!)</title><link>https://hearsum.ca/posts/b2g-builds-with-multilocale-gaia-now-available-attention-localizers/</link><dc:creator>Ben Hearsum</dc:creator><description>&lt;p&gt;As I &lt;a href="http://hearsum.ca/blog/upcoming-l10n-changes-to-b2g-device-and-desktop-builds/"&gt;mentioned last week&lt;/a&gt;, we've been working hard to get multilocale B2G builds going. This morning we flipped the switch and turned on multilocale Gaia across the board. The existing desktop and device builds on TBPL will now include a Gaia profile with Arabic, English, Spanish, French, Brazilian Portuguese, and Mandarin Chinese (zh-TW).



Additionally, we now have new desktop builds with all of &lt;a href="https://github.com/mozilla-b2g/gaia/blob/master/shared/resources/languages-all.json"&gt;the locales listed in this file&lt;/a&gt; available -- meaning that most people localizing B2G can now test their translations in-app. These are available for Linux, Mac, and Windows in the "localizer" packages &lt;a href="https://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-beta/"&gt;in this directory&lt;/a&gt;.



A few notes:

&lt;/p&gt;&lt;ul&gt;

&lt;li&gt;Linux users who have run a B2G desktop build in the past may need to rm -rf ~/.mozilla/b2g before these new builds will function correctly.&lt;/li&gt;

&lt;li&gt;Gecko is still en-US only. Expect network errors and other such things to be in en-US for now. Multilocale gecko for B2G work is being tracked in &lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=817197"&gt;bug 817197&lt;/a&gt; and the bugs that it blocks.&lt;/li&gt;

&lt;li&gt;All of the desktop builds will be updated on a nightly basis. However, there are no automatic updates for them - you must download by hand whenever you want to test newer code or translations.&lt;/li&gt;

&lt;/ul&gt;</description><category>b2g</category><category>l10n</category><category>planet-mozilla</category><guid>https://hearsum.ca/posts/b2g-builds-with-multilocale-gaia-now-available-attention-localizers/</guid><pubDate>Thu, 06 Dec 2012 20:13:37 GMT</pubDate></item><item><title>Upcoming l10n changes to B2G device and desktop builds</title><link>https://hearsum.ca/posts/upcoming-l10n-changes-to-b2g-device-and-desktop-builds/</link><dc:creator>Ben Hearsum</dc:creator><description>&lt;p&gt;Currently, all of the b2g builds on TBPL are using a fixed set of locales which are built into the Gaia repository. These were OK at first, but we're at the point now where we need to be able to test the languages that we'll be initially shipping, as well as provide some way for localizers to test out their work. For these reasons, the following changes will be made to the B2g desktop and device builds:

* Unagi, otoro, panda, and the current desktop b2g builds will include 6 locales (instead of the 4 they currently do): Arabic (ar), English (en-US), French (fr), Spanish (es), Brazilian Portuguese (pt-BR), and Mandarin Chinese (zh-TW). These builds are intended for developer consumption and help to test out a wide array of features (rtl languages, languages with long strings, unicode characters, etc).

* We will be adding new desktop b2g builds that contain all languages that Gaia is available in (see https://github.com/mozilla-b2g/gaia/blob/master/shared/resources/languages-all.json for the full list). These builds are intended for localizers to see how their translations look and feel.



These changes should be taking place sometime this week. Big thanks to &lt;a href="http://informationisart.com/notes/"&gt;Staś Małolepszy&lt;/a&gt; for adding support for this to the Gaia build system.



Note that for now, the Gecko portions (for example, network error pages in the Browser) will not be localized. We will be enabling localization for Gecko as soon as we can, but it's not quite ready yet.&lt;/p&gt;</description><category>b2g</category><category>planet-mozilla</category><guid>https://hearsum.ca/posts/upcoming-l10n-changes-to-b2g-device-and-desktop-builds/</guid><pubDate>Wed, 28 Nov 2012 16:53:30 GMT</pubDate></item><item><title>B2G Desktop builds now (mostly) available</title><link>https://hearsum.ca/posts/b2g-desktop-builds-now-mostly-available/</link><dc:creator>Ben Hearsum</dc:creator><description>&lt;p&gt;Hot on the heels of &lt;a href="http://blog.mozilla.org/bhearsum/archives/309"&gt;the Armv7a Gingerbread builds for B2G&lt;/a&gt;, we now have Mac and Windows Desktop builds of B2G+Gecko &lt;a href="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/"&gt;available for download&lt;/a&gt;. On TBPL, they show up as "Ng" cells in the existing OS X64 opt and Win opt rows, and you can download the builds from FTP &lt;a href="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/"&gt;in the nightly directories&lt;/a&gt;.



&lt;b&gt;Please note that these are NOT full B2G builds. These are developer-targeted builds which only run on desktop machines, and cannot be flashed onto a phone or tablet. These builds are primarily useful to developers, QA and localizers working on Gaia. They can also be used by anyone who wishes to test out their websites or apps through a B2G-like client.&lt;/b&gt;. 



Linux versions of these builds are in the works, and will be available as soon as we fix &lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=770990"&gt;an infrastructure issue&lt;/a&gt; preventing them from successfully building. We hope to have it fixed by the end of the week.



Enjoy!



&lt;b&gt;Edit:&lt;/b&gt; If you're confused about what to do with these builds even after they're running have a read over https://wiki.mozilla.org/Gaia/Hacking and https://wiki.mozilla.org/B2G/Hacking.&lt;/p&gt;</description><category>b2g</category><guid>https://hearsum.ca/posts/b2g-desktop-builds-now-mostly-available/</guid><pubDate>Wed, 04 Jul 2012 19:21:53 GMT</pubDate></item><item><title>Armv7a Gingerbread Gecko builds (opt+debug) now enabled on project branches</title><link>https://hearsum.ca/posts/armv7a-gingerbread-gecko-builds-optdebug-now-enabled-on-project-branches/</link><dc:creator>Ben Hearsum</dc:creator><description>&lt;p&gt;Just a quick announcement that a couple of follow-up bugs to the work from &lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=758425"&gt; landed:

&lt;ul&gt;

&lt;li&gt;&lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=767503"&gt;bug 767503&lt;/a&gt; added the new-style Armv7a GB-based Gecko builds to project branches&lt;/li&gt;

&lt;li&gt;&lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=767528"&gt;bug 767528&lt;/a&gt; disabled the old, now-superfluous opt builds&lt;/li&gt;

&lt;/ul&gt;



All active project branches have had these builds enabled except for the elm and oak twigs. If you are the owner of a project branch and do not wish to have B2G builds on it, or do not feel they will be useful please &lt;/a&gt;&lt;a href="https://bugzilla.mozilla.org/enter_bug.cgi?alias=&amp;amp;assigned_to=nobody%40mozilla.org&amp;amp;blocked=&amp;amp;bug_file_loc=http%3A%2F%2F&amp;amp;bug_severity=normal&amp;amp;bug_status=NEW&amp;amp;comment=&amp;amp;component=Release%20Engineering&amp;amp;contenttypeentry=&amp;amp;contenttypemethod=autodetect&amp;amp;contenttypeselection=text%2Fplain&amp;amp;data=&amp;amp;dependson=&amp;amp;description=&amp;amp;flag_type-4=X&amp;amp;flag_type-481=X&amp;amp;flag_type-607=X&amp;amp;flag_type-625=X&amp;amp;flag_type-647=X&amp;amp;flag_type-674=X&amp;amp;flag_type-675=X&amp;amp;flag_type-676=X&amp;amp;flag_type-677=X&amp;amp;flag_type-691=X&amp;amp;flag_type-692=X&amp;amp;form_name=enter_bug&amp;amp;keywords=&amp;amp;maketemplate=Remember%20values%20as%20bookmarkable%20template&amp;amp;op_sys=Linux&amp;amp;priority=--&amp;amp;product=mozilla.org&amp;amp;qa_contact=release%40mozilla-org.bugs&amp;amp;rep_platform=x86_64&amp;amp;short_desc=&amp;amp;status_whiteboard=&amp;amp;target_milestone=---&amp;amp;version=other"&gt;file a RelEng bug&lt;/a&gt; to have them disabled. Do keep in mind that burning these builds when pushing to mozilla-central or mozilla-inbound will get you backed out.&lt;/p&gt;</description><category>b2g</category><guid>https://hearsum.ca/posts/armv7a-gingerbread-gecko-builds-optdebug-now-enabled-on-project-branches/</guid><pubDate>Tue, 26 Jun 2012 17:48:26 GMT</pubDate></item><item><title>Armv7a Gingerbread-based B2G Gecko debug builds now live</title><link>https://hearsum.ca/posts/armv7a-gingerbread-based-b2g-gecko-debug-builds-now-live/</link><dc:creator>Ben Hearsum</dc:creator><description>&lt;p&gt;A few weeks ago armv7a Gingerbread-based B2G Gecko *opt* builds started running on most branches. As of a few hours ago we are now generating debug versions of these builds. We now have "Armv7a GB" rows for opt and debug with "Bg" (B2G Gecko Build) cells in them, and we'll add more build &amp;amp; test cells and platform rows as they arrive.



We know there's more B2G build requests coming, so as part of this, we also reworked our configs to make it easier to add additional B2G platforms and build types in the future.



For now, we've left the original "B2G" builds listed in the "Linux" row on TBPL. These are the initial opt builds that were set-up, and are exactly the same as the new Bg builds in the "Armv7a GB opt" row. This is transitional only - we'll be running them in parallel over the weekend and shutting the old builds off early next week after we're satisfied with the new ones.



For more details see &lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=758425"&gt;bug 758425&lt;/a&gt;.&lt;/p&gt;</description><category>b2g</category><guid>https://hearsum.ca/posts/armv7a-gingerbread-based-b2g-gecko-debug-builds-now-live/</guid><pubDate>Fri, 22 Jun 2012 19:19:58 GMT</pubDate></item></channel></rss>