Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Is it possible to check using shell whether or not Cyanogenmod is installed on a device?

In other words, something like uname -a (which tells the system Linux version and architecture).

Can the version be determined as well?

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

I tried to do uname -a on my CM10.1 (Samsung Galaxy S2) on the built-in Terminal app.

It returns:

Linux localhost 3.0.31-CM-g17c7b6e #1 SMP PREEMPT Tue Feb 19 01:11:17 PST 2013 armv71 GNU/Linux

Kernel version: 3.0.31-CM-g17c7b6e
SMP: Symmetric Multi-Processor support
PREEMPT: kernel preemption is enabled
Kernel date: Tue Feb 19 01:11:17 PST 2013
Processor: armv71

share|improve this answer
    
Can you explain the rest of the output? What is g17c7b6e, PREEMPT? –  Kshitiz Sharma Feb 21 '13 at 10:52
    
@KshitizSharma See my updates. –  geffchang Feb 21 '13 at 11:08
add comment

Another way is to simply go to Settings→About phone, where you should see (depending on your CyanogenMod version) an item "CyanogenMod updates", and (with all CM versions) "CyanogenMod-Version":

About Phone: CM Stats and Kernel version About phone: CM version About phone: CM version (German)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.