yashsingh1/xdaforums huggingface dataset:
[L Speed] DB126:
KSM Glitch

Believe I may have identified a glitch with the KSM toggle. Once you have used this toggle once KSM can not be returned to 'default' without clearing all L Speed settings. Enabling it turns on KSM plus applies a couple KSM tuning parameters that I don't care for. Disabling it turns off KSM entirely. There does not appear to be a way to simply accept the device (kernel) defaults once this setting has been toggled at least once.

Can anyone else confirm?
[L Speed] Paget96:
Ok, thanks :)

Someone don't like when device get an reboot without a "visible reason" :)

Older version. I'm not using xda labs :)

Well if you turn it off, other parameters of it will be reverted at kernel defaults. On/off is just one knob :)

One file with 1/0 ;)
[L Speed] DB126:
Respectfully, you missed the point:

- turning off KSM in L Speed does not revert to the kernel's on/off default; it disables completely KSM

- turning on KSM in L Speed does not revert to the kernel's on/off default; it enables KSM will extra settings thrown in

- there is NO way to revert to kernel KSM defaults once this toggle and been touched short of resetting all L Speed settings (or clearing L Speed cache/data)

Of course it's possible I got this wrong but it happens on two different devices. Perhaps someone else could verify.
[L Speed] martyfender:
After you turned it off, did you reboot, to confirm that?
[L Speed] jlb1959.01:
yes,vs985 same results..
[L Speed] DB126:
Yes. Really the only way to confirm kernel settings with certainty. In this instance L Speed confirmed actions in the run log, either overtly enabling (with additional parameters) or disabling KSM once the KSM toggle had been touched at least once since the last app reset.
[L Speed] CLPose:
I know this is OT, but Happy birthday, [MENTION=5514152]Paget96[/MENTION]! Thanks for this amazing and excellent app! keep on you good work!
[L Speed] Paget96:
Thanks a lot :D ^^
[L Speed] koyo:
How do you reckon I fix standby battery drain? I use Naptime and it seems to work ok but it could more than likely be a placebo effect.
[L Speed] DB126:
You need to identify which app(s) are contributing to the drain. The stock battery monitoring app is a start; tools like BBS and GSAM can confirm and refine those observations. In many cases social media apps are the culprit. Often 'lite' alternatives exist that are more battery friendly. It is unlikely tools like ForceDoze, Greenify, L Speed or Naptimes will fix the 'problem' without more knowledge on app behavior.
[L Speed] andrey1672:
I don't know whether to call it a bug..

Battery included cpu tuner cpu frequency always higher than conventional interactive Governor settings,in my case 1100 MHz vs 903 MHz.It would be nice to optimize for more lower frequency when activating the profile.Thank you for reading!
[L Speed] DB126:
Instantaneous frequency reads do not reflect on overall efficiency. It's often more cost effective to briefly bust to a high frequency to quickly complete a task vs dribbling along at a lower frequency. Really depends on processor frequency/voltage curves which L Speed knows nothing about.
[L Speed] Paget96:
#android #LSpeed

New beta version!!!

v1.4.27-beta1

Changelog:

- Updated Governor tuner parameters

- Updated zRAM size, now uses 10% of total RAM

- Updated kernel tweaks

- Removed Faster streaming

- Removed runtime optimizations

- Renamed seeder to entropy

- Updated entropy profiles

- Updated partition remount

- Fixed kernel panic toggle

- Fixed battery progress bar

- Reduced a size of doze notification

- Fixed temporary doze wakelock

- Improved doze

- Updated Vietnamese translations

- Updated Russian translations

Play Store:

https://play.google.com/store/apps/details?id=com.paget96.lspeed&hl=en

Join beta channel on Play Store:

https://play.google.com/apps/testing/com.paget96.lspeed

Follow L Speed on Google+:

https://plus.google.com/communities/114615858954464149084

Follow L Speed on Facebook:

https://www.facebook.com/LSpeedAndroidOptimizer

Follow L Speed on xda-developers:

https://xdaforums.com/apps/l-speed

Join L Speed discussion on Telegram:

https://t.me/LSpeed

If you want, you can also donate me using this link:

http://paypal.me/Paget96

or simply disable adblocker and support me over ads inside the app :D

Play Store:

https://play.google.com/store/apps/details?id=com.paget96.lspeed&hl=en

Thanks for the support :D
[L Speed] cristixperia:
That's all I want to hear .;)
[L Speed] DB126:
Is this in the works? Didn't see it in the change log.
[L Speed] adhd_1977:
Updated to latest beta version, but i do not see the kernel tunning in the options of the app ???

