yashsingh1/xdaforums huggingface dataset:
[L Speed] martyfender:
You are right, when the system UI crashes, it does relock your device unless you have it set to none in the security settings. So you must have some other issue.

I am on an 8" Nextbook Ares 8A, not a phone and have never used any of the memory hogging and battery draining apps that you mention.

The only messaging app I have used on it is Telegram and I have the settings in it as such that it is not constantly checking and giving notifications.

My phones have been an Iphone 5c, given to me my my sister and more recently the Iphone 6, given to me by my son when he bought the new 8.

They both have just worked without virtually any issues, despite running the lastest IOS 10 betas on them and more recently. IOS 11 betas. They just work, period. I don't use hogs such as facebook, snapchat etc so I can't really compare my device to Googles flagship device. You did mean a Nexus 6P, with 3Gbs of RAM, didn't you?

If you have TWRP available for your device, why would it take days to restore it? I believe the 6P has a TWRP available for it?
[L Speed] DB126:
Might have a 'bad actor' running in the background or (more likely) a resource management issue with your device. A factory reset might help depending on how thoroughly system partition contents are flushed and returned to factory defaults. A full wipe and reload of the current/stock ROM is the best option... also the most disruptive and time consuming.

Fiddling with LMK, OMM and similar memory management parameters may help if you happen to stumble upon the offender. That said, Android is pretty good around recovering from 'stumbles' regardless of memory settings. Me thinks something more insidious is happening on your device. Good luck.

---------- Post added at 05:29 PM ---------- Previous post was at 05:09 PM ----------

iPhones are great - no doubt about it. All dozen or so locked down variants released over the past decade by a single manufacture who retains full control over the device and its configuration. So are hundreds of Android phones by dozens of manufactures provided owners don't screw with them. But they do (often with great ignorance) then complain when things go south. An app like L Speed can't exist in the iWorld because Apple controls virtually all the knobs and dials. Not bashing iGizmos. They are fantastic in their own way. But one can't compare 'hermetically sealed' Apples to other fruits that are routinely subjected to user 'abuse' once rooted or otherwise tinkered with via other means.
[L Speed] martyfender:
i agree with Davey, as I looked into the specs for your device and was amazed.

My cheap, $68 tablet doesn't even come close.

There are other issues, that a full restore will probably solve.
[L Speed] Humpie:
Thanks for your response. I indeed have a nexus 6p, however when I want to factory reset it I want to clean flash the latest rom, so it's as good as new, otherwise, what would be the point? But as I need to install all the apps I need, this would take some time. I do use titanium backup, so that would save me a lot of time of course, but there will always be things Titanium will miss or that I forgot to backup, so it will take time nonetheless.

