yashsingh1/xdaforums huggingface dataset:
[LG Spirit Guides, News, & Discussion] Fobos531:
Can you please take a screenshot of your CPU Governor Tunables section? I'm not completely sure that I did it right.
[LG Spirit Guides, News, & Discussion] Tomo123:
No problem, my good man. Here they are:

http://imgur.com/yDbXHE3

http://imgur.com/3uDi04u
[LG Spirit Guides, News, & Discussion] loop4444:
holy ..! this really does make a difference. is it ok if i set cpu to "performance" and dont mess anything else with it? i dont care about battery life that much. cuz it seems that with agressive setting for ram, and changing to "noop" made wonders for me performance wise
[LG Spirit Guides, News, & Discussion] Tomo123:
Performance governor forces 1200, so that's not desirable.

For the best performance with lowest idle, set it to Ondemand / Noop. You will lose a bit more battery with those, but the phone will fly.

Otherwise, set as I've set it. Tweaked interactive.
[LG Spirit Guides, News, & Discussion] loop4444:
userspace,powerspace hotplug and performance is what i have in karnel auditor.. which one should i choose then? tyvm!

p.s. thanks again for these tips man
[LG Spirit Guides, News, & Discussion] Tomo123:
That's strange. Are you using the LG Spirit H440N or some other variation?

See here ( list of governors ):

http://imgur.com/hxZOoDz
[LG Spirit Guides, News, & Discussion] loop4444:
ah right. that could be a reason.. i use 3g version, with mediatek cpu :(
[LG Spirit Guides, News, & Discussion] Tomo123:
* moved to first post *
[LG Spirit Guides, News, & Discussion] thomekk91:
amazing speed and multitasking (with Recently), thank you for this
[LG Spirit Guides, News, & Discussion] kamango:
View attachment 3534427

Can you help me with target loads? Is this ok?
[LG Spirit Guides, News, & Discussion] Tomo123:
String seems to be written ok, but my guess is it will clash with go_hispeed_load value.

If go_hispeed_load has a value of 85, then your initial value in target loads can't be "1". It must be higher than 85.

We're using our hispeed frequency ( 400000 ) as idle. It often drops to 200, so I see no reason of adding 200 to target loads.

Did you check out my post above?

Also, take a look at my KA frequency table:

http://imgur.com/BikoQk2
[LG Spirit Guides, News, & Discussion] kamango:
It seems that ive messed up something. Now my phone wont go deepsleep. This is the result over night.View attachment 3535050
[LG Spirit Guides, News, & Discussion] kamango:
Can you make a screenshot of your target loads. Im having a hard time making it work. Performance is on point but i get a lot of battery drain.
[LG Spirit Guides, News, & Discussion] Tomo123:
Still using v10e. Since Kingroot gives me the runs, and properly replacing it with SuperSU is not my idea of a good time... decision was made to stay on v10e until an offline solution for later firmwares emerges.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Not quite sure I got what you mean, but properly replacing Kingroot with SuperSU takes no time, mate. Not sure if there are any advantages of using SuperSU instead of Kingroot, but I just did it for the sake of doing it. It took me no time ... i followed this guide:

http://www.w0lfdroid.com/2015/05/How-to-Remove-Replace-KingUser-KingRoot-with-SuperSU.html
[LG Spirit Guides, News, & Discussion] Tomo123:
Yeah. I am well aware of that, but that guide does not remove/restore all the files Kingroot modifies in the system partition. Who knows what else these newer Kingroot versions do, since that script was not updated for some time now.

So, I'll wait. v10e is good enough for me.
[LG Spirit Guides, News, & Discussion] Tomo123:
Did some more testing. It seems that for normal use, ie. browsing a web site, any frequency below 800000 is too low. Even for general ui scrolling. 998400 is ideal for both. To utilize that, and prevent the cpu from jumping up and down while doing low load work on the phone, I've set up above_hispeed delay to let the cpu stay more on 998400 before ramping the frequency up.

200000 and 400000 are our idle speeds.

800000 is useless, since it stutters a lot.

998400 is an ideal mid-frequency.

1094400 entry high frequency, not needed.

1152000 ideal high frequency. We like this one.

1209600 big no-no, unless really needed.

God, I wish this phone had a couple more frequency steps...

So, we want to keep the phone, while we are actively interacting with it, on 998400, since it's smooth, and good for web browsing or such. After that, if needed, we want the phone to ramp up to a higher frequency IF NEEDED.

Everything stays the same in the settings provided. Only change is that 998400 is kept a bit longer, since it's excellent.

Obsolete

above_hispeed_delay: 20000 998400:60000 1094400:20000

There, I think it's perfect now. Will edit the default settings later.

Done

EDIT: It seems it solved the phone getting stuck on 1209600 often.

And yeah, testing sucks. Things change a lot. And a man can easily go crazy. So bear with me :)
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
ok, that was for the sake of the SOT and performance tests. How about daily use? What's the best use of the battery? Is my approach wrong? I charge up to 80 and let it go down to 40 and then repeat. Normally that would last me for 24h.
[LG Spirit Guides, News, & Discussion] Tomo123:
That seems reasonable and withing Lithium battery charge discharge recommended rules.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
10x mate! :)
[LG Spirit Guides, News, & Discussion] ivanlaki:
[MENTION=5043095]Tomo123[/MENTION]

I was always wondering how my friends galaxy a5 works so faster than my spirit(with same Snapdragon 410,although it has 2 gigs of ram), and now, especially with those new settings, spirit is defenitly as fast device as the one metioned, thanks :)
[LG Spirit Guides, News, & Discussion] polfrank:
The latest settings are indeed awesome! Thanks Tomo!
[LG Spirit Guides, News, & Discussion] ivanlaki:
Maybe the battery is a bit weaker than last settings but its still good enough:)
[LG Spirit Guides, News, & Discussion] Tomo123:
No one likes when their Android phone stutters. I could tweak the settings to use a lower frequency for low end interaction, like browsing through a web page, but that would feel like the phone is struggling. Everything would feel slow and jumpy. Tried it already and did not like it one bit. Feels like I'm using a 5 year old device.

As for Galaxy A5, I still prefer the LG. :)
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Tomo ... what can i say? Thanks for your awesome work! If it wasnt for ppl like you ... we'd only end up buying the crap they sell out there and end up disappointed. This phone SUCKED BIG TIME before you suggested you tweaks. Thanks man, now it IS stellar, as you once said! : )
[LG Spirit Guides, News, & Discussion] Tomo123:
So, the new tweaks work for you, then?
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
All your tweaks have so far worked very well. I cannot yet say if the newest one is the best. Will observe and see. In any case, i've set up 3 profiles. One with your original first out 3 options, 2nd one from yesterday or so ... and 3rd one the latest one you discussed. Currently I'm on the 3rd one and will report if there's any issues with it. But never mind that. ... any one of the 3 options I mention here are still WAAAAY better than the default LG settings. You have no idea (prolly do have :) ) how slow the phone was the way it was set up by LG. After disabling lots of crap and removing crappy apps and installing better ones instead, not it the Spirit has a brand new spirit to it :) lol

---------- Post added at 05:26 PM ---------- Previous post was at 05:11 PM ----------

ps

do u disable the stock app called 'Video' since you're using the app PlayerPro
[LG Spirit Guides, News, & Discussion] Tomo123:
Nope, did not disable it. No need, since it's quiet as a mouse :)
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
I disabled it for now since I'm giving PlayerPro a try and it's looking alright for now.

Amm the camera app .. I'm using the stock one and it's kinda ... slow, no? Takes ages sometimes to take a photo after the shutter is pressed. Is it cos it's taking ages to focus or what?
[LG Spirit Guides, News, & Discussion] Tomo123:
Just tested, and I don't seem to have any issues with it. Takes a second to focus and after clicking the shutter, it takes a picture immediately. They are saved on the SD card.

Obsolete

EDIT:

Here's another idea for ones willing to try it out. This would be the last fine tuning step. Install Cool Tool from the Play store and start it. Configure it to show your CPU frequency on the screen overlay, with the update interval of 0,5. Then, open up your favorite web browser and load up a web site - whichever one you like. After it loads, browse through it up and down. Note the frequency that shows up on the Cool Tool overlay. It will show either 998 or 1152.

Then, open up Kernel Adiutor and adjust target loads from:

target_loads: 98 400000:33 533333:60 800000:25 998400:82 1094400:5 1152000:95

to

target_loads: 98 400000:33 533333:60 800000:25 998400:86 1094400:5 1152000:95

We are ONLY changing the load value on 998400 to force the phone to stay at the said frequency when browsing. We don't need a higher frequency than that, and we want to keep the phone on 998400 for AS LONG AS POSSIBLE. Occasional jumps to 1152000 don't matter.

I am using the Opera Browser, and I noticed that the best value, for me, is 998400:86.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
10x .. the delay musta been caused by the focusing time needed, which is inevitable ... other than that the cam app is alright. should take my word back.