Running L speed on Galaxy S7, ammbasaddi N7 ROM + Notorious kernel.
[L Speed] Paget96:
What exactly? :)

What kernel tuning? We don't have it.

;)
[L Speed] cristixperia:
21% in 34 minutes screen on. That's insane.:eek:
[L Speed] DB126:
Answers below:
[L Speed] Paget96:
I'm talking with [MENTION=6506882]aldanopolis[/MENTION] about it, so we'll see what we can do. ;)
[L Speed] DB126:
Are you inferring updated governor tunings are the cuplrit? Err, I don't think so. You'll need to provide more supporting evidence indicating L Speed tweaks are contributing to that massive drain.
[L Speed] Paget96:
How much you normally have?
[L Speed] Paget96:
Android O users, read

https://xdaforums.com/showthread.php?p=74627454
[L Speed] Alfa2205:
Usually its around 50% when enlarger chosen, but got stuck on 100% now.. Why is it?
[L Speed] cristixperia:
Usually 20% in 1 hour.
[L Speed] cristixperia:
I installed L speed again and everything is fine now.

Seems that high battery drain doesn't caused by L speed, so my apologies because I thought that L speed was the guilty.:)
[L Speed] DB126:
Sufficient entropy is self generated by most modern devices running KitKat or above. Read/write stalls due to lack of entropy are virtually unheard of unless you you're running a server on a phone that never moves. Set it to default and enjoy better battery life.

Of course there are 10,000 YouTube videos claiming otherwise. Ugh ...

---------- Post added at 03:06 PM ---------- Previous post was at 03:02 PM ----------

KSM tweak should have at least four modes via drop down dialog:

- kernel default

- off

- on

- on with L Speed 'optimizations'
[L Speed] thinhcaibe:
I am using Samsung device and i dont see init.d folder, i just see init
[L Speed] martyfender:
L Speed hasn't used init.d in some time. Very old versions did use it. So it is not necessary for it to work, or desired.
[L Speed] Paget96:
Updated. We'll see on next beta ;)

No problem. :D So, what was it? ;)

KSM will get some small update. :)
[L Speed] cristixperia:
I don't know exactly who was the culprit.:rolleyes:

Usually I set govtuner on battery or balanced profile,

today I disabled govtuner and I get a better battery life.;)
[L Speed] DB126:
I really don't understand how these "battery life" statements can be made on a daily basis. You're looking for long term trends, not how much juice was consumed during the past few hours (or less), especially on a mobile device with highly variable workload and environmental conditions. Rather spontaneous and unscientific IMO.
[L Speed] cristixperia:
Ok, I will observe the behaviour of battery in following days.:rolleyes:
[L Speed] Paget96:
Updating logging mechanism, please vote :D

https://xdaforums.com/apps/l-speed/poll-logging-mechanism-update-t3710635
[L Speed] godspeed85:
Then how could one judge his device's battery life.?

I generally observe it over a period of time using the same set of apps & my daily usage remains the same. On that basis i try to get a rough idea.
[L Speed] DB126:
Generally that is the appropriate technique with "over a period of time" being the operative phrase. Although you may use the same apps on a daily basis momentary power consumption varies depending on behavior, content and what else is happening on your device. There are also external factors such as signal strength and lighting (if your screen adjusts to ambient conditions) that can have a

significant

impact on power consumption - far more than any governor tunings. The built in battery app on most Android builds does a decent job showing high level consumption over a period of time. Other free tools such as GSAM (best for most users) and BBS can flush out additional detail if desired.

Bottom line: short term observations (minutes/hours) are largely meaningless unless the device is operating in a highly controlled environment with all variables known and accounted for.
[L Speed] Paget96:
#android #LSpeed

New beta version!!!

v1.4.27-beta2

Changelog:

- Updated partition remount

- Updated starting services

- Updated enlarge entropy profile

- Show low ram flag for all KK+ devices

- Updated kernel tweaks

- Updated boost now and boost scheduler (Boost device without killing background services)

- Updated logging

- Updated Russian translation

Play Store:

https://play.google.com/store/apps/details?id=com.paget96.lspeed&hl=en

Join beta channel on Play Store:

https://play.google.com/apps/testing/com.paget96.lspeed

Follow L Speed on Google+:

https://plus.google.com/communities/114615858954464149084

Follow L Speed on Facebook:

https://www.facebook.com/LSpeedAndroidOptimizer

Follow L Speed on xda-developers:

https://xdaforums.com/apps/l-speed

Join L Speed discussion on Telegram:

https://t.me/LSpeed

If you want, you can also donate me using this link:

http://paypal.me/Paget96

or simply disable adblocker and support me over ads inside the app :D

Play Store:

https://play.google.com/store/apps/details?id=com.paget96.lspeed&hl=en

Thanks for the support :D
[L Speed] :
Finally! Noatime! :)

Now I can remove SSD Boost. Can't believe this took so long. Thanks.
[L Speed] DanGLES3:
Its not like noatime makes much difference compared to relatime (A.K.A the default)
[L Speed] :
I think it depends on the phone. For me, it makes a very noticeable difference.
[L Speed] DanGLES3:
it technically shoudn't unless your phone was setup to use atime or a very agressive relatime by default (very unlikely),most phones i tried had no significant improvements in either real world or synthetic benchmarks.
[L Speed] DB126:
Most devices, yes. But 'most' doesn't matter when its your gizmo and you can demonstrate (at least to yourself) that the dreaded placebo is not at work.
[L Speed] DB126:
I have been observing (testing) the updated battery and balanced interactive governor profiles on my daily driver. They're a nice refinement over immediate predecessors offering smoother progressions over various frequency ranges. Each as a distinctive 'feel' with balanced being more responsive as expected.

However, both yield approximately the same per hour battery drain rate on the device in question. This does not indicate a problem! Rather, it reinforces the point that lower frequencies do not automatically equate to reduced power consumption...either momentary (ie: real time) or the total power required to complete a task. There are numerous variables involved including the voltage required to support various frequency tiers. All else being equal then highest frequency obtainable at a given voltage will be the most efficient.

Bottom line: the names given to various governor profiles are only a guideline to real world outcomes. Only testing can reveal which profile(s) are the most appropriate for YOUR device and YOUR workflows.

Edit: There is also a cost associated with CPU frequency shifting which varies by governor and SOC. Small but can detract from overall efficiency if changes are frequent and uncontrolled.
[L Speed] Paget96:
#android #LSpeed

New stable version!!!

v1.4.27

Changelog:

- Updated partition remount

- Updated starting services

- Show low ram flag for all KK+ devices

- Updated kernel tweaks

- Updated boost now and boost scheduler (Boost device without killing background services)

- Updated logging

- Updated Governor tuner parameters

- Updated zRAM size, now uses 10% of total RAM

- Removed Faster streaming

- Removed runtime optimizations

- Renamed seeder to entropy

- Updated entropy profiles

- Updated partition remount

- Fixed kernel panic toggle

- Fixed battery progress bar

- Reduced a size of doze notification

- Fixed temporary doze wakelock

- Improved doze

- Updated Vietnamese translations

- Updated Russian translations

Play Store:

https://play.google.com/store/apps/details?id=com.paget96.lspeed&hl=en

Join beta channel on Play Store:

https://play.google.com/apps/testing/com.paget96.lspeed

Follow L Speed on Google+:

https://plus.google.com/communities/114615858954464149084

Follow L Speed on Facebook:

https://www.facebook.com/LSpeedAndroidOptimizer

Follow L Speed on xda-developers:

https://xdaforums.com/apps/l-speed

Join L Speed discussion on Telegram:

https://t.me/LSpeed

If you want, you can also donate me using this link:

http://paypal.me/Paget96

or simply disable adblocker and support me over ads inside the app :D

Play Store:

https://play.google.com/store/apps/details?id=com.paget96.lspeed&hl=en

Thanks for the support :D
[L Speed] gh0stzk:
Does anyone can pls upload latest release to another server? Idont use playstore :s
[L Speed] DanGLES3:
Use yalp store then, its a Gapps free play store and only 1mb in size
[L Speed] Ciamabhishek:
Does it support on oreo?
[L Speed] gh0stzk:
I do but yalp store shows me v .26 not .27
[L Speed] DanGLES3:
Try force closing and wipe data and opening again,as its showing for me with or without my account, also what version is your yalp store?
[L Speed] gh0stzk:
I do now is fixed, thanks
[L Speed] DanGLES3:
Yes,it supports oreo
[L Speed] dtrz:
Could it be a coincidence or did the new update give me a boot loop? Is it possible?
[L Speed] gh0stzk:
In theory is not possible cuz lspeed dont modify system files, like thousand times are said here. But is software all could be possible...

