yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Honestly, I do not know since it is difficult for me to test the standby time due to my building and flashing habit :p

However, I'm presently satisfied with 1. cpugreq (nightmare), 2. cpu hotplug (intelli_plug), 3. undervolted (up to -50), 4. TCP algo (westwood) and 5. All other available features like fastcharge, sound control etc. enabled...
[Galaxy S 5 Android Development (Snapdragon)] Juanchito16:
exactly what i tough so i do have time to try this, im waiting for phone to charge fully (now 55%), i will set 1. cpugreq (nightmare), and turn on wifi, bluetooth, gps, and in airplane mode bc i dont have sim for the phone.

well i dont have many apps installed ,so i will do every test with exactly same settings and apps
[Galaxy S 5 Android Development (Snapdragon)] deollz:
workload

Thank you for your Kernel,

The fist Look seems to be good, the CPU workload shows 3 Cores are OFF (kernel adiutor), one by 50% by default LOS with no Apps in the Background, with the settings you are posted.

Thank you for the the first costum kernel for sm-g901f on LOS 14.1.

best regards
[Galaxy S 5 Android Development (Snapdragon)] Juanchito16:
so i did the "test" with your kernel, with the default kernel configurations, wifi, bluethoot, gps in high accuracy, full brightness, and youtube all the time with video playng, so it gives me 4 hours, wich i think is just exelent thinking its a old battery.

its a really nice work man, about the fast charge, its nice, i charged it with everithing, but unfortunately i cant say how fast its yet
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Thanks for testing and review. It become much better in the next updates once I add cpu input boost...

Thanks for the really detailed review... As per its source code, it only increases the USB charging speed to 900mA and nothing else. Probably you can try ampere to test the charging speed. Btw, I hope more people test this kernel soon.
[Galaxy S 5 Android Development (Snapdragon)] kotobodj:
Testing now, thank you ! My phone g906s
[Galaxy S 5 Android Development (Snapdragon)] Juanchito16:
i did try with ampere, im testing it in norway, and actually without any modification, and right cable i get 1.200 mA
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Thank you very much friends. Was busy with my klte kernel. I'll probably push an updated version tomorrow, if everything goes as expected.

Btw, anybody tested the sound control (Kernel Auditor ---> Sound)? Is it worth?

Thanks in advance...
[Galaxy S 5 Android Development (Snapdragon)] BorrelNootje:
I have tried to use the sound option, however it crashes my device. I can make some logs later if that's helpfull.
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Ahh, yes, please provide a log if possible... Thanks for reporting...
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
New builds (beta-v2)...

Release status: beta-v2

Added: SIO and FIOPS ioscheds, CPU input boost, iosched switcher & FSync enable/disable support...

Changes: Interactive cpufreg gov, sound control (default gain marginally increased, PS: it might still crash the device if you touch the sound tab, but give significant gain by default), recent commits in the LOS kernel source code...

Download links are here... enjoy

/* Downloads */

SM-G906S/K/L

SM-G901F

[B][COLOR="Red"]Please remember to download the latest build (dated 20171012)...[/COLOR][/B]
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
One more build...

One more update before the weekend...

Release status: beta-v3

Changes: Changes: zzmove cpufreq gov. All the commits in the LOS kernel source code till date...

Download links are here... enjoy

/* Downloads */

SM-G906S/K/L

SM-G901F

[B][COLOR="Red"]Please remember to download the latest build (dated 20171013)...[/COLOR][/B]
[Galaxy S 5 Android Development (Snapdragon)] biopc:
beta-v3 seems working stable. I havent check battery use yet.

Im happy to see a custom kernel for g901f on nougat. Ive been on 6.0.1 custom for a long time.

Looking forward for CPU/GPU OC in your kernel!

Great job and thanks a lot!
[Galaxy S 5 Android Development (Snapdragon)] mdimarucot:
Worked on my G906L though at first boot it lags a bit but after reboot, my phone works fine. As of now I have no problem using this. Thanks a lot.. I'm using RR 5.8.5
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Nice to know that it's stable in your device. Btw, regarding CPU/GPU OC, I'm not sure atm (though I really like to implement) since some of my attempts were not successful. Further, I don't know OC is really needed for our super powerful device which already clocked around 2.5 GHz.

Good to know... Thanks for testing...

