Enable Developer menu
Settings > Devices Information > More Information
Check Developer Menu
Enable USB debugging
Go back to Settings > Developer Menu
In Debugging via USB
Select ADB and DevTools
Push Gaia
$ cd /path/to/gaia
$ make reset-gaia
This will erase all the data in your device!
(But you can do a backup)
Useful options
Don't show the first time user experience
$ NOFTU=1 make reset-gaia
Start in debug mode
$ DEVICE_DEBUG=1 make reset-gaia
Pushing a single app
$ APP=calendar make install-gaia
Install ADB Helper Add-on
Launch Firefox Nightly
Tools > Web Developer > WebIDE
Select Runtime > Install Simulator
Install ADB Helper Add-on
Debug in the WebIDE
Back to the WebIDE
Select Runtime > under USB Devices
Select your device (Flame, GP-Peak...)
Build a profile
$ cd /path/to/gaia
$ DEBUG=1 DESKTOP=0 make
Configure the WebIDE
Launch Firefox Nightly
Tools > Web Developer > WebIDE
Select Runtime > Install Simulator
Install the followings:- ADB Helper Add-on
- Firefox OS 2.2 Simulator
Select your profile
Back to Firefox Nightly (close the WebIDE)
Tools > Add-ons
Under Simulator 2.2, click on Preferences
Click Select a custom Gaia profile directory
Select your newly created profile
Launch the simulator
Back to the WebIDE
Select Runtime > Firefox OS 2.2