I installed few months ago some rom and ****s the connectivity via mtp with my computer when i connect my phone ... And now no matter in what rom i am, pc never detects my phone.
[L Speed] anon1135:
I remember one of the tweaks saying it could cause system instability. that sounds like something that could cause a reboot but not sure about boot loop
[L Speed] gh0stzk:
Flag tuner maybe inside lspeed the option description say could cause instability but boot loop i dont think so
[L Speed] DB126:
Sidenote: a few L Speed tweaks *are* durable meaning they survive a reboot. KSM status, deferred write and LMK values to name just a few. However, none of these should trigger a bootloop ... although as you say, anything is possible.
[L Speed] holymoz:
After the stable update I feel the phone a little lags, I see that govtuner performance has decreased hispeedfreq ?
[L Speed] Paget96:
Yep, it is decreased.
[L Speed] holymoz:
I think performance must be fast, so why decreasing? Can be put like before? Thanks
[L Speed] dtrz:
First of all, thanks for your answers. I was able to reproduce the boot loop and now I know what is going on. Although I have no clue what to do about it.

So, yesterday while updating L Speed, I was also downloading Telegram. L Speed required a reboot to apply its update but I continued using the phone. After a little while I got a soft reboot out of nowhere (nothing uncommon since it's an old device and sometimes it just does - although it's usually after a freeze -) and then problems started. I flashed my ROM again, set it up, and downloaded the apps. I configured basic apps like AF+ and L Speed and then at the end I downloaded Telegram again only to find out that it finished the download, then I don't remember seeing reporting correct installation. I was browsing my phone and found out that telegram was nowhere to find (no icon, no entry in apps list) and then boom, soft reboot and boot loop. It's the 1st time I encounter such a thing. So how do I debug this? If I try to download it again, I'm sure the same thing will happen.

TL;DR: Telegram does not install correctly, causes boot loop and L Speed has nothing to do with it.
[L Speed] DB126:
Try using a different (more aggressive) profile. I prefer the updated tunings but obviously performance varies by device. If you can't find an acceptable setting you may have to make further refinements using a kernel manager.
[L Speed] Paget96:
Can someone send me a screenshot of Aggressive doze notification on 6.0.1

Thanks
[L Speed] gh0stzk:
There is
[L Speed] Paget96:
Ok, fixed ;)
[L Speed] knnthgngb:
Minor problem with Entropy section on version 1.4.27, the values keeps on 100% when adjusted..
[L Speed] supperchym:
option choose governor tweak for peformance or battery ^^
[L Speed] Slaughter41:
Evertyhing is perfect except facebook. When I installed facebook app, the phone becomes very laggy. When I delete it, it becomes smooth.

My Phone is Samsung S Plus i9001, CM 11.0.

Now I will try old version of facebook.
[L Speed] kdayyy:
L Speed Wizard

I was just wondering would it be bad if I turn on everything? Also seeder, kernal tweaks, net tweaks, touch tweak, zram were off. Ext4 journaling was disabled & governor tweak was off before I installed v1.7. Is it safe to to enable and turn them all on? And why was it disabled and off in the first place? User option? Long story short I wanna make sure my phone is running smoothly and performing as good as possible without battery drain.

Sorry for nooobie question :(:confused::eek:

---------- Post added at 07:44 PM ---------- Previous post was at 07:38 PM ----------

Sorry I meant after installing v1.7 :good::cyclops::mad:
[L Speed] Paget96:
I'm looking ti make menu with build.prop tweaks :)

better audio quality

disable black screen while calling

reduce battery drain when no signal

and much more ;)

also for google play services drain you need to go

settings > privacy >privacy guard

then check enable by default

then search for gp services and tap on it to check them.

then hold on gp services to open up menu

after that next options move to "Denied"

Location

Keep awake

Wake up

thats it, reboot device :)
[L Speed] psycho4us4:
Excellent
[L Speed] insigma28:
This sounds awesome dude can't wait till we see new version [MENTION=5514152]Paget96[/MENTION]
[L Speed] berryman13:
Can't wait to beta test 1.8 lol
[L Speed] lloyd_chm:
for google services.. how will i do that?..

im using lg g3..

what app should i use.. thanks

im using disableservices but i could not find gp services
[L Speed] berryman13:
I flashed 1.7 but seems like there's a test build. Gonna flash it and report.

---------- Post added at 05:41 AM ---------- Previous post was at 05:30 AM ----------

