Difference between revisions of "Software"

From Tinker Board Wiki
Jump to: navigation, search
Line 26: Line 26:
=== Android ===
=== Android ===
Android 6.01 Marshmallow v13.13.0.74. 2018/02/06
Android 6.01 Marshmallow v13.14.0.95. 2018/07/12
Direct downloads:
Direct downloads:
  [http://dlcdnet.asus.com/pub/ASUS/mb/Linux/Tinker_Board_2GB/20180712-tinker-board-android-v13.14.0.95.img.zip 20180712-tinker-board-android-v13.14.0.95] [293MB]
   [http://dlcdnet.asus.com/pub/ASUS/mb/Linux/Tinker_Board_2GB/20180206-tinker-board-android-v13.13.0.74.img.zip 20180206-tinker-board-android-v13.13.0.74] [284MB]
   [http://dlcdnet.asus.com/pub/ASUS/mb/Linux/Tinker_Board_2GB/20180206-tinker-board-android-v13.13.0.74.img.zip 20180206-tinker-board-android-v13.13.0.74] [284MB]

Revision as of 02:14, 21 August 2018

Operating Systems


Latest version v2.0.7 - Debian stretch based. 2018/06/22

TinkerOS Download page: https://www.asus.com/uk/Single-Board-Computer/Tinker-Board/HelpDesk_Download/

Direct links:

linaro-stretch-alip-v2.0.7.zip [1037MB]
linaro-stretch-alip-v2.0.5.zip [992MB]
linaro-stretch-alip-v2.0.4.zip [852MB]
linaro-stretch-alip-v2.0.1.zip [790MB]
linaro-stretch-alip-v1.8.zip [762MB] 
linaro-jessie-alip-v16.zip [928MB]
debian v1.4 [695MB]


Android 6.01 Marshmallow v13.14.0.95. 2018/07/12

Direct downloads:

 20180712-tinker-board-android-v13.14.0.95 [293MB]
 20180206-tinker-board-android-v13.13.0.74 [284MB]
 20171115-tinker-board-android-v13.12.0.43 [275MB]
 20170511-tinker-board-android-v13.11.0.4 [239MB]  

How to install Google Play Store: Installing Play Store


Latest version: 5.35, updated: 2017/110/25, download page: https://www.armbian.com/tinkerboard

Recommended images with kernel 4.13.x, direct download links:


       [590 MB] 4.13.16
       [570 MB] 4.4.102


       [210 MB] 4.13.16
       [240 MB] 4.13.16


DietPi configurable distro NB: GPU features are disabled for this board (eg: Kodi, Desktop). Ideal for server usage

Download page: http://dietpi.com/#download [116 MB]


Volumio - the Audiophile Music Player Operating system.

Download page: Under Tinkerboard

Direct download: volumio-2.411 [~273 MB]


Yocto customized source tree which enables VPU (hardware accelerated decoding and encoding), GPU, WiFi, video processing libraries (FFMPEG, OpenCV etc.,)

Direct download: Yocto[925 MB]

FlintOS (chromeOS)

FlintOS boots straight into chromium, and works just like ChromeOS

Download: http://flintos.io/download


ELAR systems have a Lubuntu SD image for ASUS Tinker Board here -> Download: Lubuntu

In the latest image (version 3.0), SD card will be resized upon the first boot to extend to the max size of the SD. The root account password is forced to be changed in first login as well. This has improved the security issue preventing others to login to your system as the SSH is enabled by default in this image. WiFi and Bluetooth both works fine and system performance has been improved as well.

Sound/Audio works great without any issue. Enjoy listening to a Bonus Sound Track "A Way To The Heaven" composed and arranged by Saeid Ghazagh, available in "Music" folder.

Ubuntu -LXQt

ELAR systems also have an Ubuntu-LXQt Desktop SD image for ASUS Tinker Board here -> Download: Ubuntu-LXQt Desktop

All features available in Lubuntu Image, also available on this Image as well.

How-tos in TinkerOS

Remote access


Follow the instructions on http://www.yuriybaldyasov.com/2017/05/15/asus-tinker-board-tightvnc-server-installation-steps/


sudo apt-get install x11vnc

The following file shoud be opened ~/.config/lxsession/LXDE/autostart and this line should be added to the bottom:

@x11vnc -noxrecord -forever

-noxrecord fixes a problem it has with stack smashing on this board

-forever option keeps the server alive after a connect and disconnect from a client

It must be restarted to run without a terminal.


Similar process is found on https://wiki.archlinux.org/index.php/Vino

VPN Server

A guide for RPi can be used also for Tinker Board and can be found on: https://pimylifeup.com/raspberry-pi-vpn-server/

Netflix, Hulu, Amazon Prime

A guide is published on tinkerboarding forum.

Netflix is also available on android via Google Play.

Virtual Keyboard

If you do not have a USB keyboard it is possible to install virtual keyboard via ssh with command 'sudo apt-get matchbox-keyboard'. To run the virtual keyboard run the 'matchbox-keyboard' in the terminal.

How to build Kernel/U-boot source code


 Get source code:
 $ git clone https://github.com/TinkerBoard/debian_u-boot.git -b release
 Building image:
 $ cd debian_u-boot
 $ make CROSS_COMPILE=arm-linux-gnueabihf- O=miniarm-rk3288 tinker-rk3288_defconfig all -j4 
 $ ./miniarm-rk3288/tools/mkimage -n rk3288 -T rksd -d miniarm-rk3288/spl/u-boot-spl-dtb.bin u-boot.img
 $ cat miniarm-rk3288/u-boot.bin >> u-boot.img
 Flash image:
 Prepare one sdcard which has the full Debian image inside.
 then insert the sdcard into a linux based OS, and suppose the block device of the sdcard is /dev/sdx
 $ sudo dd if=[path]/u-boot.img of=/dev/sdx seek=64


 Install the related packages:
 $ sudo apt-get install git-core gitk git-gui gcc-arm-linux-gnueabihf gcc-arm-linux-gnueabi device-tree-compiler gcc-aarch64-linux-gnu mtools parted libssl-dev
 Get source code:
 $ git clone https://github.com/TinkerBoard/debian_kernel.git -b release
 Building image:
 $ cd debian_kernel
 $ make ARCH=arm miniarm-rk3288_defconfig -j16
 $ make zImage ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16
 $ make modules ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16
 (Note: As of 2018-01-05, if may be necessary to edit the Makefile to add -Wno-misleading-indentation to the CFLAGS_MODULE if you are using GCC 6 and up.)
 $ make ARCH=arm rk3288-miniarm.dtb CROSS_COMPILE=arm-linux-gnueabihf- -j16
 $ make dtbs ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16
 Flash image:
 Prepare one sdcard which has the full Debian image inside.
 1. Install WIFI module to root file system:
 1.1 Insert sd card to linux pc and then mount partition 2 (rootfs partition) 
     suppose the block device of the sdcard is /dev/sdx
     $ sudo mkdir –p /media/users/sdx2
     $ sudo mount /dev/sdx2 /media/users/sdx2
 1.2 Open terminal to kernel folder and enter the following commands
     $ sudo make ARCH=arm INSTALL_MOD_PATH=/media/users/sdx2 modules_install
     $ sudo umount /media/users/sdx2
 2. Replace the kernel image:
 2.1 Insert sd card to linux pc and then mount partition 1 (boot partition)
     suppose the block device of the sdcard is /dev/sdx
     $ sudo mkdir –p /media/users/sdx1
     $ sudo mount /dev/sdx1 /media/users/sdx1
 2.2 Open terminal to kernel folder and copy zImage and rk3288-miniarm.dtb to partition 1
     $ cp arch/arm/boot/zImage /media/users/sdx1
     $ cp arch/arm/boot/dts/rk3288-miniarm.dtb /media/users/sdx1
     $ sudo umount /media/users/sdx1
 NOTE: The step 1.1 and 2.1 should be skipped since most of the linux distribution will mount the sdcard automatically.

PXE boot


HDMI resolution


How-tos in Android

How to root

In order to root Android you need to follow steps described at How to install SuperSu on Android via adb

An example of a full script can be found on https://tinkerboarding.co.uk/forum/thread-264.html?highlight=android

How to build Kernel source code

Android 6.0.1 kernel

 Get source code:
 $ git clone https://github.com/TinkerBoard/android-6.0.1_kernel.git -b release
 Building image:
 $ cd android_kernel
 $ make rockchip_defconfig -j4
 $ make rk3288-miniarm.img -j4
 Flash image:
 Prepare one sdcard which has the full Android image inside.
 then insert the sdcard into a linux based OS, and suppose the block device of the sdcard is /dev/sdx
 $ sudo dd if=./resource.img of=/dev/sdx seek=32768
 $ sudo dd if=./kernel.img of=/dev/sdx seek=65536

How to build Android(AOSP) source code


Install Google's repo command tool ref: https://source.android.com/setup/downloading

 Make sure you have a bin/ directory in your home directory and that it is included in your path:
 mkdir ~/bin
 Download the Repo tool and ensure that it is executable:
 curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
 chmod a+x ~/bin/repo

Android 6.0.1 AOSP

 Get source code:
 $ repo init -u https://git@bitbucket.org/TinkerBoard_Android/manifest.git -b sbc/tinkerboard/asus/Android-6.0.1
 $ repo sync -c -d
 Find the build SOP document at the below path.
 [source code]/RKDocs/android_SOP_eng_6.0.1.docx


How to rotate the screen