Samveen's Blog

22nd April 2012

Building File for Android

One important forensic tool on the POSIX systems is file, and has been for at least 20 years. So when I work on an android host, it is disconcerting to find that tool missing.

After wandering around the Infobahn[3] looking for an android build of the file command, I finally went ahead and compiled it myself.

The package containing the file binary (v5.11), the associated magic files and the build specific files that I needed (over and above the source) to build it can be found here.

Source: file website
Compile pointers: Native Vim on Android
[3] And the nominees for best Internet synonyms are...