Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1112245 of B2G OS

  • Revision slug: Mozilla/B2G_OS
  • Revision title: B2G OS
  • Revision id: 1112245
  • Created:
  • Creator: kskarthik
  • Is current revision? No
  • Comment add working groups

Revision Content

B2G OS is a complete, standalone operating system for the open web. It is an open source project developed by the Mozilla community and forms the basis of Firefox OS products.

B2G OS is a community maintained open source operating system for smartphones, tablets, smart TVs and other connected devices. The project was started in 2011 and is based on the Linux kernel and Gecko rendering engine. The entire user interface is built using web technologies (HTML, CSS and JavaScript) and can be used to launch and use web applications. Since Mozilla discontinued their commercial Firefox OS smartphone program the smartphone part of the project is entirely maintained by Mozilla's volunteer community, and branded as B2G OS.

NoteCall for contribution & Call for App adoption has been made to gather more people, feel free to share it !

How you can help

  • File & fix bugs (meta bug is bug 1252143)
  • Help us fix failing tests
  • Port a gaia smartphone app:
    1. Turn it into a webapp (or)
    2. Turn it into chrome:// (why?) & report back  
  • Port B2G OS to your phone or help us to maintain a port
  • Help improve translate this documentation & wiki
  • Propose & implement new smartphone features

   Get involved

To participate in meetings and community Working Groups meetings, register on this Calendar. They are announced on Discourse, where you can find information about how to attend & notes.

Compatible devices

For more information see this page.
Flash you device easily with B2G installer.
Your device is not in the list ? Try Mulet on desktop.

*WIP = Work In Progress.

Note: some pages have been moved to the MDN Archive — let us know if you have trouble finding anything, or if there is anything in the archive that you feel should be moved back to this section.

 

  1. B2G OS Architecture
    1. B2G OS Architecture
    2. B2G OS APIs
  2. Gaia
    1. Gaia overview
    2. Different ways to run Gaia
    3. Running the Gaia codebase
    4. Developing Gaia
      1. Understanding the Gaia codebase
      2. Making Gaia code changes
      3. Testing Gaia code changes
      4. Submitting a Gaia patch
      5. Gaia build system primer
      6. Make options reference
      7. Gaia tools reference
  3. Build B2G OS
    1. Build overview
    2. B2G OS build process summary
    3. Build prerequisites
    4. Preparing for your first build
    5. Building B2G OS
      1. Building B2G OS
      2. Building B2G OS for Flame on Mac OS X
      3. B2G build variables reference sheet
  4. Run B2G OS on Desktop
    1. Choosing how to run Gaia or B2G OS
    2. Run B2G OS on desktop using Mulet
  5. Install B2G OS on mobile
    1. Installing B2G OS on a mobile device
    2. B2G installer add-on
  6. Compatible Devices
  7. Create updates for B2G OS
    1. Creating and applying B2G OS update packages
    2. Building and installing FOTA community build
  8. Porting B2G OS
    1. Porting overview
    2. Porting basics
    3. Porting on CyanogenMod

Revision Source

<div class="summary"><span class="seoSummary">B2G OS is a complete, standalone operating system for the open web. It is an open source project developed by the Mozilla community and forms the basis of Firefox OS products.</span></div>

<p><strong>B2G OS </strong>is a community maintained open source operating system for<strong> </strong>smartphones, tablets, smart TVs and other connected devices. The project was <a href="https://wiki.mozilla.org/Booting_to_the_Web">started</a> in 2011 and is based on the Linux kernel and Gecko rendering engine. The entire user interface is built using web technologies (HTML, CSS and JavaScript) and can be used to launch and use <a href="/en-US/Apps">web applications</a>. Since Mozilla <a href="https://discourse.mozilla-community.org/t/firefox-os-connected-devices-announcement/6864">discontinued</a> their commercial Firefox OS smartphone program the smartphone part of the project is entirely maintained by Mozilla's volunteer community, and branded as B2G OS.</p>

<p><img alt="" src="https://mdn.mozillademos.org/files/13140/B2g_wordmark.png" style="display:block; margin:0 auto" /></p>

<div class="note">
<p><strong>Note</strong>:&nbsp; <a href="https://wiki.mozilla.org/B2G/Transition_Project/Call_For_Contribution">Call for contribution</a> &amp; <a href="https://discourse.mozilla-community.org/t/updated-9th-july-call-for-app-maintainers-adopt-an-app/9300/1">Call for App adoption</a> has been made to gather more people, feel free to share it !</p>
</div>

<div class="column-container">
<div class="column-third">
<h2 id="How_you_can_help">How you can help</h2>