Can any of you tested the sound (it might crash the phone if you try to change the default values)? Is everything fine (system, media, in-call sound etc)? Btw, thank you very much for testing and happy to know that more people using my work...
[Galaxy S 5 Android Development (Snapdragon)] mdimarucot:
As of now everything is fine except the mentioned crash on sound when changing values, but I'll see if there's any problem besides that and report it back to you.
[Galaxy S 5 Android Development (Snapdragon)] biopc:
I can confirm adjusting sound values crashes and reboots my device aswell.

Enviado desde mi SM-G901F mediante Tapatalk
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
New builds (Release status: beta-v4)

New kernel version (beta-v4) is available for download...

Changes: Adreno_Idler, faux sound (old buggy sound controller is removed: no more crashing while changing gain values) and much more powerful fast charge driver (it will bump AC charging rate into 1800 mA)...

Download links are here... enjoy

/* Downloads */

SM-G906S/K/L

SM-G901F

[B][COLOR="Red"]Please remember to download the latest build (dated 20171016)...[/COLOR][/B]

By the way, I forget to mention that the latest kernels are build using Linaro-GCC-4.9 toolchain...
[Galaxy S 5 Android Development (Snapdragon)] mdimarucot:
Adjusting sound values does not crash anymore on my G906L. Will try the fast charge later. My phone doesn't heat too much. I'm using the yankative right now.
[Galaxy S 5 Android Development (Snapdragon)] nikeusfr:
Hi, very thanks for this kernel. I test it on my g901F on lineageos 14.1

Tuning it under kernel adiutor, max cpu freq 1958mhz, max gpu freq 389 mhz governor yankative, undervolt all -5mv.

All is fine for the moment, the battery life seems to be fine (better than original kernel), and important, in full charge the phone is not hot.

great
[Galaxy S 5 Android Development (Snapdragon)] 19ket:
First of all thank you first this, just installed it, we will see how it goes...
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Thank you guys for testing and confirms everything fine.

