Peppermint OS Community Forum

General => General Discussion => Topic started by: sskarma on October 14, 2015, 11:40:50 pm

Title: Android Kernel vs Peppermint kernel
Post by: sskarma on October 14, 2015, 11:40:50 pm
Hi guys, so my phone says that it's Kernel is "3.4.0" and My Peppermint 6 installation says it has kernel "3.16.0-50-generic i686 (32-bit)".

I'm confused because Peppermint 6 was released in 2015 and Android 4.3 in 2013 (Android 6.0 being the most recent one). My question is, why does my Android uses a newer kernel?

(http://oi57.tinypic.com/ipt6qq.jpg)
Title: Re: Android Kernel vs Peppermint kernel
Post by: Slim.Fatz on October 14, 2015, 11:53:20 pm
Hi sk_sarma,

The Linux kernel from the 3.4.x series actually appeared much earlier than the kernel from the 3.16.x series. So your Android appears to be using a much older kernel.

My question would be: why do the Android gurus still use a such an old kernel?

Regards,

-- Slim
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 15, 2015, 01:06:55 am
Thank you Slim, I thought 3.4.x came after 3.16.x :P :) 
Title: Re: Android Kernel vs Peppermint kernel
Post by: PCNetSpec on October 15, 2015, 06:15:02 am
nope .. 4 is a smaller number than 16 .. it's not 3.1.6, it's 3.16 ;)

Android 5.0 (lollipop) had the 3.16 kernel .. Android 4.3 was an older OS with an earlier kernel

Code: [Select]
Android Version (codename)|   API Level  |   Linux Kernel in AOSP
-----------------------------------------------------------------
1.5    Cupcake            |   3          |   2.6.27
1.6    Donut              |   4          |   2.6.29
2.0/1  Eclair             |   5-7        |   2.6.29
2.2.x  Froyo              |   8          |   2.6.32
2.3.x  Gingerbread        |   9, 10      |   2.6.35
3.x.x  Honeycomb          |   11-13      |   2.6.36
4.0.x  Ice Cream Sandwich |   14, 15     |   3.0.1
4.1.x  Jelly Bean         |   16         |   3.0.31
4.2.x  Jelly Bean         |   17         |   3.4.0
4.3    Jelly Bean         |   18         |   3.4.39
4.4    Kit Kat            |   19, 20     |   3.10
5.x    Lollipop           |   21, 22     |   3.16.1
6.0    Marshmallow        |   23         |   3.18.10
Source:
https://en.wikipedia.org/wiki/Android_version_history#Kernel_vesions
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 15, 2015, 07:03:29 am
Thank you for the detailed explanation, PCNetSpec. This idea came to my mind because mathematically, 3.4 is greater than 3.16. I didn't realize that what came after the point was a separate entity and hence, 3.16 is actually greater than 3.4 :) Thank you again, Slim ;)
Title: Re: Android Kernel vs Peppermint kernel
Post by: PCNetSpec on October 15, 2015, 07:14:38 am
I must admit that the first time I saw the 3.9 kernel being updated to 3.10 I thought the same thing ;)
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 15, 2015, 07:44:52 am
Yes, I got confused :P
Title: Re: Android Kernel vs Peppermint kernel
Post by: marcdutonkin on October 15, 2015, 07:25:00 pm
I too am a little confused because my Samsung Galaxy note 3 purchased in early 2014 and upgraded to lollipop 5.0 this summer, does not appear to have a 3.16 kernel.
Instead, it seems to have a 3.4.0 kernel  :o
(http://file:///home/mv/Documents/Screenshot_2015-10-16-00-29-24.png)
Title: Re: Android Kernel vs Peppermint kernel
Post by: scifidude79 on October 15, 2015, 07:47:40 pm
I must admit that the first time I saw the 3.9 kernel being updated to 3.10 I thought the same thing ;)

I had the same issue when Gimp went to 2.8.10.  I was like, "there was already a Gimp 2.8.1."  ;)
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 15, 2015, 10:31:04 pm
looks like software versions and mathematics don't really go well with each other :P

I downloaded terminal emulator on my android and I was hitting a lot of commands but none of them worked! :o The only commands that worked were "df"' "top" and "ls /dev".
Title: Re: Android Kernel vs Peppermint kernel
Post by: marcdutonkin on October 16, 2015, 01:09:39 am
I downloaded the Shell Terminal Emulator. This application automatically displays the linux kernel version. In my case, it's Linux 3.4.0.4540543 for Android 5.0. :-\
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 16, 2015, 01:16:26 am
marcdutonkin, have you tried going to settings > about device? what kernel version does it show?
Title: Re: Android Kernel vs Peppermint kernel
Post by: marcdutonkin on October 16, 2015, 02:10:12 am
Yes, this is the first operation that I made. Unfortunately, I have not managed to integrate the screenshot in my post, see above.  :(

It shows :
Model number : SM-N9005
Android Version : 5.0
Kernel Version : 3.4.0-4540543
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 16, 2015, 02:20:35 am
Yeah it uses an older kernel despite running lollipop. shouldn't be an issue because you're already enjoying the lollipop goodies. ART and project volta :) You should also consider upgrading to Marshmallow 6.0 because it brings a feature to manage app permissions. It is very important. Once I was installing the twitter app and I was surprised to see that it needs access to my microphone. My friend has a Xiaomi mi4i running lollipop and they've tweaked the UI to include an app permission manager :)
Title: Re: Android Kernel vs Peppermint kernel
Post by: scifidude79 on October 16, 2015, 10:31:09 am
I downloaded terminal emulator on my android and I was hitting a lot of commands but none of them worked! :o The only commands that worked were "df"' "top" and "ls /dev".

