[REFERENCE] Pixel kernel source with linux-stable (3.18.124)

Search This thread

Sgace

Senior Member
Jul 9, 2011
799
251
Build 3.18.114. Unzip and fastboot flash.



Cheers
 

Attachments

  • 3.18.114.oreo.fastboot.zip
    12.3 MB · Views: 3
  • Like
Reactions: Nil253259

Sgace

Senior Member
Jul 9, 2011
799
251
Build 3.18.115. Unzip and fastboot flash.



Cheers
 

Attachments

  • 3.18.115.oreo.fastboot.zip
    162 bytes · Views: 5

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    Introduction

    Hello everyone, this is a thread to introduce both users and kernel developers to the concept of linux-stable as well as give developers some tips and a tree to either merge into their own, use as a base, or just as a reference. Feel free to ask questions and enjoy!


    What is it?

    linux-stable is, as the name implies, the stable branch of the Linux kernel, the base of Android. The phone could not run without the Linux kernel (at least not without reworking a lot of stuff). The Android kernels are based on the longterm stable trees:
    Longterm

    There are usually several "longterm maintenance" kernel releases provided for the purposes of backporting bugfixes for older kernel trees. Only important bugfixes are applied to such kernels and they don't usually see very frequent releases, especially for older trees.
    Source: https://www.kernel.org/category/releases.html

    All Linux development happens on the master branch, which is governed by Linus Torvalds. When issues are discovered there, the fixes are applied then backported to these various stable trees for consumption. It is not uncommon for a fix to need to go back a few years.

    There is a LOT more information available in the notes repo in the android-linux-stable organization if you care to learn more in-depth: https://github.com/android-linux-stable/notes


    What does this mean for me?

    If you are a developer, this means you should be merging these changes into your own tree. These are vetted, stable fixes to real world problems and they are being handed out for free. It does not take long to get up to date (as you can just merge this tree directly into your own or do it yourself using the tree as a reference) and once you are up to date, there is usually a release once every two weeks, give or take. I provide a rebuttal to a lot of various complaints here. If you still feel like there is a good reason not to do this, please let me know, I'll be happy to try and debate on it!

    If you are a user, it means that you should be looking for and using kernels that have these fixes, as it shows the developers care for your security and stability. The current version for this device is 3.18.100 and the current version upstream is 3.18.124 so all you need to do is go into Settings > About phone and look at the kernel version to know if you are up to date.


    How do I use?

    If you are a developer, the reference tree is located in the android-linux-stable organization: https://github.com/android-linux-stable/marlin

    This can either be merged into your existing kernel tree if you have one or be used as a fresh base. You do not need my permission to use it nor do you need to give me credit (although it would be appreciated).

    If you are a user, use a kernel that has the changes added in!


    Getting notified about updates

    There are a few ways to get notified of linux-stable updates:


    Getting help

    If you have any issues with getting these changes into your tree or want to ask a question, there are a few different ways to do it:
    • Post in this thread
    • Join the linux-stable support chat on Telegram: https://t.me/joinchat/C1UAJ1EMSX31PCFdwLnOSg
    • File an issue either in the android-linux-stable notes repo or the android-linux-stable repo for this device

    When requesting help, please give some solid details as to what you are struggling with, as I am happy to provide assistant and clarity but not to do something for you (unless I screwed up).
    7
    3.18.102 has been merged in.
    7
    3.18.101 has been merged in.
    6
    3.18.88 has been merged in.
    6
    Build 3.18.101. Unzip and fastboot flash.




    Cheers