I think I'm already added all the features (except CPU/GPU over-clocking) that I really like to use in my mobile. So, I'l now try to update the kernel inline with each LOS upload (ofc, I'll try to bring CPU/GPU oc sometimes later).

Meantime, please suggest to me, if you like to have some features?

By the way, do you guys like if I implement ota (or at least a notification) support via official kernel auditor app or a modified build of kernel auditor (depends on the convenience)?
[Galaxy S 5 Android Development (Snapdragon)] kotobodj:
Good kernel . do you can make custom kernel for stock rom mm?
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
Could you add this to kernel https://github.com/pelya/android-keyboard-gadget ?
[Galaxy S 5 Android Development (Snapdragon)] nikeusfr:
Hi, i've got a little problem, when i restart my phone all my kernel tuning are lost, i use the script option in kernel audiutor and all my tuning stay after reboot.

A very good option you can implement in your kernel is the double tap to wake / off , i've got it on my z3c and it's terrible .

The battery life is normal, with zzmoove option. I try other tuning in the week.

best regard
[Galaxy S 5 Android Development (Snapdragon)] quphkzie:
hi [MENTION=7060205]sunilpaulmathew[/MENTION], im new to this thread. i have a quick noob question: what's the difference between this and the original kernel of lineage os 14.1? thanks!
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
May be no. I have no motivation to do so (since I'm a LOS fan, and never like to use Stock TW). Further, samsungs many stupidities like Knox, flash counter etc makes its really difficult (I already tried, but it simply doesn't boot in stock)

Good suggestion. Let me see the possibilities... Thanks...

In kernel auditor, there is an option called "Apply on boot" in each tab. If you tick that,your settings will be stick after each reboot (worked for me) unless the feature is buggy.

Regarding the wake-up gesters like dt2w and sweep2wake, yes, I can add (theoretically), but it may not work nicely like ur z3c since our devices does not have the necessary hardware support.

Every custom kernels essentially give more control on your phone. For example, after installing this kernel, you can control your CPU voltage, you can active fast charging, significantly increase sound using faux sound driver etc. For more details, see the first post. Everything is clearly mentioned in the op.
[Galaxy S 5 Android Development (Snapdragon)] quphkzie:
thanks i'll be trying this soon! :):good:
[Galaxy S 5 Android Development (Snapdragon)] GalaxyTroll:
SM901F hotplugging bug?

After playing around with the some cpu govenors (nightmare and interactive_pro) hotplugging didn't work for me anymore, my phone ran all 4 cores all the time even with mpdecision and the default interactive govenor enabled. After several reboots and attemps to fix this I could still not get it to work so I went back to the default kernel for now because my battery life was terrible (I lost 50% overnight with no wakelocks whatsoever). Could that be a bug or did I do something wrong?

On a side note, could you add the InteractiveX and SmartassV2 cpu govenors?
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
I do not know what is happening in your case. Have you tried intelli_plug or mako_hotplug (after disabling mpdecssion). I'm sure that activating mako hotplug immediately restrict the usage of CPU into 2 cores.

Btw, regarding the new Cpufreq profiles, I'll let me check the possibilities (those are included in my future plans)...
[Galaxy S 5 Android Development (Snapdragon)] Namenlos55555:
I had the same problems like he had (only without much battery loss, so its OK). I tried intelli_plug and mako_hotplug. They both behave very strange. It seems like mako_plug turns off 2 CPU cores and doesn't turn them on anymore, no matter what you do with the hotplug settings. intelli_plug turns 3 cores off and doesn't turn them on anymore. I tried to stress CPU to reach that they will turn on, without success. Under 100% load, there is still only one or two cores working. I think this shouldn't be like this?

I have another question, regarding the fast charge setting. Does it work with my stock charger or do I need to buy a quickcharger ?
[Galaxy S 5 Android Development (Snapdragon)] quphkzie:
Good question! i'm also thinking the same if it will work on standard chargers.
[Galaxy S 5 Android Development (Snapdragon)] GalaxyTroll:
Yeah makoplug and intelliplug behaved strange for me as well, they would not enable core 3 and 4 under load like you described. Meanwhile mpdecision was the exact opposite, it idled with all 4 cores on 300mhz instead of disabling core 3 and 4. I hope the dev will be able to fix that issue so I can use this kernel again, I'm currently on resurrection remix (switched recently from Lineage) and the phone runs a bit too hot with the stock kernel.
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Its not strange especially with mako hotplug. That is how it is designed. It will restrict the cpu usage to first two cores unless the cpu usage is really really high. You might try performance or lionheart profiles (with mako hotplug). It will probably activate 3rd and 4th cores. Btw, if the first two cores are in relatively lower frequencies, there is nothing wrong with disabling the other two cores. So, don't worry.

Theoretically, it should work with the standard Samsung charged unless its is broken.

It will be really good for battery life if mpdecission makes all the cores idle (300). To avoid heating issues, I suggest you to use zzmove cpu governer (after disabling all the hotplugs). It has a really efficient and up-to-date hotplugging profiles. And your concern related with mako and intelli_plug is just normal in my opinion (read the above part of message).
[Galaxy S 5 Android Development (Snapdragon)] GalaxyTroll:
Here are some screenshots of the hotplugging issue

[IMG="Result of interactive governor + mpdecision"]https://i.imgur.com/RML2pev.jpg[/IMG]

Result of interactive governor + mpdecision: as you can see, it doesn't disable core 3 and 4 even though the cpu is not under load. The cpu has all it's 4 cores enabled all the time which could result in battery drain.

__

[IMG="Result of interactive governor + intelliplug"]https://i.imgur.com/wgO0PJW.jpg[/IMG]

Result of interactive governor + intelliplug: as you can see, cores 2-4 are disabled even when the cpu is under heavy load (I opened 4 games in the background)

__

[IMG="Result of zzzmoove governor with no other hotplug solutions"]https://i.imgur.com/F4vDKad.jpg[/IMG]

Result of zzzmoove governor with no other hotplug solutions: this is under idle load, core 3 and 4 are not being disabled even though they should. Just like mpdecision all the 4 cores are enabled all the time on zzmoove.

__

So to sum it up: zzmoove and mpdecision won't disable unneeded cores and intelliplug wont enable extra cores under load
[Galaxy S 5 Android Development (Snapdragon)] HuKu52:
Kernel adiutor m o d. V15 + Mpdecision +

various governors including zzmoove results in scaling as supposed with idle / load.

So it may be a problem of Kernel adiutor.
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
New builds (stable-v5)...

New kernel version (stable-v5) is available for download...

Changes: Added smartmax and interactive_pro cpufreq govs, usb gadget (keyboard & mouse) support (you probably need this app). Up-to-date with LOS kernel commits till date...

Download links can be found in the below links... enjoy

/* Downloads */

SM-G906S/K/L

SM-G901F

[B][COLOR="Red"]Please remember to download the latest build (dated 20171025)...[/COLOR][/B]

PS: If everything goes good, I will soon add OTA support via a modified (by myself) version of Kernel Auditor...
[Galaxy S 5 Android Development (Snapdragon)] GalaxyTroll:
This version works as a charm, mpdecision works again and battery life is great :)

