B2G2, a brain dump about Firefox OS and Geeksphone's Peak

A flash in the night

The Geeksphone team has released new stable roms for both Keon and Peak : http://forum.geeksphone.com/index.php?topic=5207.0

Last time, I only tried to update Gaia, so now is the perfect occasion to load a full disk image including Gonk and Gecko, the bottom layers of Firefox OS.

The instructions are pretty basic. The Remote Debugging option has to be activated in the phone and drivers have to be installed.

The Peak image is about 100Mb zipped and contains its own copy of adb and fastboot along a boot.img, a system.img and a userdata.img.

Here are the handful of commands embed in the flash.sh :

adb reboot bootloader
fastboot flash boot boot.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot erase cache
fastboot reboot

I ran into an insufficient permissions for device error. Doing an adb devices confirms that the problem is real :

List of devices attached
????????????    no permissions

As usual with permission issues of any sort, a powerful sudo is often the cure.

sudo adb kill-server
sudo adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
424242424242    device

After executing flash.sh, the phone rebooted to the bootloader screen (the one you control with the volume buttons), but the process got stuck to < waiting for device >

To pass this blocking message I had to turn fastboot into an executable with a chmod +x and type all the above commands with sudo like this :

chmod +x fastboot
sudo ./fastboot flash boot boot.img
sending 'boot' (4232 KB)...
OKAY [  0.357s]
writing 'boot'...
OKAY [  0.768s]
finished. total time: 1.125s

The all operation lasted about 2 minutes. The resolution issue is now fixed and only the public apps are available.

In the Device information settings panel, the Software is stil mentionned as Boot2Gecko Platform version 18.0, Build Identifier 20130418124521 and Git commit info 44915e.

I was expecting something more recent, because I believed this is the exact same build than the one preinstalled on the phone when I received it.

Next step, lurk on the forum to find new images made by the community!