Stabilizing Shield Tablet Smoothness - Shield Tablet General

I may have discovered a way to make Shield Tablet very smooth and stable very consistently. I don't have the technical backing for it - im just a regular user doing trial and error. I hope it helps the others who want to keep this awesome Device live up to its potential...longer.
So here's my Device setup:
- Shield Tablet US-LTE
- using stock 5.4 debloated for K1 by Sh0X31 for K1 (yes, it works well with my us-lte as long as you don't care about system updates and stylus app)
- rooted via magisk
- Xposed framework
- Nova launcher
Using the ROM as it is significantly improved the performance of the device compared to stock 5.4 for US or RoW LTE. But the sluggish experience Everytime the device wakes up from deep slumber, or connects to WIFI for the first time, is still there. Using Antutu system monitor on the notification panel, I could correlate the sluggish performance with the CPU hitting above 94%. That happens 99% of the time so I suspected that most of the persistent sluggish performance is a CPU issue rather than a RAM issue. So I looked for a way to pinpoint which apps are hogging CPU operations, and hopefully discover what triggers it.
I tried enabling CPU usage in Developer's Options but alas, it could only show com.android.systemui so nothing much can be done from there. I understand this is a bug in Android 7 and it was supposed to be fixed on 7.1 but we all know Shield Tablet is stuck at 7.0 for now.
Next I tried checking out Running Services, still in Developer's Option. So I saw a lot of apps there that seem to be hogging CPU - Malwarebytes, ShareIt, Antutu, Google Services, etc. I uninstalled Malwarebytes and ShareIt but the CPU was still operating at 94% and it takes the device a few seconds to respond to my inputs.
Finally, I noticed these Nvidia-specific processes - these few KBs of operations particularly the ones for OTA upgrade and Media as well as Nvidia -customize (something like that). I forced them to stop and voila! My device CPU suddenly calmed somewhere between 30-50% and as expected, it's operating smoothly and snappily.
When I rebooted, those Nvidia processes naturally became active. I suspect that it's probably part of the device startup process. And as expected as well, whenever they're present the device is expected to go sluggish at some point before its CPU can calm down again.
So now, it's been 2 days and my CPU operates between 18-54% on normal operation, sometimes hitting 80% when I transfer files or play games. But it has NEVER gone sluggish, not even once (waking from deep slumber, connecting to WIFI, etc). I'm very satisfied and back to enjoying my Shield Tablet.
DISCLAIMER: I don't have proof that this is indeed the solution. I can't explain it technically as well. Hoping someone with more knowledge on system process can enlighten us. One thing I'm convinced though is that the sluggishness we all experience comes from NVIDIA-specific processes. I make this inference from my observation that having AOSP ROMs make the device smooth consistently. But I don't like any other custom ROMs coz I need the controller support for the tablet. I hope I make sense and hopefully this could help some Shield Tablet Fans. Sorry for the long write up.

Thanks for the post! If you want to try and dig deeper into this, consider using Tasker, I believe it can be used to make those force stops automatic on start up. Good luck!

fpozar said:
Thanks for the post! If you want to try and dig deeper into this, consider using Tasker, I believe it can be used to make those force stops automatic on start up. Good luck!
Click to expand...
Click to collapse
Thanks for the TIP. I've checked it out in Google Play, the paid version listed what it can do. Need to study if it can disable those mentioned process at startup.
I really wished Nvidia would finally make it's firmware documentation open to the public.

Related

Apps preventing phone from sleeping

So I am really angry at Android now, with all the issues and difficulties it is getting me through. Although visually and practically I still prefer it to iOS, there are some really annoying issues with it, that concern battery life/stability.
So there are apps that prevent your phone from sleeping, either leaves speaker on, or other BS. I have to close them every time I stop using the phone, to avoid a really stupid issue I had today. I recharged the phone 100% in the morning, later that day I went to check e-mails, sent a couple sms etc. and then I played this game called Pou, I left it running, the screen was off, but I didn't close it. Ended up with empty battery in 3 Hours.
This is ****ing ridiculous, what kind of smartphone is that, if it can't understand that I'm not playing games when the screen is off.
Is there at least a faster way to close all open apps, other than swiping from left to right 20 times every time you stop using the phone?!?!
What apps are causing the issue?
You're blaming the OS for the behavior of an app made by a bad developer. The vast majority of applications will not do that. iOS avoids that by limiting the cases in which an app is allowed to run in the background. You can argue that it's a superior solution for the end user, but it limits the ability for an app to actually do anything in the background.
Many custom ROMs build in a "kill all" button in the recent apps view. It's really not necessary though. You've identified an application that has this issue, so just make sure to kill that one app when you're done with it. Again, most applications won't have that problem.
raptir said:
You're blaming the OS for the behavior of an app made by a bad developer. The vast majority of applications will not do that. iOS avoids that by limiting the cases in which an app is allowed to run in the background. You can argue that it's a superior solution for the end user, but it limits the ability for an app to actually do anything in the background.
Many custom ROMs build in a "kill all" button in the recent apps view. It's really not necessary though. You've identified an application that has this issue, so just make sure to kill that one app when you're done with it. Again, most applications won't have that problem.
Click to expand...
Click to collapse
+1. I had just read a lot of silly things and ur comment relaxed me a bit. Blame a PHONE because some apps keep the phone awake... this is crazy, people should have a bit of experience before posting in this forum with so much arrogance.
This might help...
https://www.youtube.com/watch?v=JmvCpR45LKA
Sent from my Nexus 4 using Tapatalk 4
badboy47 said:
This might help...
https://www.youtube.com/watch?v=JmvCpR45LKA
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
That helped me so many times till I understood it....
The place to go, to get a definitive understanding of wakelocks is here:
http://forum.xda-developers.com/showthread.php?t=1179809&highlight=betterbatterystats
This is the thread for BetterBatteryStats, which is really all you need to troubleshoot why your device doesn't sleep enough.
Also, look at Greenify, which hibernates the apps you tell it to, a pretty unique trick.
http://forum.xda-developers.com/showthread.php?t=2155737&highlight=greenify
And as a last suggestion (frowned on by the purists at the betterbatterystats thread, but I find it really useful) use DS Battery Saver Pro, which will switch off wifi and reconnect every 10 minutes, amongst other tricks.
http://forum.xda-developers.com/showthread.php?t=2030696&highlight=ds+battery+saver
As an aside, I hear that iOS7 has impressed its user base with all sorts of hidden options which stop the phone resting, so maybe it's just a question of complexity . The good news is that, especially with the knowledge that is shared in betterbatterystats, it won't take you long to troubleshoot what your problems are, and the other 2 apps which will resolve your issues are pretty straightforward to use.
There are free versions I recall in the first post of these threads, I use the Pro version of DS Battery Saver since I prefer to configure my own profile.
Thank you everyone for replies.
I have not rooted the phone, so Greenify is no option for me, not really up to going through all rooting and ROM installing process in order to maybe succeed in solving the issue.
Specifically talking apps that leave speaker ON (It keeps hissing) and keeps phone awake, if you do not close them are following : Asphalt 8, Need For Speed Most Wanted.
The thing is I am not sure who to blame really, yes there are many apps that work normally and don't cause these issues, but then again why is the keeping the phone awake allowed in the first place, downloaded apps that would need to work that way should need special permissions. I understand there might be apps that want to keep ON/playing something after you have quit them, but if that's the case, then user should be able to deny certain permissions to prevent this from happening. The OS is complex enough, why not give even more options then or just this one at least.
Not sure how other people manage with this problem, I can't find anyone mentioning anything about Asphalt 8 and Android having this problem, people just deal with that they have battery draining to 0% in 5 hours? I know many people with smartphones 75% barely ever closes any programs from multitasker, most of them are iPhone users though. But how do they manage to live with their phone if they have this. I did manage to find people complaining about Pou draining battery, solution was to just uninstall the app, ridiculous.
I can't be the only one having these issues.
Well, the Android "style guide" has the back button as the exit function, so instead of leaving it running in the background, you may want to try backing all the way out.
It's been about a year since I played Asphalt (6 I think it was), but I vaguely remember it had an exit button which explicitly closed down the app.
Could be worth trying that. All the same, install the free xda edition of BetterBatteryStats (in the first post I think) and then look at the partial wakelocks, you'll quickly see what is stopping the phone sleeping.
paul c said:
Well, the Android "style guide" has the back button as the exit function, so instead of leaving it running in the background, you may want to try backing all the way out.
It's been about a year since I played Asphalt (6 I think it was), but I vaguely remember it had an exit button which explicitly closed down the app.
Could be worth trying that. All the same, install the free xda edition of BetterBatteryStats (in the first post I think) and then look at the partial wakelocks, you'll quickly see what is stopping the phone sleeping.
Click to expand...
Click to collapse
It really is like that, this fixes a small part of this issue! If you exit the game using the back button, the application closes the resource, but leaves it available at the multi task panel.
But, when I had iPhone, I could play the game, lock the screen, go home, for example, and continue where I left off, no battery drainage or anything. Only when you fill up the RAM memory it stops least recent processes.
Often it is very annoying to tap multiple times the back button (Sometimes even on screen you have to press quit multiple times (Quit current game & quit menu)) until you get to exit the application. And you can't continue where you left off, if you do that.
What the most bothers me about this is if I suddenly have something urgent and I don't turn off the application, my phone could drain a heavy amount of battery percentage till I remember to close them or check something on the phone/continue where I left off.
raptir said:
You're blaming the OS for the behavior of an app made by a bad developer. The vast majority of applications will not do that. iOS avoids that by limiting the cases in which an app is allowed to run in the background. You can argue that it's a superior solution for the end user, but it limits the ability for an app to actually do anything in the background.
Many custom ROMs build in a "kill all" button in the recent apps view. It's really not necessary though. You've identified an application that has this issue, so just make sure to kill that one app when you're done with it. Again, most applications won't have that problem.
Click to expand...
Click to collapse
luiseteyo said:
+1. I had just read a lot of silly things and ur comment relaxed me a bit. Blame a PHONE because some apps keep the phone awake... this is crazy, people should have a bit of experience before posting in this forum with so much arrogance.
Click to expand...
Click to collapse
Guys, this isn't the only issue with the OS. I had bad battery drainage from Wi-Fi & mobile network location setting also. I have various Google app problems, also with drainage, freezing and lag with Google Chrome, Google+ keeping phone awake. I would consider that as a property of Android OS, because the software was already installed when I got the phone. Chrome is the default and only internet browser in the beginning and it should work properly.
So I am not sure who to blame, maybe the developers can't find a workaround from the problem, because the OS is not behaving correctly, and I don't think that it's inappropriate to blame also the OS, since even the default apps and settings have problems same as some apps do.
I have used Chrome daily since it was first released for Android and have never had any real issues with it. Occasionally it will give me a problem where I need to restart the app but that's probably about once a week. Google+ should only keep the phone awake if you have it set to upload your photos automatically, and even then there's a setting to force it to only do the uploads when on the charger.
I think the key issue is that you're used to an OS that does not involve any thought from the user. I'm not saying that's a bad thing, but it's a distinctly different approach from Android. Apps are allowed to run when the phone is asleep because that can provide additional functionality. I'm sure you wouldn't complain if Pandora was playing music and thus running when the phone was asleep. And that would hit your battery hard. iOS only allows applications to run under very specific conditions, thus limiting what they can do but making sure you don't end up with any "runaway" applications. Android puts the responsibility on the developer to make their app handle battery life well and on the user to make sure they're using decent applications.
Things like the mobile network and WiFi location are used by Google Now to provide location-based data. If you would rather have the improved battery life, turn Google Now off. Some of us would rather have the functionality, but you have the option to disable it.
Keep in mind also that the Nexus 4 just doesn't get as good battery life as the iPhone 4 or newer.
raptir said:
I have used Chrome daily since it was first released for Android and have never had any real issues with it. Occasionally it will give me a problem where I need to restart the app but that's probably about once a week. Google+ should only keep the phone awake if you have it set to upload your photos automatically, and even then there's a setting to force it to only do the uploads when on the charger.
I think the key issue is that you're used to an OS that does not involve any thought from the user. I'm not saying that's a bad thing, but it's a distinctly different approach from Android. Apps are allowed to run when the phone is asleep because that can provide additional functionality. I'm sure you wouldn't complain if Pandora was playing music and thus running when the phone was asleep. And that would hit your battery hard. iOS only allows applications to run under very specific conditions, thus limiting what they can do but making sure you don't end up with any "runaway" applications. Android puts the responsibility on the developer to make their app handle battery life well and on the user to make sure they're using decent applications.
Things like the mobile network and WiFi location are used by Google Now to provide location-based data. If you would rather have the improved battery life, turn Google Now off. Some of us would rather have the functionality, but you have the option to disable it.
Keep in mind also that the Nexus 4 just doesn't get as good battery life as the iPhone 4 or newer.
Click to expand...
Click to collapse
I have never had a OS that I am fully satisfied with, that is normal, but I am always very aware for issues, always scanning for issues, I really hate that about myself, I am a perfectionist, I will not calm down until I get everything just the way I think it should be... So that makes up very difficult relations with any software I use, too bad for me.
Android apps do have more functionality, more freedom than iOS, and I very much appreciate that. BUT if that functionality results in 90% to 0% in 3 hours, when you forget to turn off 1 app after using it... please, I feel like it's a duty to take care of my smartphone, close app after you are done or the phone will die, and you will be left without a phone for the entire day.
I don't like that instability when you can make 1 thing wrong and it all goes to pieces, not when there are people using other phones with almost the same functionality and no problems like that.
No matter who I have to blame this on, I have this issue and it is because of Android & because of the developer of the app.
It's very sad, I really want Android to be more stable with this
Yukicore said:
It's very sad, I really want Android to be more stable with this
Click to expand...
Click to collapse
There are hundred millions of Android users, we don't all gets wakelocks. I don't have this problem and my phone is stable. Once you are using Android, you are no longer special and pampered in a walled garden like iOS users.
If you have battery drain due to Google services, see here: http://forum.xda-developers.com/showthread.php?t=2385843
I suggest doing a factory reset and not install crap apps like anything by Gameloft, just play them on Apple devices. If you gets a wakelock, make a shortcut on your desktop to Apps and check on what apps are running in the background, one of the app in the list could be the issue.
I know you don't want to root, but I suggest do it anyway and install Greenify, hibernate any apps you don't want autostarting when you boot up the phone. Watch out for apps that both runs in the background and ask for too many permissions. I know there is an app that limit the maximum app that can run in the background, but I don't know the name, you can set it in the phone's Developer mode, but it doesn't persist on reboot.
Maybe the difference is like moving from an automatic car (iOS) to a manual (Android).
At least before "multitasking" arrived to iOS, an app no longer in the foreground was effectively exited. Android's memory management is much more complex than that, and apps are kept in memory until a new app requires the RAM being held by a previous one.
There is a clear advantage to this since apps "reopen" instantly, but if you're not careful there could be continued drain from apps still open but not in the foreground.
Incidentally - I don't follow Apple closely - iOS7 has been slated by users for the scenario you describe, I believe!
Google's apps offer all sorts of wonderful location-based features, for which the phone inevitably needs to know its location. Coarse location (via triangulation of radio towers) is not a problem, but "fine" requires the GPS to be used, and that does drain the battery.
So you need to consider whether you want all that location based stuff from Google.
Wifi is also a big drain, and that is why I get my phone to switch on every 10 minutes via DS Battery Saver. The upside is that the phone sleeps regularly, but the downside is that Whatsapp messages etc don't arrive immediately.
As you can see, Android offers you the ability to choose to be uber-connected/always on, or to have a better battery consumption. Since each individual is different, you can choose what is important to you.
I just had that drain second time happening. I don't remember how I left that stupid game, but I ended up with 2% battery and phone turned off.
I think I exited using the back button. What the hell.
Pou is known to kill your battery.
http://forums.androidcentral.com/google-nexus-4/253092-media-server-draining-my-battery.html
http://answers.yahoo.com/question/index?qid=20130606043957AA9Tq7N
Since it's a virtual pet game the developer probably did not code it to close when you hit the Back button, so you need to kill it through Recent Apps. Or just uninstall it.
raptir said:
Pou is known to kill your battery.
http://forums.androidcentral.com/google-nexus-4/253092-media-server-draining-my-battery.html
http://answers.yahoo.com/question/index?qid=20130606043957AA9Tq7N
Since it's a virtual pet game the developer probably did not code it to close when you hit the Back button, so you need to kill it through Recent Apps. Or just uninstall it.
Click to expand...
Click to collapse
This is bad... Now it is developers fault, but why on earth should Android OS allow this kind of behavior on any app... This is not a simple background service, this was running fully when the screen was off. 2-4 hours is the screen on time averagely I get, 3.5 hours without screen on, it's damn fast draining.
Yukicore said:
This is bad... Now it is developers fault, but why on earth should Android OS allow this kind of behavior on any app... This is not a simple background service, this was running fully when the screen was off. 2-4 hours is the screen on time averagely I get, 3.5 hours without screen on, it's damn fast draining.
Click to expand...
Click to collapse
We've already been through this. You're fine with your phone's music player running in the background when the screen is off, right? It's the exact same behavior, just that Pou uses more resources and has no reason to be running. Apple puts heavy restrictions on what an app can do in the background (playing music being one of the only exceptions). Google leaves it up to the developer and user to manage it.
If you think that is a problem with the OS, I really recommend you go back to the iPhone. Not being mean or anything, but you clearly either do not understand the differences in philosophy between the two operating systems or you understand it and prefer the iOS way.
raptir said:
We've already been through this. You're fine with your phone's music player running in the background when the screen is off, right? It's the exact same behavior, just that Pou uses more resources and has no reason to be running. Apple puts heavy restrictions on what an app can do in the background (playing music being one of the only exceptions). Google leaves it up to the developer and user to manage it.
If you think that is a problem with the OS, I really recommend you go back to the iPhone. Not being mean or anything, but you clearly either do not understand the differences in philosophy between the two operating systems or you understand it and prefer the iOS way.
Click to expand...
Click to collapse
You said that user and developer can manage resources of apps, how can a user manage them? Can I fix this specific problem myself somehow?

I9505 lollipop laggy

I have an I9505 running lollipop and struggling to address intermittent lag.
Broadly speaking the phone starts off working well, snappy.. but after a while can start to lag. By this I mean a press on the home button may result in a 20s+ delay for the task manager to come up. Switching a task may be slow, the keyboard may take 10-20s to appear, the screen may be mostly blank for a while. It doesn't crash, and does "come back" but it's nearly unusable. Usually once switched to a task and settled down scrolling is ok. then it may work just fine, snappy for a while
I don't see oddly high figures in the various stats I can see - cpu time isn't excessive. memory is harder to interpret and at times I do see kswapd busy just after a wakeup.. so my suspicion is it's a memory leak but one I can't prove
I've tried alternative kernels - hulk, imperium, and they don't appear to help matters at all.
The lollipop build was clean & Current firmware is I9505XXUHOD7, BTU
I am rooted and have progressively disabled various packages I don't use in an effort to lighten the environment
I've disabled animations (a cause of memory leaks in 5.0.1, though supposedly not affecting samsung touchwiz)
I am a software engineer and very familar with better battery stats, gsam, even a quick peruse through dumps via adb yet still haven't got to the bottom of my issue. I'm also very aware there's little in the way of solid facts to help debug a problem in this posting......
The next step is going to be a strip back - clean install, slow addition of apps. In the meantime can anyone identify any issues they've seen with any particular apps?
planetf1 said:
I have an I9505 running lollipop and struggling to address intermittent lag.
Broadly speaking the phone starts off working well, snappy.. but after a while can start to lag. By this I mean a press on the home button may result in a 20s+ delay for the task manager to come up. Switching a task may be slow, the keyboard may take 10-20s to appear, the screen may be mostly blank for a while. It doesn't crash, and does "come back" but it's nearly unusable. Usually once switched to a task and settled down scrolling is ok. then it may work just fine, snappy for a while
I don't see oddly high figures in the various stats I can see - cpu time isn't excessive. memory is harder to interpret and at times I do see kswapd busy just after a wakeup.. so my suspicion is it's a memory leak but one I can't prove
I've tried alternative kernels - hulk, imperium, and they don't appear to help matters at all.
The lollipop build was clean & Current firmware is I9505XXUHOD7, BTU
I am rooted and have progressively disabled various packages I don't use in an effort to lighten the environment
I've disabled animations (a cause of memory leaks in 5.0.1, though supposedly not affecting samsung touchwiz)
I am a software engineer and very familar with better battery stats, gsam, even a quick peruse through dumps via adb yet still haven't got to the bottom of my issue. I'm also very aware there's little in the way of solid facts to help debug a problem in this posting......
The next step is going to be a strip back - clean install, slow addition of apps. In the meantime can anyone identify any issues they've seen with any particular apps?
Click to expand...
Click to collapse
I should add that I did previously use CM12 and that left a little laggy too, though not tried CM12.1 . The two factors holding me back - a) better/reliable camera in TW b) Beep'n'go - love the app. works everywhere unlike every other loyalty card app I've tried (uses proximity sensor pulsing, Samsung TW specific)
planetf1 said:
I should add that I did previously use CM12 and that left a little laggy too, though not tried CM12.1 . The two factors holding me back - a) better/reliable camera in TW b) Beep'n'go - love the app. works everywhere unlike every other loyalty card app I've tried (uses proximity sensor pulsing, Samsung TW specific)
Click to expand...
Click to collapse
Hi,
try to disable swap devices, if there is any. If I know well, stock Lollipop ROM uses compressed swap devices in memory, like in stock KitKat ROM (zram).
In a terminal/shell:
- List currently used swap devices:
Code:
cat /proc/swaps
- Switch to root:
Code:
su
- Disable swap devices:
Code:
swapoff /dev/swapdevice
or if you have Busybox installed:
Code:
busybox swapoff /dev/swapdevice
Where /dev/swapdevice is the swap device/partition, which you want to disable.
It's the best to do this in some kind of init.d scripts before the system starts.
I am on still KitKat+rooted, but this should work on Lollipop, too.
Good luck!
planetf1 said:
The next step is going to be a strip back - clean install, slow addition of apps. In the meantime can anyone identify any issues they've seen with any particular apps?
Click to expand...
Click to collapse
I think this is the best thing to do. I suffered a weird wifi issue that no else had. A fresh/clean install of the same lollipop ROM and kernel fixed it. Haven't noticed any apps causing lag on lollipop.

