Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohamed786/aea1ff4652e49ce5477df1718d6dce77 to your computer and use it in GitHub Desktop.
Save mohamed786/aea1ff4652e49ce5477df1718d6dce77 to your computer and use it in GitHub Desktop.
1. Build environment
=====================
Assuming you have setup a working build environment for your device according to http://www.lineageosrom.com/2017/01/...m-for-any.html.
2. Already merged patches by LOS
=================================
Make sure, your local repository is synchronized to https://github.com/LineageOS (aka "repo sync").
This would bring your local repository up to the state of https://review.lineageos.org/#/q/status:merged+branch:cm-11.0
3. Take over not yet LOS merged patches to your local reopsitory
==================================================================
Just go to https://review.lineageos.org/#/q/status:open+branch:cm-11.0
Open a patch set, look for the 6 digit Change number and repopick the relevant change from there.
A sample: "<user>@<yourmachine>:~/android/system$ repopick 192011" <-- this would apply to one patch
Note: Patches in "status open" are not yet approved by LOS.
Repeat the "repopick xxxxxx" for all patches needed according to the patch level you are interested in.
Keep in mind a requirement cited from ASB:
"Devices that use the 2017-10-01 security patch level must include all issues associated with that security patch level, as well as fixes for all issues reported in previous security bulletins."
4. Build ROM
Thanks @grzwolf [For His Guide]!
If it helps Pay for some Coffee: [BTC Address: 1GpWnrZ66VoGDBLFy8FvZtKv4Ygt6Cp1mK]
@gamecss
Copy link

gamecss commented Sep 20, 2021

i just want download patch from google self, and apply patch self!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment