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
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