G2 D800 Lagging, running absurdly slow?

Hi, so I've had my G2 D800 model for a while (about a year or two), and for the most part, it's been an excellent phone despite being 3 years old now. Never had any slowdown problems, and it's always performed well in games and in general.
But just recently, about a week ago, it just started lagging out and being very, very slow.
For example, if I'm watching a YT video through the app, if I rotate the screen, it takes maybe 5-8 seconds to actually rotate. Also, in a lot of circumstances where the keyboard has to pop up, it just freezes the app until the keyboard pops up maybe 10 seconds later.
It's also just laggier in general in most apps, scrolling through FB or Twitter freezes nearly every second when I'm scrolling. It's generally unresponsive and sometimes just freezes outright. It also acts this way on the homescreen, and in most everything else.
The most annoying part, however, is that sometimes the devices just doesn't turn on for sometimes up to 15 seconds after pushing the power button (and it usually just refuses to turn on when using my knock code).
The odd part, however, is that once it's actually in something like a game, it performs perfectly fine.
I've played a number of Cardboard games, as well as games like Nova 3, and it performs perfectly.
I've also ran multiple benchmarks (Geekbench, 3DMark, etc), and it scores around where it should.
Info about the device:
LG G2 D800
Stock Lollipop 5.0.2
Software Ver. D80030f
Kernel Ver. 3.4.0
Rooted
TWRP Recovery installed
XPosed Lollipop installed
G3 Tweaks installed, a number of tweaks applied
Everything else is stock (homescreen, etc)
What I've tried/checked:
Checked memory usage during "lag sessions", rarely dips below 300mb free
Changing minfree values through Rom Toolbox (tried every preset, as well as setting everything to the max to free as much as possible)
Rebooting (affects nothing)
Checked CPU speed with Rom Toolbox (is at max, and does achieve the max speed of 2265 MHz. Setting it to performance mode/setting the min speed to be 2265 MHz has no effect, but reduces battery time)
Changed default cache sizr (tried every preset from 128kb to 4096kb. With multiple benchmarks, the optimal value for r/w bounced between 512kb and 4096kb, currently on 4096)
Things I have not tried (that I am aware would possibly have an affect):
Changing anything in the kernel tweaks/build.prop
Completely wiping, reformatting, and reinstalling (I really would rather avoid this if possible, as it would take a while to get everything back to what it is now, and it was a pain to upgrade to Lollipop in the first place)
I am unaware of anything else I could try to fix it, which is why I'm here
So, does anyone know of any other solutions or things to try? This has made my phone very unreliable, even for phone calls and messages, which is a problem.
Thank you for your time and help!
Jtpetch said:
Hi, so I've had my G2 D800 model for a while (about a year or two), and for the most part, it's been an excellent phone despite being 3 years old now. Never had any slowdown problems, and it's always performed well in games and in general.
Click to expand...
Click to collapse
Hi,
First thing i need you to try out is this custom kernel : http://forum.xda-developers.com/lg-g2/development/lp-5-0-2-kernel-3-4-107-dorimanx-1-0-lg-t3102512
Then install greenify, and hibernate all the unnecessary apps.
This should solve the issue.
iubjaved said:
Hi,
First thing i need you to try out is this custom kernel : http://forum.xda-developers.com/lg-g2/development/lp-5-0-2-kernel-3-4-107-dorimanx-1-0-lg-t3102512
Then install greenify, and hibernate all the unnecessary apps.
This should solve the issue.
Click to expand...
Click to collapse
Thanks for the quick reply!
I'll try out greenify, though there aren't many unnecessary apps running (i uninstalled all the bloatware first thing, when I rooted).
And about the custom kernel, it's something I've never tried, so I have a couple questions.
Will it wipe my device, or break TWRP, root, or Xposed? (Sorry, didn't see the answer on that forum)
Will a TWRP backup I make be able to fully restore my device to it's current condition?
Is everything that is supported on my device be supported with that kernel? (Apps, etc. Don't know a whole lot about how kernels work, so I don't know)
Thank you!
Jtpetch said:
Thanks for the quick reply!
I'll try out greenify, though there aren't many unnecessary apps running (i uninstalled all the bloatware first thing, when I rooted).
And about the custom kernel, it's something I've never tried, so I have a couple questions.
Will it wipe my device, or break TWRP, root, or Xposed? (Sorry, didn't see the answer on that forum)
Will a TWRP backup I make be able to fully restore my device to it's current condition?
Is everything that is supported on my device be supported with that kernel? (Apps, etc. Don't know a whole lot about how kernels work, so I don't know)
Thank you!
Click to expand...
Click to collapse
Hi,
Even you uninstalled bloatware, the apps you use daily could be running in background and taking all those rams. So whenever you play a game or dont use a certain app, just go to greenify and hibernate. Since you have xposed installed, you can do more than that such as u can stop sync , etc.
About the kernel, it has a ram management settings and cron task.
Ram management dont need to be altered. It has some preset profile so if you seek performance, just choose performance or if u need battery , select battery profile etc.
Cron task is useful because it will do alot of things automatically. For example, it will release ram at certain amount of time from the apps , it will restart google play service since that could be an issue , etc.
All you need to do is take a nandroid backup just to be safe. Then download Dorimanx Ota from playstore and it will detect ur device and show u which version of kernel is available. Then download that, go to recovery, flash it, and you will see three app installed : Synapse -- will give you all the details of ur setup including cpu speed, temp etc for monitoring purposes
Dorimanx settings - this is the main settings of the kernel. You will see a P icon on top, tap it and choose your desired profile.
Color management : It is as the title says, just leave it be.
Then use your device, check your ram and report back. Hopefully it will resolve your issue.
Wow. Dorimanx did a lot more than I was expecting.
Downloaded the app, downloaded the kernel, flashed it no problem, went through and checked out synapse.
Went into the Dorimanx settings, and set it to the "Performance" profile.
Immediate improvement.
The whole phone seems a lot more snappy, and I switched back and forth between a 1080p60 YT video, facebook, and twitter with absolutely no problem.
Free memory when idle (no apps open) stays around 1gb; it used to be about 500mb before.
Tested a few games for the heck of it, and it actually seems to have improved game performance somehow. (It seems to have overclocked my CPU to 2.5ghz, though, so that makes sense.)
Temps stayed at around 58-60c while running a few Cardboard apps, so it seems fine.
Thanks for the help iubjaved! This has fixed my issue and then some! Ah, the wonders of the Android dev community.
Jtpetch said:
Wow. Dorimanx did a lot more than I was expecting.
Downloaded the app, downloaded the kernel, flashed it no problem, went through and checked out synapse.
Went into the Dorimanx settings, and set it to the "Performance" profile.
Immediate improvement.
The whole phone seems a lot more snappy, and I switched back and forth between a 1080p60 YT video, facebook, and twitter with absolutely no problem.
Free memory when idle (no apps open) stays around 1gb; it used to be about 500mb before.
Tested a few games for the heck of it, and it actually seems to have improved game performance somehow. (It seems to have overclocked my CPU to 2.5ghz, though, so that makes sense.)
Temps stayed at around 58-60c while running a few Cardboard apps, so it seems fine.
Thanks for the help iubjaved! This has fixed my issue and then some! Ah, the wonders of the Android dev community.
Click to expand...
Click to collapse
No worries, happy to help. I gave you advice based upon my experience using all those .
Feel free to post in XDA if you need any sort of help, you will find many that will give you insights and stuff to solve your issue.
GL :good:

Android 10 stable UI lag

Hi,
I've noticed a UI lag when switching between apps or transitioning from an open app to home screen. This didn't happen in the Android 10 beta rom. Anybody have the same issue? I clean flashed the stable android 10.
I can confirm this issue in the stable release. But I would like to add that this lag was already in the beta release and is in my testing not app specific. I would clear the cache and make a reboot.
Go into developer options and disable the three animation types. Everything runs MUCH faster with them off.
Floridaplur said:
Go into developer options and disable the three animation types. Everything runs MUCH faster with them off.
Click to expand...
Click to collapse
I have, and while it does suppress animations, it actually feels less polished. And anyway, it does not resolve the UI lag which is really visible when using th app switcher. It's dropping below like 10fps. As if some gfx acceleration was disabled or the phone was completely overwhelmed
Anyone found a fix? I experience the lag every once in a while, though it's prevalent enough to be annoying.
I am having this literally every time i use the alt-tab like feature. Oneplus managed to **** up the one thing (butter smooth) Google has been bragging about for several versions ???
A simple fix would be toh format device once, as I have clean flashed and I don't face any lags
Dissable ram boost in system settings
fress said:
Dissable ram boost in system settings
Click to expand...
Click to collapse
I'm having random lag too. I'l try to disable RAM boost and is if it helps.
fress said:
Dissable ram boost in system settings
Click to expand...
Click to collapse
doesn't change a thing. (and am wondering it would. This feature is supposed to make smoothness (even) better, not worse)
Turn off auto brightness .. maybe it can help
I have been reading up on the A10 stable release posts and I saw a lot of people mentioning the issue that you are talking about here.
Many of them suggested a full format. So basically setting up your device as a new device.
I cannot confirm if this works for everyone but a lot of people are saying that after a fresh install they are not facing any issues.
All of the points mentioned above are just what I read from xda and op forum posts. I personally have not made the switch yet and probably wont be doing so soon.
Hey guys. I encountered the same problem on my Nokia 9. Not quite sure why this error doesn't get noticed by more people.
I think I fixed it for me though.
In my case it seemed that the OLED always on screen (which shows notifications and the time) was the problem in my case. It would always show that there are notifications even if there weren't any and that started adding up. So while the rest of my phone ran buttery smooth, the notification bar and lockscreen began looking like a Diashow. 2-5 fps sometimes. What I think is happening is that all these notifications are buggy and the always on screen can't get rid of them.
So my fix was turning that off and then restarting my phone. Since that everything runs smooth again.
If there is another thread I should post this to please tell me but I only found this one.
Hope it helped.
maxsak said:
Hey guys. I encountered the same problem on my Nokia 9. Not quite sure why this error doesn't get noticed by more people.
I think I fixed it for me though.
In my case it seemed that the OLED always on screen (which shows notifications and the time) was the problem in my case. It would always show that there are notifications even if there weren't any and that started adding up. So while the rest of my phone ran buttery smooth, the notification bar and lockscreen began looking like a Diashow. 2-5 fps sometimes. What I think is happening is that all these notifications are buggy and the always on screen can't get rid of them.
So my fix was turning that off and then restarting my phone. Since that everything runs smooth again.
If there is another thread I should post this to please tell me but I only found this one.
Hope it helped.
Click to expand...
Click to collapse
I think the issue is just : it's a ****show of awful coding, optimisation and non-existent testing. If manufacturers' programmers put in half the effort debugging their software we as "powerusers" at xda/reddit/... put twisting our brains in and out trying find correlating explanations and workarounds as to why we get UI lags or other absurd bugs (like 5GHz wifi not working anymore) on the 10th ****ing iteration of Android, we wouldn't have all of this. It all boils down to the general idea that because it is consumer grade product, quality check is just a non-subject. Apparent quality is just enough at product launch, and further updates (if they do get round to releasing them) can brake everything without manufacturers being held accountable.
The update showed up on my phone on the 25th, but, I'm NOT updating. 9 is too damn stable for me, & I don't see any "features" in 10 that will benefit me.
After reading all this i am not going to update to 10. Yet happy with 9.17.
Tmob unbranded dual sim op6t.
Narrowed down some parameters
I have the OnePlus 6, and have similar issues, that include swapping apps being slow, but not just the swapping of apps, any app that has typing in it, seems to DIE when I start typing. Maybe this is a google keyboard issue or something? I notice the issue most in the Microsoft Teams mobile app. It also tends to only happen when at least 2 apps are open, if it's on it's own, it seems to do fine.
This might just be coincidence but I went into dev settings and turned on "strict mode" and now I can't get it to lag like it previously did.
I just looked at my running services (dev options > running services) and saw that my Bluetooth was using 2.2GB of ram, and youtube was 1.7GB of that. I toggled bluetooth off, then back on and it reset this. I have not modified the strict mode setting above... still have not had any lag, will update this thread if I do get more lag.
MightySashiman said:
I think the issue is just : it's a ****show of awful coding, optimisation and non-existent testing. If manufacturers' programmers put in half the effort debugging their software we as "powerusers" at xda/reddit/... put twisting our brains in and out trying find correlating explanations and workarounds as to why we get UI lags or other absurd bugs (like 5GHz wifi not working anymore) on the 10th ****ing iteration of Android, we wouldn't have all of this. It all boils down to the general idea that because it is consumer grade product, quality check is just a non-subject. Apparent quality is just enough at product launch, and further updates (if they do get round to releasing them) can brake everything without manufacturers being held accountable.
Click to expand...
Click to collapse
Lagging issue I've seen many reporting in xda on the stock rom OOS 10.3.0. But 5GHz is working as expected. I can confirm it because I'm using 5GHz WiFI now and then
adondriel said:
I have the OnePlus 6, and have similar issues, that include swapping apps being slow, but not just the swapping of apps, any app that has typing in it, seems to DIE when I start typing. Maybe this is a google keyboard issue or something? I notice the issue most in the Microsoft Teams mobile app. It also tends to only happen when at least 2 apps are open, if it's on it's own, it seems to do fine.
This might just be coincidence but I went into dev settings and turned on "strict mode" and now I can't get it to lag like it previously did.
I just looked at my running services (dev options > running services) and saw that my Bluetooth was using 2.2GB of ram, and youtube was 1.7GB of that. I toggled bluetooth off, then back on and it reset this. I have not modified the strict mode setting above... still have not had any lag, will update this thread if I do get more lag.
Click to expand...
Click to collapse
After a night/day of normal testing with this, where I would normally have issues, I have not had and of the lag I mentioned above. This seems to have fixed some things. So, I would suggest that you first check to see what running processes are using all the ram, and then turn on strict mode in dev settings, if that doesn't solve your issues. I also have Ram Boost option turned off.
I experience the FPS drop quite often after the update. It's especially noticable when scrolling pages, switching between apps, pulling down the upper panel. The slowness seems to disappear temporarily after closing all apps. But I can't say that some particular app causes the lag.
UPD: A simple test to recreate the problem. I push the square button to switch between apps. Start swiping finger left-right and watch the animation smoothness. After 5-10 seconds comes the wave of low FPS, which lasts for a couple of seconds. Then the process repeats. The slowness doesn't seem to depend on some exact apps that are open.
UPD2: Well, I've just found out that the problem isn't constant throughout the day. There must be some connection to applications running in the background or something like this.

Hight CPU and battery usage on idle system; restarts don't help

I've got a problem with my S8 which is running latest, official, non-rooted XEO firmware. Specifically, it uses battery like crazy and heats up whilst doing nothing. This smells like a virus / malware infection or just... well, the last update was in December 2021 so it's also possible some system component is wonky OR... <shivers> some rootkit? I'm generally rather careful when installing apps, most of which will be coming in from official sources (Google Store) or at least fairly trusted sources.
Every so often I'll get a warning that a system component is using too much CPU and I should restart the phone - which obviously doesn't help at all. Also the battery drain is reported primarily by Android System and System Core (29 and 15% respectively). Battery usage stats generally don't add up because the listings don't add up to 100%. :/
I know the S8 is an old phone... and I know there are probably steps I should take prior to asking here - like a factory reset. But I'm really sceptical of doing a factory reset simply because I've got so much stuff on the phone that, while not impossible to backup, is certainly annoying (authenticator or banking apps for example - and I don't think the standard backup tools like those available from Google or Samsung backup such apps).
So I'd rather try some solutions or methods of dealing with the damned thing without resetting the phone first. Is there anything I can do?
You need to find the root cause. It may be a 3rd party using one or more of the Samsung system apps running under Android services, lol Legend for there are many... all lumped together.
A firewall with logging can help. Karma Firewall is what I use, uses almost no battery. Being rooted you have more options... use them.
Malware is always a possibility.
3rd party apps can cause hell. I don't allow any social media apps on the phone, ever.
Try in safe mode... if things calm down it's likely a 3rd party app. If so start going through the installed apps.
Clear system cache.
blackhawk said:
You need to find the root cause. It may be a 3rd party using one or more of the Samsung system apps running under Android services, lol Legend for there are many... all lumped together.
A firewall with logging can help. Karma Firewall is what I use, uses almost no battery.
Click to expand...
Click to collapse
Will try that, thanks!
blackhawk said:
Being rooted you have more options... use them.
Click to expand...
Click to collapse
The phone is NON-rooted.
blackhawk said:
Malware is always a possibility.
3rd party apps can cause hell. I don't allow any social media apps on the phone, ever.
Try in safe mode... if things calm down it's likely a 3rd party app. If so start going through the installed apps.
Clear system cache.
Click to expand...
Click to collapse
Oh, safe mode! I'll try that too! Thanks!
Shaamaan said:
Will try that, thanks!
The phone is NON-rooted.
Oh, safe mode! I'll try that too! Thanks!
Click to expand...
Click to collapse
Sorry about the root thing, my bad.
If you're running on Android 9 or lower Karma Firewall's logging feature is fully active otherwise not. Samsung store>Galaxy Labs> Battery Tracker can be useful.
I use Accubattery's history page to get a quick idea of charge/discharge rates.
I use Device Care>storage>clean as well.
Make sure no cloud apps are running in the background.
Update: in safe mode the phone doesn't heat up and battery usage seems normal. So it's probably some app.
Alas, the firewall wasn't very helpful - it seemed that apps that attempted accessing the internet were your usual suspects - Play Store, One Drive or other sync apps, Vanced.
Any other suggestions on possibly nailing down the culprit?
PS. I've also decided to send Samsung an error report via the Members app - I don't know what their reply times are and I honestly don't expect much from them but who knows? Perhaps they'll come through.
Shaamaan said:
Update: in safe mode the phone doesn't heat up and battery usage seems normal. So it's probably some app.
Alas, the firewall wasn't very helpful - it seemed that apps that attempted accessing the internet were your usual suspects - Play Store, One Drive or other sync apps, Vanced.
Any other suggestions on possibly nailing down the culprit?
PS. I've also decided to send Samsung an error report via the Members app - I don't know what their reply times are and I honestly don't expect much from them but who knows? Perhaps they'll come through.
Click to expand...
Click to collapse
Why other than maybe text messages is anything syncing? Take out the trash and go from there.
The ones that are connecting every minute or more when not open are prime suspects.
Some apps like Brave browser need to be closed out when not in use or they eat battery.
You can also try a hard reboot.
Update!
I left the phone in safe mode overnight. I mean, it seemed like things were better, so at least I'd have a stable phone.
Well, in the morning I was greeted with a severely depleted battery (went from 100 to 40 in the span of 6 hours) and I got the "high CPU usage" warning popup. The phone wasn't as hot to the touch tho.
So... Whatever is going on seems to happen also in safe mode, albeit less often? Or perhaps it's less "severe" where it doesn't heat up the phone but the drain is still there? But since safe mode is affected it's probably NOT an app, right?
At this point I'm completely baffled. Any other ideas?
Shaamaan said:
Update!
I left the phone in safe mode overnight. I mean, it seemed like things were better, so at least I'd have a stable phone.
Well, in the morning I was greeted with a severely depleted battery (went from 100 to 40 in the span of 6 hours) and I got the "high CPU usage" warning popup. The phone wasn't as hot to the touch tho.
So... Whatever is going on seems to happen also in safe mode, albeit less often? Or perhaps it's less "severe" where it doesn't heat up the phone but the drain is still there? But since safe mode is affected it's probably NOT an app, right?
At this point I'm completely baffled. Any other ideas?
Click to expand...
Click to collapse
Hard reset... hold power button until it powers off.
Try temporarily disabling Google play Services at night, see what that does.
OK, I'm baffled. I feel like I didn't really do anything but the phone is now running fine. Battery drain now might be better than ever!
Warms up on usage, obviously, but when idle it's nice and cool and battery drain seems minimal. I'll... leave it for a few days to see how this develops. It's very difficult to tell what the heck's the case here.
Shaamaan said:
OK, I'm baffled. I feel like I didn't really do anything but the phone is now running fine. Battery drain now might be better than ever!
Warms up on usage, obviously, but when idle it's nice and cool and battery drain seems minimal. I'll... leave it for a few days to see how this develops. It's very difficult to tell what the heck's the case here.
Click to expand...
Click to collapse
Retrace what you did. Reason being you may need to do it again. Really most times all you need to do is just "play" with it a bit (a lot). Almost impossible to crash a stock load, so explore and learn by playing with it. You are what you load and download; be careful with 3rd party apps they are the biggest potential hazards.
Once you have a fast, stable OS that's fulfilling its mission, let it be. Don't update or upgrade it.
Updates can and do break Sammy's. This N10+ is still running on Pie, current load is over 2yo. Rock solid stable and it runs like a bat out of hell with minimal maintenance. Security isn't an issue.
blackhawk said:
Retrace what you did. Reason being you may need to do it again. Really most times all you need to do is just "play" with it a bit (a lot). Almost impossible to crash a stock load, so explore and learn by playing with it. You are what you load and download; be careful with 3rd party apps they are the biggest potential hazards.
Click to expand...
Click to collapse
I have a suspicion this might have been some Samsung app (my bet's on Bixby) since those are likely still able to run in Safe Mode that got updated and then fixed...? Does that make sense?
blackhawk said:
Once you have a fast, stable OS that's fulfilling its mission, let it be. Don't update or upgrade it.
Updates can and do break Sammy's. This N10+ is still running on Pie, current load is over 2yo. Rock solid stable and it runs like a bat out of hell with minimal maintenance. Security isn't an issue.
Click to expand...
Click to collapse
I'm concerned about the last bit. I mean, upgrading to a new Android version is one thing but security updates are common, no?
Shaamaan said:
I have a suspicion this might have been some Samsung app (my bet's on Bixby) since those are likely still able to run in Safe Mode that got updated and then fixed...? Does that make sense?
I'm concerned about the last bit. I mean, upgrading to a new Android version is one thing but security updates are common, no?
Click to expand...
Click to collapse
Kill wittle bixby... you read it EULA?☠
It's more than one apk though. Takes a while to optimize a Sammy the first time
Well... if it's set up and used right Android 9 will run securely in the real world. No saving dumb bunnies anyway; they'll still get tagged even with the latest version
The proof is in my hand. Loaded over 2+ years ago and this N10+ UI version 1.5 is running clean like a bat out of hell. If I do get malware I can't erraticate in an hour or so, factory reset and change passwords.
My data is redundantly backed* up 4+ times, plus the onboard SD card used as a data drive. I'm ready to reload right now if I have to...
A malware forced reload is still less trouble than constantly updating and having the updates screw things up. That means more troubleshooting, finding new work arounds and still maybe needing a factory reset on top of all that. No.
Not vaxed either... not buying the hype.
*critical data must be redundantly backed up or sooner or latter it will likely be lost. Never encrypt data drives as you are the most likely to be locked out!
blackhawk said:
Kill wittle bixby... you read it EULA?☠
Click to expand...
Click to collapse
Oh I'd love that - but it's a system app and removing those without root is kind of... impossible? I can look into disabling it completely however - I never use it anyway. Since it's not a single app - any chance you got a link to the list of apps that need manual disabling?
Anyway, I'm still getting those damned warnings. The phone isn't constantly hot however, which is some improvement.
Shaamaan said:
Oh I'd love that - but it's a system app and removing those without root is kind of... impossible? I can look into disabling it completely however - I never use it anyway. Since it's not a single app - any chance you got a link to the list of apps that need manual disabling?
Anyway, I'm still getting those damned warnings. The phone isn't constantly hot however, which is some improvement.
Click to expand...
Click to collapse
Package Disabler kills bixby proper.
You can also disable it with an adb edit. That's one of the first things I do.
Bixby is a hot mess best dump along the interstate... like Google Assistant it needs external servers for many of its functions. I may change my mind but it's eula is like eating dry hardtack for breakfast.

Categories

Resources