Skip to content

anujduggal88/Android-Things-On-Intel-Edison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 

Repository files navigation

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)

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published