Skip to content

@janjongboom /gist:5500846
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Flashing a GeeksPhone with a newer version of Firefox OS

Here are instructions on how to flash your Geeksphone.

Prerequisites

  1. First of all you'll need to have adb and fastboot, these are included in the Android SDK
  2. If your phone can be turned on, enable 'Remote debugging' (in Settings -> Device Information -> More information -> Debugging)
    • Now see if your device is listed when you type adb devices in the terminal
    • If so: run adb reboot bootloader
  3. If your phone is bricked, load into bootloader by pressing power and volume up
    • Verify that the phone is listed when running fastboot devices

Flashing from firmware

If GeeksPhone provides you with firmware (ask them nicely?):

Download and unzip a firmware, and open ScriptKEONFlash.bat (if you have an orange device) or ScriptPEAKFLASH.bat (if white device). In here are fastboot commands, run them in the terminal.

Flashing from source

  1. If possible: First flash from firmware to do a kernel update
  2. Clone B2G from https://github.com/mozilla-b2g/B2G
  3. Clone mozilla-central from https://developer.mozilla.org/en-US/docs/Developer_Guide/Source_Code/Mercurial#Bundles
  4. In B2G create a file called .userconfig with content:
    GECKO_PATH=~/repos/mozilla-central
    GECKO_OBJDIR=~/repos/mozilla-central/obj-x86_64-apple-darwin12.2.1
  5. Now run ./config.sh keon (takes long)
  6. Now run ./build.sh gecko (takes long)
  7. Flash Gecko with ./flash.sh gecko
  8. Now clone Gaia https://github.com/mozilla-b2g/gaia
  9. Run make reset-gaia
@marcusklaas

Yo Jan, some questions. Does this preserve data like contacts? Are these instructions specific to either OSX or LINUX or WINDOWS? Is step 5 in the flashing from source specific for the Keon or is this the same for the Peak? Did Geeksphone provide you with firmware? If so, why not share with us? :-)

Edit: step 4 in flashing from source suggests that you did this on OSX. Should I be trying this on an Ubuntu machine? Or should I grow a brain of my own and figure it out :P

@janjongboom
Owner

Hi Marcus,

These instructions are for OSX, but should work on Linux as well. Keon & Peak are the same here, there are no drivers needed. You can get GeeksPhone firmware from the GP forums. Ubuntu should be fine, but you will need to specify a different GECKO_OBJDIR (ls the mozilla-central dir to find out :) ).

Jan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.