How To Guide How to get rid of scrolling stutters in customs ROM. - OnePlus 9 Pro

Hi , it is just little hint that allows you to get rid of this infamous scrolling issues that appears mostly in social apps like twitter or fb on all AOSP based ROMs.
As I observed it is enough to set some touchboost kernel parameters. Of course you have to be rooted to do that.
Below there is a sample configuration that I use (set in Franco kernel manager) and scrolling is buttery smooth and also I didn't notice inscreased battery drain since I use it (though it it must be higer) .
I suggest to spend sometime to change those value to find sweet spot that suits your needs
Don't ask me about scheduler priority , I don't know what that values means , just know that 1 is fine (maybe other is better ) .
I shared this solution on TG group and some guys confirmed that this trick works for them.
Don't hesitate to share you favorite config and have fun

This was actually one of my main reasons not to use a custom ROM, thanks, I will definitely try this out!

Thank you for sharing this!!
It took me a while to actually find these settings. For those that also can't find it:
Menu > "CPU and GPU" > scroll down to the "Miscellaneous" section > "CAF CPU boost"

shaun.kleyn said:
Thank you for sharing this!!
It took me a while to actually find these settings. For those that also can't find it:
Menu > "CPU and GPU" > scroll down to the "Miscellaneous" section > "CAF CPU boost"
Click to expand...
Click to collapse
The menu of which kernel management application?
Ok I see. Sorry.
Works perfect. Thank You.
However, when you look closely, sometimes I see a slight leap in the animation. Which parameter can be increased to completely remove stuttering scroll animations?
Ok I think I know.

schizmatyk said:
The menu of which kernel management application?
Ok I see. Sorry.
Works perfect. Thank You.
However, when you look closely, sometimes I see a slight leap in the animation. Which parameter can be increased to completely remove stuttering scroll animations?
Ok I think I know.
Click to expand...
Click to collapse
Can you share what you did to smooth it out completely? Ta

loulondono said:
Can you share what you did to smooth it out completely? Ta
Click to expand...
Click to collapse
Input boost to 1500 but app drawer from time to time still have some problems with smoothnes

Wow that's a massive difference. I'm using the FPS overlay thing (app not settings) and it actually waits before playing with the refresh rate. I'm on stock not a rom yet, but the little hang ups on what is the latest and fastest chip was annoying me to all hell. Thank you so much (and felek73 obviously)

First impressions: responsiveness if fantastic, but battery drain is way higher (I had just flashed blu sparks and only done a half day, so will see in time) but before it was noticeably better than stock and the remaining 40% has gone by considerably quicker

How to I reset the frequencies to stock? There isnt a "0" option in Franco kernel, despite being that way initially

Related

Autokiller memory optimizer.

Hi i found an app called auto killer memory which ive been running for a while. this app has worked wonders for my wilderbeast, its on fire. so ive been tampering alot with things but this seems to have stabalised my phone loads. presets i set to lost, enabled advance mode,apply at boot,ticked all system tweaks and of course when promted enabled super user. my phone is now running sweet and battery has improved too. i dont know if this makes any sense but i have noticed a difference. whoop whoop. am i over optimistic that this works the same as the v6 super charger/juwes ram optimiser ???
Ok I've ammended my settings within this app after doing some research And in memory values I'm now running at 6/10/16/100/120/160 to keep my phone running snappppppy. To explain the values in brief...... if free memory goes below 160mb my phone starts to kill empty apps etc etc as free memory goes below next value the phone starts to kill corresponding apps. Kind of makes sense to me now. Ok I know my settings makes the phone kill more frequently but its damn snappy now,and it can lower the oom settings by long pressing the app in processes section you wish to lower and choosing lower oom. Lowering the oom basically gives the app less chance of being killed.
Personally I haven't had a low memory situation since I rooted and installed cm7, the app your talking about I have installed after reading one of your other posts about it, I presume that it would work the same way as juwes after setting the low memory values, I don't use those settings with it though as I have juwes script installed, the other tweaks seem fine but again I think I had some of them covered from editing my build.prop (still have work to do on that though) and a few other little things, I can't knock this app though as it does seem to have made my battery last a bit longer since installing yesterday, I'd personally rather change the settings myself than have yet another app doing it for me but until I figure which setting seems to be helping my battery out I'll keep it installed.
A couple of other apps which might help you keep it smooth,
Autostarts- I swear by this app its one of my best buys from the market, why use a task killer when you can just stop the app starting in the first place??
Fast reboot pro- after time apps hold memory which they don't really need, hit this and it'll quickly reboot everything (unless you tell it to leave something alone) freeing up spare ram.
Sent from my HTC Wildfire using xda premium
Cheers for info,really happy with this app at the moment.by the sounds of things its doing similar job to other script mods,which I can't get working cos of s - off issue. Posted this for s on users benefit. Hope it helps others.
Edit my settings. Read 1st post.
sent from my wilderbeast/buzz
The only problems I see with having higher settings are if it closes something you use regular it'll be slower to open that app, I'd rather keep them set low and have apps open quickly.
Sent from my HTC Wildfire using xda premium
Scratch0805 said:
The only problems I see with having higher settings are if it closes something you use regular it'll be slower to open that app, I'd rather keep them set low and have apps open quickly.
Sent from my HTC Wildfire using xda premium
Click to expand...
Click to collapse
I agree but this app lets you temporary lower the oom level for apps,so I just lower oom on most important. Long click on process or service and to lower.
sent from my wilderbeast/buzz
Does it?..........I didn't spot that nice find!!
Sent from my HTC Wildfire using xda premium
Yep,long click app in service or process then choose to lower oom.it resets if you reboot so get your settings desired then leave by pressing home button.
sent from my wilderbeast:buzz
whats up with these settings for the pages? what do these settings change?
atm i have these settings:
2560
4096
25600
30720
40960
gozzaa said:
whats up with these settings for the pages? what do these settings change?
atm i have these settings:
2560
4096
25600
30720
40960
Click to expand...
Click to collapse
Change the view from pages to mb and these are the values when it will start killing processes etc. Ie. When your memory gets to the amount your phone starts freeing up starting with the highest setting (empty apps)
Its all explained above,just that you have the pages view instead of mbs.
Quote " its healthy to have enemies, it means you've stood up for something you believe in "
ahh the pagesettings are the same as the MB ones?
i thought its two different things
thanks for the explanation!
btw. do you still use the same settings?
Yes to this day I still use this app even though I'm now s-off with the settings I posted,I will just double check and ammend if needed on 1st post.
" once its gone,its GONE."
slymobi said:
am i over optimistic that this works the same as the v6 super charger/juwes ram optimiser ???
Click to expand...
Click to collapse
I used to use that too and I felt some differance too but I think you have to open the program every boot. But some told me that it isn't just powerful as Supercharger so I deleted the optimiser and tried Supercharged and got a bootloop instead. I didn't get it to work but I believe that Supercharger is a better solution.
zephyri-xr said:
I used to use that too and I felt some differance too but I think you have to open the program every boot. But some told me that it isn't just powerful as Supercharger so I deleted the optimiser and tried Supercharged and got a bootloop instead. I didn't get it to work but I believe that Supercharger is a better solution.
Click to expand...
Click to collapse
i tried supercharger and juuwes but had issues which i think were specific to me but one of the issues was bootlooping from supercharger as well as other things. im not saying one is better than the other but as you and myself had issues with one of the mods then its an alternative for others to use. i prefer this as you get to control the settings and mods yourself from the app. also this is available for s-on whilst the others i believe need s-off.
zephyri-xr said:
I used to use that too and I felt some differance too but I think you have to open the program every boot. But some told me that it isn't just powerful as Supercharger so I deleted the optimiser and tried Supercharged and got a bootloop instead. I didn't get it to work but I believe that Supercharger is a better solution.
Click to expand...
Click to collapse
I got a boot loop from supercharger. I had to wipe my phone and start again from an RUU as all my previous backups became corrupted. Nightmare. TBH in the few days that it did work, i saw/felt no difference.
Using CM_7.1.0.1 probably wouldnt advise to use the supercharge, CM_7 minfree values are set to a pretty good level to keep things in order i think
slymobi said:
Hi i found an app called auto killer memory which ive been running for a while. this app has worked wonders for my wilderbeast, its on fire. so ive been tampering alot with things but this seems to have stabalised my phone loads. presets i set to lost, enabled advance mode,apply at boot,ticked all system tweaks and of course when promted enabled super user. my phone is now running sweet and battery has improved too. i dont know if this makes any sense but i have noticed a difference. whoop whoop. am i over optimistic that this works the same as the v6 super charger/juwes ram optimiser ???
Ok I've ammended my settings within this app after doing some research And in memory values I'm now running at 6/10/16/100/120/160 to keep my phone running snappppppy. To explain the values in brief...... if free memory goes below 160mb my phone starts to kill empty apps etc etc as free memory goes below next value the phone starts to kill corresponding apps. Kind of makes sense to me now. Ok I know my settings makes the phone kill more frequently but its damn snappy now,and it can lower the oom settings by long pressing the app in processes section you wish to lower and choosing lower oom. Lowering the oom basically gives the app less chance of being killed.
Click to expand...
Click to collapse
I have tried supercharge script and does make phone smooth. Also Ive use ram manager new app and that too made phone smooth. But this app (Pro) is so far great. I tried out your settings for now to see if it suits me and had the app for an hour and the phone is very snappy and smooth (which is most important to me). I hope there is a slight battery improvement that many have said on the net but will test more and will leave feed back. A big thx m8!
no probs mate, like i said i have tried the lot and this one for me is really good and you get to be the controller lol.the only drawback i have noticed is that it takes a little longer for the phone to boot after a reboot but !!!!! im ok with that.
LMFAO looks like I didn't pay enough attention... I've used a lot of tweaks already to make my Willy faster, more snappy and stable but to be honest nothing gave it such a boost like that
BTW: are you still using the settings of the op?
Holy crap, I've read that really often here and elsewhere but it's the first it applies to myself: feels like a new phone
eventcom said:
LMFAO looks like I didn't pay enough attention... I've used a lot of tweaks already to make my Willy faster, more snappy and stable but to be honest nothing gave it such a boost like that
BTW: are you still using the settings of the op?
Holy crap, I've read that really often here and elsewhere but it's the first it applies to myself: feels like a new phone
Click to expand...
Click to collapse
I use aggressive setting mostly, all advanced tweaks except sdcard boost one as this bumps read ahead up to 2048, just my preference you might prefer 2048.
Say oooh la la
slymobi said:
I use aggressive setting mostly, all advanced tweaks except sdcard boost one as this bumps read ahead up to 2048, just my preference you might prefer 2048
Click to expand...
Click to collapse
I see. I just have to sort things out now. Regarding the SD card read - I have it already done by sdbooster (@2048) - I'm at a point where I should make a documentation to stay on track and to avoid double tweaks lol.
I'm also very interested into scratch's build.prop lol (guess that would help to drop even more tweaks). Thx again - I've not forgotten about your tip re. AMO - just shifted it too far lol.

