yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] fbs:
just installed it, with no kernel apps installed, cpu governor is set to "performance", is it right?

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

performance

---------- Post added at 07:21 PM ---------- Previous post was at 07:15 PM ----------

for simple things, I'd use stock kernel, stock rom, or just move to apple..

if we can arbitrary choose how much current to suck from the charger, why would we prefer to have a fixed one? custom stuff is about about CUSTOM things, right? :confused:
[Samsung Galaxy S 5 Unified Development] j1gga84:
When I installed the kernel the standard gov on my side was performance and also all cores were active.

I set it to nightmare and now everything seems to be okay.

The battery drain when I use my device is a bit higher than under MM (Android system on first position in better battery stats, hope it will get better in the future).

By the way how can I change the selinux state from strict (seems to be standard) to moderate and why is interactive as governor not implemented?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] mgp53:
For me it charges quick enough at default. To each his own.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
During a re-base before few weeks, I simply forget to set default cpu gov in the defconfig, so, it should be performance.

Regarding fast charge, I think it is better to stick on something which is fully working on kernel auditor than a more customizable but buggy stuff?

I think I removed interactive in an earlier stage of development (or even in the beginning itself, cant remember exactly). But I believe that you can find an alternate governor option from the list?
[Samsung Galaxy S 5 Unified Development] fbs:
The way it is, while enabled via kernel adiutor, usb charging was upped from 450mA to 600mA here, and AC charging didn't change at all.

As far as I remember, with other kernels, I could charge via USB with 1000mA and AC 2100mA.

EDIT:

doing a "echo 2 > /sys/kernel/fast_charge/force_fast_charge" fully enabled it.. wow

I'm happy with CLI settings.. it's working..

klte:/sys/kernel/fast_charge # cat info
Forced Fast Charge for Samsung Note 3 v1.2 by Yank555.lu

Fast charge mode : 2 - Use custom mA on AC and USB
MTP while charging mode : 1 - Enabled
Screen on Current Limit mode : 1 - Enabled
Custom AC level : 2100mA/h
Custom USB level : 1000mA/h
Custom Wireless level : 650mA/h
Failsafe mode : 0 - Failsafe disabled - please be careful !
Valid AC levels : 0 to 2100
Valid USB levels : 0 to 2100
Valid Wireless levels : 0 to 2100
[Samsung Galaxy S 5 Unified Development] ChingyimLee:
As a amateur, I have some problem.

my device is G900T(KLTE), though I did't find it in your support list, I flash it still, and it works. But in your 6/14 version, I can't open my phone dialer, So I flash my phone to stock. And now I'm glad to find the 6/21 version works well. But I think the battery performance is not as well as it was used to be, my device can't keep on for a whole night.

I wonder if your kernel supports 900t, And will the battery problem solve in some days.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
If your device is supported by LineageOS, you can safely flash my kernel (same build). and no idea abt battery issue. How abt stock kernel (to make sure)? and anyone else face this issue on klte?
[Samsung Galaxy S 5 Unified Development] j1gga84:
I think the battery consumption when using the phone is better with SmartPack Lite than stock kernel but the deep sleep is better with stock kernel.

But I think it is also ROM build depending ;)

I have a higher usage of "android system" in better battery stats than under MM, it is on first position, also on top of Google Play Services.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New builds...

New builds are uploaded... Lot of changes are included in this release. Detailed chang-logs are available in #2

/* Downloads */

[URL="https://www.androidfilehost.com/?w=files&flid=177772"]kltekor[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177771"]klte[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177779"]klteduos[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177780"]kltedv[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177775"]kltespr[/URL]
[Samsung Galaxy S 5 Unified Development] ChingyimLee:
I agree with you, And according to my stats, lineageos shares the highest usage of battery.

---------- Post added at 12:48 PM ---------- Previous post was at 12:42 PM ----------