Thanks, I guess I will try out some more settings and hopefully find the cause and otherwise I'll clean flash the next Oreo 8.1 update when it arrives
[L Speed] davidk21770:
I had a similar problem with my tablet (it would also lock on occasion), I was able to mitigate it with the low memory killer built into android for quite a while (I was traveling overseas and couldn't dig into it at first) - I choose a more conservative profile.

But it ultimately turned out to be partition corruption. Boot twrp and check your internal partitions - use Windows or Linux for your external sd. Can't hurt anything to check. But I'd make a backup 1st just in case.
[L Speed] DB126:
If running Android 6.x or better enable app backup in settings and run with it for a few days. Google does a pretty good job capturing your installed app portfolio (notably those obtained via the Play Store) and associated settings for restoration on another image. Not perfect, but yields a significant reduction in post-image customization. Improvements were made in Nougat that only adds to its value.
[L Speed] Humpie:
Thanks for the tip, I tried to repair the partition using twrp and though cache was repairable, system wasn't... Might be that that's (part of) the problem :(

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

Yup it's pretty good but with some things it has been a hit or miss (especially for wifi network passwords), sometimes it back-ups and restores it correctly, sometimes it doesn't. Some apps have their data backupped, some haven't. And as I use a lot of apps from outside the play store, I always use something like titanium backup.
[L Speed] davidk21770:
I don't think you can check without dismounting a drive, but I dismount all drives before checking...

And if you can find the mount point names, you can check from the command line if the built in repair is failing. The command depends on the partition type. umount 1st!
[L Speed] Humpie:
Of course... I forgot to unmount /system before repairing it lol. Phone booted, let's see if it fixed anything. Which partitions did you repair? Did you also repair /data and your /userdata?
[L Speed] davidk21770:
I believe that both system and data had issues. My data and user data are the same physical partition so only one can actually be repaired - the other just reports that it can't be repaired. System was really bad and I did a dirty reinstall.
[L Speed] kodirovshchik:
Hi. I have a strange thing with 1.4.27. Low ram flag enables chromecast button in google apps for me. I dont have any chromecast devices. And I need to reboot my phone to remove chromecast button. Asus Zenfone 5, Android 5.0
[L Speed] Humpie:
I noticed today 8.1 is around the corner. I'll try to dirty flash that when it arrives in the coming days and if the problem is not solved I'll clean flash everything
[L Speed] D1stRU3T0R:
What happend here? Inactivity?
[L Speed] Paget96:
Waiting for reports and suggestions :)
[L Speed] DanGLES3:
I suggest removing don't keep activities as its harmfull to battery and performance as apps need to be contantly killed and reloaded into memory
[L Speed] Paget96:
Some people need the most of their ram, so we will keep it.
[L Speed] D1stRU3T0R:
I have a problem, doze notification is black, with no text there, android 6,not 6.0.1 but as I saw you fixed it ;)
[L Speed] DanGLES3:
Android can do that on its own when it needs more ram (lmk) Enforcing it constantly is just overral terrible and does nothing but slowdown the device and worsen battery life,that's why android disables it on reboot as its only meant to test app behaviour on low memory conditions.
[L Speed] Paget96:
I'm also don't using it. But everything in developer options are for "testing" . But there are people who use it. Same as someone said that gaming ram profile is useless because battery went worse, but otherwise there are people who want it to be like that, everything but performances. :)

There are always two sides :)
[L Speed] marinegundoctor:
Some people like their snake oil medicine even if it's actually killing them. [emoji23]
[L Speed] DanGLES3:
Keeping options that ruin the user experience is detrimental to the users and to the reputation of the app,this app is meant to give actual performance improvements and not placebo tweaks just because people want it
[L Speed] DB126:
This option (and/or 'background process limit') can actually improve responsiveness on low resource devices that attempt to swap and/or preserve context on non-foreground apps...even with zRAM. Often takes less time to reload an app than move it around. YMMV.

Err...wrong answer for some devices and special situations. Perhaps a wording tweak to the info box. Option should stay to service those communities that can benefit from it.
[L Speed] XDAMaxe:
It's not your app, so use it or leave it but don't troll around. You got enough answers to be informed.

On my side and mostly others I appreciate the op's attitude to provide us with lots of individual options for individual needs.

As said many times the user itself is responsible for his device and what he is doing with it. Esp. checking and testing such experimental apps like - the wonderful - l speed app.

If you cannot / will not accept please leave.

My 2 cents.
[L Speed] DanGLES3:
If it benefits someone than i'm ok with it them,i would never stop using this amazing app,apologize me for my ignorance as i didn't know that there were any benefits to not keeping activities.
[L Speed] DB126:
We're all largely ignorant to 99% of the world around use with unique points of light distinguishing individuals. When we share that light with others in a constructive manner the collective level of ignorance drops. Asking questions is great! Assuming the answers as we know them apply to all only leads to trouble.
[L Speed] nreuge:
Exactly.

And there are some dogma that pretented "enlightened" people repeat again and angain despite the user experience... The user experience must have the last word.

It's clearly bad when the RAM is full and the device "over-swaps" (even with zram). I've realized that dozens of times on my devices.

Presently, I've a Xperia Z5 with 3Gb of RAM and adjusting the minfrees appropriately is enough. However, on devices with less RAM, the discussed option can be the last resort that actually works :)
[L Speed] Bi0haZarD:
Can you share your minfree values for 3gb ram? Thanks in advance! :good:
[L Speed] davidk21770:
When I was traveling overseas with my ancient tablet and it ran into what I found later to be partition problems, the only way to keep it running for the month I was abroad was with very severe min free settings. At that time, it was a life saver and kept me operational. Although I use the default now that everything is working correctly again, I hope that it gets left as a feature.
[L Speed] nreuge:
## 4. LMK tweaks (strict minfree settings)

