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.
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.
You can setup this project in your local machine by cloing this repository or downloading the zip file.
- Download Latest preview of AndroidThings_Edison_DevPreview Non-OS image to flash Android Things on Intel Edison
- Download Installer to access the features in the IOT Developer kit
- Download and Install Intel Platform Flash Lite tool
- Download and Install Android Studio
Before starting to flash, keep the swicth on the board in the position towards the micro-USB ports.
Open Intel Platform Flash Lite tool to flash the following images:
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
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>
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
MIT Licensed