Thank you for your reply, And I flashed my 900T to stock kernel, the battery can't perfomance as well as the last lineageos version(0614build). According to my battery stats, Lineageos shares the highest usage of battery, around 13% or so. I think the latest lineageos build(0621) caused the battery issue.
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=7060205]sunilpaulmathew[/MENTION]

Many thanks for the update.

I will try it when today's build of unofficial RR 5.8.3 is out :)

Do you know how I can set selinux to moderate permanently? After every reboot it is resetted to strict mode..!?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Okay... and lets wait for LOS teams to fix such issues in the next build...

I think, I'm not aware abt selinux moderate/strict? Do you mean permissive and enforcing. If so, Kernel auditor mod (not sure abt the official app) has an option to switch between permissive/enforcing (or there will be any third party alternatives in playstore).
[Samsung Galaxy S 5 Unified Development] j1gga84:
Yes I mean permissive and enforcing, moderate and strict are the "translations" for germany ;)

What is the standard of your kernel? I guess it has another selinux state than the ROM standard and that is the reason why selinux state I set in ResurrectionRemix settings is resetted after every reboot.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks for the clarification. I actually did not touch anything related with SELinux. So, it should be in line with the LOS (Enforcing, I guess). Really don't know abt the status in RR. So, in my opinion, if you want to set permissive/enforcing, simply set ur preferred option in Kernel Auditor MOD and tick start from boot...
[Samsung Galaxy S 5 Unified Development] fbs:
I was using this kernel mostly for the fast charging capability.. but as with other kernels I've tested (boeffla, crazy), it simply DEGRADES my phone's performance since moment zero.

Even when using "performance" as cpu governor, with a full clean install, I notice a slow response while opening apps or simply clicking in anything. Sometimes the window animation is jumpy, like low FPS...

I wonder why this happen? With the original RR, Cosmic, AOKP or crDroid Kernel, this does not happen..
[Samsung Galaxy S 5 Unified Development] j1gga84:
I don't have the issues with SmartPack Lite Kernel and RR you described, not with official RR nor unofficial. I don't have any lags and battery life is better than with stock kernel and much better than with Boeffla.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] furkaan28:
Same for me
[Samsung Galaxy S 5 Unified Development] fbs:
You both say that *right after* installing Smartpack? Because it's difficult to notice the difference after weeks of use. You just get used to the lagginess. Humans are easily used to anything.

For someone that's using stock kernel forever and then install smartpack, the difference is noticeable. Of course is not like wine to water...

Like a year ago, I said Boeffla's kernel was using more cpu just to do nothing (cpu load was like ~15% everytime). No one agreed, then the developer himself found two cpu governors were using 10% more cpu just to be there. He removed the two = cpu load back to 5%

I'll try to benchmark or get any more objective value...
[Samsung Galaxy S 5 Unified Development] j1gga84:
I was using Boeffla kernel "forever" but since Boeffla does not run good on RR and there are only maintenance updates and Lord Boeffla does not use S5 anymore I switched to stock kernel where the performance and battery life was much better, it was the same on MM. There are micro stutters when scrolling, okay, but I have them also on stock an Boeffla kernel so I guess they are ROM related or come from graphic driver. I really don't know.

Also I can only share my experiences.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Both of your comments may be true. It is really probably that I accidentally include some buggy things while the development. Who knows? After all we are all humans... :p

Btw, since the reported issue is not noticeable for most of the users and even [MENTION=516058]fbs[/MENTION] said that it is not too different like wine to water, do we really need to care? Anyway, Lets wait for the more objective values from benchmark tests...
[Samsung Galaxy S 5 Unified Development] fbs:
stock RR kernel: https://browser.geekbench.com/v4/cpu/3274324

RR with smartpacklite: https://browser.geekbench.com/v4/cpu/3274646

Both with "performance" governor and "bfq"

The only big drawback is with "Canny" test. Others are mixed but from "N-Body Physics" down it seems a bit slower too. Can anyone benchmark with me too? :P

