Android User Guide: Powered by
Android User Guide: Powered by
Powered by:
Content
1 Android on the DragonBoard410c .....................................................................................................................................3
1.1 Known limitations ....................................................................................................................................................3
1.2 Boot-phase status indicators....................................................................................................................................3
2 Installing Android ...............................................................................................................................................................4
2.1 Installing from SD-card .............................................................................................................................................4
2.2 Installing from Host-pc .............................................................................................................................................7
3 Recovering your DragonBoard with the rescue image ....................................................................................................10
3.1 Installation overview ..............................................................................................................................................10
3.2 Step1: Download the rescue image from the 96Boards website ...........................................................................10
3.3 Step2: Copy the rescue image onto an SD-card .....................................................................................................10
3.4 step3: Boot the board from the SD-card ................................................................................................................11
4 Running Android ..............................................................................................................................................................12
4.1 Setting up WIFI .......................................................................................................................................................12
4.2 Side-loading apps ...................................................................................................................................................14
5 Android Development Environment ................................................................................................................................15
5.1 Android Studio .......................................................................................................................................................15
5.2 ADB Android Debug Bridge ....................................................................................................................................15
6 Example1: HelloWorld application ..................................................................................................................................18
6.1 Start Android Studio ...............................................................................................................................................18
6.2 Create a new Project ..............................................................................................................................................19
6.3 Implement application ...........................................................................................................................................21
6.4 Build the application ..............................................................................................................................................22
6.5 Run the application ................................................................................................................................................22
7 Statements regarding FCC ...............................................................................................................................................24
2/24
1 Android on the DragonBoard410c
1.1 Known limitations
Please see the Qualcomm Developer Network website for details regarding the known limitations of this Android image:
https://developer.qualcomm.com/download/db410c/android-release-notes-build-labr124-01810-8x160.pdf
3/24
2 Installing Android
There are currently two supported methods to install the Android Operating-system-image on the DragonBoard410:
Installing the image from SD-card
Installing the image from a Host computer via a USB cable and fastboot
The following chapters describe the two methods in detail.
dragonboard410c_sd_card_inst http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/latest/drag
all_android.zip onboard410c_sdcard_install_android-*.zip
4/24
2.1.4 Step2: Write the Installer-image onto a micro SD-card
Write the Installer image onto the SD-card using your favorite imaging tool:
On Windows:
On Linux:
Execute the following commands:
sudo dd if=db410_sd_install_android.img of=/dev/XXX bs=2M
sync
Where XXX is the device name
Warning: Do not override your hard drive. In most cases, XXX will be mmcblk0 or sdx where x depends on the
number of fixed disks in your system. You can determine the sd-cards device name by using the following
command:
sudo fdisk -l
5/24
2.1.5 Step3: Boot the DragonBoard from the SD-card
● Plug In the programmed SD-card into the board
● The board should start up and show a Dialog from which you can choose the Operating System to install
● Choose the displayed Operating system (Android) and click Install. This will flash the OS on the board eMMC
● Once you see the programming successful dialog proceed with the next step
● Plug in the power cord. The system should now boot into your chosen Operating System
6/24
2.2 Installing from Host-pc
This method is recommended for experienced users who will be downloading many iterative experimental versions of
self-compiled OS’s. It is also a fallback method in case the first method fails because either the monitor or mouse and
keyboard could not be detected. Since this method uses a HostPC to program the board a separate monitor and
mouse/keyboard do not need to be connected to the board.
This guide describes the process both for Windows and Linux Host systems.
2.2.3 Step1: Download the Android images from the 96Boards Website
Download the following images from the 96Boards website:
7/24
persist.img.tar.xz http://builds.96boards.org/releases/dragonboard410c/qualcomm/an
droid/latest/persist*.img.tar.xz
system.img.tar.xz http://builds.96boards.org/releases/dragonboard410c/qualcomm/an
droid/latest/system*.img.tar.xz
userdata.img.tar.xz http://builds.96boards.org/releases/dragonboard410c/qualcomm/an
droid/latest/userdata*.img.tar.xz
recovery.img.tar.xz http://builds.96boards.org/releases/dragonboard410c/qualcomm/an
droid/latest/recovery*.img.tar.xz
fastboot devices
Please note: If you run Fastboot from a Linux Host PC you might have to run it with sudo privileges.
For example: sudo fastboot devices
8/24
tar xf system.img.tar.xz
tar xf userdata.img.tar.xz
tar xf recovery.img.tar.xz
Then Flash the remaining images via fastboot into their respective partitions on the board:
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash persist persist.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
9/24
3 Recovering your DragonBoard with the rescue image
Use this method if the previous two method failed and you were not able to reach the board via the fastboot tool.
(fastboot devices command not listing your device.)
3.2 Step1: Download the rescue image from the 96Boards website
Download and extract the Recovery image from the 96Boards website:
dragonboard410c_sd_card_ http://builds.96boards.org/releases/dragonboard410c/linaro/rescue/latest/dragonboard4
rescue-BB.zip 10c_sdcard_rescue*.zip
On Linux:
Execute the following commands:
dd if=db410c_sd_rescue.img of=/dev/XXX bs=2M
10/24
sync
Where XXX is the device name
Warning: Do not override your hard drive. In most cases, XXX will be mmcblk0 or sdx where x depends on the number
of fixed disks in your system. You can determine the SD-cards device name by using the following command:
sudo fdisk -l
Alternatively you can also use the following command to determine the SD-card device name:
dmesg | tail
11/24
4 Running Android
While it would go beyond the scope of this user guide to go into all aspects of running android, in this chapter we will go
over some of the most common use cases relevant to get started with the board.
12/24
In the settings app click Wi-Fi:
After a few seconds you should see a list of available networks. Choose the network you would like to connect to and
provide the network’s password. Then click Connect.
If the connection was successful a WiFi-symbol should appear in Android’s status bar.
13/24
4.2 Side-loading apps
Since the Dragonboard does not come with the google app-store pre-installed any additional applications that you might
want to install, need to be installed through a process called app-side-loading.
Before you continue you need the applications installer package (*.apk file).
step 1. Enable Security settings:
Before you can side-load any apps onto Android you need to allow the installation of third party apps in the
system security settings: In the system settings under security Enable “Installation form unknown sources”
step 2. Connect the board to a host PC: ( HostPC must have ADB drivers installed (see chapter 5.2 for details))
a. Ensure all boot-switches are set the OFF position and the board is powered up.
b. Plug in the micro-USB cable and connect the board to the HostPC
step 3. Install the applications installer package using ADB commands:
adb install myApp.apk
14/24
5 Android Development Environment
The following picture depicts the typical development setup for the DragonBboard 410c:
[Google.NTamd64]
;Qualcomm Devices
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9025&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9024&MI_02
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9015&MI_00
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9018&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9029&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9031&MI_02
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9037&MI_02
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9035&MI_02
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9053&MI_02
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9039&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_904E&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_903A&MI_02
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_903F&MI_03
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9022&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_902D&MI_03
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_901D&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_903B&MI_02
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9042&MI_04
16/24
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9044&MI_02
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9046&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9059&MI_03
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9060&MI_03
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9064&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9065&MI_03
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9082&MI_05
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9084&MI_03
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9098&MI_04
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_909A&MI_04
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9091&MI_03
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_9020&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_90B4&MI_03
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_90B6&MI_04
%CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_90B8&MI_04
;
17/24
6 Example1: HelloWorld application
With Android studio installed, we can now develop our first Android HelloWorld application for the DragonBoard 410c.
18/24
6.2 Create a new Project
Create a new project by selecting “Start a new Android Studio project”
In the new Project dialog give the new project the name “HelloDragonBoard” and click Next.
In the following dialog select the supported SDK: API 21 Android 5.0 (Lolipop) and click Next.
19/24
In the following screen choose the “Blank activity” then click Next
Leave the settings in the following screen unchanged and click Finish
Once you click finish the project wizard will create the new project for you:
20/24
6.3 Implement application
The project template contains a basic Hello World Android application that will run on the board. Feel free to change the
default “!!!Hello World!!!” message to “!!! Hello DragonBoard410c !!!”.
21/24
6.4 Build the application
To Build the application select Build -> Make Project from the menu.
22/24
When you close your app you should see your app listed in the apps drawer together with the other app’s on the system:
23/24
7 Statements regarding FCC
FCC Label Warning
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
This device may not cause harmful interference.
This device must accept any interference received, including interference that may cause undesired operation.
Cet appareil se conforme aux principes de licence –exempts RSS de l’Industrie de Canada. Gestion dépende des conditions
suivantes :
l'appareil ne doit pas produire de l’interférence, et
l'appareil doit accepter toutes sortes d’interférences, cela incluet l’interférence qui va peut--‐être causer les
résultats indésirables de l’appareil.
This device generates and uses radio waves and if not used properly may cause interference to radio and TV reception. It
has been tested and found to comply with the limits set by the FCC which are designed to provide reasonable protection
against such interference.
CAUTION
Arrow Electronics, Inc. (“Arrow”) is not responsible for any radio or TV interference caused by unauthorized modifications
to this equipment. Changes or modifications not expressly approved Arrow could void the user’s authority to operate the
equipment.
24/24