As to the 'Gallery' app. Whenever I make changes to any image files ... copy paste whatever or just edit a file in, let's say the Screenshots (stored on the internal memory), and I make those edits in my PC in Windows via SambaDroid it takes a reboot for those edits to appear in the Gallery app. Say I have 9 screenshots in my screenshots folder on the internal memory. I then copy some files to that folder using SambaDroid app. Then back to my phone I can see with TotalCommander that the files are there, but when I open the 'Gallery' app it does not yet show those changes. After a phone reboot it does though. Why?

I don't recall messing with the gallery app in any way ... neither with MyAndroidTools nor with SD Maid nor nothing. Any idea? What I tried after making some edits was to force-kill the Gallery app and relaunch it to see if it will properly display my edits in the screenshot folder, but sadly ... no :(
[LG Spirit Guides, News, & Discussion] Tomo123:
It does that because Android has a special part of it's OS that scans all your media files before serving them to the apps that request them ( music players, video players, picture viewers ). That kernel daemon is called a "mediaserver". It keeps a database of all of your media files, like pictures, music, and videos.

When you plug in your phone to the PC via USB ( MTP connection ), then copy your music/pictures/video and unplug, mediaserver then starts, scans the files, adds them to it's database and shows them in your apps. In your case, it's the Gallery app.

1. So, to show the latest added files in your phone, after adding them with SambaDroid, it would be necessary to plug your phone as a MTP device to your PC, wait for a couple of seconds, then unplug.

2. Or reboot.

3. Or unmount, then mount your SD card in Settings.

It's the only way to refresh the mediaserver.

On older Android versions you could do that manually, but it seems Google removed it for 4.0.1+.

It's normal, but I forgot to mention it.

EDIT:

Seems there is an app for that :)

https://play.google.com/store/apps/details?id=burrows.apps.sdcard
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Both with

target_loads: 98 400000:33 533333:60 800000:25 998400:82 1094400:5 1152000:95

and

target_loads: 98 400000:33 533333:60 800000:25 998400:86 1094400:5 1152000:95

my browser 'Lightning browser' shows 1209, 1152 and 998 when i swipe up and down in youtube.com, but MAINLY it stays on 1209 and i think that's not good. When i stop swiping up/down it goes to 200 or 400, but during constant swiping up and down it sticks to 1209 almost 90% of the time. Is that ok?
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Mounting and unmounting external sd card from withing settings in 'Storage' did not do the trick ... it didn't refresh to show my changes. At least it didn't work for my Screenshot's folder, which is on the internal memory, and maybe that's why it didnt work there. But it makes sense to work for files on the external sd card. Haven't tried that, but what good is it if it only works for external card ... quite a bummer. Would be nice to have a way to refresh both internal and external memory in 1 shot. Reboot and plugging/unplugging phone would do that, but are quite cumbersome and take time.

The app you suggested sounded nice, but ... a big FAIL happened. I say stay away from it. Pretty easy to use, nothing to it, nothing in it. However, I made a test, added a file to my screenshots folder [under storage/emulated/0/Pictures/Screenshots] and scanned with the app to see if it recognizes the changes made. I had 8 files in the screenshot folder and just copied one of them to the same folder and edited it in MS paint. So now there were 9 files. Easy nuff. Well... what the app did was that, after I scanned the correct path for changes, it created a duplicate of my screenshots folder. Not really what i was expecting to see. However, the dupe folder appeared only in the 'Gallery' app, not when browsed with T.Commander. The craziest thing is that in 'Gallery' I saw a strange thing. As expected it made a dupe of the original folder, which included my edited file, making that 9 files in total. However it kept the original folder too, but it showed that it contained 8 files. But it turned out that out of those 8 files one was the 1 I edited and instead 1 of the files i had totally not touched was deleted. What the ....?

Now keep in mind that T.Commander showed only 1 folder in the internal memory under storage/emulated/0/Pictures/Screenshots and that folder contained 9 files. So i said to myself ok ... so t.commander only shows that one, then I might as well go back to Gallery app and delete the .. so-called original (and somewhat mysterious) folder containing 8 files only. Once I deleted it, presto ... both folders with screenshots were gone for good. Neither were they to be found in T.Commander nor in 'Gallery'. Sweet, eh? Dubious app, I gotta say.

So ... no real and nice workaround so far :( reboot it is then, at least for edits on internal memory.
[LG Spirit Guides, News, & Discussion] Tomo123:
Nah, I really doubt that the phone is staying at that frequency for as long as it is. More I use these cpu measuring apps, widgets or what have you, the more I think they are plainly lying. My guess is that they are just too slow in updating the cpu information, making us think it's at a higher frequency than it really is.

We've set up the cpu in a way that it bypasses all of the inefficient frequencies ( 533333, 800000, 1024400 ) that are the main cause of stuttering ( constant switching between them ), and adjusted the load rates to be the most effective possible for those left.
[LG Spirit Guides, News, & Discussion] Tomo123:
To sort out possible issues with the media store, open up Settings, Apps, slide to All, find Media Storage app, and clear it's cache and data. Powe the phone off and back on after that.

That will refresh your complete media database. Give it some time after a reboot, since it needs to reindex.

Sorry about the app. Did not try it beforehand. Found it on this thread:

android.stackexchange.com/questions/57913/how-do-i-refresh-rescan-the-sd-memory-in-android-4-4-kitkat
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
No problem about the app ... had a back-up so it's all good, mate!

As to your suggestion about the media stuff - doing what you suggest only kinda resets things but as far as I understand it won't solve the problem. By that I mean that it won't all of a sudden magically have my phone able to see updated/changed files without needing to reboot or mount/unmount. Or does it?
[LG Spirit Guides, News, & Discussion] Tomo123:
Nope. It's just for resetting stuff. It's ok to do it occasionally, just to clean our any possible garbage Android crammed in there and did not remove by itself.
[LG Spirit Guides, News, & Discussion] Tomo123:
Tell me, do these settings help out in keeping Youtube browsing under a gigahertz frequency?

Just change these. Keep others as they are.

above hispeed delay:

20000 1094400:40000

go hispeed load:

95

target loads:

85 998400:90
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Nope... while swiping (and ONLY while swiping) it's still stuck at 1209. Once again, using Lightning browser, i open youtube.com, and start swiping around the page and Cool Tool shows 1209. When I stop swiping it goes down to 200. Even a single swipe up or down makes the cpu go up to 1209, and a second later, as soon as the swipe is done moving, it goes back to 200. Not sure if that's the desired behaviour. Thought swiping should not cause the cpu to go over 998.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
dunno what the problem is here ... could it be the app - Cool Tools? Dont know. Maybe others should try and test too.
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
I think u are right (based on the text I've quoted below). I think there was a mistake on my part when I said earlier 'MAINLY it stays on 1209 and i think that's not good.' I meant that it mainly stays on 1209 when swiping up/down. Other than that it goes down to 200/400 when i stop swiping around, which is good i think. That's why I asked what the desired outcome is ... as far as I got it you suggest that while swiping up and down Cool Tool should show 998 and only occasionally 1152 ... right? That's why I though that staying on 1209 (as is the case with me while swiping around) is bad.

Sorry for all the edits of my last few posts.
[LG Spirit Guides, News, & Discussion] Tomo123:
No problem, my good man. It should go to 1209 when swiping faster or in a fast up/down manner. Else, it should drop to 998 when swiping slower.
[LG Spirit Guides, News, & Discussion] Tomo123:
Obsolete.

This is just me dicking around trying to make an ultimate super smooth, buttery setup without any cares for the battery life - although it will last for a day at least. Who knows. Maybe it won't... :D

Well, here it is. Stutter is our enemy! Smooth Heil Smooth Heil!

min cpu 200 MHz

max cpu 1209 MHz

above_highspeed_delay - 20000 998400:40000

go_highspeed_load - 95

hispeed_freq - 400000

min_sample_time - 40000

target_loads - 1 200000:16 400000:33 533333:44 800000:66 998400:82 1094400:90 1152000:95

timer_rate - 20000
[LG Spirit Guides, News, & Discussion] BrosseLi:
Many thanks for your work sir !!

EDIT: The phone lags when I swipe between pages

For example, install Arrow Launcher and you'll see
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
[MENTION=5043095]Tomo123[/MENTION] - Mate, this now is your 6th suggestion for settings in K.Adiutor :) So far I have 5 of your suggestions set up as profiles in my K.Adiutors.

1. your very first original post (preferred one, used by you, as you had put it:) ),

2. 998400:82 above highspeed - 20000 400000:60000 533333:20000

3. 998400:8

2

above highspeed - 20000 998400:60000 1094400:20000

4. 998400:8

6

above highspeed - 20000 998400:60000 1094400:20000