echo LMK tweaks

oom14=32
oom24=44
oom34=88
oom44=328
oom54=382
oom64=436

lmk14=$(($oom14*256));
lmk24=$(($oom24*256));
lmk34=$(($oom34*256));
lmk44=$(($oom44*256));
lmk54=$(($oom54*256));
lmk64=$(($oom64*256));

echo "$lmk14,$lmk24,$lmk34,$lmk44,$lmk54,$lmk64" > /sys/module/lowmemorykiller/parameters/minfree

:cool:
[L Speed] Stroky:
Im looking for the Feature that the phone changes to 2g when connected to wifi and switches back when it is disconnected.

That would be really nice.
[L Speed] gh0stzk:
Agree
[L Speed] DB126:
Assume you are looking for this to reduce mobile radio power consumption while connected to WiFi. A better option may be to disable data entirely when on WiFi. Calls and text (SMS) will continue to come through as they are not data dependent. MMS should come over WiFi but that's carrier dependent. My daily driver automatically kills mobile data shortly after a WiFi connection is established with no loss of functionality. How well this works may be device dependent as we only own Moto and Apple phones. None of my other gizmos have cellular radios.
[L Speed] Paget96:
I'll try to make that today ;)
[L Speed] ytgbg:
This will be GREAT addition mate!

To add to this proposed feature - to the option to turn mobile data to 2G when Wi-Fi is connected, give also the option to turn off mobile data when Wi-Fi is connected and there is internet connection present.
[L Speed] Paget96:
I'll give it a bit of delay, because i have to find a way changing network mode.
[L Speed] Paget96:
This is for now, I'm so buys. :/

#android #LSpeed

New stable version!!!

v1.4.28

Changelog:

- Fixed blank notification on 6.x android

- Hide hotplugs layout if there's nothing to show

- Added apply on boot toggle

- Updated governor tuner logging

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] Vuska:
Hi... Is L Speed has Widgets to change profile ex from balanced to performance?
[L Speed] Paget96:
Nope, it doesent.
[L Speed] gh0stzk:
Dont know why but playstore app and yalp store doesnt show me last release, last two releases was the same.. Can someone pls upload to apkmirror or other pls
[L Speed] Chinaboy5216:
Same here but in my case maybe because I'm on the beta channel?
[L Speed] gh0stzk:
Im in beta too but, in yalp store i logged in without my account, so new release must be showed, but .27 still show
[L Speed] martyfender:
I am on the beta channel on the play store and as of 12:10 AM, Eastern Standard Time, the new release is not showing up for me either. Also, I don't yet see it on apkmirror.com either.

I often upload it myself, there. Does anybody have any idea what is going on?

Thanks

---------- Post added at 01:28 AM ---------- Previous post was at 01:14 AM ----------

[MENTION=5514152]Paget96[/MENTION] Did you have the same luck with uploads failing as I did tonight?

I have a Nextbook Ares 8A root solution thread where I have files posted on android file host. I started my upload for a new rom upload and when I got home from work, I saw mine had failed, for some reason, from my Linux Mint Mate system. The progress was, in my case, happening pretty fast, and my sleep timeout was set to 2 hours, so maybe, in my case, it slowed down and went to sleep before completing? I am currently downloading updates from the play store and notice that is is taking a very long time, so there may be issues on Googles end?

OT maybe, but I hope yours didn't experience similar problems.

Maybe there is a ghost in the machine tonight!
[L Speed] mimo.aridi:
I suggest:

An option to set min/max CPU/GPU frequencies as well as governors.

Adding blocking to autostart apps or boot apps.

Deeper cleaning system like sd maid.

Terminal emulator.

Options from kernel auduitor.