No, no, no.  That's not going to Fly.  Android may be Linux underneath, but the topmost layer (the part you see) is more like Windows or Mac OS.  You're supposed to got "Ooh, ah, shiny!" and just use it without ever digging inside.   :P
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 16, 2015, 11:12:46 am
So very true Scifidude79! :P Android uses Linux kernel but it is made to be different than Linux. Even generic Linux packages cannot be installed on it. I wonder what DE it uses. Perhaps a tweaked version of Java. day by day, android is getting more and more resource hungry. I have 1 GB RAM on my device and if I install a lot of apps, I will have apps restarting or battery draining very fast.
Title: Re: Android Kernel vs Peppermint kernel
Post by: scifidude79 on October 16, 2015, 11:37:59 am
You may want to take a look at what is running in the background.  Something that automatically starts might be draining your battery too.   ::)
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 16, 2015, 11:53:11 am
Basically Google play services and Facebook are the two main reasons. I am not even on Facebook but I can't Uninstall it (it's like a bloatware). I haven't rooted my phone yet but looks like I have to.

And you were right that Android is Linux underneath but a lot like Windows/mac over the top :) It has a lot of bloatware and cannot be uninstalled without voiding it's warranty
Title: Re: Android Kernel vs Peppermint kernel
Post by: scifidude79 on October 16, 2015, 11:54:30 am
Go into your settings, to the Application Manager and see if you can disable Facebook.  That's what I did with everything I don't want running on my tablet.
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 16, 2015, 12:11:20 pm
Thanks :) Actually Sony has a lot of apps/features on its UI which are connected to Facebook. I'm afraid that disabling might affect some apps that I use. Sometimes some games offer free rewards when shared/liked on Facebook. That's when I open a fake account to avail those features :P But disabling is a good idea. :)
Title: Re: Android Kernel vs Peppermint kernel
Post by: scifidude79 on October 16, 2015, 12:40:25 pm
I was playing CSR Racing and CSR Classics last night and it was offering me rewards if I signed in with Facebook.  I just ignored it.  ;)
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 16, 2015, 01:10:27 pm
Did that get you rewards? My tablet was rooted. so I could use a game hack tool called GameCIH to easily edit game data (increase money, hitpoints etc) :)
Title: Re: Android Kernel vs Peppermint kernel
Post by: scifidude79 on October 16, 2015, 08:41:32 pm
No, I didn't get the "rewards" because I ignored it.  I'm not giving in to their sponsorship deal to get "free" stuff in games.
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 16, 2015, 09:18:48 pm
Sometimes there are rewards on surveys and installing applications (or shopping). It sucks. Most of the time, I use Blackmart instead of Google play. it's like Synaptic on android. Free and lot of apps. All paid apps can be downloaded without paying anything ;)
Title: Re: Android Kernel vs Peppermint kernel
Post by: scifidude79 on October 17, 2015, 09:57:04 am
No, I didn't get the "rewards" because I ignored it.  I'm not giving in to their sponsorship deal to get "free" stuff in games.

It's funny I said that, because I actually do watch opt-in ads on there to get free gas for my cars in both CSR and CSR Classics.  Though, that's not strictly speaking necessary, I just don't always want to wait for the car to fill back up on its own, which takes time.  (an attempt to get you to spend money on stuff in their store)  Though, I can't say the ads are always useless, I do plan to try some of the apps it suggests.  ;)
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 17, 2015, 10:41:34 am
No, I didn't get the "rewards" because I ignored it.  I'm not giving in to their sponsorship deal to get "free" stuff in games.

It's funny I said that, because I actually do watch opt-in ads on there to get free gas for my cars in both CSR and CSR Classics.  Though, that's not strictly speaking necessary, I just don't always want to wait for the car to fill back up on its own, which takes time.  (an attempt to get you to spend money on stuff in their store)  Though, I can't say the ads are always useless, I do plan to try some of the apps it suggests.  ;)

Yeah some ads are okay but most of them are extremely annoying. sometimes I have random opening of my play store while browsing prompting me to download some stupid app like apus launcher, clean master and crap.
Title: Re: Android Kernel vs Peppermint kernel
Post by: scifidude79 on October 17, 2015, 10:43:44 am
I hate games with intrusive ads.  I had free Solitaire at first on my tablet for about 10 minutes.  However, it not only had ads in the upper corner of the game (not really an issue) but it also had full screen videos between games.  No way was I putting up with that, so I paid $0.99 for an ad free game.
Title: Re: Android Kernel vs Peppermint kernel
Post by: sskarma on October 17, 2015, 11:00:12 am
If you had a rooted tablet, you could have downloaded lucky patcher to remove ads from applications completely :)