Posts

Showing posts from October, 2013

Access physical memory from Linux user space

Image
If you want to find a way for access physical memory in Linux there are only two solutions. The first is to develop a module running in kernel space with the correct privileges to access physical memory and the second is to use a special devices called " /dev/mem ". If your purpose is only to read or write some small parts of physical memory from user space this device is the right solution for you. Basically you can manage it as a file with additional use of some special functions required for get a pointer to the memory address your are interested to work in.

Browse android source code in a quicker way

Image
The Android package is composed of an huge amount of sources code and, since the documentation about internal structure is virtually non-existent (except some text files around that doesn't help very much), the only "documentation" are the sources code itself. Using some tool like grep is possible to search inside sources tree but it take a large amount of time and the output could be very hard to "follow". The following site could be a very very useful tool for make quick search inside Android source package. Basically it have already indexed all the Android versions from 1.6.0 to the last and allow advanced searches inside Android sources tree. The search result is well formatted and each language elements (functions. defines, variables and so on) is linked for allow to jump very quickly between the code inside source files. I strongly suggest to give a try!

Develop Android Qt apps on Windows

Image
A very complete visual guide about how to configure Qt environment to develop application for Android on Windows.

Run native binary executable from Android app in superuser mode

Image
Here discussed about a ready made function for run native binary executable with user privileges. Now another ready made function for run the same binary executable but with superuser privileges.