tags:

views:

115

answers:

1

where to find the version information in source files on Android platform? I try to find out some information listed in setting>>about phone. Such as: firmware version, module number, baseband version, kernel version, ...

+2  A: 

For cyanogen, the source for this file is http://github.com/cyanogen/android_packages_apps_Settings/blob/donut/src/com/android/settings/DeviceInfoSettings.java , it looks like http://android.git.kernel.org/?p=platform/packages/apps/Settings.git;a=blob;f=src/com/android/settings/DeviceInfoSettings.java;h=82b7f2879b490a3e7522d85f18e466da08658f37;hb=HEAD is the equivalent in AOSP.

From those files, it looks like most of those values are constants or in the preferences, while the kernel is read from /proc/version.

sargas
What is these two files' purpose?./build/tools/buildinfo.sh./build/core/Makefile
XC
Those aren't in the settings app, you should you don't mean that to be a separate question? Makefile at least is the instructions for building (or cleaning, or testing, or whatever. Makefiles can be programmed to run any kind of commands, but they are normally instructions for compiling).
sargas