5. the one you individually asked me to try out, 2 posts ago - above hispeed delay - 20000 1094400:40000 / go hispeed load: 95 / target loads: 85 998400:90

I've named all 5 profiles as timestamps so I have all of them set up and this now is gonna be the 6th one. Is there a clear winner for now or are we still in the testing zone?

I see that in your latest instructions post you have my 3rd option from above (the 82 one, not 86 ... strange, though the 86 is better). But I guess that is a subject to change soon.

I think my 3rd and 5th profiles are useless, no? Will now give your 6th option a try. 10x! :)
[LG Spirit Guides, News, & Discussion] sotoLOTO-:
Try Nova Launcher ... works very well for me.
[LG Spirit Guides, News, & Discussion] kamil79123:
Im here again. Every settings works fine, perfomance and battery seems better, but after ~ 10 days phone goes very slow... It's just unuseable, but when somehow I uninstall kernel adiutor everything returns to normal...
[LG Spirit Guides, News, & Discussion] Tomo123:
Eureka! It figures... took me a sleepless night and a good part of today to find out that cpu loads have to be fine tuned from hispeed load frequency BACKWARDS! Yeah, that information is nowhere to be found. Nobody mentions that. But, my pigheadedness, newfound knowledge and constant tinkering lead to a breakthrough.

I started at almost default cpu values:

max: 1209

min: 200

interactive governor

above_hispeed_delay: 20000 1094400:40000

go_hispeed_load: 90

hispeed_freq: 998400

min_sample_time: 40000

target_loads: 1 800000:85 998400:90 1094400:80

timer_rate: 20000

disabled Recently

Ok, they seem good, phone works like it should, even with 20 apps in the background. Sliding through recent tabs is fast, opening/closing/switching is fast. Although, the idle is at 800000, draining the battery. Hmm, time to solve that. I used this:

target_loads: 1 400000:60 800000:85 998400:90 1094400:80

Phone went to 400 idle, but started stuttering when listing through the apps/recents. Then it hit me... We need to select a frequency lower than 800, tweak THAT one, and then go to the next lower one. Started with:

target_loads: 1 533333:85 800000:85 998400:90 1094400:80 - better, but could be smoother. Idle dropped to 533. Nice!

Testing went on, lowering 533333:85 by 5 percent until I got this, where it stopped the stutter in apps/recents:

target_loads: 1 533333:75 800000:85 998400:90 1094400:80 - very smooth, but idle is at 533. We'll lower that in a jiffy!

Next, 400 was about to be smoothed out. Started with:

target_loads: 1 400000:75 533333:75 800000:85 998400:90 1094400:80 - We're getting there! Just needs a final touch.

Lowered the 400 freq percentage by 5, and that was it. Ended up with:

target_loads: 1 400000:70 533333:75 800000:85 998400:90 1094400:80 - Yeah! We're cooking with gas now!

Final thing to do - solve 200. Same thing.

Final result:

max: 1209

min: 200

interactive governor

above_hispeed_delay: 20000 1094400:40000

go_hispeed_load: 90

hispeed_freq: 998400

min_sample_time: 40000

target_loads: 1 200000:65 400000:70 533333:75 800000:85 998400:90 1094400:80

timer_rate: 20000

disabled Recently

Even, and I say even with the max possible apps open in the background, constant switching/closing/opening, this phone is so smooth right now I could shave with it!

I am currently in the process of adjusting the high frequency spectrum, as to avoid 1209 as much as possible. But, that's a story for another time :D

-----------

[MENTION=6093642]kamil79123[/MENTION] I really doubt it has anything to do with the tweaks I suggested in my main post, and you adjusted only what I mentioned. Although, I would like you to try these and report back if you will:

max: 1209

min: 200

interactive governor

above_hispeed_delay: 20000 1094400:40000

go_hispeed_load: 90

hispeed_freq: 998400

min_sample_time: 40000

target_loads: 1 200000:65 400000:70 533333:75 800000:85 998400:90 1094400:80

timer_rate: 20000

disable Recently

turn phone off - wait 20 seconds - turn phone on
[LG Spirit Guides, News, & Discussion] kamil79123:
Okay, i have set these values. I will report feedback soon!
[LG Spirit Guides, News, & Discussion] thomekk91:
Currently testing your new settings
[LG Spirit Guides, News, & Discussion] polfrank:
Why not use recently with v2 configuration? I use it and everything seems fine!

Also, in the service menu I set:

Thermal Mitigation: Enabled

but when I set it to enabled the toast says something like:

...thermal_mitigation_off:true

Should I leave it as it is?