yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] fbs:
blame your rom.. IR/home is perfect here :P
[Samsung Galaxy S 5 Unified Development] drkdefender:
Sorry, I should have said "default charged* voltage"

From factory, it doesn't charge the battery to 4.4v?
[Samsung Galaxy S 5 Unified Development] celeb90210:
I notice a problem after flashing the latest kernel. I am running crDroid 6.2 Q and when I flash this kernel there is no longer navigation light nor notification light. Not even charging light. (G900T)
[Samsung Galaxy S 5 Unified Development] Nimrod-002:
I use MSM xtended 10.
[Samsung Galaxy S 5 Unified Development] fbs:
no.. 4.2 or less :P
[Samsung Galaxy S 5 Unified Development] fbs:
are you sure it was caused by the kernel?
[Samsung Galaxy S 5 Unified Development] celeb90210:
Yeah. I did another test by doing a clean install and it was working fine, but as soon as I install the kernel it stop working.
[Samsung Galaxy S 5 Unified Development] Mnichovec:
Yes on g900f same notification Led no working with Crdroid after flash kernel.thx
[Samsung Galaxy S 5 Unified Development] Skerleton:
After flashing latest kernel.. system sometime crash and restart phone
[Samsung Galaxy S 5 Unified Development] SmgKhOaRn:
What rom do you use?
[Samsung Galaxy S 5 Unified Development] zedmel:
doesn't work with lineage17 . eboot and stay on blackscreen
[Samsung Galaxy S 5 Unified Development] DeltraEcho:
Using the ROM lineage-16.0-20200207-nightly-kltedv the latest kernel is unstable and causes crashes. Reverting to my previous kernel version (tuned-kernel-201119-kltedv) is completely stable.
[Samsung Galaxy S 5 Unified Development] Skerleton:
Bliss os 12 android 10 KLTE

---------- Post added at 12:17 AM ---------- Previous post was at 12:15 AM ----------