<ul>
 <li>File &amp; fix bugs (meta bug is <a class="external text" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1252143" rel="nofollow">bug 1252143</a>)</li>
 <li>Help us fix failing <a class="external text" href="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Automated_testing" rel="nofollow">tests</a></li>
 <li>Port a gaia <a href="https://mozilla-b2g.github.io/gaia/">smartphone app</a>:
  <ol>
   <li>Turn it into a webapp (or)</li>
   <li>Turn it into chrome:// (<a href="https://discourse.mozilla-community.org/t/why-gaia-apps-are-turned-to-chrome/8011">why?</a>) &amp; report back<span style="display:none"> </span><span style="display:none">&nbsp;</span><span style="display:none"> </span></li>
  </ol>
 </li>
 <li><a href="https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS/Porting_B2G_OS">Port B2G OS to your phone</a> or help us to maintain a port</li>
 <li>Help improve translate this documentation &amp; wiki</li>
 <li>Propose &amp; implement new smartphone features</li>
</ul>
</div>

<div class="column-third">
<h2 id="Get_involved">&nbsp;&nbsp; Get involved</h2>

<ul>
 <li>Mailing list (<a class="external text" href="https://lists.mozilla.org/listinfo/dev-fxos" rel="nofollow">dev-fxos</a>)</li>
 <li><a class="external text" href="https://wiki.mozilla.org/IRC" rel="nofollow">IRC</a> (irc.mozilla.org #fxos)</li>
 <li><a href="https://discourse.mozilla-community.org/c/b2g-os-participation">Discourse </a></li>
 <li><a class="external text" href="https://telegram.me/B2GOS" rel="nofollow">Telegram Group</a></li>
 <li>Follow us on <a href="https://twitter.com/Boot2Gecko">Twitter</a>, or just look for <a href="https://twitter.com/hashtag/B2GOS?src=hash">#B2GOS</a></li>
 <li><a href="https://wiki.mozilla.org/B2G/Transition_Project/Working_Groups">Working Groups</a></li>
 <li>Documentation issues tracker on <a href="https://github.com/mozilla-b2g/B2GOS-community/issues">GitHub</a></li>
 <li><a class="external text" href="https://wiki.mozilla.org/B2G/Meeting" rel="nofollow">B2G Weekly Meeting</a> for engineering status updates</li>
</ul>

<p>To participate in meetings and community Working Groups meetings, register on this <a href="https://calendar.google.com/calendar/embed?src=mozilla.com_2d3638353137343333373332@resource.calendar.google.com">Calendar</a>. They are announced on <a href="https://discourse.mozilla-community.org/c/b2g-os-participation">Discourse</a>, where you can find information about how to attend &amp; notes.</p>
</div>

<div class="column-third">
<h2 id="Compatible_devices">Compatible devices</h2>

<ul>
 <li><a href="https://discourse.mozilla-community.org/t/building-b2g-os-for-aries-z3c/8082">Sony Xperia Z3C</a> (developer phone)</li>
 <li><a href="https://discourse.mozilla-community.org/t/flame-builds/8548">Flame </a>(developer phone)</li>
 <li><a href="https://discourse.mozilla-community.org/t/zte-open-c/8402">ZTE Open C</a></li>
 <li><a href="https://discourse.mozilla-community.org/t/test-b2gos-on-nexus-5/9405/1">Nexus 5</a></li>
 <li>WileyFox Swift</li>
 <li>Nexus 4 (WIP*)</li>
 <li><a href="https://discourse.mozilla-community.org/t/fairphone-2-support-for-b2g-installer-landed/8334">Fairphone 2 </a> (WIP*)</li>
 <li><a href="https://discourse.mozilla-community.org/t/b2g-os-flamingo-sony-xperia-e3-builds/8361">Sony Xperia E3 </a> (WIP*)</li>
 <li><a href="https://discourse.mozilla-community.org/t/support-for-amami-xperia-z1c-building-debugging-providing-builds/8348">Sony Xperia Z1C</a> (WIP*)</li>
 <li><a href="https://discourse.mozilla-community.org/t/wip-xiaomi-redmi-1s-hongmi-1s/10273">Xiaomi Redmi 1S</a> (WIP*)</li>
</ul>

<p>For more information see this <a href="/en-US/docs/Mozilla/B2G_OS/Building_and_installing_B2G_OS/Compatible_Devices">page</a>.<br />
 Flash you device easily with <a href="/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS/B2G_installer_add-on">B2G installer</a>.<br />
 Your device is not in the list ? Try <a href="https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS/Mulet">Mulet </a>on desktop.</p>

<p>*WIP = Work In Progress.</p>
</div>
</div>

<div class="note">
<p><strong>Note</strong>: some pages have been moved to the <a href="/en-US/docs/Archive/Firefox_OS">MDN Archive</a> — let us know if you have trouble finding anything, or if there is anything in the archive that you feel should be moved back to this section.</p>
</div>

<p>&nbsp;</p>

<h2 id="Subnav">Subnav</h2>

<ol>
 <li><a href="/en-US/docs/Mozilla/B2G_OS/B2G_OS_Architecture">B2G OS Architecture</a>

  <ol>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/B2G_OS_Architecture">B2G OS Architecture</a></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS/API">B2G OS APIs</a></li>
  </ol>
 </li>
 <li><a class="toggler" data-clicked="true" href="/en-US/docs/Mozilla/B2G_OS/Developing_Gaia">Gaia</a>
  <ol>
   <li><a href="https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS/Developing_Gaia">Gaia overview</a></li>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Developing_Gaia/Different_ways_to_run_Gaia">Different ways to run Gaia</a></li>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Developing_Gaia/Running_the_Gaia_codebase">Running the Gaia codebase</a></li>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Developing_Gaia/Understanding_the_Gaia_codebase">Developing Gaia</a>
    <ol>
     <li><a href="/en-US/docs/Mozilla/B2G_OS/Developing_Gaia/Understanding_the_Gaia_codebase">Understanding the Gaia codebase</a></li>
     <li><a href="/en-US/docs/Mozilla/B2G_OS/Developing_Gaia/Making_Gaia_code_changes">Making Gaia code changes</a></li>
     <li><a href="/en-US/docs/Mozilla/B2G_OS/Developing_Gaia/Testing_Gaia_code_changes">Testing Gaia code changes</a></li>
     <li><a href="/en-US/docs/Mozilla/B2G_OS/Developing_Gaia/Submitting_a_Gaia_patch">Submitting a Gaia patch</a></li>
     <li><a href="/en-US/docs/Mozilla/B2G_OS/Developing_Gaia/Build_System_Primer">Gaia build system primer</a></li>
     <li><a href="/en-US/docs/Mozilla/B2G_OS/Developing_Gaia/make_options_reference">Make options reference</a></li>
     <li><a href="/en-US/docs/Mozilla/B2G_OS/Developing_Gaia/Gaia_tools_reference">Gaia tools reference</a></li>
    </ol>
   </li>
  </ol>
 </li>
 <li><a href="/en-US/docs/Mozilla/B2G_OS/Building_and_installing_B2G_OS">Build B2G OS</a>
  <ol>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Building_and_installing_B2G_OS">Build overview</a></li>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Building_and_installing_B2G_OS/B2G_OS_build_process_summary">B2G OS build process summary</a></li>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/B2G_OS_build_prerequisites">Build prerequisites</a></li>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Preparing_for_your_first_B2G_build">Preparing for your first build</a></li>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Building">Building B2G OS</a>
    <ol>
     <li><a href="/en-US/docs/Mozilla/B2G_OS/Building">Building B2G OS</a></li>
     <li><a href="/en-US/docs/Mozilla/B2G_OS/Building_and_installing_B2G_OS/Building_for_Flame_on_OS_X">Building B2G OS for Flame on Mac OS X</a></li>
     <li><a href="/en-US/docs/Mozilla/B2G_OS/Building_and_installing_B2G_OS/B2G_Build_Variables_Reference_Sheet">B2G build variables reference sheet</a></li>
    </ol>
   </li>
  </ol>
 </li>
 <li><a href="https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS/Choosing_how_to_run_Gaia_or_B2G">Run B2G OS on Desktop</a>
  <ol>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Choosing_how_to_run_Gaia_or_B2G">Choosing how to run Gaia or B2G OS</a></li>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Mulet">Run B2G OS on desktop using Mulet</a></li>
  </ol>
 </li>
 <li><a href="/en-US/docs/Mozilla/B2G_OS/Installing_on_a_mobile_device">Install B2G OS on mobile</a>
  <ol>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Installing_on_a_mobile_device">Installing B2G OS on a mobile device</a></li>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Building_and_installing_B2G_OS/B2G_installer_add-on">B2G installer add-on</a></li>
  </ol>
 </li>
 <li><a href="/en-US/docs/Mozilla/B2G_OS/Building_and_installing_B2G_OS/Compatible_Devices">Compatible Devices</a></li>
 <li><a href="https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS/Building_and_installing_B2G_OS/B2G_OS_update_packages">Create updates for B2G OS</a>
  <ol>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Building_and_installing_B2G_OS/B2G_OS_update_packages">Creating and applying B2G OS update packages</a></li>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Building/FOTA_community_builds">Building and installing FOTA community build</a></li>
  </ol>
 </li>
 <li><a aria-haspopup="true" class="toggler" data-clicked="true" href="/en-US/docs/Mozilla/B2G_OS/Porting_B2G_OS">Porting B2G OS</a>
  <ol>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Porting_B2G_OS">Porting overview</a></li>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Porting_B2G_OS/basics">Porting basics</a></li>
   <li><a href="/en-US/docs/Mozilla/B2G_OS/Porting_B2G_OS/Porting_on_CyanogenMod">Porting on CyanogenMod</a></li>
  </ol>
 </li>
</ol>
Revert to this revision