Skip to content

Instantly share code, notes, and snippets.

@filiprrs
Last active April 2, 2019 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save filiprrs/ca71c60a8c5c80d6dfae340fe9efbb9b to your computer and use it in GitHub Desktop.
Save filiprrs/ca71c60a8c5c80d6dfae340fe9efbb9b to your computer and use it in GitHub Desktop.
cherry-pick list
// Who is this for? I'm releasing the needed bits for the rom to compile properly for all the good people in the community out there that might want to: - Compile lineage themselves for their own personal usage
- Submit patches to the project. Please visit: review.lineageos.org
- Apply the patches to their similar device
// Who is this NOT for? This isn't released for the people whose only wish is to kang all the work and take credits without putting in any effort in the rom development themselves. Of course, you are allowed to make lineage-based roms and there's no problem. But please, try to stay honest with the community about what your role in the work really is.
The needed patches:
* Google changed something in pie, and now our Samsung oreo hardware composer blob is no longer compatible. You'll need to commit these to core system files to stop the SurfaceFlinger from crashing. Credit goes to TeamNexus for the workaround.
https://github.com/TeamNexus/android_frameworks_native/commit/eb315db646ffca7bd5e02eb82b680d2cb3a4981f
https://github.com/TeamNexus/android_hardware_interfaces/commit/4fa05e6ab7a1219dd33432abe653ad027fd93413
* Now it won't crash as often anymore, but the current state of the HWComposer causes a soft reboot from time to time. It's best if we told the system to only rely on GPU, and disable hardware composer rendering entirely.
https://github.com/LineageOS/android_device_samsung_universal7880-common/commit/74292bbfcc88e1d0cdeaf89b3dcf042486898bb0
* Sepolicy is not fully written yet. This is as far as I went:
https://github.com/LineageOS/android_kernel_samsung_universal7880/commit/aeb5bcc6ce6e77e880f97f2bcf5f535c7ca99cda
https://github.com/LineageOS/android_device_samsung_universal7880-common/commit/1120bfd8421b3679f0d15cc592a896ac8961045a
https://github.com/LineageOS/android_system_sepolicy/commit/aac28c9c290af392b2eea904d3237f5f9dcb4205
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment