This is an Odroid-U2 Android project. i refer to alogcat. https://github.com/Smeat/alogcat