Cheers. ?
[L Speed] zputnyq:
you also can download it on L Speed telegram channel if you have telegram account
[L Speed] rogxd:
Why after 16 hours it is not available on Google Play??
[L Speed] Paget96:
I have to check that.
[L Speed] martyfender:
Currently, the play store is showing v1.4.27, not v1.4.28.
[L Speed] Paget96:
Sorry for this update delay. It'll be available within few hours. :)
[L Speed] marvi0:
Am sure in the past the app had an option for auto clear cache and delvik cache . what happened to this feature please .
[L Speed] Chinaboy5216:
Available in gplay now, thanks [MENTION=5514152]Paget96[/MENTION]
[L Speed] gh0stzk:
Yes is available now!!
[L Speed] Paget96:
There was clean on boot, but it's to heavy, so i removed it.
[L Speed] Paget96:
I hope that i have some free time on this weekend so i can update L Speed tweaks a bit. :D

I'll put some stuff on testing tonight ;)

Stay tuned guys :D
[L Speed] DB126:
Each time L Speed is installed (updated) two annoying things happen:

- battery optimization for L Speed is disabled (Android 6+ ROMs)

- a notification is posted advising to reboot

I do not use any L Speed tweaks that require exclusion of L Speed from doze (battery optimization) or a reboot after reinstall. I understand the intent but the execution leaves something to be desired.

It would be better if L Speed excluded itself from battery optimization only when a feature/tweak is enabled that requires that capability. The installer should NOT explicitly override my preferences. At minimum it should ask before changing the setting.
[L Speed] Paget96:
On the latest update i removed adding LS to be removed from battery optimization.

Option for reboot is ok, i can add a toggle to turn it on/off but i personally think it's a bit overloading with options.

I think it's now everything ok :D
[L Speed] anon1135:
should we use this with govtuner? I saw a post about l speed in govtuner thread recently so thought they're related somehow
[L Speed] Paget96:
We'll get an alpha version of L Speed tonight with updated kernel tweaks(for now)

Stay tuned :D
[L Speed] DB126:
Thank you!

Suggest folding this into existing 'Show Boot Notification' option. If that's toggled off don't pop up the reboot notification on updates. Takes care of the problem without adding another option. :)

Thanks again for the prompt response!
[L Speed] Paget96:
It's the same GovTuner. :)

L Speed have values same as in GovTuner project.
[L Speed] DB126:
If possible don't forget about KSM issue raised a couple weeks ago. It's certainly not critical but something that should get addressed eventually.

https://xdaforums.com/showpost.php?p=74641214&postcount=28579
[L Speed] Paget96:
I know :D
[L Speed] Paget96:
Need some help from 64bit devices.

Please disable kernel tweaks, reboot device and give me values of those three files. (The same can do people with other device as well). And please write what device, kernel and ROM.

/proc/sys/fs/inotify/max_queued_events
/proc/sys/fs/inotify/max_user_instances
/proc/sys/fs/inotify/max_user_watches

Thanks for helping and supporting ;)
[L Speed] ADM.GL:
16384

128

8192

Redmi Note 3 Pro/Kenzo

Agni Kernel 11.7 (beta 9)

AEX-(4.6) Nougat/7.1.2

--------------------
[L Speed] Paget96:
#android #LSpeed

New alpha version!!!

v1.4.28-alpha15122017

Battery should be better on this update ;)

I'm waiting for reports :D

Changelog:

- Updated kernel tweaks

Download:

https://xdaforums.com/showpost.php?p=74859569&postcount=22

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] Chinaboy5216:
[MENTION=5514152]Paget96[/MENTION] 1.4.27? Latest beta in gplay is 1.4.28, maybe typing error?
[L Speed] Paget96:
Obviously it's typo [emoji28]
[L Speed] D1stRU3T0R:
Still not appearing on gp...
[L Speed] Paget96:
Alpha versions are not on play. Read post again. :)
[L Speed] martyfender:
Thanks for all of your hard work. unfortunately, it will not install over 1.4.28 because it has a version of 1.4.7. Yes, I know, uninstall, then reinstall? That worked. If your intention is to force the user to uninstall, I would suggest just telling the user that in the first place, from the start.

again, thanks for this great app.

