Recent posts

Track down the source of android toast

1 minute read

There are many ways to tell which app sends a toast, the most quickest way is to install third-party app such as Toast Source or Toaster, if you don’t want t...

Android procfs demystified – cpuinfo

2 minute read

From cpuinfo in procfs, we get a lot information about the cpu on board, how many cores, architecture etc, here is an example output of cpuinfo of RPI 3B+: `...

Analyzing Android with Battery Historian

3 minute read

Battery Historian is a tool for inspecting battery related issues, it works on android 5.0 and above, this can also be used for analyzing performance since b...

Debugging kernel with dynamic debug

5 minute read

Dynamic debug is a great feature for kernel debugging, kernel must be compiled with CONFIG_DYNAMIC_DEBUG option, if it was enabled, all pr_debug(), dev_dbg()...

Turn vim into an IDE with spf13-vim

1 minute read

I’ve been using vim for a very long time, my vimrc file is based on Amix’s with minor modifications, I think it’s time to move forward embracing excellent pr...

Control your Android devices with scrcpy

1 minute read

scrcpy is an open source project developed by Genymobile, it can be used to display and control of your android devices over adb connection. The following fe...