I lost the previous kernel..(((
[Samsung Galaxy S 5 Unified Development] Noob9496:
This kernel support Fast Charge? I have charger with 5V - 2A and 9V - 1.67A. When I connect the charger, the system shows slow charging. I don't know if it's the system's fault or the kernel's. I use LineageOS for microG. Updates the system with each new update.
[Samsung Galaxy S 5 Unified Development] drkdefender:
Fast charging is a hardware thing. The phone official charger is 2.0A 5V, if your charger provides 9V, it is through USB type C connector only, and it won't work on a phone that wasn't designed for it. It's my understanding of how fast charging works.

It requires the charger, but also the hardware that manages the charging on the phone.

But maybe someone else can clarify it further.
[Samsung Galaxy S 5 Unified Development] fbs:
The Kernel tells the ROM something like this: Vnow(4391mV), Inow(2000mA), Imax(1800mA), SOC(84%)

The "Inow" is how much current (in Amperes) is coming through. Our default charger is 1800mA, but Tuned can suck up to 2200mA from it.

Why these ROMs shows "slowly charging" ? No ideia. They might think 1.8A or 2.2A is still too low. And their developers? They don't care.
[Samsung Galaxy S 5 Unified Development] fbs:
You've already "uninstalled" it by flashing your rom's zip.

Why it never boots? No idea.
[Samsung Galaxy S 5 Unified Development] Noob9496:
When i charger phone, Boeffla-Config v2 show 1A. Charge info: 1A.
[Samsung Galaxy S 5 Unified Development] SmgKhOaRn:
I think your charging cable is broken.
[Samsung Galaxy S 5 Unified Development] Noob9496:
Cable is new. I also have a usb 3.0 cable. After changing to this cable Boeffla-Config v2 shows 850mA.
[Samsung Galaxy S 5 Unified Development] fbs:
There is a bottleneck somewhere (cable, charger or the plug)

But the kernel won't do this unless you chose 850mA
[Samsung Galaxy S 5 Unified Development] fbs:
Mine..
[Samsung Galaxy S 5 Unified Development] androiddude7899:
battery readings

battery life is much more efficient :D (respect)

but i realised that aosp roms have battery gauge inaccuracy

using your future updates to this kernel any improvements to make battery readings accurate

i think everybody would like to because stock s5 rom gives accurate readings

but aosp roms are innaccurate :(

Example my s5 G900f stays on 1% all night and:

100-90% is drained within 10min
[Samsung Galaxy S 5 Unified Development] fbs:
your battery is just old and this is expected

the "full charging" on this topic is related to charging it until 100%, like twrp does (which is based on CM12 I think)

I think we can't go any better than this
[Samsung Galaxy S 5 Unified Development] androiddude7899:
I have 2 battery's ones new and one old on stock they performed similar new one abit better

I used to get 5 1/2hr SOT only two weeks ago ;-;

my battery has always been bad on custom ROM

Anyways hope you further improve your kernel
[Samsung Galaxy S 5 Unified Development] Noob9496:
I using this kernel, is the best for galaxy s5 g900f. I have original battery and this battery https://pl.aliexpress.com/item/32438426874.html. On original battery (4 years old) 4-5 SOT, on second battery 6-8 SOT. :D
[Samsung Galaxy S 5 Unified Development] VFox777:
I've got the same problem :(
[Samsung Galaxy S 5 Unified Development] pslag01:
Have you tried this to restore 'Bluetooth not working'?

Select Bluetooth via 'Settings / Apps / See all / Show system / Storage / Clear Storage'.

Boot to Recovery and wipe Cache/Dalvik.

Should now be able to open Bluetooth and see your previously connected devices.

And for me, leaving Bluetooth ON all the time has avoided the need to do the above. But that may not be appropriate for everyone.
[Samsung Galaxy S 5 Unified Development] fbs:
join us at https://t.me/tunedkernel if you want to try beta builds, including Jack fix for Q
[Samsung Galaxy S 5 Unified Development] pascua28:
Because there are fast charging technology on new phones. Custom ROMs aren't just made for one device (except device tree and kernel, etc.), the rest, like the ui, etc are common even to different devices. And some chargers have adaptive fast charging, they can provide 9v. That's why it's still showing slow charging because the voltage is 5v.
[Samsung Galaxy S 5 Unified Development] androiddude7899:
If I was to buy third party battery I would buy Anker

But they out of stock for S5

I had one for my S3 it was a small upgrade but Anker battery is the best if u want to buy a replacement I don't trust any others

---------- Post added at 02:50 PM ---------- Previous post was at 02:47 PM ----------

Now I'm getting 4hrs+

on this kernel 3hr of gaming all day :o

Normal usage could reach 5hr or more :laugh:

This kernel is actually getting better than I thought

And I use boeffla config app to decrease AC charge rate to 750ma to keep battery optimal temp because phone battery getting really warm if I use 2amps

And:

slower AC charge rate = slower battery degrade
[Samsung Galaxy S 5 Unified Development] :
I am limited max cpu to 2899mhz not 2995mhz.
[Samsung Galaxy S 5 Unified Development] RectangleReader:
Can i use this with Havoc-OS 2.9
[Samsung Galaxy S 5 Unified Development] durukanx:
Support this kernel android 10 ?
[Samsung Galaxy S 5 Unified Development] vlad3647:
Yes it does
[Samsung Galaxy S 5 Unified Development] vlad3647:
Thanks for the hard work
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
Thank you so much for this Kernel. It has made a huge difference for my KLTE 14.1.2. The real 100% charging helps alot.

Now if "they" could fix the BT problem with 15, 16, and 17 ungrateful users like me would be happy.
[Samsung Galaxy S 5 Unified Development] fbs:
this is strange because BT is completely normal here.. did you use any other kernel where it worked?
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
Actually yours is the only Kernel I have ever used.

The BT problem is well known for all roms past 14.

I originally thought it was my problem because may car uses the old BT 1.1. But I have seen numerous others with newer devices that get the same dropping of connections with BT.

---------- Post added at 12:31 AM ---------- Previous post was at 12:25 AM ----------

Actually yours is the only Kernel I have ever used.

The BT problem is well known for all roms past 14.

I originally thought it was my problem because may car uses the old BT 1.1. But I have seen numerous others with newer devices that get the same dropping of connections with BT.

I should have been more precise. The BT dropping has nothing to do with your wonderful Kernel.
[Samsung Galaxy S 5 Unified Development] FettyWap:
Yes your kernel is amazing, but unfortunately when I have to rely on stable bluetooth, I must flash back to the latest KLTEDV aokp 14.1 Kernel. It's not that bluetooth completely breaks it becomes unreliable. Even after wiping cache/dalvik and remove blue tooth data... This only started happening when tbe Kernel was merged to work with O P and Q . I'm no Dev but my guess is since this is a known O P Q issue it has something to do with the code in the Bluetooth kernel.. Sometimes it's greyed out, it turns on then turns off. Or random disconnect s

Or fails to connect
[Samsung Galaxy S 5 Unified Development] fbs:
there wasn't any "merges".. the kernel is the same, mostly because our hardware didn't change

I could try to hunt something if it happened to me, but it doesn't happen...
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
Another obscure possibility is that Samsung used different versions (subcomponents) of the BCM4334 chip from Broadcom and ST Micro. However this really doesn't explain why 14 works flawlessly for me and 15,16,17 fails (BT only).
[Samsung Galaxy S 5 Unified Development] fbs:
maybe the incompatibility isn't exactly with the BT code itself... as I said, the BT code was never changed, but other small kernel stuff were

did you test boeffla, smartpack or intelli-kernel with your 14 rom?
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
no just yours
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
Just tried intelli-kernal. No change.
[Samsung Galaxy S 5 Unified Development] KotaroDenzo:
After installing this new version, i can't run scripts from init.d and i can't change the disksize of vnswap. Any solution?
[Samsung Galaxy S 5 Unified Development] hmdbsgl:
Does Havoc OS 2.9 work?
[Samsung Galaxy S 5 Unified Development] RectangleReader:
Yes it does
[Samsung Galaxy S 5 Unified Development] hmdbsgl:
Thanks :fingers-crossed:
[Samsung Galaxy S 5 Unified Development] Noob9496:
Bluetooth fix Lineage OS

If anyone has a problem with bluetooth then you need to enter settings, applications and notifications, all applications, press the 3 dots in the upper right corner, select the option show system applications, then find the Bluetooth application and Bluetooth MIDI Service, force stop and clear the data of these applications, then restart the phone. Turn on bluetooth from the notification bar, if it turns off then turn it on again. It worked for me.
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
Tried this on my 900T with CR Droid 17 from February 2020. Unfortunately no luck. Thanks for posting as this is the only issue stopping me from updating from 14.
[Samsung Galaxy S 5 Unified Development] Z.Ilya:
Thank you for your great job!

My device is Samsung Galaxy S5 SM-G900F

I was running kernel version 201119 on LOS 16 with no issue. It's really noticeable difference in battery life and performance.

Recently I have installed LOS 17.1. It's fine, but when I install kernel version 20200223, just before the system starts, I have a notification that SElinux is permissive. Also, ctsProfile and basicIntegrity in SafetyNet check are now "false".

Is there anything I can do to prevent this? This issue doesn't allow me to use Google Pay...
[Samsung Galaxy S 5 Unified Development] Senhor_R:
Enable support for wireless device Atheros

please Enable support for wireless device Atheros
[Samsung Galaxy S 5 Unified Development] Noob9496:
This voltage can by stable?
[Samsung Galaxy S 5 Unified Development] Boatshow:
I use this voltage table. My phone's SoC is bin PVS9. Basically just a -55mV offset with some slight tweaks. The clock states higher than 2611 MHz aren't stable and I never finished configuring them (default governor behavior uses 268 MHz to 2611 MHz anyways) but they did work at stock voltages I think.

Many of these voltages can go lower but stability testing is really unpredictable. Whether the CPU is fully loaded or not and whether your phone is running off a battery can affect results. Also, as you test higher clock rates the SoC can throttle. The governor setting I'm using is tuned - battery. I recommend starting with an offset for all of them and then adjusting 268 MHz and 1497 MHz since they're the most common states.

To test for stability you can use this one-liner in Termux after locking your CPU to a certain clock rate:

while true; do openssl speed -multi 4 rsa4096;done

For more info about Snapdragon 801 binning:

https://xdaforums.com/htc-one-m8/general/guide-snapdragon-801-clocking-voltage-t2807173

268MHz - 650mV

300 - 720

422 - 720

652 - 720

729 - 720

883 - 725

960 - 735

1036 - 745

1190 - 765

1267 - 775

1497 - 805

1574 - 815

1728 - 835

1958 - 880

2265 - 940

2457 - 975

2534 - 990

2611 - 995

2764 - 1030

2841 - 1045

2899 - 1060
[Samsung Galaxy S 5 Unified Development] Noob9496:
I use this configuration.
[Samsung Galaxy S 5 Unified Development] Xplor3r:
Thank you [MENTION=516058]fbs[/MENTION] for your work. I noticed something. On two Android 10 roms (BlissRoms klte v12.4 and MSM-Xtended klte v7.0) that had the SELinux in Enforcing mode as a base, by flashing the TUNED Kernel, it brought them back to Permissive. What, please, could be the cause?
[Samsung Galaxy S 5 Unified Development] SmgKhOaRn:
Both intelli and tuned has permissive mode in default now.
[Samsung Galaxy S 5 Unified Development] mkgrage:
[MENTION=516058]fbs[/MENTION] I use your kernel since pie. Now I use android q rom, using ur newest kernel I had a problem, when I charge my phone, battery indicator not showing charging, also led not show. But when use older version still work on android q, and charging indicator working good. But using older kernel got another problem in android q, headset not working.

So is there any suggestion so I can use ur newest kernel with working charging indicator.

My device is kltekdi.

Thank you.
[Samsung Galaxy S 5 Unified Development] craP_cillA:
everything fine here! using the latest version of this kernel together with blissrom 12.5. :good:
[Samsung Galaxy S 5 Unified Development] Nimrod-002:
is there anyway to get the nightly kernel releases without installing telegram on phone
[Samsung Galaxy S 5 Unified Development] Hebon:
Hi, yes, I'm sorry, but I'm having the darndest time compiling this kernel. I managed to find the repo in your github for the tuned-kernel-S5, but when I attempt to run the script 'buildall' I end up with the following error.

/home/vagrant/andKern/build/Makefile:550: recipe for target 'scripts' failed
make[1]: *** [scripts] Error 2
Makefile:130: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
>>> compiling DTB

DTB combiner:
Input directory: '/home/vagrant/andKern/build/output/arch/arm/boot/'
Output file: '/home/vagrant/andKern/build/output/arch/arm/boot/dt.img'
Failed to open input directory '/home/vagrant/andKern/build/output/arch/arm/boot/'
compile time: 3 seconds

Compile was NOT successful !! Aborting.

cp: cannot stat '/home/vagrant/repack/tuned-kernel-*.zip': No such file or directory

I tried googling, but I can't seem to find any resolution to my issue.

If I could get some clarity on what I'm missing, I'd love that. Thanks.
[Samsung Galaxy S 5 Unified Development] reza_khof:
The Battery usage or GSam app can't show and calculate battery consuming by using this kernel. Any suggestion or solution?
[Samsung Galaxy S 5 Unified Development] drumandbassfreak:
What sorcery is inside this kernel? I needed to charge it almost 3 times a day and I made to the whole day and I still have 48% left, the screen flickers for a split second after locking the screen, the weird thing is that it only happens when ots too cold and the phone has been outside my pocket for a while, is it a hardware problem? after a couple of minutes of using the problem dissappears until the phone cools down again, also the lockscreen is constantly showing 2000 mA, i'm on RR pie, good work, the battery improved like never before. and im not even using a extended battery
[Samsung Galaxy S 5 Unified Development] mixyzptlik:
Bro, are you in dev's telegram group? if you really liked this 2302 build, you should REALLY try his last build that is in the group. It's fricking awesome
[Samsung Galaxy S 5 Unified Development] reza_khof:
When I turn on the Bluetooth it stays in turning on and after that immediately turned off. I'm using klteduos 20200223. Is there newer version?
[Samsung Galaxy S 5 Unified Development] Noob9496:
Bluetooth not working. Please resolve this problem.
[Samsung Galaxy S 5 Unified Development] TheSSJ:
it does work (just checked) so your ROM is the problem, and work on your language as fbs is not your servant, he uses his freetime which nobody is paying him back.
[Samsung Galaxy S 5 Unified Development] craP_cillA:
yep, bluetooth works fine! :)
[Samsung Galaxy S 5 Unified Development] Noob9496:
When I flash Intelli Kernel v15 bluetooth works. On Tuned kernel don't work.
[Samsung Galaxy S 5 Unified Development] TheSSJ:
Check the attached, i am running crdroid and tuned kernel and BT turns on and searches for devices

It's not the kernel, after flashing tuned kernel make sure to wipe cache and dalvik
[Samsung Galaxy S 5 Unified Development] Noob9496:
Ok, thanks, i try it. On Intelli kernel works normally, but i have randomly reboot. I don't know why. Intelli kernel on default settings. I return to Tuned kernel.

---------- Post added at 11:53 AM ---------- Previous post was at 11:20 AM ----------

After wipe cache and dalvik, Bluetooth still doesn't work.
[Samsung Galaxy S 5 Unified Development] TheSSJ:
Which ROM are you currently using?
[Samsung Galaxy S 5 Unified Development] Noob9496:
Lineage OS for microG

(lineage-16.0-20200409-microG-klte)

https://download.lineage.microg.org/klte/
[Samsung Galaxy S 5 Unified Development] Noob9496:
There may also be problem with Edxposed. But after flash Intelli kernel, bluetooth work. I change selinux, but doesn't work.
[Samsung Galaxy S 5 Unified Development] Noob9496:
Edxposed problem. Sorry. Bluetooth works on this kernel.
[Samsung Galaxy S 5 Unified Development] fbs:
New version is up.. It's rebuilt from LOS Q Kernel.. For me it's even faster and with low battery use in stand-by.

Please test!
[Samsung Galaxy S 5 Unified Development] Noob9496:
Works on Pie?
[Samsung Galaxy S 5 Unified Development] vlad3647:
Good job, smooth like it butter,running in 7.1
[Samsung Galaxy S 5 Unified Development] fbs:
Yes, but Pie is slow, use Q!
[Samsung Galaxy S 5 Unified Development] pslag01:
S900P (Sprint), kltedv, LOS 16 (20200310).

Thanx for the great work!!

My initial impressions w/20200417 are good, and indeed better then previous '2020' versions, especially as far as battery goes.

However there's one somewhat major issue (at least to me): there are no recent items shown. Apps are left running, but there's no way to see nor close them. Or... am I missing something, perhaps an alternative way to manage running apps?

Also, the initial download of 20200417-kltedv gave me a 'corrupted' error when I tried to install it. If not too much trouble, could you perhaps provide a checksum of each version? I simply tried a 2nd time and it was fine. (And the checksums of my 1st and 2nd downloads are different, suggesting I had a hiccup during download).

For now, I am back to running the steady/stable 201119 (aka 20191120) version.

---------- Post added at 05:16 PM ---------- Previous post was at 04:38 PM ----------

Which Q ROM do you run or recommend for kltedv/900P?

Thanx.
[Samsung Galaxy S 5 Unified Development] Noob9496:
Which Q rom do you recommend? On lineage OS 16 for microG works smooth. Great kernel.
[Samsung Galaxy S 5 Unified Development] blikkk:
Thanks for your work.

Perfect stuff.

Please, solve https://play.google.com/store/apps/details?id=remote.hid.keyboard.client

LOS16 Ares work.
[Samsung Galaxy S 5 Unified Development] blikkk:
https://github.com/pelya/android-keyboard-gadget
[Samsung Galaxy S 5 Unified Development] fbs:
"Recent items" is a rom feature, the kernel has nothing to do with it

When a zip file is corrupted, it will give "corrupted" error message, then why would one need checksums?

I'm using luisrom's crdroid, don't know if it works on kltedv (maybe the kernel is what really matter?)
[Samsung Galaxy S 5 Unified Development] pslag01:
Recent items... but, the only difference is the kernel:

ROM = lineageos-16.0-20200310-NIGHTLY-kltedv; kernel = 112019-kltedv --> recent items works fine.

ROM = lineageos-16.0-20200310-NIGHTLY-kltedv; kernel = 20200417-kltedv --> recent items not manageable.

??? Seems the kernel has something to do with it.

Corrupted zip... fair enough... I'll wait until 'install time' to see if I've got a bad/corrupted download.

Q ROM = luisrom crdroid... thanx, Ill check it out for kltedv.
[Samsung Galaxy S 5 Unified Development] Boatshow:
Don't have the recent items issue.

However I can't charge faster than about 1-1.2A from a USB3 port anymore with lineage-16.0-20200419-nightly-klte-signed.zip and kernel 20200417. It used to work up to the cap of 2A.

AC charger still allows charging at the cap of 2.2A. Not sure what caused this.

Edit: Might've been Samsung USB drivers. I downgraded back to generic MTP drivers and now I can occasionally see the device charging at 2A. Might've solved the issue?
[Samsung Galaxy S 5 Unified Development] SnowOwl20:
how can i give you a donation?

yo is there a way to give you a donation like you fixed my phone man you deserve a donation.
[Samsung Galaxy S 5 Unified Development] lymond:
Hi,

First thanks for your kernel/time, the latest one on Android Q is both faster and better on SOT/ standby than any I've used on this phone.

Although it's not really a problem (0.2-0.7%/h standby so I don't really need to know what's using the battery) on my device I don't get app battery usage, but I do get system battery usage (screen, wifi etc). I had this with Android Pie (RR 7.0.2) and kernel version 100919 and now again on Android Q (LOS 17) and kernel version 20200417. I've had smartpack kernel v34 on Pie and the stock LOS kernel on Q and both reported battery usage by the apps. 3rd party apps like GSAM report the same.

I have a G900F with lineage-17.1-20200407, Magisk installed. Anybody suggest where I could start looking?
[Samsung Galaxy S 5 Unified Development] FettyWap:
I am still using Lineage 16 w/magisk. I first flashed the spr kernel, and noticed freezing and lockups randomly, I then decided to flash kltdv kernel as it is the rom I am actually using and the intermittent freezing still persisted. Any suggestions I am not ready to roll over to 17.1 yet
[Samsung Galaxy S 5 Unified Development] fbs:
Can you reach the boeffla config app first tab and see the PSV value?

You're not changing any default values, right?
[Samsung Galaxy S 5 Unified Development] fbs:
There's a button "donate to me" below my name.. but I don't know if it works because I've never received anything...... :(
[Samsung Galaxy S 5 Unified Development] FettyWap:
No changes just installed boeffla app now asv/PSV is 6

Gapps installed*
[Samsung Galaxy S 5 Unified Development] fbs:
come to our telegram channel, I can send a different version to you, if you're willing to test
[Samsung Galaxy S 5 Unified Development] fbs:
Yeyyy Idk if it was you but I've received some dollars for the first time. That's awesome! Thanks!
[Samsung Galaxy S 5 Unified Development] SnowOwl20:
ofc man you deserve it! I do have a question does this affect the phone call quality in any way? And will system files be modifieable? Just asking cause I'm planning to get a sim and increase my volume on my rom.
[Samsung Galaxy S 5 Unified Development] fbs:
No, the kernel doesn't change phone call quality or volume
[Samsung Galaxy S 5 Unified Development] Boatshow:
Can we get a change log for 20200521?

Edit: Nice, thanks. :cowboy: