Giter Site home page Giter Site logo

anujduggal88 / android-things-on-intel-edison Goto Github PK

View Code? Open in Web Editor NEW
13.0 8.0 3.0 7 KB

Android Things is a device-based OS for Internet of Things. It helps to build rapid prototypes of connected devices with the ease and power of Android.

android-things-on-intel-edison's Introduction

Android Things

Android Things is a device-based OS for Internet of Things. It helps to build rapid prototypes of connected devices with the ease and power of Android.

Android-Things-On-Intel-Edison

This repository is created to offer step-by-step procedure to get started with Android Things on Intel Edison to build connected devices for a wide variety of consumer, retail, and industrial applications. It has (almost) no dependencies and is designed for developers from Beginners to Intermediate level.

1. Setup

You can setup this project in your local machine by cloing this repository or downloading the zip file.

2. Downloads & Installations

3. Flashing

Before starting to flash, keep the swicth on the board in the position towards the micro-USB ports.

Intel Edison

Open Intel Platform Flash Lite tool to flash the following images:

Platform Flash Lite tool

To flash Android Things onto Intel Edison, press the combination of keys as follows:

  • Press FW button on Intel Edison's Arduino breakout board
  • Insert the cable to the OTG port and then release the FW button and then flash it using the Platform Flash lite tool
  • In the Platform Flash Lite tool, select configuration as 'Non_OS' and flash the latest preview of AndroidThings_Edison_DevPreview on Intel Edison

Intel Edison

Once flashed, enter into the androidthings_edison_devpreview directory and use fastboot to flash system images:

$fastboot devices

$fastboot \
    flash gpt partition-table.img \
    flash u-boot u-boot-edison.bin \
    flash boot_a boot.img \
    flash boot_b boot.img \
    flash system_a system.img \
    flash system_b system.img \
    flash userdata userdata.img \
    erase misc \
    set_active _a

$fastboot \
    flash gapps_a gapps.img \
    flash gapps_b gapps.img

$fastboot \
    flash oem_a oem.img \
    flash oem_b oem.img

Reboot the device using below command, enter to Android Things:

$fastboot reboot

Define ADB: Android Debug Bridge (ADB) is a client-server program used in Android application development Download the adb tool for this link : https://developer.android.com/studio/command-line/adb.html

'''sh $adb devices


In case, you're unable to start the adb daemon, restart the adb server as:
```sh
$adb kill-server
$adb start-server

$adb devices
How to check Kernel Version, enter to adb shell
$cat /proc/version

How to check Build Version, enter to adb shell
$getprop ro.build.fingerprint

How to check SDK Version, enter to adb shell
$getprop ro.build.version.sdk

How to check cpu info, enter to adb shell
$ cat /proc/cpuinfo



## 4. Configurations
After flashing the board, we'll connect the board with internet using adb.

#### Connecting Wi-Fi:
To achieve this, get the SSID and password of the Wi-Fi and execute the following commands:
```sh
$adb shell am startservice \
    -n com.google.wifisetup/.WifiSetupService \
    -a WifiSetupService.Connect \
    -e ssid <Network_SSID> \
    -e passphrase <Network_Passcode>

5. Development

Want to contribute? Great! We're expanding features such as adding voice commands to contol things from Android App. Keep watching this space.

Meanwhile, you can contribute to this by:

  • Filing issues
  • Contributing Code
  • Contributing Feature
  • Please contact the author for more information on contributing

6. License

MIT Licensed

7. Author

Anuj Duggal (LinkedIn | Twitter | Facebook)

android-things-on-intel-edison's People

Contributors

anujduggal88 avatar trsbalaji avatar

Stargazers

Dakota Vincent avatar Bernard Van Haecke avatar Veerangana Dash avatar Sourav Kumar Nanda avatar Eric Liu avatar  avatar Mehul Akoliya avatar  avatar  avatar Khushmeet Singh avatar Jaldeep Asodariya avatar Ashwini Purohit avatar Pranav Lathigara avatar

Watchers

James Cloos avatar Mehul Akoliya avatar Eric Liu avatar  avatar  avatar Brian Chen avatar Veerangana Dash avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.