-
Notifications
You must be signed in to change notification settings - Fork 0
HiKey Android Install
This Users Guide provides a general overview for getting started with Linux installations on the HiKey.
If you have found this page without having downloaded the appropriate files, please return to the HiKey Crossroads to choose your download path!
##Linux Host
This section show how to install the AOSP operating system to your HiKey using the fastboot method on a Linux host computer.
- Step 1: Make sure fastboot is set up on host computer
- Step 2: Boot HiKey into Fastboot mode using J15 header
- Step 3: Install Operating System update using downloaded files
- Step 4: Reboot HiKey into new OS
Step 1: Make sure fastboot is set up on host computer
- Android SDK “Tools only” for Linux can be downloaded here
- The Linux “Tools Only” SDK download does not come with fastboot, you will need to use the Android SDK Manager to install platform-tools.
- To do this follow the “SDK Readme.txt” instructions included in your SDK “Tools Only” download.
If you are still having trouble setting up fastboot, click here for a short tutorial video
Step 2: Boot HiKey into Fastboot mode using J15 header
- Link pins 1 and 2
- Link pins 5 and 6
- Connect host computer to HiKey board using USB to microUSB cable
Name | Link | State |
---|---|---|
Auto Power up | Link 1-2 | closed |
Boot Select | Link 3-4 | open |
GPIO3-1 | Link 5-6 | closed |
- Power on HiKey board by plugging in power adapter
- Esure HiKey is detected by host computere
- Open Terminal application and execute the following:
$ sudo fastboot devices
0123456789abcdef fastboot
Note: If your HiKey is not being detected by fastboot, you might want to try Board Recovery and return to this step once your board is ready
Step 3: Install Operating System update using downloaded files
NOTE: the ptable must be flashed first. Wait for a few seconds after the reboot command to allow the bootloader to restart using the new partition table.
$ sudo fastboot flash ptable ptable-aosp-8g.img
$ sudo fastboot reboot
$ sudo fastboot flash boot boot_fat.uefi.img
$ sudo fastboot flash cache cache.img
$ sudo fastboot flash system system.img
$ sudo fastboot flash userdata userdata-8gb.img
Step 4: Reboot HiKey into new OS
- Wait untill all files have been flashed onto HiKey board
- Power down HiKey by unplugging the power adapter
- Remove microUSB cable from HiKey
- Remove Link 3-4 from J15 header
Name | Link | State |
---|---|---|
Auto Power up | Link 1-2 | closed |
Boot Select | Link 3-4 | open |
GPIO3-1 | Link 5-6 | open |
- Plug mouse/keyboard USB into type A USB ports
- Power up HiKey by plugging in power adapter
Congratulations! You are now booting your newly installed OS directly from eMMC on the HiKey!