Also, newer "Interactive" governor have built-in "touch boost". Does nightmare does it? Why is it the chosen cpu governor for this kernel? I remember it crashing in boeffla's...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks for the benchmark tests. I can't find neither any serious issues nor improvements between Stock & SmartPack-Lite kernels.

Regarding newer "Interactive", I really don't know that it has a built-in "touch boost". I just consider interactive as one among many ordinary gov that leads to its removal from my kernel. Thanks for the information. And why nightmare? Because I'm using nightmare for a long (even before the public release of SmartPack, it is my personal favorite). I always found that it is more battery friendly and not bad in terms of performance. Ofc, there are many other similar govs (eg: alucard, but it sadly make issues with kltevzw). So, when I decided to make the Lite version of SmartPack, I simply pick my personal fav.
[Samsung Galaxy S 5 Unified Development] fbs:
Ordinary !??? Blasphemy !! lol, it's the Google governor.. :P

I think "touch boost" was integrated in Android source, and a function like "cpufreq_interactive_boost" is called when the touchscreen is touched or a hardware button is pressed.. it "boost" the cpu clock to "hispeed_freq" frequency for "boostpulse_duration" microseconds.....

I think these tunables exists in other governos too, I just can't confim they are really working.. still learning to debug these...

I've saw a lot of warning messages on logcat while using intelliactive.. maybe because it used the "old" way of boosting the cpu while the screen is being touched or something..?!
[Samsung Galaxy S 5 Unified Development] j1gga84:
Okay, I have to agree [MENTION=516058]fbs[/MENTION] partly.

There are stutters, especially when scrolling in Tapatalk and on some homepages, but not all and also I have no lags when scrolling in the phone settings or they are so little that I don't see them ;)

I am using nightmare and bfq combination and normally 2 cores are off and the other 2 cores are running at 300 MHz but when I observe the behaviour the frequencies jump to 652 MHz and back to 300 although I don't do anything.

I also don't know if touchboost is that good. Of course you might have a better responsibility but also a higher battery drain when using the phone because on every touch on the display the frequency jumps up. But it is an interesting topic that's worth to investigate further.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] LHR:
I wanted to put an interesting point, which I believe makes a lot of difference. Roms and kernels are compiled with default settings from many sources that many developers do not change for each device (and will not change). I believe everyone lives, and they do not spend 24 hours in front of a computer, researching and developing.

Android is an open source that allows for changes, but you search and do. If you are not satisfied, buy an Apple device or do not root the device.

I use the smartpack kernel, RR rom and GovTuner with LSpeed. GovTuner does this by calculating the governor-specific values ​​for all the purposes I need, and LSpeed ​​has an option that does this for memory. I already arrived at 6:30 of SOT.

The development of the kernel so far has stable versions and no final version :) [MENTION=7060205]sunilpaulmathew[/MENTION] is doing a great job!
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Can you share what you have done with Lspeed and Govtuner?

I really want to know how to get 6:30h of SOT, mine only got 4-5h of SOT.
[Samsung Galaxy S 5 Unified Development] LHR:
Install GovTuner, choose battery or balanced profile via terminal commands. Download and tutorial here

Install LSpeed from playstore, link here.

Restore in app my backup profile (in attachments), extract and put the file in LSpeedBackup folder in internal storage.

I use the device for daily work, social networks, calls and not for games.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Thanks, now the UI seems to run smoothly than before.
[Samsung Galaxy S 5 Unified Development] fbs:
touch-boost was a Samsung idea that got integrated into android (because google liked) and it makes all the sense in the world: if you touched the screen, something will happen (and "happen" means it will use the cpu).. and by default it won't raise the clock to the maximum, just to a "responsive" one, like the "highfreq" governor variable..

