Home

Awesome

linux-stable notes

These are markdown pages offering some notes about what linux-stable is, how you should be using it, and issue resolution notes. Please read this whole page if nothing else!

TL;DR: linux-stable is important for stability and security. If you are a custom kernel or ROM developer with a 3.18 or 4.4 kernel and want linux-stable merged into your repo(s), you can either use these trees as a base or merge them into your own. If you have neither the time nor the confidence to get it right, please let me know via one of the methods below. I am happy to merge it into your trees and either pull request you or ping you with updates automatically.

Index

Each subfolder has its own index if you want more details!

How to use them

These trees can either be merged into an existing tree or they can be used as a starting base.

Should you chose to merge, use the following commands:

git fetch <repo_url> <branch>
git merge FETCH_HEAD

Should you chose to use the kernel as a base for your own, either fork the kernel or run the following in an existing kernel repo:

git fetch <android-linux-stable_repo_url> <branch_to_use>
git checkout -b <your_branch_name> FETCH_HEAD
git push --set-upstream origin <your_branch_name>

This will keep commit history and make it easier to keep up with updates.

Getting updates

You can merge the updates from this organization by using the merge command:

git fetch <repo_url> <branch>
git merge FETCH_HEAD

If you want to do the merges yourself, you can add linux-stable as a remote and merge the tag:

git remote add linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/
git fetch linux-stable
git merge v<version>

You can use the script to do this automatically.

Getting help

If you need help with merging, I request you ask for it via one of these public methods:

For all other questions/requests, you can reach out to me via:

Other notes

Do not ask me permission to use these, they are freely available for a reason. Additionally, you don't need to give me credit for any public releases you do (although it would be appreciated). I'm not in this for glory, I just want people to be more stable and secure. Enjoy!