Last active
December 21, 2024 23:55
-
-
Save filiprrs/0c9674804f7f008957a2f3e49cfe5dfe to your computer and use it in GitHub Desktop.
LineageOS 21 sources for compiling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello A5 And A7 2017 community. :) | |
This makes the sources I was using to create LineageOS builds for our devices free, open and available for everyone. | |
Feel free to use this to create personal builds or update the community with newer security patches or small improvements. | |
Feel free to also use this as a base for creating other third party roms that are not necessarily LineageOS. | |
However please note that I have spent a lot of my personal time on this project. | |
And so did numerous other people from LineageOS team and Samsung exynos developer community. | |
I would only like to kindly request to give proper credits where due. | |
Thanks | |
These sources are for building LineageOS 21 before QPR2 merge occured. | |
Unfortunately, QPR2 brought many changes which would require even more hacks for us to boot. | |
https://github.com/npjohnson/lineage-21.0-manifest-pre-qpr2 | |
(Thanks SirRGB for the link) | |
At the time I was syncing android 14 sources Chroumium webview needed git-lfs. | |
Do a "sudo apt-get install git-lfs" in your environment. | |
And make sure lfs flag is invoked when doing ROM sources repo init. | |
a5y17lte device tree: https://github.com/LineageOS/android_device_samsung_a5y17lte branch lineage-18.1 | |
a7y17lte device tree: https://github.com/LineageOS/android_device_samsung_a7y17lte branch lineage-18.1 | |
7880 common tree: https://github.com/universal7880-19-1/android_device_samsung_universal7880-common branch lineage-21-preqpr2 | |
hardware/samsung: https://github.com/LineageOS/android_hardware_samsung branch lineage-21 (in case building breaks, you may need to revert some commits related to QPR2 fixes here) | |
kernel: https://github.com/filiprrs/android_kernel_samsung_universal7880 branch lineage-20 | |
vendor blobs: It's the best to flash an existing 21 build, connect your phone via adb, open terminal, navigate to the common tree and run "bash setup-makefiles.sh" and "bash extract-files.sh" | |
(https://github.com/filiprrs/proprietary_vendor_samsung_universal7880 branch lineage-21) | |
bsp: https://github.com/universal7880-19-1/android_hardware_samsung_slsi_exynos branch lineage-21 | |
https://github.com/LineageOS/android_hardware_samsung_slsi_exynos5 branch lineage-19.1 | |
https://github.com/LineageOS/android_hardware_samsung_slsi_openmax branch lineage-19.1 | |
https://github.com/universal7880-19-1/android_hardware_samsung_slsi_exynos7880 branch lineage-21 | |
git apply all the patches from the following repo, branch 21_old: | |
https://github.com/8890q/patches/ | |
cherry-pick the following commits: | |
https://github.com/rINanDO/android_vendor_lineage/commit/9951251a5d43056686f0e926dcbbd1def25f25bc | |
revert the following commits: | |
https://github.com/LineageOS/android_hardware_lineage_interfaces/commit/bf1967cd88e766ff59836caaf940ec6526815068 | |
https://github.com/LineageOS/android_hardware_lineage_interfaces/commit/7a34d0b8a45837149f1670c9e1f05ea5e1066574 | |
https://github.com/LineageOS/android_hardware_lineage_compat/commit/572788148fbce09dd054c2aa9e18d58b06545b77 | |
https://github.com/LineageOS/android_hardware_samsung/commit/8f6a68475f13ef249c6ee5bc5850cbe9120bf295 | |
https://github.com/LineageOS/android_frameworks_av/commit/5cee4673a0406721a47ea93bb0755d4ed6ef834e | |
https://github.com/LineageOS/android_hardware_libhardware/commit/f4f5a12fe7b78a94d904bb4181f651da917d2e7c | |
During the build, after an error occured, I needed to paste this command to the terminal: | |
$ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py -l libcodec2 -products lineage_a7y17lte | |
But unless you hit the actual error while compiling this is not needed. | |
(battery health) | |
cherry-pick the following topic in gerrit: | |
https://review.lineageos.org/q/topic:eleven-batterylifeextender | |
- in hardware/samsung make it not turn on by default in includes | |
- change the strings in packages/apps/Settings/res/values/cm_strings.xml to "To extend the lifespan of your battery, limit the minimum/maximum charge capacity to 15%/85%" | |
(repainter) | |
https://github.com/kdrag0n/android_packages_apps_RepainterServicePriv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment