yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] DevilEyes212:
I've klteduos, and i'm using klte version. It's working without any problems, even the RIL is working. I suggest you to use klte version at the moment or ask him on his Telegram group.

All the best!
[Samsung Galaxy S 5 Unified Development] Vini69:
Unfortunately, klte doesn't work for me : long boot time, then reboots... I will wait for the proper klteduos variant release. Thanks anyways.
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi guys. I've managed to get Linux 3.5 up and running. I'll be merging higher Linux version over the next several days.

What works:

Boots

WiFi

MMC

Camera

Video playback

Sound

Vibration

Display

Touchscreen

RIL

Mobile data

Sensors

Charger

Battery

What doesn't work:

Bluetooth

You tell me :)

Note that this kernel is based on stock Samsung kernel so don't expect any custom features. Only works for Android 7. No f2fs & Android 8+ support right now

Source code: https://github.com/pascua28/s5-kernel/tree/android-3.5
[Samsung Galaxy S 5 Unified Development] vlad3647:
So far so good, everything working,thanks for the labour

Update,the phone start with several reboot
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi guys! Another update for the 3.5 kernel

Changes

Fixed mishandled IRQ for some drivers

PM, suspend, cpuidle: use Linux 3.5 version

Updated slimbus drivers

Fixed heart rate monitor driver

Fixed pedometer driver

Removed fingerprint wakelock

DMA: bring more closer to 3.5

mm: bring more closer to 3.5

regulator: bring more closer to 3.5

ARM: io: fixed incorrect conflict resolution that caused the device to panic on boot

Fix crash when plugging in/out headset

BUGS:

Bluetooth doesn't still work

Note that this kernel is based on stock Samsung kernel so don't expect any custom features. Only works for Android 7. No f2fs & Android 8+ support right now
[Samsung Galaxy S 5 Unified Development] Tombab:
I'm using Lux to automatically adjust screen brightness and with Intellikernel v15 Lux doesn't seem to have effect on certain things like settings menu, FB messenger and clock bar and they remain at much higher brightness. I don't remember v13 having this issue, is there setting of some kind I can try to fix this or is Lux partly incompatible?

Also maybe a stupid question but does using custom kernel like this affect security patch level of LineageOS? For example some kernel vulnerabilities may have been patched in official LOS but maybe not in Intellikernel?
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi! You may check if there are some apps running as overlay. If that doesn't help, you might wanna try disabling "Disable HW Overlays" in developer settings.

Vulnerability fixes are usually patched to ROM components, kernels, and even firmwares. Fortunately, intelli-kernel pulls updates from LineageOS so you get the latest security patches
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi guys! Linux 3.6 is up!

Changes:

Linux 3.6, obviously

Read here for the most prominent changes: https://kernelnewbies.org/Linux_3.6

What works:

Everything (?), except Bluetooth

Note that this kernel is based on stock Samsung kernel so don't expect any custom features. Only works for Android 7. No f2fs & Android 8+ support right now. Your feedback is most appreciated
[Samsung Galaxy S 5 Unified Development] vlad3647:
Several reboot with 3.6
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi guys! Linux 3.7 is up!

Changes:

Linux 3.7 (obviously), for more info, read here: https://kernelnewbies.org/Linux_3.7

Updated RTC driver from LineageOS

Updated binder driver from LineageOS

Fixed Bluetooth

Hopefully fixed several reboots

What works:

Everything(?)

Note: There are no custom features yet as well as support for Android 8+ (only supports Android 7.x for now), but they will land on Linux 3.10
[Samsung Galaxy S 5 Unified Development] mhd 12:
hey i just wanna ask about something i don't know if it's related to kernel or not , is it possible to change audio buffer size on samsung s5 ? if yes how i can do it ?
[Samsung Galaxy S 5 Unified Development] XEROling:
Hi

Telegram link is not working

On xda: t.me/intelli-kernel

But working link is t.me/intellikernel
[Samsung Galaxy S 5 Unified Development] SmgKhOaRn:
Hi. [MENTION=7427799]pascua28[/MENTION] seems busy because of 3.10 kernel, so I started to build unofficial builds of intelli some months ago.

So if you're interested in this, follow the link below:

Discord: https://bit.ly/2WH9gxd

Telegram: https://t.me/SmgBuilds
[Samsung Galaxy S 5 Unified Development] androiddude7899:
How is battery life on this Kernel ?

How is the kernel Configured

Is Perfromance great?

Can anyone send screenshots of their SOT and their battery usage

Here is my stats from 65% charge

Btw my battery is new it's 2800mah from GADFULL

20$