Also, I found stutters even with "performance" governor (which fix cpu clock to the max always), and the benchmarks were done with it. A lot of tests of that benchmark gave LOWER performance with smartpack than with original RR kernel... of course there's something wrong.. if only I could see a "diff" between its source code........ (I'm a C developer, but not in the Android world)
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Wowww... Lot of useful information... Thank you very much (also for ur nice words:p)...
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=7060205]sunilpaulmathew[/MENTION]

Latest Boeffla is on Linux 3.4.114, will you also try to upload to that Linux version?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
no way mate... as I understand (from the published code of Boeffla kernel, the Linux kernel version is 3.4.107 (same as that of stock LOS). Further, I can't fine anything more than 3.4.113 in kernel.org (we are already on 3.4.111). Moreover, an update to the highest version usually give zero benefits (except personal happiness) + lot of problems (as I experienced when I tried to update to 3.4.113).
[Samsung Galaxy S 5 Unified Development] j1gga84:
Okay, I was wrong, it is the venom Boeffla:

https://xdaforums.com/showthread.php?p=72863221

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I don't know how it done (his source is not up to date, so, no way to know). Btw, I managed to update to 3.4.113 (the latest according to kernel.org) without chrome browser lagging issues (the reason led to the removal of that update few weeks ago). So, next build should be running 3.4.113.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New builds are uploaded...

Stable release: v8

Changes: Linux kernel version is updated to 3.4.113. Few more updates to sound control.

The download links are available here...

/* Downloads */

Always remember to download the latest build (dated 20170706) for your device.

[URL="https://www.androidfilehost.com/?w=files&flid=177772"]kltekor[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177771"]klte[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177779"]klteduos[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177780"]kltedv[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177775"]kltespr[/URL]
[Samsung Galaxy S 5 Unified Development] j1gga84:
Hello,

Is there a possibility to adjust the brightness and the frequency of the status LED somehow in the kernel app or is this a ROM related feature?

I saw that you implemented touch boost in the "normal" SmartPack kernel, would it be possible to add it to the lite version also?

Everybody can choose whether to use this feature or not.

regards
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Hi,

about brightness and the frequency of the status LED, I really don't know at this moment...

and regarding touch boost, it is a part of intelli-plug that has been added in the last build. Depends on the performance of intelli-plug (so far good as per the user reviews and my own opinion), I'm planing to implement that feature into SmartPack-Lite (by replacing Zen decision). So, if everything works fine, both intelli-plug and touch boost will be eventually implemented into this kernel soon.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Intelli-plug, so far so good... so, in next build...
[Samsung Galaxy S 5 Unified Development] j1gga84:
Looking forward because there were some kernel commits released the last days :)

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] cfsr4:
This kernel is compatible with KLTE G900M ?

Or just with G900MD
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Yes. According to Lineage-OS (see the variant map below), SM-G900M is klte. So you can safely flash the klte build of my kernel on the top of an LOS or any LOS based ROMs...

Variant map from Lineage-OS thread

[OFFICIAL] klte - SM-G900F, SM-G900M, SM-G900R4, SM-G900R7, SM-G900T, SM-G900V, SM-G900W8, SM-S902L

[OFFICIAL] klteduos - SM-G900FD, SM-G900MD

[OFFICIAL] kltedv - SM-G900I

[OFFICIAL] kltekor - SM-G900K, SM-G900L, SM-G900S

[OFFICIAL] kltespr - SM-G900P
[Samsung Galaxy S 5 Unified Development] fbs:
https://xdaforums.com/showpost.php?p=73007424&postcount=3468

Quoting myself:
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New builds...

/* Downloads */

Stable release: v8_r1

Changes: Intelli_plug is added as a replacement to Zen_Decision. Sound control (my fav values) and Fast charge features are now enabled by default (You can still change/disable sound control/fast charge). All the commits in the LOS kernel source till date... Advised to flash over the latest LOS build (there are so many changes in the LOS source code)... Download links are here... Enjoy...

/* Downloads */

Always remember to download the latest build (dated 20170706) for your device.

[URL="https://www.androidfilehost.com/?w=files&flid=177772"]kltekor[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177771"]klte[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177779"]klteduos[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177780"]kltedv[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177775"]kltespr[/URL]
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=7060205]sunilpaulmathew[/MENTION]

Any idea what could cause the error in attachment?

Using your latest SmartPack Lite with unofficial RR 5.8.3 from yesterday.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Not sure:confused: are you using two (intelli_plug and mpdecision) hotplugs togother?
[Samsung Galaxy S 5 Unified Development] cfsr4:
Thank you very much for your attention.
[Samsung Galaxy S 5 Unified Development] j1gga84:
No I was only using mpdecision but switched to intelli_plug now.

Do you think it is better for battery lifetime than mpdecision?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Yes, according to the opinion of other users in the SmartPack Kernel thread, intelli_plug is successful in restricting higher frequencies. So... hope do...
[Samsung Galaxy S 5 Unified Development] thaidroid:
Sunil, thank you for the new build.

I just installed it because I had a feeling that latest stock was gobbling up battery. One problem has popped up. Stuttering in some apps Yahoo Finance and StockTweets for example. YouTube has no stutter nor and of the apps for the phone like contacts and setting. Not a deal breaker but definitely a stutter:D:D
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
hi, I think its beyond my scope. I'm not using any of these apps personally. And there are many complaints in the LOS main thread abt freezing and rebooting issues on the latest build. I haven't did anything experimental in the last update unless picking the commits from LOS kernel source.

Btw, Nice to c u again here... :laugh:
[Samsung Galaxy S 5 Unified Development] thaidroid:
Sunil, My apologies, I restored a backup with stock Kernel and there is actually some stutter there also. It's more noticeable using SP-L but it's sort of swings and roundabouts;) Maybe the difference is in the govenor:confused: Anyhow don't worry about it:good::good:
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New builds...

/* Downloads */

Maintenance update: v8_r2

Changes: All the commits in the LOS kernel source till date... Download links are here... Enjoy...

/* Downloads */

Always remember to download the latest build (dated 20170719) for your device.

[URL="https://www.androidfilehost.com/?w=files&flid=177772"]kltekor[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177771"]klte[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177779"]klteduos[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177780"]kltedv[/URL]
[URL="https://www.androidfilehost.com/?w=files&flid=177775"]kltespr[/URL]
[Samsung Galaxy S 5 Unified Development] thehulk1969:
Hi. Just installed latest version of this on RR 5.8.3 and getting a 'Can't Connect to the Camera' Error.

Wiped Cache and Dalvik
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Seems like the issues in LOS kernel source are not fixed yet. Better stick on v8 (dated 20170706).
[Samsung Galaxy S 5 Unified Development] thehulk1969:
Back on V8. Camera works. Thanks
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
klte test build/camera issue...

Hi, Its seems like the camera issues is solved in my kltekor. If anyone willing to test on klte, a test build is available here... Thanks in advance...
[Samsung Galaxy S 5 Unified Development] Brasscat82:
I can confirm this works on klte.
[Samsung Galaxy S 5 Unified Development] Janfi_FR:
Me too, at least since 19-JUL build.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Nice... and thanks for testing and update...

So, I push that build into the main download folder for klte. The link is here...

/* Downloads */

klte
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=7060205]sunilpaulmathew[/MENTION]

Many thanks for the update.

I have issues with light sensor like in the screenshot and therefore a huge battery drain.. How can I reset kernel settings or do you have an idea what could cause this behaviour?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Hi,

Is it related with light sensor or KCAL2? I'm not sure abt the issue in the screenshot anyway. However, the only default settings loaded with the kernel are 1. default cpufreq gov to "Nightmare" 2. Some default gain values to "Sound control" 3. Enabling "fastcharge" by default and 4. Activating "touch-boost" (related with intelli-plug). All other things are simply stock. To reset the mentioned things, just changes them in kernel auditor to your preferred settings and check "Apply on boot".