I’ve decided to keep a blog post containing various error messages encountered during Android debugging / playing …

These errors were encountered via deep trips in Android source both native and java source code, while trying to get zygote to execute a process as root (and hopefully this way, be able to somehow invoke the elusive forceStopPackage method which Google decided to ditch from Android 2.2; but is still there hidden behind proxies since it is very useful).


Connecting to /dev/socket/zygote (unix domain socket) from a native .C application and sending the following commands:

produces the log:

It probably means that I did not provide an application record to be executed by the process zygote created. I need to research how to do that …


After building an ARM toolchain using build root, I was trying to compile some library using the config files from the Android toolchain. I had to xscale as family, but instead I selected generic-arm: