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.

Nexus 4

This article provides information about using Firefox OS on a Nexus 4, including Flashing Firefox OS onto your device.

Installing Firefox OS on your Nexus 4

This section provides instructions for flashing Firefox OS onto your Nexus 4 device.

General

All users should have adb and fastboot working.  If you do not have adb and fastboot, you can download and install them as part of the Android SDK.

Windows Users should also install the Google USB Drivers. Download the USB drivers, and follow the installation instructions.

Flashing Firefox OS on Windows

  1. Download the nexus-4-kk.zip build.
  2. Unzip the file, and ensure that flash.bat is available inside the b2g-distro folder. (Note: the flash.bat file is currently missing; until this is added to the build, you can grab it from https://github.com/nhirata/flash-batch.)
  3. If your Nexus 4 is on, turn it off.
  4. Connect your Nexus 4 to your computer via a USB cable.
  5. Turn on the nexus 4 by tapping the power button, and then immediately hold the volume down button until you see "Restart bootloader" displayed on the screen.
  6. Double-click the flash.bat file.

Flashing Firefox OS on Mac/Linux

  1. Download the nexus-4-kk.zip build.
  2. Unzip the file, and ensure that flash.sh is available inside the b2g-distro folder.
  3. Connect your Nexus 4 to your computer via a USB cable.
  4. Open your terminal and enter the directory that flash.sh is located in — e.g: cd nexus-4-kk/b2g-distro.
  5. Enter the command adb devices to ensure the device is found. (See the adb command setup for help and troubleshooting information.)
  6. Enter the command chmod +x ./flash.sh to make the flash script executable.
  7. Enter the command ./flash.sh to proceed with the installation.

When the process is complete, your phone should reboot into Firefox OS.

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, stereo, nhirata, pdol
 Last updated by: chrisdavidmills,