How-to flash your Firefox OS Developer Preview Geeksphone on OS X
The Web is the platform.
Built entirely using HTML5 and other open Web standards, Firefox OS is free from the rules and restrictions of existing proprietary platforms.
Mozilla, Firefox OS | #firefoxos
Update 2015-06-02: In order to flash my Peak w/ the v2.2 (images-peak-v2.2-2015-04-07.Gecko-c6d786b.Gaia-4a5b6f8.zip) I had a fairly good experience once I installed Android Studio, instead of the SDK.
Update 2013-08-04: While flashing my Peak with the updated latest stable v1.1 (images-peak-v1.1.0hd-2013-08-03.Gecko-bfb440d.Gaia-64f48c2) I didn’t had any issues with not being able to boot while keeping user data - anymore. Therefore and because an according note (“Do you want to keep your user data ? (Some users has problems in first reboot, if you have, please reflash and select not to keep the data)”) has been added to the flash_mac.sh script I removed the paragraph with my modified script.
For owners of an Firefox OS Developer Preview Geeksphone (Keon or Peak) the team at Geeksphone is providing the latest stable and nightly builds for flashing the phone as self contained downloadable images on downloads.geeksphone.com.
For downloading a build you have to select your device and choose what type of build you want to use - at time of writing: Latest stable, Latest v1.1, Latest nightly
In order to flash the phone you need to make sure that you have Remote debugging enabled on the phone: launch the Settings app and navigating to the Device information -> More information -> Developer tab.
In addition you will need the OS X binaries for the utilities adb and fastboot on your PATH. These tools come with the Android SDK (ADT Bundle for Mac) which you can download from developer.android.com/sdk/.
Unzip the SDK (e.g. to ~/Downlodas/adt-bundle-mac-x86_64) and add the subdirectory sdk/platform-tools to your PATH like so:
export PATH=$PATH:~/Downloads/adt-bundle-mac-x86_64/sdk/platform-tools/
Now you’re ready to flash your device. Change path into the unzipped image download:
cd ~/Downloads/images-peak-v1.1.0hd-2013-08-03.Gecko-bfb440d.Gaia-64f48c2
And execute the shell script flash_mac.sh:
./flash_mac.sh