Installing Kano OS on Raspberry Pi 3 from Linux

‹ Make your own computer | Overview of Kano OS ›

Some notes about installing Kano OS on a Raspberry Pi 3

  1.  the installer from http://developers.kano.me/downloads/ -- the installer uses NOOBS installer software; you unpack the .zip file normally into the SD card, boot the Raspberry Pi with the card inserted, the installer runs and overwrites the card entirely with the operating system image.
  2. Ensure the USB drive is partitioned using MBR
    1. sudo gdisk /your/usb/device (e.g. /dev/sdb)
    2. r  (for recovery and transformation options (experts only)
    3. x (extra functionality (experts only))
    4. z (zap (destroy) GPT data structures and exit)
    5. About to wipe out GPT on /dev/sdb.  Proceed?  y
    6. Blank out MBR? y
    7. sudo fdisk /your/usb/device
    8. n (new)
    9. p (primary)
    10. 1
    11. <enter>
    12. <enter>
    13. t (type)
    14. b (W95 FAT32)
    15. w (write)
  3. Format with sudo mkfs.vfat /your/partition (e.g. /dev/sdb1)
  4. cd /media/path/to/mounted/drive/
  5. unzip /path/to/Kanux-Beta-latest-release_noobs.zip
  6. Stick SD card into Raspberry Pi with power off
  7. Plug in USB/HDMI.  If you plug too many things in, with certain SD cards, the Raspberry Pi is known to do random writes on the SD card, corrupting it.  I started with only the monitor, then plugged in keyboard/mouse once the installer looked like it was working.
  8. The red light means the board has power.  The green light means the SD card is active.  If both lights are on and the display is off, it means that the computer is installing software, but not able to detect the display.  If you cut the power at this point, you may have to start from the beginning.
  9. If the red light flashes, turns off, goes out temporarily, or isn't even turned on, it means the voltage that the board is getting is too low.  Probably this is a combination of plugging in too many things that are drawing current, plus using a DC adapter that isn't providing enough current.  Most of the phone charger USB adapters that we have provide less than 1A at 5--5.1V, but the Raspberry Pi 3 supposedly needs 2.5A.  I did get it working with the Samsung charger from my Galaxy Nexus, after trying about 15 different combinations of DC adapters and full-to-micro-USB cables.  When this happens, you will also see a lightning bolt icon displayed in the upper right corner of the monitor (on the Raspberry Pi 3).
  10. Once computer is booted, to connect to hidden WPA2 wifi
    1. Open terminal
    2. Create/edit a wpa_supplicant.conf file with contents like:
      network={
        ssid="my-ap-essid"
        scan_ssid=1
        key_mgmt=WPA-PSK
        psk=my-psk-passphrase
      }
    3. Manually check that it works with sudo kano-wifi /path/to/my/wpa_supplicant.conf
    4. Apply the permanent change in /etc/kano_wpa_connect.conf (I had tried to connect to an encrypted wifi through the GUI first, which may have been what created this)
    5. Speed up auto-detection (it looks like kano-wifi is supposed to save this, but on my computer it did not) by editing /etc/kwifiprompt-cache.conf -- you can either set "conf" correctly, or you could set "conf" to null and set the other three parameters.  If enckey is a 64-character hex, you have to start the string with the literal three characters "hex":
      {
        "conf": "/etc/kano_wpa_connect.conf",
        "essid": "my-ap-essid",
        "enckey": "hex<my-psk-passphrase>",
        "encryption": "wpa"
      }
  11. To install Flash
    1. wget -O flashv24.tar.xz 'https://www.dropbox.com/s/tmti4hcul8cbtza/flashv24.tar.xz?dl=0'
    2. tar xvfJ flashv24.tar.xz
    3. cd pepper
    4. sudo cp *.so *.json /usr/lib/chromium-browser
    5. echo 'CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-version=24.0.0.174-r1 -password-store=detect -user-data-dir"' | sudo tee /etc/chromium-browser/customizations/01-pepper
  12. To install a new bookmark as an app in classic mode
    1. cd /usr/share/applications
    2. cp auto_google-drive.desktop dreambox.desktop
    3. sudo vi dreambox.desktop
    4. Create new icon in /usr/share/icons/Kano/66x66/apps/dreambox.png
    5. kano-apps
    6. find the app in "Others" and click "+"
  13. To install a new app in dashboard mode
    1. cd /usr/share/applications
    2. cp gmail.app dreambox.app
    3. Create new icon in /usr/share/icons/Kano/66x66/apps/dreambox.png
    4. sudo vi dreambox.app
Subscribe to All Posts - Wesley Tanaka