This project is now "End-of-Life" (EOL). Thanks to all of you for the kind support...
/* Introduction */
I built all these kernels with an aim to simply experience and compare the advantages (and sometimes the issues) of higher GCC versions (7 and above) with that of stock kernel (typically built using Google’s stock GCC-4.9.x tool-chain) as well as my own SmartPack-Kernel (built using stock as well as various custom tool-chains). All the credits goes to haggertk and all the others developers associated to Lineage-OS (especially the klte team) as I simply build from their source using latest tool-chains (Of-course, it requires significant modifications on the source code. For more details, please visit GitHub source).
/* DISCLAIMER!! */
Code:
I am not responsible for any damage to your device. Everything you are doing on your device is on your own risk.
I only own kltelgt (Korean variant). Hence, kernels under the category 'kltekor' are only tested by myself.
Please note that flashing any custom Kernel including mine will void your warranty.
/* What is Stock-Kernel and how it is different from official LOS Kernel? */
As the name itself says, these are simply stock Kernels build from official Lineage-OS kernel source code, however, using custom tool-chains of higher GCC version such as GCC-7.x/8.x. If you want to know more about Kernel’s in general, I suggest you to read this in-depth guide by @Saber. You may probably use these web-links to know more about Linaro, UBERTC and Bleeding Edge Toolchain.
/* What is included */
Separate GCC-7.x/8.x builds for the supported devices. You guys can freely test, compare and stay with the one you like more.
/* What you can expect */
Much better performance/SOT, and also some bugs in the worst case.
/* Supported devices */
klte: SM-G900F, SM-G900V, SM-S902L
kltekor: SM-G900K/L/S
/* Compatibility */
This kernel is only meant to work on Lineage-OS 14.1 and nothing else. However, it may work on other LOS-14.1 (and AOSP) based Nougat ROMs (Please try at your own risk).
This kernel will NOT work in Samsung Stock and other TW ROMs.
/* How-to-Install */
1. Download and copy Kernel into your phone
2. Go to recovery (TWRP recommend)
3. Flash Kernel
4. Reboot and Enjoy
/* What I can offer */
Regular updates with each LOS release.
Try to keep the tool-chains as up-to-date as possible.
/* What I can’t offer */
I may (and mostly will) not add new features. Because, my intention is simply not that for this Kernel. For those who are looking for a more feature rich Kernel, I advised you to try other existing good kernels including my own SmartPack-Kernel.
I never attempt to fix bugs in the LOS kernel source that are really difficult or very much time consuming.
/* Features */
Build from latest Lineage OS source code.
Build using Linaro 7.3 (GCC-7.3.1)/Bleeding Edge Toolchain 8.2 (GCC-8.2) tool-chain.
Anykernel concept for compatibility with maximum devices and ROMs.
Features: All the features available in the stock LOS Kernel (neither removed nor added).
For advanced kernel tweaking, you may use Offical Kernel Auditor.
/* Downloads */
GitHub release page
/* Acknowledgements */
@haggertk
@nathanchance
@ZaneZam
@Saber
@osm0sis
@Grarak
Many other XDA developers
XDA:DevDB Information
Stock-Kernel, Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew
Source Code: https://github.com/SmartPack
Kernel Special Features: Built using GCC-7.x/8.x
Version Information
Status: Nightly
Created 2017-11-18
Last Updated 2018-11-01
Frequently Asked Questions
Q1: Is this kernel compatible with ROM(s) a/b/c?
Ans: I do not know. All of my kernels are based off and tested only on Lineage-OS. However, if your ROM(s) a/b/c are based on Lineage-OS (and uses the same kernel source code), it will most probably work.
Q2: Which version of kernel should I use?
Ans: I recommend to use the latest if you are on the latest Lineage-OS. For other ROMs with an old built dates, you probably need to find an old version of my kernel with a comparable build date (though you are advised to stay with the latest, if possible).
Q3: How about performance/SOT?
Ans: Since SOT, performance etc. are largely based on several factors such as ROM, installed apps etc. No one else can exactly predict the performance/SOT of your mobile. So, you should test and find out that by yourself.
Q4: Can you tell me the best settings for performance/SOT?
Ans:Again, that depends on several factors. I can only say my favorite settings that gives me best results in my favorite ROM.
Q5: Which are the best CPUfreq gov/CPU hotplug/IOScheduler/TCP congestion algorithm for battery life/performance etc?
Ans:Again you need to find out those things yourself. To get more idea, I suggest you to read this awesome guide by @saber.
Q6: Could you add feature x and y to this kernel?
Ans: Mostly No. Because, my intention is simply not that for this Kernel. For those who are looking for a more feature rich Kernel, I advised you to try other existing good kernels including my own "SmartPack-Kernel".
Q7: When will you release a new version of this kernel?
Ans: New updates will arrived with each LOS release with some changes in the kernel source code.
Q8: I found a bug, what do I do?
Ans: Please provide as much information as possible (such as what feature, what didn\'t work, screen-shots or logcat if possible) and post in this thread.
Change-logs
Lineage-OS 14.1
Thank you Sunil.
Your stock kernel (ubertc-8) is working very smoothly on Crdroid 3.8.2...
Nice job.:good:
Drhedphuk said:
Thank you Sunil.
Click to expand...
Click to collapse
itsclarence63 said:
Your stock kernel (ubertc-8) is working very smoothly on Crdroid 3.8.2...
Nice job.:good:
Click to expand...
Click to collapse
Thank you very much guys... Enjoy...
Thanks it's great and stable I flashed linaro
Great stuff bro. I was looking for this. Thanks again!
seprator said:
Thanks it's great and stable I flashed linaro
Click to expand...
Click to collapse
airidosas252 said:
Great stuff bro. I was looking for this. Thanks again!
Click to expand...
Click to collapse
Thank you very much friends for testing as well as for the nice words
I tried both toolchains but ubertc doesn't overheat my device like linaro so I stick with ubertc from now
New builds (v2)
New builds are uploaded and can be found in the GitHub release page...
Enjoy...
For g900d please
I have been running your Kernel Built using Linaro-GCC-7.x/UBERTC-8.x for the last few days on my g900v with resurrection remix 7.1.2 and I have noticed that my battery seems to be lasting longer. I am liking the overall smoothness of this kernel as well. Thanks Buddy, keep up the good work!
joey118 said:
For g900d please
Click to expand...
Click to collapse
Extremely sorry friend. I do not want to add one more device as it requires a lot of time from my side (1 device=2 build). Further, I do not think that many klteduos users will use my Kernel (so it will be ultimately waste of energy and time). However, any one can easily build klteduos or any other variant that are officially supported by Lineage-OS from my fully up-to-date source (sources of both Kernel and toolchain can be found here).
swiftbones74 said:
I have been running your Kernel Built using Linaro-GCC-7.x/UBERTC-8.x for the last few days on my g900v with resurrection remix 7.1.2 and I have noticed that my battery seems to be lasting longer. I am liking the overall smoothness of this kernel as well. Thanks Buddy, keep up the good work!
Click to expand...
Click to collapse
Thanks for the nice words and happy to know that you guys like it... cheers...
New builds (v3)...
New builds are uploaded and can be found in the GitHub release page.
Cheers...
New builds (v4)...
New builds (v4) are uploaded and can be (along with change-logs) found in the GitHub release page.
Enjoy...
sunilpaulmathew said:
New builds (v4) are uploaded and can be (along with change-logs) found in the GitHub release page.
Enjoy...
Click to expand...
Click to collapse
what is the difference between the 2(of each) in your v4 release (first time about to test) one is 6.56mb the other 6.26mb?
EDIT: nvm stupid me i dint see the other ones were kltekor...sry about that.
Good evening, I would like to change my galaxy s5 sm-g900f. I linkageos 14 + g-app stock I uninstall because the autonomy is very reduced and the device heats. I would like to test UBERTC-8.x, I read on the site that the autonomy is better and also the overheating. But how do I have to reinstall the all lineageos + g-app or install only UBERTC-8.x + g-app. Of course by doing everything wipe.
thank you in advance
MaCaLuBi said:
Good evening, I would like to change my galaxy s5 sm-g900f. I linkageos 14 + g-app stock I uninstall because the autonomy is very reduced and the device heats. I would like to test UBERTC-8.x, I read on the site that the autonomy is better and also the overheating. But how do I have to reinstall the all lineageos + g-app or install only UBERTC-8.x + g-app. Of course by doing everything wipe.
thank you in advance
Click to expand...
Click to collapse
If you are already using Lineage-OS, simply go to TWRP and flash this Kernel and all done.
If you are on a stock TW based ROM do the following
1. Go to TWRP
2. Wipe system and data
3. Flash Lineage-OS-14.1
4. Flash Gapps
5. Flash this Kernel (UBERTC or Linaro)
6. Flash magisk/ modules/su-addons, or any other stuff you like
7. Wipe cache/dalvik cache
8. Reboot and enjoy...
New (v5) builds...
New builds (v5) are uploaded and can be (along with change-logs) found in the GitHub release page.
Enjoy...
i got it as a secondary device for cheap price. any ideas on playing around with the software or else?
On ROM development
Alvin Owen said:
i got it as a secondary device for cheap price. any ideas on playing around with the software or else?
Click to expand...
Click to collapse
Hello,
always a pleasure to have an enthusiast joining the ranks.
You may want to check out the ROM development (the whole platform OR a kernel alone). Some links for you to start with
[Sony Open Device Project](https://developer.sony.com/develop/open-devices/) - this would be the starting point for anyone wishing to deal with the Android software; provides the guides for building full fledged AOSP and mainline kernel
[Sony Xperia developers Github](https://github.com/sonyxperiadev) - the repository for all the code necessary for AOSP and kernel; it is a "wiki" for further development steps; issues are discussed in [https://github.com/sonyxperiadev/bug_tracker]
[Sony AOSP builds with some additions](https://github.com/SonyAosp) - the AOSP code repository with forked sources from XperiaDev Github and with some additions that make the builds more usable (TWRP as a default recovery, OpenGApps already included, etc.); a great resource for a deeper dive into the intricacies of the building-from-source flow; can be used to compare with the barebone AOSP from the official XperiaDev and learn some insights
[LineageOS Wiki](https://wiki.lineageos.org/) - an enthusiast may want to build a Lineage OS instance for the device on his own, the wiki is a great start.
You also might want to get familiar with the followings as a references:
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763 - an XDA complete guide to AOSP building
https://forum.xda-developers.com/general/xda-university/literature-reading-getting-aosp-t3268211 - a collection of references for further insights
https://review.lineageos.org - LineageOS Gerrit platform for a better understanding of the build flow from the perspective of commits
https://github.com/omnirom/Docs/blob/master/Porting_Omni_To_Your_Device.md - a guide to porting an OmniROM to a given device; may be used as another reference to better understand the buidling flow
https://www.aicp-rom.com/ - AICP project home; another source of information for AOSP porting
https://github.com/AndroPlus-org - a reference for kernel development
Happy coding!
As described here we have full open source Nokia 5.4 ready to play but with a bad start due to HMD's next-gen bootloader lol
Source code up - Stock ROM up - Time to find root
We got Nokia 5.4 source code and firmware up. I have been looking deep into the source code for any tricks before building it. However we have boot.img now and I think we should get magisk support here. As excepted we have these results: cp...
forum.xda-developers.com
Slowly new custom roms are fading in for the spes/spesn redmi note 11 and now there finally is its own forum here.
A custom rom without Google and its services is still missing among these roms.
Hit a post here if you find some de-googled custom roms, will do the same.
Peace
Update 08.07.2022:
The lack of de-googled official roms seems to come from the fact that xiaomi did not yet open source the kernel source code for the spes/spesn devices. https://github.com/MiCode/Xiaomi_Kernel_OpenSource
Update 01.08.2022
I'm leaving this spes/spesn and will try to get a device where the OEM is more cooperative with opening their source code. There will be no further updates from me in this Thread.
Make sure to drop new information here, since there are and will be quite some people wanting official custom roms without google.
Thanks to @ulnik for finding a RSS feed on updates regarding the opening of the kernel source code by xiaomi:
There's a RSS feed: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commits/README.atom
Click to expand...
Click to collapse
There is LineageOS unofficial, I think it doesn't have Gapps.
xyzalify said:
There is LineageOS unofficial, I think it doesn't have Gapps.
Click to expand...
Click to collapse
That would be highly fancy, do you maybe have a link? I couldnt find anything in that regard.
i currently use Pixel Experience GSI rom and runs good noted: i installed via fastboot not using twrp recovery (as same as monthly update) Noted: now i move to PixelPlus UI for Android Auto Compatibility
snipyyy said:
That would be highly fancy, do you maybe have a link? I couldnt find anything in that regard.
Click to expand...
Click to collapse
Telegram group for Redmi Note 11 ROMs:
Redmi Note 11 | Update 🇮🇩
Redmi Note 11 Channel 🇮🇩 Main Group : @RN11Indonesia Photography: @XiaomiPhotographyID Out Off Topic: @ootnote11series Supported by : XFI | OFI | tdspya
t.me
There is LineageOS unofficial.
Direct link for LOS ROM: https://sourceforge.net/projects/ja...ge-19.1-20220530-UNOFFICIAL-spes.zip/download
Please join Telegram too for all the ROM updates!
Spark OS is also without gapps (vanilla version). Currently I am using LeOS (GSI). Its ungoogled by default and works well.
Tried Lineage OS linked in this thread , I cant install gapps ,can anyone do a build with gapps.
Update:
The lack of de-googled official roms seems to come from the fact that xiaomi did not yet open source the kernel source code for the spes/spesn devices. https://github.com/MiCode/Xiaomi_Kernel_OpenSource
Lets wait some more
LineageOS or CalyxOS
Shoyou193 said:
LineageOS or CalyxOS
Click to expand...
Click to collapse
https://wiki.lineageos.org/devices/#xiaomi The spes/spesn devices are currently not officially supported by LineageOs
https://calyxos.org/docs/guide/device-support/ The same goes for CalyxOS
Again, this is probably due to the source kernel not being released to the public by Xiaomi.
I'm leaving this spes/spesn and will try to get a device where the OEM is more cooperative with opening their source code. There will be no further updates from me in this Thread.
Make sure to drop new information here, since there are and will be quite some people wanting official custom roms without google.
Thanks to @ulnik for finding a RSS feed on updates regarding the opening of the kernel source code by xiaomi:
There's a RSS feed: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commits/README.atom
Click to expand...
Click to collapse