Using fbs tuned kernel on android 10
[Samsung Galaxy S 5 Unified Development] YoStu:
I reached 5 hours of screen on time using intelli kernel (default settings) with HDcell 3100mah battery. Performance was good. Currently using Tuned kernel but it has worse battery life (4h40m) and also seems to temporarily freeze the phone a lot. Gonna go back to intelli kernel.
[Samsung Galaxy S 5 Unified Development] androiddude7899:
It's pretty stable on here however, this bootloops on latest RR 8.5.9
[Samsung Galaxy S 5 Unified Development] Gorilla Daddy:
Could someone please send me a link to the github sourcecode listing that is meant to fix the greenish flickering at low brightness & cold conditions?

Thanks in advance!
[Samsung Galaxy S 5 Unified Development] crazyfury:
same here. I'd like to have a stable kernel with just this fix!
[Samsung Galaxy S 5 Unified Development] blikkk:
Deleted.
[Samsung Galaxy S 5 Unified Development] androiddude7899:
thats an amoled screen issue

i have that too its annoying right XD
[Samsung Galaxy S 5 Unified Development] Nobby1960:
Greenish flickering at low brightness AND cold conditions (important!) is a known thermical hardware failure on some S5 devices, not from the kernel. See this issue on different YT videos. To be absolutely sure, flash the stock ROM.
[Samsung Galaxy S 5 Unified Development] Gorilla Daddy:
Yes, ok, but the "fix" in this and other kernels seems to be to limit the minimum brightness level. So, when the OS decides to fade out the screen or sensor auto brightness goes too low, it never goes below a user specified minimum brightness, and it does seem to fix the problem. I wanted to confirm that, with links to the source code that was intended the intended fix. The github source code is way too huge, and doesn't just show the differences between this kernel and the base. Too much to wade through. And I don't know how to automate such a listing.

Maybe it does more, but I think it just does something like:

If (brightness<lowest_allowed_brightness) brightness=lowest_allowed_brightness;

Right before setting whatever in the hardware.

So it's probably just that and an additional exposed kernel user setting for minimum brightness.
[Samsung Galaxy S 5 Unified Development] androiddude7899:
Great battery life on this kernel and gaming us brilliant too

Using UV and intelli hotplug
[Samsung Galaxy S 5 Unified Development] pascua28:
Sorry for such late reply. My implementation is simple: if the brightness goes below a target level, it locks to that brightness and it then applies a color filter (which means that it reduces the color values, or in other terms, it applies a black filter) giving the impression of a lower brightness while maintaining the same PWM duty cycle

Here are the commits:

1. https://github.com/pascua28/s5-kernel/commit/ed97a4eac4afe3883a4d1f64f530f7ae67a19f31

2. https://github.com/pascua28/s5-kernel/commit/523e3bab1e6785b5b2261ee201a20ddef0d32eff

3. https://github.com/pascua28/s5-kernel/commit/2920c47fe86a205056d0627b586ffc6c5e3ac571
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi guys! Intelli-Kernel v16 is up!

Changes:

Added Android 11 support

Rebased kernel source. Didn't pick all of LineageOS kernel changes cause I don't want to introduce any regressions (if there are). Performance seems better (around~8% to 10%) because of that. I've only added necessary changes for Android 8 upto Android 11 support and some other changes from LineageOS kernel source.

Removed other CPU governors

Removed other IO sched governors

Compiled with Linaro GCC 7.5

Optimized scheduler for better performance

Download eTweaks here
[Samsung Galaxy S 5 Unified Development] Chris_0147:
Bootlooped on crdroid 7.10 I will test on havoc 4.8
[Samsung Galaxy S 5 Unified Development] 雪獒2021:
v16 in kitechn of crdroid The system does not start, please fix it?
[Samsung Galaxy S 5 Unified Development] MustStash:
on kltekdi

on kltekdi both versions of your kernel (& using any rom) breaks the charging,when the phone is supposedly charging it doesn't act like it,the battery percentage don't go up either, & when i try to charge while the phone is completely off it acts funny too (the screen keeps going on & off), a certain Ares-Kernel works fine
[Samsung Galaxy S 5 Unified Development] Hamza Shahbaz:
Device is not detecting charger from any resource neither from the pc nor from the power brick….Cable is fine charging port is fine device charging circuit is ok ….everything is working normally with android 9…And from Android 10 to onwards charging failure…Its a kernel issue no kernel is working properly above android 9….”tuned kernel works but the charging is improper…phone starts loosing power with charging connected while using”…. Device name: Samsung Galaxy S5 SC-04F aka KLTEKdi or kltedcm…
[Samsung Galaxy S 5 Unified Development] Hamza Shahbaz:
kindly let me know the name of kernel you are using to charge kltekdi with android 10 and above….I really need a stable kernel…since my device is on android 10 and is not charging properly with tuned kernel…and there is no other kernel that supports android 10 except this one and tuned kenel…dont know if any other android 10 compatible kernel exists….please let me know…thanks….
[Samsung Galaxy S 5 Unified Development] Hamza Shahbaz:
Tuned kernel works fine….but when the device heats up it starts dropping charge when plugged in….please make this device stable nobody’s supporting it properly or just remove it from your support list ….😃😅
[Samsung Galaxy S 5 Unified Development] Zakendor:
@pascua28

будет ли поддерживатся на los 17.1?

Translated by GT: will it be supported on los 17.1?
[Samsung Galaxy S 5 Unified Development] AloneDisaster:
Yes!
[Samsung Galaxy S 5 Unified Development] Zakendor:
хорошо я хотел протестировать для интереса
[Samsung Galaxy S 5 Unified Development] Zakendor:
tell me which is better intelli v16 or tuned lb 2020 for klte?
[Samsung Galaxy S 5 Unified Development] Fandroid Tech:
Issues on Lineage 18 latest.

1. Bluetooth headphone audio way to loud even on lowest setting, had to install lineage stock kernel.

2. Overclock cpu settings dropping immediately, so overclock features were useless.
[Samsung Galaxy S 5 Unified Development] Buggen82:
Hi, I tried your v16 kernel on LOS19.1 without luck only boot loops.

Will there be any chance for an updated version to LOS19-20.

Many thanks for your work.
[Samsung Galaxy S 5 Unified Development] pascua28:
You should turn wifi off before turning wifi Hotspot on
[Samsung Galaxy S 5 Unified Development] mhraqeeb:
Is it compatible with Havoc OS (based on AOSP)? And does the OTG work fine? Tuned kernal has a problem with OTG
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Works fine with Havoc, don't know about OTG as I don't use it, you'll have to test that for yourself, sorry.
[Samsung Galaxy S 5 Unified Development] KazuDante:
:highfive:
[Samsung Galaxy S 5 Unified Development] godofsalt:
THUMBS UP !!!!!!

Nice to see you found a issue, early, and fixed rather fast.

Feel for you , about the screen.... might cheer you up, might not, but we have 2, and I have fixed like 5-6 screens. Wify, says, she great with a phone....Nope, not really!!! Hope you have your up and going soon, so you are able to work you your nice project! Certainly dont want to see it end so fast.....
[Samsung Galaxy S 5 Unified Development] pascua28:
Of course I didn't want to end development of this kernel. I barely tested this kernel for 2 days
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi guys! Intelli-Kernel v1.0.2 is up|

Changes:

Enabled a bunch of netfilter options

Fix WiFi bug

Fix OTG bug

Add Boeffla sound
[Samsung Galaxy S 5 Unified Development] BlueCyclone:
Awesome! Thanks for supporting our old device!

Out of curiosity, does charging on this kernel have false 100% like recent lineage, where fully charging, either booted, or powered off, then rebooting resets battery gauge ~92%, whereas charging in TWRP actually fully charges the battery, and stays 100% after reboot?
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
I haven't had that problem, but that's not too say others will not. The kernel is working very well overall. ?
[Samsung Galaxy S 5 Unified Development] KazuDante:
Have you ever looked into the driver for the wifi in regards to it not wanting to stick with 40mhz even on a 5ghz channel . Or is it that the S5 does not support channel bonding ?
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
What are people using to tune this kernel, if you are using anything at all.
[Samsung Galaxy S 5 Unified Development] KazuDante:
Use Smartpack kernel manager , if you want to tune sound/volume gain , if not then normal kernel auditor should be fine .
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Yeah, I've been using Smartpack too I was wondering if i users were using somethingg different. Are you using any specific settings? Thanks for your reply.
[Samsung Galaxy S 5 Unified Development] KazuDante:
Only switched gov to conservative edit it to 1 freq steps and went to sound boosted speaker to 10 and heapbones to 10 and fastcharge ac level to 2000 since my charger is a true 2amp 5.2v charger .
[Samsung Galaxy S 5 Unified Development] pascua28:
I'm not sure if S5 supports channel bonding as I don't have a 5GHz router. However, you may try changing wifi channels until your connection becomes reliable/persistent