Btw. Typing LS only shoes a colorless menu where before there was green and red, something is up with the html or whatever it's colored with
[L Speed] kdayyy:
Nice job dude gets better and better.
[L Speed] SHABBYLEA:
Have been running this for awhile now...I'd recommend that if you are looking for à boost to your ROM, give this a try...
[L Speed] LiL_Assassin:
Download app, if box is empty. Click on and reboot. Don't click off. It worked for me
[L Speed] G.M.L:
I don't know the reason but after installed V1.7 my SystemUI force closed I was going back to V1.6 and no force closed in my SystemUI

G.M.L.
[L Speed] dimi_229:
What app to use for privacy guard?! (I don't have phone>settings>privacy). Note2 dn4.
[L Speed] flarestar123:
I smell awesomeness in the future v1.8. [MENTION=5514152]Paget96[/MENTION] could you add a governor tweak for hybrid governor?
[L Speed] k1ks:
CM12 rom... Privacy guard is a permissions manager.
[L Speed] dimi_229:
Yap. I foud it. I switch off "Location" and "Keep Awake" but I don't have "Wake up" for google play services.
[L Speed] Paget96:
thanks ;)

yeah ;)

soon, slow device, need to wait :(

full name is Google play services, and privacy guard is only on cm11 roms I think, try with seaeching on play store

try with updating busybox and terminal emulator. that isn't problem with the mod. :)

thanks ;)

my rom?? my device?? there is no help xd problem with hardware.

which app?? :)

I think that there is no reason, try with deleting init.d folder from mods zip and try to flash. :)

try to search on playstore, that is by default on cm11 rom.

I will, sorry for long waiting, device is too slow, and I need days for something which I make in maybe an hour xd

yes, thanks [MENTION=5672914]k1ks[/MENTION] ;)

a lot of users have battery drain caused by gp services, not all :)
[L Speed] kakho55:
Delete.
[L Speed] kakho55:
Like this OK ?
[L Speed] Humpie:
I have a strange problem lately having to do with out of memory issues (according to the logcat) on my 6p. It might have something to do with a setting in l Speed but I can't seem to find what it is or how to solve it. What happens is I'm in an app and suddenly the screen turns darker for a moment and then back to normal, however the front-app has reloaded (like when you switch to another app and return). Apps like WhatsApp have no problems with this behaviour other than just not responding for a second or so, but youtube and snapchat annoy me the most. Youtube jumps to a floating window when this happens, just when I'm watching a video. Snapchat jumps back to the homesceeen and when I happened to be filming a minutelong video it's just gone, poof. Now this quirk happens about every 5 minutes and I was wondering if anyone had experienced it as well or knows a solution to this either with l Speed or with something else.
[L Speed] martyfender:
I sometimes have something like that happen when the system UI crashed. I'm not sure what causes it but I don't believe lspeed is to blame.

I believe it can happen more frequently if you are multitasking, with many apps open at the same time. Despite Google telling us not to do this, I usually swipe apps away in recents. When I do this I tend to have this issue less often on my low, 1Gb memory tablet.

Also restoring your system as new might be a good idea, or at the very minimum, a factory reset and install the apps fresh.

Maybe someone like [MENTION=5488402]Davey126[/MENTION] or [MENTION=5514152]Paget96[/MENTION] will have much better knowledge concerning this than me, though.

Your lspeed settings in LMK and virtual memory could possibly affect this, If I am not mistaken. You might try the multitasking profile in the RAM Manager area of lspeed, to see if that helps.

Also, a question for [MENTION=5514152]Paget96[/MENTION]: I have is I noticed the new setting in lspeed's virtual memory area: OOM dump tasks. On my device, it is on. Is this because it was my devices default, or did you purposely enable this.

I did start having issues after I updated to the versions with this option enable, but didn't report it because I thought it was other issues with my rom that caused it. Unfortunately I don't remember all of the problems I was having and reflashed a TWRP backup created with userdata and cache deleted in fastboot and setup as new, again.
[L Speed] Humpie:
Don't system ui crashes re-lock your phone? I've had them a long time ago as well, these seem more subtle though. I've tried changing the OOM Killer settings as I suspected they were relevant, however they don't seem to change the behaviour for the better. I'm not sure about swapping or other cache settings and how they could possibly improve this though.

Yes I think it's due to my excessive use (mostly I have many apps opened) but even when I just open snapchat it occurs (I know, snapchat is the worst memory hogging app). A factory reset is something I've been thinking about for a long time but I never get to do it as reinstalling everything would take days