Edit: turns out I spoke too soon. For some reasons I randomly get massive battery drain for no reason, the cpu isn't doing anything crazy according to kernel audiutor. Today I lost 12% in 10 minutes while I was only browsing in chrome and the phone loses 5% every hour when idling on wifi (with the stock kernel I manage 1% every 3 hours). Any idea what this could be? Does anyone else have the same problem?
[Galaxy S 5 Android Development (Snapdragon)] Namenlos55555:
Hey, it seems like USB - Keyboard isn't working. I tried the app and only shows the message which i'll add to the post.
[Galaxy S 5 Android Development (Snapdragon)] halo6534:
im' a noob so can someone tell me what's the recommended settings (cpugov ,etc...)

im using RR 5.8.5

thnx in advance
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
If you loose 12% battery in 10 mins, there will be something really wrong that must be beyond the scope of a Kernel. Plz consider to install a battery monitoring app and check.

Okay. Let me check. I haven't checked that myself (simply added). thanks for reporting...

That is quite difficult question for me to answer. Plz see Q4 in the FAQ.
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
New builds (stable-v5_r1)...

New kernel version (stable-v5_r1) is available for download...

Changes:USB gadget (keyboard & mouse) support is removed since I failed to make it working. Up-to-date with LOS kernel commits till date...

Download links can be found in the below links... enjoy

/* Downloads */

SM-G906S/K/L

SM-G901F

[B][COLOR="Red"]Please remember to download the latest build (dated 20171101)...[/COLOR][/B]

Edit: The version name in Settings ---> About Phone still shows stable-v5 (I simply forget to rename that in the defconfig

Further, I also want to introduce you guys a new kernel management app, SmartPack-Kernel Manager, which is a modified version of kernel Auditor. If you use this app, you guys will get a kind of OTA support of my Kernels without losing all the benefits of kernel Auditor. The download links to my app can be found here.

To know more about the app, please read this write-up, which I wrote for my klte kernel users.
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
You have a ready-to-run code to add to the Kernel from lineageos gerrit. Corinna did not add it to production because it was not safe enough.
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
Tested this kernel in the last version (stable-v5_r1). Battery is great when the system is idle (its my spare device). No other error so far. Thanks [MENTION=7060205]sunilpaulmathew[/MENTION] for your exellent work!
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
*** Big news ***

I managed to build my kernel with Linaro-7.2 (gcc-7.2) and UBERTC-8.0 (gcc-8.0) toolchains both are latest from their categories. I expect a much better performance and battery life with those builds. In the next build, which will be landed with the next LOS update hopefully after 2 days, I'll push two separate builds (Linaro and UBERTC) for you guys to play with and decide which is better. stay tunned...

Meantime, if anyone like to be an early tester, plz let me know with your device variant...

and sorry for the delayed response as I was busy with many personnel things...

I think I have nothing to do for that... my job is only to make this kernel better. I already suggested Corinna to take my modifications if it is worth.

Thanks for the nice words ;)
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Test builds: Linaro and UBERTC

Hi all,

Here I'm adding a dropbox links to Linaro and UBERTC test builds. If anyone interested, plz test and comment your opinion about those. I already got some comments from [MENTION=5880132]wilmsn[/MENTION] (thanks to him). But still, more user reports are much appreciated. It will be help me to decide the correct toolchain for the future releases.

The link can be found here...

https://www.dropbox.com/sh/hfg15o18kvxzovi/AACQZbMRqfOpo0buHN-jFelda?dl=0

Thanks to all in advance.
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
New builds (stable-v5_r2)...

New kernel version (stable-v5_r2) is available for download...

Changes: Incorporated all the patches from osm0sis's AnyKernel2 repo. Up-to-date with LOS kernel commits till date...