[ROM][ICS 4.0.3] [27.05.2012] HeroICS v3

Hello,
I'm reactivating this thread since I cannot talk with samm every now and then to update the OP from this thread here.
What works:
It is stable for a daily driver but there are definitely things that doesn't work. For starters, the Hero is too small for ICS since we don't have any GPU posibility. Adreno 130 drivers are oh, too small and too bad for animations on ICS, they suck even in GB and Froyo. Still, the statusbar and fling are much smoother than other android releases because that's how ICS is built. It is more RAM friendly and it looks, well, sexy!
Will try and update this rom when it will be possible. We might jump on the bandwagon of 4.0.4 if I can make it to move faster than it moves right now (yes, I have an experimental build).
If one of you want to join me to develop this rom further, send a PM and I will send you some details about what is in the works, how far it is. I know there are few people that can work on builds here on Hero thread but if we work together, we can pull this out one more time.
FLASH THIS AT YOUR OWN RISK. I AM NOT RESPONSIBLE FOR:
- YOUR BRAIN
- YOUR HOUSE
- YOUR PHONE!
ON with the ROM. What has been changed:
Added:
Code:
- Google Music apk (yes, official google music app);
- Explorer.apk
- Latest and greatest LV Kernel 1.2+
- Revert to Evtoolbox back from 4.0.3 builds
- Set the cpu to scale at 352-672 from startup
- Tweaked the build.prop a little (added some experimental lines)
Why this is v3?
Because the memory management inside the kernel (remember, INSIDE THE KERNEL) is tweaked and fixed to nice values in order to allow our hero to better multitasking (you can find these values in my other rom called 1ceCream BEAST Flavor). No need for tweaks in init.d to do the job, no bull****.
Just plain and simple!
If you are texting someone, sending an email, playing a game, doing something, and you are locking the screen, after unlocking you will find that the application is ON the screen, and is not closed how it is in many other roms for hero. The multitasking with my values is so much better, you will definitely like it!
Click to expand...
Click to collapse
The rom moves fast, even if it is ICS, I have the animations on and no force GPU in Developer settings and it is still moving so much fast than the older builds.
Overall, I am happy with this release and I hope you will be too! Post me some of your opinion and tell me if it is fast or am I dreaming!
Some user's feedback:
Loxxy said:
wow 'HeroICS v3' is running on rocket power !!! what the hell
amazing job
Click to expand...
Click to collapse
Carrier Internet connection issue:
- Create Manual APN for provider's internet connection.
DOWNLOAD HeroICS v3
If you make these changes maybe you'll see better performance, the hero can't handle dithering on anything higher than stock GB or Sense froyo and doesn't have enough RAM for 48mb of dalvik heapsize. I may be wrong but these always worked for me in the past altough ICS is supposed to be better on RAM.
dalvik.vm.execution-mode=int:fast
dalvik.vm.heapsize changed to 24m or 32mb
persist.sys.use_dithering=0
Good work. Flashing now.
How about keeping this as lite as possible, only the absolute essentials pre-installed, everything else as optional zips / apk. For instance, I personally have no use for the music player.
I would really like to see a bare bones, fast and stable ics rom where you just add what you need.
---------- Post added at 03:56 AM ---------- Previous post was at 03:16 AM ----------
Unexpected reboot just as I was about to install Opera Mini. Followed by: "New Sim Detected, reboot required." Never seen that before.
I've applied CSL00's values.
Wonder if V6 Supercharger or Auto Memory Manager can improve things.
Play Store is noticeably faster. Unsure if was CSL00's values or the introduction of AMM.
Regarding the error message: 'No more room on this home screen.'
In Play Store app. Menu > Settings > Deselect Auto-add widgets.
Second unexpected reboot, otherwise things are getting faster. No wifi issues, BT still won't pair.
Running AMM on 'Aggressive.'
CSL00 said:
If you make these changes maybe you'll see better performance, the hero can't handle dithering on anything higher than stock GB or Sense froyo and doesn't have enough RAM for 48mb of dalvik heapsize. I may be wrong but these always worked for me in the past altough ICS is supposed to be better on RAM.
dalvik.vm.execution-mode=int:fast
dalvik.vm.heapsize changed to 24m or 32mb
persist.sys.use_dithering=0
Click to expand...
Click to collapse
dalvik execution mode was on fast until I changed it in the last second to "jit".
vm.heapsize was changed to 48 because I was testing 32 mb and I saw that it takes a little while to enter in one application. With 48 mb the time is reduced somehow. Please feel free to change it to 32 mb if you want. Dithering, well here is a mistery, I don't know if this works in ICS. It does look a little better than with it changed to 0 and my phone can suport dithering pretty well.
About the reboots, please install set cpu and set your max cpu frequency to a respectable value such as 691 or lower. I suggest using governor smartassV2.
The whole rom does feel a little snappier but we have an issue when someone calls you and after 20 seconds the call gets interrupted. I'll look into that today after work and see if I can fix it somehow.
I've tried Supercharger, the V8 doesn't wanna start on ICS and when applied V6 with option 6, the phone just got stuck on bootloop.
The reason that I've made it like this with apk.s that you can easly uninstall is that I didn't want you guys to have to flash any other optional zips or anything. But as I said, feel free to do what ever you want and uninstall those unused apps.
Oh, If you want to try supercharger yourself, you have to first delete these scripts from /etc/init.d:
03tweaks
04netspeed
05fixsdcardspeed
06loopy_smoothness_tweak
15cleanup_init_ram
16sqlite_optimize
17speedy_modified
Just to avoid any unexpected issues.
L.E:
CAN SOMEONE PLEASE, make a LOGCAT while you are in a call and save it to a txt? I want to see if we can narrow down the problem of disconnecting. I am unable to make a logcat atm.
1ceb0x, back to using your original build.prop, and Setcpu. Things seem more stable.
I'm looking for a notification toggle (cm-style) that has no icon when running (or only hides it, leaves a space.)
I will make a logcat, but I've tried aLogrec and all it seems to produce is an empty file. Should it not be dumping info on any activity I do?
lost101 said:
1ceb0x, back to using your original build.prop, and Setcpu. Things seem more stable.
I'm looking for a notification toggle (cm-style) that has no icon when running (or only hides it, leaves a space.)
I will make a logcat, but I've tried aLogrec and all it seems to produce is an empty file. Should it not be dumping info on any activity I do?
Click to expand...
Click to collapse
Seems stable than samm000's build.prop?
Glad to hear this.
As for the logcat, you cannot use any of the readers on the market because they will not work on ics. I've tried to make a log using android sdk but it seems that we need a file called 'main' in /dev/logs. I tried to make the file manually but then I've encountered an EOF read error on cmd. I forgot to make permissions for the respective file. Will make it again now and see how it goes.
As for cm notification toggle, I don't know what are you talking about. The notification toggle on ICS is nicer than any other available .
Tell me if you have calls issue (your call is disconnected after some seconds)?
Well it is probably more stable because I reduced the cpu speed.
In a voicecall now, 2mins+. Call lost around 3 mins.
6mins+ this time and still going...
lost101 said:
Well it is probably more stable because I reduced the cpu speed.
In a voicecall now, 2mins+. Call lost around 3 mins.
Click to expand...
Click to collapse
Did you checked the box "Force GPU rendering" in Develop Options?
Is it stable because I've added graphical tweaks and some tweaks to speed...
Yeah, 'Force GPU rendering' is enabled. In a voicecall now, 10mins+.
I ended the call myself at 22mins.
lost101 said:
Yeah, 'Force GPU rendering' is enabled. In a voicecall now, 10mins+
Click to expand...
Click to collapse
10 minutes without disconnecting? What's your settings on network? GSM ONLY, or WCDMA preferred?
(to see this, please go to dialer and dial *#*#4636#*#* , then go to Phone information, scroll down and you will see the value above the button "Turn Off Radio").
as default the version is WCDMA preferred. What Radio firmware are you using?
also, did you installed Habarug's tweak to hide the end button call during a call? (it's in samm000's thread).
this information will be helpful! cheers
WCDMA preferred. Radio: 63.18.55.06PU_6.35.15.11
I have not installed Habarug's tweak.
lost101 said:
WCDMA preferred. Radio: 63.18.55.06PU_6.35.15.11
I have not installed Habarug's tweak.
Click to expand...
Click to collapse
and you had 10 minutes without disconnecting? you were able to end the call normally?
1ceb0x said:
and you had 10 minutes without disconnecting? you were able to end the call normally?
Click to expand...
Click to collapse
It was 22mins when I ended the call myself.
Regarding notification toogle this is what I mean: 15 toggle status bar as implemented in this rom. Check the video.
Very ODD.
I have 63.18.55.06OU_6.35.15.01 on my device with WCDMA preferred but I keep getting call disconnected after 10 seconds or so.... regarding the notification status bar power widget, I don't know what to say. I'm not a dev so...
i'm trying to find a way to make a log cat of the calling issue because I don't really want to change my radio because my version seems to be battery friendly...
thank you for your support
Obviously the notification thing isn't even important right now. I shouldn't really have mentioned it.
I thought this radio was considered one of the best to be using, and find the battery life to be good on it.
Don't know if its the best really. But I've flashed it anyway. Since this will end my calling interrupt, it will be a small price to pay if the battery doesn't play well.
Will test the voice calling. Btw, I am maybe working on RC2, with some new tweaks and fixed latinime.apk keyboard..
can confirm right now that the latinime.apk is fixed.
@Habarug: are you using my mod or sam's rom?
Thanks lost, will try your radio, im on .14 atom
Just to clarify, the radio I am using still has calls dropping with ics. It seems to happen at random times. 1 minute into a call, 3 minutes or not at all. Maybe it's because of the numbers I am ringing. I can't be sure they would not drop anyway. But it sounds like it is doing better than some other radios.
Also, what about having a build based off ics 4.0.4?
lost101 said:
Just to clarify, the radio I am using still has calls dropping with ics. It seems to happen at random times. 1 minute into a call, 3 minutes or not at all. Maybe it's because of the numbers I am ringing. I can't be sure they would not drop anyway. But it sounds like it is doing better than some other radios.
Also, what about having a build based off ics 4.0.4?
Click to expand...
Click to collapse
we have to fix this issues first and then talk about another version. anyhow, 4.0.4 is much laggier than this version. i saw a bit of logcat and some awkwardly errors regarding the "animations" but i was unable to save the log for future use.
I've asked Maclaw, a dev from Galaxy Gio/Fit/Mini who made CM9 possible on those device to look at our build and maybe with some luck he can see something that make this calls drop...
managed to past 3 minutes in call with your radio version lost101. cheers
L.E: I am unable to send PM's. so i cannot ask Maclaw for help.. too bad! I'll just have to post on their op!
Come on people.. test the build!

Hidden Powersaver Options: Use single CPU core

Hey all,
I wasn't able to find any conclusive details regarding this topic, maybe you guys can shed some light for me:
In the hidden HTC powersaver options for the HOX, we have the option to use "Reduce CPU speed"- which is set to 'on' by default and its function being explained as then only using a single cpu core and reducing the speed to 1Ghz.
Even though the explanation is rather straight forward I'd like to know exactly what this option does.
Does that mean the CPU is throttled for 'normal use' like browsing, using simple apps, (...) only and is being reverted to its full capacity when (eg) playing games? Or in other words, where exactly is the threshold here?
I find my HOX a lot smoother in response (ie scrolling, surfing) when de-activating this option but battery drain also seems to go way up.
Thanks guys.
Murdock80 said:
Hey all,
I wasn't able to find any conclusive details regarding this topic, maybe you guys can shed some light for me:
In the hidden HTC powersaver options for the HOX, we have the option to use "Reduce CPU speed"- which is set to 'on' by default and its function being explained as then only using a single cpu core and reducing the speed to 1Ghz.
Even though the explanation is rather straight forward I'd like to know exactly what this option does.
Does that mean the CPU is throttled for 'normal use' like browsing, using simple apps, (...) only and is being reverted to its full capacity when (eg) playing games? Or in other words, where exactly is the threshold here?
I find my HOX a lot smoother in response (ie scrolling, surfing) when de-activating this option but battery drain also seems to go way up.
Thanks guys.
Click to expand...
Click to collapse
When battery is below 30%, speed is capped to 1Ghz single core with UI at 30fps
kryptoner said:
When battery is below 30%, speed is capped to 1Ghz single core with UI at 30fps
Click to expand...
Click to collapse
Alright, did not realise those options only applied to the system when battery is below 30%.
Thanks for the quick reply mate!
Murdock80 said:
Hey all,
I wasn't able to find any conclusive details regarding this topic, maybe you guys can shed some light for me:
In the hidden HTC powersaver options for the HOX, we have the option to use "Reduce CPU speed"- which is set to 'on' by default and its function being explained as then only using a single cpu core and reducing the speed to 1Ghz.
Even though the explanation is rather straight forward I'd like to know exactly what this option does.
Does that mean the CPU is throttled for 'normal use' like browsing, using simple apps, (...) only and is being reverted to its full capacity when (eg) playing games? Or in other words, where exactly is the threshold here?
I find my HOX a lot smoother in response (ie scrolling, surfing) when de-activating this option but battery drain also seems to go way up.
Thanks guys.
Click to expand...
Click to collapse
where is this option in HOX?
Best regards,
Deependra
dtandukar said:
where is this option in HOX?
Best regards,
Deependra
Click to expand...
Click to collapse
Its hidden in the settings, you can access it through downloading Minimalistic Text in the play store then set up a temporary widget that leads to settings under activities and search for power saver settings. Then just tap on the widget and it should lead you directly there/
leking19 said:
Its hidden in the settings, you can access it through downloading Minimalistic Text in the play store then set up a temporary widget that leads to settings under activities and search for power saver settings. Then just tap on the widget and it should lead you directly there/
Click to expand...
Click to collapse
simpler way is to download an app called 'hidden settings' from play store
kryptoner said:
simpler way is to download an app called 'hidden settings' from play store
Click to expand...
Click to collapse
^^ thanks!
Are all of these options on this tab only effective on a battery lower than 30% because some of them say that the data conection is only on with the screen on..
And If it's only on a lower 30% battery I will leave them on otherwise I will just turn them of.

[Q] Lollipop, The Aggressive App Killer

Does this even need an explanation? Lollipop kills apps like it's his hobby.
Even with only a few light (on RAM) user apps running in the background you sometimes find yourself staring at your launcher home screen that, you could've sworn, was just showing a different app a second ago.
Or the times when, after multi-tasking a bit, your phone starts becoming painfully slow. Turns out that some apps are so stubborn that they go on strike (continuously restarting) when LP kills them.
I'm sure many have experienced this. And I have seen some devs address this issue here and there. I though it would be useful to gather the info into one thread, to ease our (or my?) frustration on this issue.
What I wanna know is, what causes it exactly (why didn't it happen on KK?), and is there a solution to this? Or at some way to calm LP down a bit with his killing of innocent apps.
Thanks.
Djalaal said:
Does this even need an explanation? Lollipop kills apps like it's his hobby.
Even with only a few light (on RAM) user apps running in the background you sometimes find yourself staring at your launcher home screen that, you could've sworn, was just showing a different app a second ago.
Or the times when, after multi-tasking a bit, your phone starts becoming painfully slow. Turns out that some apps are so stubborn that they go on strike (continuously restarting) when LP kills them.
I'm sure many have experienced this. And I have seen some devs address this issue here and there. I though it would be useful to gather the info into one thread, to ease our (or my?) frustration on this issue.
What I wanna know is, what causes it exactly (why didn't it happen on KK?), and is there a solution to this? Or at some way to calm LP down a bit with his killing of innocent apps.
Thanks.
Click to expand...
Click to collapse
Im running 1/8 FML with synapse injected R10 kernel on my toro and with ksm and laptop mode enabled in synapse, I haven't had a launcher redraw in days. I don't have anything whitelisted either. However, the trade-off I have at the moment is I cant seem to stream videos on my stock browser. Havent tried a different browser or anything. I just uncheck those two settings and reboot and all is well, but my phone certainly works much better now, and no redraws, with neph settings for LMK
Hope something helps someone!
Thanks
erk1725 said:
Im running 1/8 FML with synapse injected R10 kernel on my toro and with ksm and laptop mode enabled in synapse, I haven't had a launcher redraw in days. I don't have anything whitelisted either. However, the trade-off I have at the moment is I cant seem to stream videos on my stock browser. Havent tried a different browser or anything. I just uncheck those two settings and reboot and all is well, but my phone certainly works much better now, and no redraws, with neph settings for LMK
Hope something helps someone!
Thanks
Click to expand...
Click to collapse
Perhaps you can noobify that a bit, lol. I had to google almost everything you mentioned. As I understand it, this Synapse allows you to tweak the kernel? And this KSM settings can improve this RAM issue? Care to elaborate? And what is laptop mode?
I've read about adjusting the LMK values to calm LP down a little. Any idea though why this was so necessary in LP, but not in KK? Is stock LP 'naturally' more RAM hungry than KK?
Djalaal said:
Perhaps you can noobify that a bit, lol. I had to google almost everything you mentioned. As I understand it, this Synapse allows you to tweak the kernel? And this KSM settings can improve this RAM issue? Care to elaborate? And what is laptop mode?
I've read about adjusting the LMK values to calm LP down a little. Any idea though why this was so necessary in LP, but not in KK? Is stock LP 'naturally' more RAM hungry than KK?
Click to expand...
Click to collapse
I can try to elaborate little bit, as Ive been flashing things and researching xda a lot, but I am still noob in how/why things are the way they are. From what I gather lollipop just handles memory differently then kk did. I think that is some of the reason as to why the "recent apps" persist through reboots now. Remember, our device was not really supposed to run kk and certainly not meant to run lollipop. The developers here are without a doubt amazing in what they know and what they do for us users. A new kernel and driver was necessary to run lollipop on the aging gnex. Now, some of the issues we are experiencing is a google issue and will only seem to get fixed when they get around to it. I know my nexus 7 (old) has some memory issues and lag and redraws from time to time....not as much as I noticed with my gnex before the changes were made I stated in the above post. I recently helped my friend root and upgrade his oneplus one to lollipop and he has the same issues we all have, maybe not as bad, but they are noticeable
A lot of the questions you have, have been discussed recently in bsmitty83 kernel thread, since I asked them. There are links there as to what KSM and laptop mode are and what they do. KSM-kernel same page merging helps with RAM and I believe laptop mode helps to conserve power. A lot of these things are geared at devices with low ram like the aging gnex, but the developers have done a great job at making lollipop a daily driver. Most users I think use trickstermod from playstore to tune kernel settings, and that is ok, however, you must purchase the paid version to tweak low memory settings, which I did. However, synapse, also found on playstore can also be used to tweak kernel settings, but the kernel has to contain UCI support for the synapse app to work. Synapse has more settings available to tweak than trickster does, like KSM and laptop mode, which have helped me very much. The only kernel I'm aware of that has UCI support for synapse is bsmitty83 Full_Auto R10, because osmosis made it work
Hopefully this was rather accurate and helpful and not convoluted! ha.....im sure some more knowledgeable people will come and correct anything I said that may be incorrect, but in the meantime, read through the R10 kernel thread and see what you come up with
What ROM and kernel are you currently using?
Thank you
erk1725 said:
...
The only kernel I'm aware of that has UCI support for synapse is bsmitty83 Full_Auto R10, because osmosis made it work.
...
What ROM and kernel are you currently using?
Click to expand...
Click to collapse
I'm currently using AOSP rom (by freshgimmi) and the Full Auto R10 you mentioned. I'll try injecting the new ramdisk now and see how it goes.
I noticed this issue as well for the first several days . However once I installed the new bootanimation from arter97 the issue doesn't occur anymore. Not sure if it's related but all I did was mount /system as rw and copied into the new lollipop boot animation from here: http://forum.xda-developers.com/android/software/arm-arm64-android-5-0-lollipop-t3032247
Djalaal said:
Does this even need an explanation? Lollipop kills apps like it's his hobby.
Even with only a few light (on RAM) user apps running in the background you sometimes find yourself staring at your launcher home screen that, you could've sworn, was just showing a different app a second ago.
Or the times when, after multi-tasking a bit, your phone starts becoming painfully slow. Turns out that some apps are so stubborn that they go on strike (continuously restarting) when LP kills them.
I'm sure many have experienced this. And I have seen some devs address this issue here and there. I though it would be useful to gather the info into one thread, to ease our (or my?) frustration on this issue.
What I wanna know is, what causes it exactly (why didn't it happen on KK?), and is there a solution to this? Or at some way to calm LP down a bit with his killing of innocent apps.
Thanks.
Click to expand...
Click to collapse
SpideyTheMan said:
I noticed this issue as well for the first several days . However once I installed the new bootanimation from arter97 the issue doesn't occur anymore. Not sure if it's related but all I did was mount /system as rw and copied into the new lollipop boot animation from here: http://forum.xda-developers.com/android/software/arm-arm64-android-5-0-lollipop-t3032247
Click to expand...
Click to collapse
I know about this issue. It is a memory leak during boot. It is a good catch, though all you're changing is the bootanimation.zip. AFAIK, it should not affect your system's performance after boot, once your phone is up and running. My issue is a different thing entirely. I never got bootloops (that is, when not messing around with xposed).
Okay, you're right. As a test last night I switched from FML 5.0.2 to LiquidSmooth's LP ROM and I'm not seeing any aggressive app kills in LiquidSmooth.
Djalaal said:
I know about this issue. It is a memory leak during boot. It is a good catch, though all you're changing is the bootanimation.zip. AFAIK, it should not affect your system's performance after boot, once your phone is up and running. My issue is a different thing entirely. I never got bootloops (that is, when not messing around with xposed).
Click to expand...
Click to collapse
erk1725 said:
Im running 1/8 FML with synapse injected R10 kernel on my toro and with ksm and laptop mode enabled in synapse, I haven't had a launcher redraw in days. I don't have anything whitelisted either. However, the trade-off I have at the moment is I cant seem to stream videos on my stock browser. Havent tried a different browser or anything. I just uncheck those two settings and reboot and all is well, but my phone certainly works much better now, and no redraws, with neph settings for LMK
Hope something helps someone!
Thanks
Click to expand...
Click to collapse
I have got synapse up and running. I AM wondering though, what LMK settings are you using? Cause the neph settings I know of tell me to set empty app to 370, but synapse only allows max 320... If you're following different settings, could you link the post for me?
Djalaal said:
I have got synapse up and running. I AM wondering though, what LMK settings are you using? Cause the neph settings I know of tell me to set empty app to 370, but synapse only allows max 320... If you're following different settings, could you link the post for me?
Click to expand...
Click to collapse
Glad you got everything up and running.....Im using Neph's settings for LMK, and your correct the empty app only goes up to 320 in synapse. There was a post somewhere where Neph said he was still tweaking his LMK values and I believe he mentioned about lower empty app to 330 or something, so I just set it to 320 in synapse and call it a day

Increase LG G4 battery life by 30% must be rooted

*I no longer have this phone so these values and builds will not be updated if you would like to add new values for this phone or add tweaks to existing builds then feel free to post them on this thread.
*This requires root
I decided to make this thread to share with you guys a tweak that I found that really helped my battery life. I was never able to get more than 3hrs of screen on time on my phone or get decent standby times on lollipop like I did when I was on marshmallow but I may have found a solution. I stumbled on this thread: http://forum.xda-developers.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557 by soniCron give the guy a thanks while you're over there. This guide is for CPU settings to increase battery life and performance. I saw that it was for the Nexus 5x and because the g4 and 5x have the same CPU I decided to give it a shot. I never noticed much performance improvements but I did notice a big battery improvement like I said before. There are many different flavors of tweaks to try and I ended up going with GhostPepper and then tweaking it to my liking.
Here are my settings for the G4 based on GhostPepper
https://docs.google.com/spreadsheets/d/1Yn-qtExspkzINkhtjHBhQyrbtSdMLH9ls4booeqsfh4/edit?usp=sharing
* 8/14/16 If you used the settings from the beta build Turtle or modded GhostPepper check to make sure your settings are up to date. I just changed some target load numbers slightly and fixed an error with the values for above_hispeed_delay. I also fixed an error with a value for the modded GhostPepper settings.
*8/15/16 Slight changes to beta settings to increase smoothness and battery life slightly
*8/17/16 Small change to beta settings to increase smoothness more and changed development status of Turtle to stable beta meaning you can probably use it without worrying about battery drain or slow downs though it does need more testing to move it to daily use
After changing these values with some type of kernel tweaking app I used kernel adiutor, make sure all CPU boosting settings like touch boost or input interval are off or at 0
After applying these settings you should see noticeable improvements in battery life
If you find any better settings add them to the thread.
*I am not responsible if your phone dies, bootloops, bricks, or causes the world to explode.
Unfortunately, this requires root, so no-go on MM.
konradsa said:
Unfortunately, this requires root, so no-go on MM.
Click to expand...
Click to collapse
I meant to put that in the post updating it now.
I found simply changing my governor to interactive greatly increased my battery life. I am going to try this and see what I get. I'll post results.
trxrider31 said:
I found simply changing my governor to interactive greatly increased my battery life. I am going to try this and see what I get. I'll post results.
Click to expand...
Click to collapse
OK great this uses the interactive governor.
New Beta Settings
I have updated the main post with a link to a list of settings one of them is the one that was on there before and the other is one I am working on. The beta I just added seems fairly decent from my testing though this is my first time trying to make my own The small core settings are ones that I did and the Big core settings are slightly tweaked GhostPepper settings. This one seems smooth from my testing maybe not as smooth as the first one I added but it does seem to have a little better battery life when doing light gaming. If your adventurous go for it and report any issues and the battery life you are getting. I also turned all thermal settings off like Core control, VDD, and Temp throttle. It didn't have any affect on my temps if anything they went down a little maybe 1 or 2 degrees but did seem to help smoothness and making sure the governor settings acted right on both profiles.
*I am not responsible if your phone dies, bootloops, bricks, or causes the world to explode.
*If you used the settings from the beta build Turtle or modded GhostPepper check to make sure your settings are up to date. I just changed some target load numbers slightly and fixed an error with the values for above_hispeed_delay. I also fixed an error with a value for the modded GhostPepper settings.
Just wanted to post an update on the battery life I am getting with the beta settings. I managed to get almost 5hrs of screen on time with the Turtle settings beating my previous longest screen on time from the images in the first post. I managed to do this with even more demanding tasks. In the first post the battery times are with mainly web browsing this time I was mainly watching Netflix and YouTube for about 3hrs worth of my screen on time. My brightness was also 10% higher than the first time. I also did a standby test and managed to only drain 3% overnight and it said I would get 139 hrs of standby time which I think is insanely good.
Battery life test
I just ran the Geekbench 3 battery test and managed to get 5 hrs 45 min and a score of 3456 on the beta settings. I managed to beat the G4 battery time by 50min and this was with 30% brightness and Bluetooth, WiFi, and Cell on no airplane mode. I also managed to beat the G3 and almost got the same battery time as the OnePlus One.
*Comparisons where made from the battery times here:https://browser.primatelabs.com/battery-benchmarks
Shorty88jr said:
I just ran the Geekbench 3 battery test and managed to get 5 hrs 45 min and a score of 3456 on the beta settings. I managed to beat the G4 battery time by 50min and this was with 30% brightness and Bluetooth, WiFi, and Cell on no airplane mode. I also managed to beat the G3 and almost got the same battery time as the OnePlus One.
*Comparisons where made from the battery times here:https://browser.primatelabs.com/battery-benchmarks
Click to expand...
Click to collapse
Hi, dude. I'm very interested in tweaking my G4 to get better battery life as at the moment I need to charge it twice a day. I just have a noob question, could you please tell me how you disabled touchboost using Kernel Adiutor?
IvanN8458 said:
Hi, dude. I'm very interested in tweaking my G4 to get better battery life as at the moment I need to charge it twice a day. I just have a noob question, could you please tell me how you disabled touchboost using Kernel Adiutor?
Click to expand...
Click to collapse
Go to the CPU section then scroll all the way down till you get to a section that says CPU Boost. Set the Interval to 0 Sync Threshold disabled and Input Interval to 0. The input boost frequency will never disable for me but with the above settings it shouldn't matter because it will never run anyway.
Shorty88jr said:
Go to the CPU section then scroll all the way down till you get to a section that says CPU Boost. Set the Interval to 0 Sync Threshold disabled and Input Interval to 0. The input boost frequency will never disable for me but with the above settings it shouldn't matter because it will never run anyway.
Click to expand...
Click to collapse
Ok. I really thank you. Just entered the values, I will give it a try and report back on how it goes. Those numbers you got look really good.
IvanN8458 said:
Ok. I really thank you. Just entered the values, I will give it a try and report back on how it goes. Those numbers you got look really good.
Click to expand...
Click to collapse
I would try the GhostPepper settings first. The beta settings seem to give me better battery but they are still a work in progress and not as smooth as the other settings but you can use them if you want any feedback on those settings would be appreciated. I was also surprised how much those settings did for my battery life.
I decided to do a benchmark on how much of a difference there was between stock and the custom settings and to show I wasn't making stuff up by saying that I used these settings and magically got almost double battery life With the stock settings I got just a hair over 3hrs vs almost 6hrs on the tweaked CPU settings. You can see the results from stock in the IMG. The results for the tweaked settings are near the bottom of the first page.
IvanN8458 said:
Ok. I really thank you. Just entered the values, I will give it a try and report back on how it goes. Those numbers you got look really good.
Click to expand...
Click to collapse
How is your battery life after trying the settings out for a few days?
hey man i just tried yours and let we see the performance in next day. anyway the tweak that youve done is only on the CPU? no GPU or whatsoever? what if i implemented from others, let say other G4 users that tweak the GPU and i combined with your CPU tweak. any problem?
Hey man, how could I get the tweak for this setting? Thank you
I didn't think you could tweak the kernel without an unlocked bootloader for the Verizon G4 (vs98613b)?
elrosid said:
hey man i just tried yours and let we see the performance in next day. anyway the tweak that youve done is only on the CPU? no GPU or whatsoever? what if i implemented from others, let say other G4 users that tweak the GPU and i combined with your CPU tweak. any problem?
Click to expand...
Click to collapse
Yes just CPU and yes you can use GPU tweaked combined with the CPU tweaks just be aware it may affect stability.
glees.shin said:
Hey man, how could I get the tweak for this setting? Thank you
Click to expand...
Click to collapse
You need to be rooted then use the app kernel adiutor and change the values in the app.

Categories

Resources