Would you be able to give more detail as to what you changed, in more detail each time you update? Forgive me if I am asking way to much from a donation only app.

Something like I changed /dev/etc....................

If not, no big deal, I realize you spend alot of your free time doing this, but you must love it, as I do,

learning about computers, in general.

Thanks
[L Speed] Chinaboy5216:
Hmmm you should ask this to [MENTION=5514152]Paget96[/MENTION]...

For changes check the main thread please, release notes alpha version is stated in the main thread
[L Speed] Paget96:
Sure, i can add detailed changelog. :)
[L Speed] DirkFTY:
mi5
[L Speed] gh0stzk:
Latest alpha seems to have an improvement in battery life, i only test balanced.
[L Speed] Paget96:
What with it?
[L Speed] Paget96:
Good :D

Waiting for others :D
[L Speed] DB126:
A very early read suggests the same with battery profile (kernel tweaks only) with no loss of performance. Time will tell...

Edit: well that was premature; no meaningful power savings on my daily driver. However, there may be an unexpected performance benefit associated with virtual memory tweaks. Still looking into that.

[MENTION=5514152]Paget96[/MENTION]: hard to see how tweaking inotify parameters will have an impact on relatively small footprint android device...even with the most aggressive settings; might be an area to consider trimming back.
[L Speed] D1stRU3T0R:
[MENTION=5514152]Paget96[/MENTION] if i quit from lspeed the notification and I guess doze mode too dissapear, how can i fix this? I can't live without seeing that in the panel ;)
[L Speed] Paget96:
Mmm can you record a video please? :)

I'll give some changes tonight ;)
[L Speed] D1stRU3T0R:
https://streamable.com/ez41m

[MENTION=5514152]Paget96[/MENTION] sorry for low quality, the site ruined it... And even if I pin lspeed to run, it will be closed after some mins... Everything was ok on stable/betas, only alpha ruined it(and even if i go back to stable it's the same)
[L Speed] Paget96:
Do you have any apps like root booster, servicely or other apps which kil services?? Or maybe is LS greenified?
[L Speed] -DarkKnight-:
Is there a way you can implement the boost button as a notification toggle? I'd love to be able to access that button faster instead of fiddling through the menus to be able to get to it.
[L Speed] D1stRU3T0R:
Nope, nothing! Only lspeed, kernel adiutor adaway lucky patcher and busybox, that's it... Afaik lspeed was on doze list in enabled list but still written as disabled, not nothing happens if i enable it, and there isn't in the list anymore (on doze enable list)

Update: hmm emui just disabled the protection after screen off, i enabled it for lspeed and now it's not dissapearing anymore. Wow
[L Speed] @sumit@007:
Is it possible to create own profile?
[L Speed] Paget96:
Yes, open profiles and do a backup. :)

Yeah miui and emui have that protection.

It's possible, but it's a bit overloading app :)

Use boost scheduler instead :)
[L Speed] Alfa2205:
If I disable write deferral timer that means it writes every second and thats draining battery a lot?
[L Speed] Paget96:
0 is default. :)

Yes it means that
[L Speed] Paget96:
READ THIS, IT'S IMPORTANT :D

https://xdaforums.com/apps/l-speed/poll-making-dynamic-virtual-memory-t3720784
[L Speed] TheRealIntence:
Can't see the link for the browser redirection :/
[L Speed] Paget96:
Go then one section back, and open that thread :)
[L Speed] DB126:
A value of 0 means writes will occur naturally either to temporary (memory) cache or permanent storage. There are NO battery savings associated with this tweak on a device that does not utilize a physical hard drive as internal eMMC flash storage is always 'awake' when the device is in use.

However, deferring writes may improve responsiveness on slower devices if the file system is busy handling other requests at the time. However, it can also trigger lag/stutter if it drives burst (synchronous) activity when the timer expires. Any value over 5 sec (arguably 1 sec) is counterproductive on most eMMC devices.

Other virtual memory settings (not currently tunable via L Speed) are more effective at improving performance/responsiveness and possibly trimming power consumption. They are also a lot harder to work with (and get right) across the huge landscape of consumer devices.