Recent posts

What I’ve learned from wa output

10 minute read

Workload-automation is a great tool for benchmark automation, it utilizes tools in sdk and android system, including aapt, pm, am etc through devlib, this po...

How to add assets to android apk file

2 minute read

I need to update a firmware binary which was packaged into apk file, unfortunately I do not have the source code of this apk, so I cannot just do mm to regen...

How to Debug Shell Scripts

1 minute read

In order to find out where the problem is with my script, I often use echo for debugging, print line number with echo ${LINENO}, but it is not a optimium way...

Find Out Who Deleted a File

1 minute read

Previously I wrote a post about how to use ftrace via trace-cmd, now here comes a real world example showing how to find who deleted a file in Android system.

Generate Call & Caller Graphs with Doxygen

less than 1 minute read

Installation Doxygen using dot from graphviz to generate graphs, install doxygen and its dependency: sudo apt install doxygen -y sudo apt-get install graphvi...

Using Git Like a Pro – aliases

1 minute read

Aliases are created through the use of the git config command, and will be saved to $HOME/.gitconfig, use below two commands to see a list of aliases:

Using Gerrit on Ubuntu

2 minute read

Install Gerrit First download the latest version of gerrit from Gerrit Releases site: