Starting with ZeroPhone

From ZeroPhone
Jump to: navigation, search

This page describes first steps to do once you get your ZeroPhone.

Prepare the SD card

TODO!: touch up the image and post it to torrents

  1. Download an SD card image - currently, the torrent file is available for ZeroPhone Gamma
  2. Unzip the image
  3. Find an SD card that's at least 2GB large
  4. For Linux, upload the image onto SD card using dd:
    1. dd if=ZeroPhone_Gamma_170811_v1.0.img of=/dev/XXXX bs=32M, where /dev/XXXX is disk path for the SD card connected to computer, such as /dev/mmcblk1 or /dev/sde
  5. For Windows, use Win32DiskImager

Boot the ZeroPhone up

  1. Insert batteries into battery holder and connect the holder to the ZeroPhone
  2. Connect the ZeroPhone to charger using the microUSB port on the side of ZeroPhone
  3. Wait until ZeroPhone boots and UI appears on the display. The RGB LED should light up in green for half a second before the UI appears on the display, if neither happens, check that the SD card has a valid image.

Connect the ZeroPhone to a WiFi network

  1. Go to Networking=>Wireless and press Status to see whether you're connected to any network already
  2. Go back and press Scan to scan for wireless networks around. It's advised to wait for about 5 seconds.
  3. Press Networks to see the available networks, select the network that you need to connect to
  4. Press Connect in the network menu that appears when you click on the network. You will have to enter a password if the network is password-protected - you can enter it using the numpad keys.
  5. Once you're connected, go back and select Status. The "St" column should switch to COMPLETED, and you should get an IP address.

SSH into your ZeroPhone

  1. Use your SSH client of choice
  2. Username is pi, password is Letsbuildaphone
  3. Please, change the password immediately. It's your responsibility to do so until there's an app that'll automatically set the password.
  4. Regenerate your SSH keys (TODO: instructions)

Expand the filesystem

  1. Run sudo raspi-config and select the Expand Filesystem option
  2. After it's done, reboot when it asks you to

Update ZeroPhone software

Assuming that you're connected to the Internet:

  • Update the system
sudo apt-get update && sudo apt-get dist-upgrade
  • Update the UI
cd /home/pi/pyLCI && ./update.sh