Clone this repo:
  1. 1600fde feat(chess): add chess module by YoungSeok Yoon · 2 days ago master
  2. 3932918 chore(make): one makefile to rule them all by YoungSeok Yoon · 2 days ago
  3. b778cd8 chore(make): improve dart analysis in Atom by YoungSeok Yoon · 4 days ago
  4. 7878363 chore(refactor): no more email directory by Jason Campbell · 5 days ago
  5. 9c083f0 fix(gallery): fix the config source for the widget gallery app by YoungSeok Yoon · 5 days ago


This repository is a workspace for module exploration and common functionality.


OS X Firewall Warnings

On OS X there can be an annoying firewall dialog every time the Magenta tools are rebuilt. To prevent the dialog disable the firewall or sign the new binaries, for instance to sign the netruncmd:

sudo codesign --force --sign - $FUCHSIA_DIR/out/build-magenta/tools/netruncmd

The dialog will now only appear the first time the command is run, at least until it gets rebuilt.

Invalid Certificate Errors

On new or newly provisioned devices it is possible to trigger an SSL error caused by the system clock being set in the future. To prevent this you must set the device clock:

# On Darwin
(fgo && DATE=`date +%Y-%m-%dT%T`; ./out/build-magenta/tools/netruncmd : "clock --set $DATE")

# On Linux
(fgo && DATE=`date -Iseconds`; ./out/build-magenta/tools/netruncmd : "clock --set $DATE")

This only needs to be done once.


Listen to device logs:



Add config.json in this directory, it will be ignored by version control.

# Using make
make config.json

Then add two values required for OAuth.

  "oauth_id": "<Google APIs client id>"
  "oauth_secret: "<Google APIs client secret>"

To setup Google Image Search for the Image Picker, add these additional values

{ “google_search_key”: “” “google_search_id”: “” }


Once you have the OAuth id and secret it is possible to generate refresh credentials with:

make auth

Follow the link in the instructions.


Make sure to start from a “very clean build” (remove $FUCHSIA_DIR/out) if you have built before but didn't do the auth steps above. There is a make task to help with this:

make depclean all

This will clean and create a release build. To do this manually you can use:

source $FUCHSIA_DIR/scripts/
rm -rf $FUCHSIA_DIR/out
fset x86-64 --release --modules default


Assuming you have an Acer properly networked and running fboot in another terminal session you can run email two different ways.

Running with the full sysui

netruncmd : "@boot device_runner"

Running the email story directly

netruncmd : "@boot device_runner --user_shell=dev_user_shell --user_shell_args=--root_module=<target>"