LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to show kernel version in android pre-built image via shell? (http://www.linuxquestions.org/questions/linux-newbie-8/how-to-show-kernel-version-in-android-pre-built-image-via-shell-948388/)

oopsmonk 06-04-2012 01:24 AM

How to show kernel version in android pre-built image via shell?
 
Hi there,

it's a kernel image in android source:
android source/device/ti/panda/kernel
how can i see the kernel version without boot-up?
i tried
Code:

$file ./device/ti/panda/kernel
./device/ti/panda/kernel: data

is there another way to do this?
thanks.

jtison 06-08-2012 08:31 AM

dmesg works
 
cat /proc/version will tell you.

oopsmonk 06-10-2012 11:01 PM

Quote:

Originally Posted by jtison (Post 4698756)
cat /proc/version will tell you.

yes, it's work after system boot-up.
so, i want know how to extract kernel version from a image file not at run time?
thanks a lot.

Satyaveer Arya 06-11-2012 02:28 AM

Check this link - http://plastilinux.blogspot.in/2009/...l-without.html


All times are GMT -5. The time now is 12:19 PM.