Ps. I haven't got a full look into the wifi drivers
[Samsung Galaxy S 5 Unified Development] jprimero15:
Interesting..
[Samsung Galaxy S 5 Unified Development] pascua28:
Yeah. I'm from the Philippines too
[Samsung Galaxy S 5 Unified Development] jprimero15:
Wow great.. Can we talk? Pm.
[Samsung Galaxy S 5 Unified Development] pascua28:
Sure. Either here using xda or telegram (username: pascua14)
[Samsung Galaxy S 5 Unified Development] KazuDante:
ive been working on that for months , it does connect at 5ghz 40mhz but only holds infor like 500ms and drops back down to 5ghz 20mhz , so if im correct the fact that even for 500ms it can hold it should mean that the S5 supports channel bonding .

Also what are your thoughts on a hotplug that either restricts cpu and gpu freq to the lowest setting at screen-off or restrict the cpu to 1core . Because im not sure ive ever come around a modified mpdecision with the features of bricked-hotplug.
[Samsung Galaxy S 5 Unified Development] godofsalt:
OH Wow, updates....

Darn glad you have another. Didn't want this to end either..

Looking good!

..... Wifi bonding.... Not too sure bout that. Had tried a Magisk Mod for that. After flash, it read that it can not do that on a Galaxy S5....

Keep it up
[Samsung Galaxy S 5 Unified Development] pascua28:
Imo, mpdecision is good when it comes to battery life as it's always at dual core mode most of the time, but I think it doesn't make much difference, if not very little. Other hotplugging drivers, like intelli-plug for example, adds a little scheduling overhead to determine which cores to hotplug and when to hotplug and that hurts performance a little while giving little benefit to battery life. For me, it's better to just leave all cores on and then go to single core mode when screen is off.
[Samsung Galaxy S 5 Unified Development] KazuDante:
So its possible to make it go 1 core at screen-off using mpdecision ?
[Samsung Galaxy S 5 Unified Development] pascua28:
Nope. You need to disable mpdecision first
[Samsung Galaxy S 5 Unified Development] BlueCyclone:
Really nice kernel, great work, thanks!

Without the pulls from lineage, charging is working properly again!

Curious tho, why selinux: permissive? Do you intend to make enforcing eventually?

Good stuff :good: :highfive:
[Samsung Galaxy S 5 Unified Development] mhraqeeb:
Any solution for this problem? Smartpack kernal manager 7.9 (failed to load frequencies)
[Samsung Galaxy S 5 Unified Development] vlad3647:
hi

yes i do but i dont use hotspot
[Samsung Galaxy S 5 Unified Development] pascua28:
I do plan on making selinux enforcing by default in the future if my testing shows a normal behavior. As I've tried to make custom kernel for stock rom with selinux enforcing and phone behaves weird, don't know if same thing will happen on a custom rom. But given that most custom kernels for custom ROMs are enforcing, I guess it might work just fine
[Samsung Galaxy S 5 Unified Development] pascua28:
Try installing kernel adiutor and see if the issue goes away. If yes, then you need to reinstall smart pack kernel manager. If not, then I don't know ?
[Samsung Galaxy S 5 Unified Development] mhraqeeb:
Weird.. Arabic interface cause this problem, English works fine. anyway thanks
[Samsung Galaxy S 5 Unified Development] guest4711:
Probably a problem with direction of text (right to left vs. left to right)? 0021 vs. 1200 ?
[Samsung Galaxy S 5 Unified Development] BlueCyclone:
Possible bug, or maybe just not implemented yet?

OTG > usb flash drive not detected with this kernel

Also, Bluetooth constant FC, can't connect.

Flashing back to stock kernel fixed OTG on DOTos & Havoc, I'll check Bluetooth in the car tomorrow.

Really impressed with this kernel so far tho! Was getting 4h SOT on Havoc2.4 with stock gapps, so that's a heavy load for battery!

If everything is working fine on stock ROM Kernel, I'll flash yours again and try to get some logcats.

Thanks again for your hard work and support for this old phone! :highfive:
[Samsung Galaxy S 5 Unified Development] pascua28:
Finally got a screen replacement. But to my dismay, it was a LCD rather than the original OLED display. Don't know how it slipped through.
[Samsung Galaxy S 5 Unified Development] dagwoodmash:
Same as blue cyclone. Bluetooth does not connect. But I get almost a two day battery life. Using Crdroid.
[Samsung Galaxy S 5 Unified Development] vingia:
Hi, why at boot I get message that says "sel llinux is deactivate"... is it a problem?
[Samsung Galaxy S 5 Unified Development] KazuDante:
Nope not a problem.
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
I'm not stating that [MENTION=6928202]KazuDante[/MENTION] was incorrect at all...

I just want to be sure, weather or not, what you're asking about looks like the following image...

... OR the following image...

... OR Both?

I do realize that it looks like a touch of a language barrier...

This is only because the First Image is reflected "at boot" and the Second Image reflects when the device is already booted up and will state "sel llinux is deactivate" within the Android Menu Settings.

Thanks a bunch! :)

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle" AND Nickname for "My Ex-Wife"}.
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi! Thanks for your feedback. I can confirm the issues you listed, except the otg as I don't have a flash drive to test on. I'm currently working on Bluetooth fix and after that the otg
[Samsung Galaxy S 5 Unified Development] vingia:
Thank you!

Yes, you are right about language barrier, I refer to the second image.
[Samsung Galaxy S 5 Unified Development] pascua28:
Well then, next build will have selinux set to enforcing
[Samsung Galaxy S 5 Unified Development] pascua28:
Can you suggest any rom with very good battery life? Now that my s5 uses LCD, battery has become a little worse
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Havoc was very good for me.
[Samsung Galaxy S 5 Unified Development] BlueCyclone:
Yes havoc with your kernel was getting close to 4h screen on time even with stock gapps!

Also try DoTOs, it was very good even with stock kernel
[Samsung Galaxy S 5 Unified Development] pascua28:
OK. I'm on havoc now. But idle drain isn't good for me. Will try DoTOS
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
I'm not sure if you're aware of this but, the Official LineageOS 16.0 for the klte is currently SELinux Capable to be Changed.

So the Firmware (for the LineageOS) is already Enforcing by default and is able to have its SELinux State changed to Permissive Mode by the user.

You may no longer need the SELinux (Specifically) to be modified/touched by this Kernel Development.

Just a heads up... :thumbup:

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle" AND Nickname for "My Ex-Wife"}.
[Samsung Galaxy S 5 Unified Development] pascua28:
Yes. As this kernel is based on a custom kernel for stock rom, which i developed earlier than this project, required selinux to be permissive for it to work properly, which I assumed to be needed for custom roms too. But no. Yeah, Im testing a build right now with selinux enforcing
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
I do deeply apologize for this...

I had actually had a "Duh" moment when I had realized I had posted that on the wrong thread.

Please disregard... LOL! :eek:

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle" AND Nickname for "My Ex-Wife"}.
[Samsung Galaxy S 5 Unified Development] pascua28:
Intelli-Kernel just got even better with v2.0!

Summary of changes:

TCP connection repair from Linux 3.5

TCP early retransmit from Linux 3.5

fq codel packet scheduler from Linux 3.5

Hotplug thread infrastructure from Linux 3.5

Small TCP queue from Linux 3.6

Faster swapping from Linux 3.6

Better rwsem performance from Linux 3.9

Better locking performance from Linux 3.10

rbtree backported from Linux 3.10

Other changes backported from Linux 3.5+

USB security updates

Bluetooth bug fix

Selinux is set to enforcing by default

Introduce quick wakeup driver and integrate into msm low power mode for better idle power consumption

Disabled lots of debugging
[Samsung Galaxy S 5 Unified Development] KREED-MG:
Has anyone tested this kernel with the ViperOS v6.3 KLTE (Android 9.0.0_r35) Rom, with the latest security patch?

If so, found any problems? And running the kernel, about Magisk 18.1, Viper4Android Fx without problems?

Device: Galaxy S5, SM-G900F (KLTE) With ViperOS, Android 9, Security Patch from April the 5th

Gesendet von meinem SM-G900F mit Tapatalk

---------- Post added at 04:52 AM ---------- Previous post was at 04:42 AM ----------

Ps: And does the kernel support the older USB mode UMS ? Use this mode with the help of an app (UMS Enabler, which needs the SELinux mode permissive and the kernel must support this to work).

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Thank you very much.

EDIT:

Since flashing the kernel I do not get notification tones and there is no sound on Instagram videos.
[Samsung Galaxy S 5 Unified Development] alexbelgium:
Hi, flashing kernel V2 removes mobile data capability. Flashing back v1 restored it. I'm on g900f with Los 16 latest nightly and latest bl & CP (if that matters). Thanks for developing this kernel!
[Samsung Galaxy S 5 Unified Development] BlueCyclone:
Confirmed on G900T, havoc 2.4

Strangely, mobile data shows present & enabled, apn looks good too...wierd :confused:

Other than that, great kernel! Just flashed it last night, but battery usage looks great so far:good:

Thanks [MENTION=7427799]pascua28[/MENTION]!
[Samsung Galaxy S 5 Unified Development] KazuDante:
that weird i flashed it over the previous version and everything works , i still have insta sound and notification sound as well