Here are instructions on how to flash your Geeksphone.
- First of all you'll need to have adb and fastboot, these are included in the Android SDK
- 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
- Now see if your device is listed when you type
- If your phone is bricked, load into bootloader by pressing power and volume up
- Verify that the phone is listed when running
fastboot devices
- Verify that the phone is listed when running
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.
- If possible: First flash from firmware to do a kernel update
- Clone B2G from https://github.com/mozilla-b2g/B2G
- Clone mozilla-central from https://developer.mozilla.org/en-US/docs/Developer_Guide/Source_Code/Mercurial#Bundles
- In B2G create a file called .userconfig with content:
GECKO_PATH=/repos/mozilla-central/repos/mozilla-central/obj-x86_64-apple-darwin12.2.1
GECKO_OBJDIR= - Now run
./config.sh keon
(takes long) - Now run
./build.sh gecko
(takes long) - Flash Gecko with
./flash.sh gecko
- Now clone Gaia https://github.com/mozilla-b2g/gaia
- Run
make reset-gaia
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