Since I haven't got any comments about UBERTC-8.0 and Linaro-7.2 builds (except a single one from [MENTION=5880132]wilmsn[/MENTION]), I decided to go ahead with the Linaro-4.9 (same as that of stable-v5_r1)

Download links can be found in the below links... (you may also download the same from SmartPack-Kernel Manager) Enjoy...

/* Downloads */

SM-G906S/K/L

SM-G901F

[B][COLOR="Red"]Please remember to download the latest build (dated 20171108)...[/COLOR][/B]
[Galaxy S 5 Android Development (Snapdragon)] HuKu52:
With Mokee rom and G901F best kernel version with minimal drain is 5r1, your experimental kernels and 5r2 have more battery drain. But with MK71.2-kccat6-201711121011-NIGHTLY.zip (all after 20171108) and your kernels wifi cannot be activated. Please fix it, if possible. Thanks in advance.
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
In which versions you have wifi issue? Linaro and UBERTC test versions?

wifi works with all the kernels versions in my case in my SM-G906S...
[Galaxy S 5 Android Development (Snapdragon)] HuKu52:
WiFi works with all Mokee versions and Mokee stock kernel, your kernels v5r1, v5r2 and both experimental kernels too till 11082017. Since 11092017 WiFi is not working.
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Ahh, got it... Don't worry, its Lineage-OS related issue. See Corinna's post in LOS official thread. Should be fixed in next LOS build (and also in my kernel)...
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Some good and bad news at the same time...

New kernel version (stable-v6) is now available to download.

It is just a maintenance update and only includes the latest changes in the LOS kernel source code till date.

The download links can be found here... enjoy...

/* Downloads */

SM-G906S/K/L

SM-G901F

[B][COLOR="Red"]Please remember to download the latest build (dated 20171108)...[/COLOR][/B]

Now bad news:

It seems like the display of my device is fully dead (it was half broken already). These builds are there for totally "blind" builds. It will be mostly the last update of this kernel unless I managed to make my phone again working. Sorry guys...
[Galaxy S 5 Android Development (Snapdragon)] irock4god:
Tested it from scratch from a full wipe wifi not turning on
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
This will be the possible reason. have you tested in the latest LOS release (there is no new build for lentislte this week, which device are you on?) If you have lentislte, you probably need to stay in an old build of ROM to solve the issue.
[Galaxy S 5 Android Development (Snapdragon)] irock4god:
I'm on kccat6 latest rrmix build by Corrina.
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
Just tested the last version (v6) on RR on kccat6/g901f. Wlan is not able to go online. With original kernel wlan works without problem.
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Hi, Thanks for the information. However, the issue is that there is no real changes has been done in the kernel from my side for the last few releases (exactly from stable-v5_r1) other than adding latest commits from Lineage-OS source code (they are actually huge including a Linux Kernel version update). So, it is really weird to know that one (stock kernel) is working and the other (this kernel) is not:confused:

Further, since my device seems to be fully dead now, I'm worried about continue support to this project:crying: It will be much appreciated if someone having this device could take this work.

Edit: anyway, I'll push one more build before next LOS release (after re-basing everything and that will hopefully solve wlan issues) before I leave this project forever...
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
New builds (stable-v6_r1)...

New kernel version (stable-v6_r1) is now available to download.

The wlan issue for kccat6 should be fixed now (not tested by myself since I don't have that device).

The download links can be found here... enjoy...

/* Downloads */

SM-G906S/K/L

SM-G901F

[B][COLOR="Red"]Please remember to download the latest build (dated 20171120)...[/COLOR][/B]

Since I do not have the device, these re simply blind build though it will work without issues. I hope some of you ([MENTION=5880132]wilmsn[/MENTION]) could test and confirm the status of wifi in kccat6/G901F.
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
Wlan still broken on g901f

Bad news! Wlan is not working on kccat6/g901f with Resurrection Remix (last version from Corinna).

I did not test it with LineageOS. As far as i know there had been some changes in LineageOS (encryption of the device) during the last days that are not in RR.
[MENTION=7060205]sunilpaulmathew[/MENTION]: Is your github up to date with your last changes? If i find some time i will try to build RR directly on your sources. May be that works....

Stay tuned

Norbert
[Galaxy S 5 Android Development (Snapdragon)] sunilpaulmathew:
Yes, my source (here) is up-to-date. and thanks for testing...