Showslab is available in android (Source: https://android.googlesource.com/platform/system/extras/+/master/showslab/). I derived the source code from Android and & ported to Ubuntu Linux. Hope it helps.