[Q] Device memory critical -- multitasking issues - Xperia Z3 Compact Q&A, Help & Troubleshooting

I've been using the debloated 5.0.2 FW (pre-rooted 23.1.A.0.726 with Xposed) for months now with no issues, but one day the RAM started going crazy and has been for a month now. Every time I open an app, things in the background start restarting in a loop and multitasking is basically impossible. Restarting and clearing cache/dalvik-cache hasn't helped at all. I don't know if this is the Lollipop memory leak bug (I thought Sony had fixed this), but it's really strange that this came seemingly out of nowhere. I've attached some screenshots. Not really sure what to make of it, but memory state is in "critical" most of the time, and Google Play Services and Snapchat usage seems unusually high. Before, I had quite a few apps running in the background and the phone handled it like a champ; rarely any app refreshes, redraws, etc. Now it feels like i have 512MB of RAM again...
Anybody experiencing this? I'm thinking this could be coming from a rogue Xposed module or something. The problem is the worst if I'm using Chrome or Snapchat, but still occurs elsewhere. Any recommendations on where to find the cause?

I get exactly the same issues as you. No idea why that happens. After exiting an app and going back to Google now launcher it would've restarted so all the icons take awhile to load again and the app drawer too. This is quite annoying but a reboot fixes it. Sadly I might have to do this once a day or so, hence making the experience rather irritating.
Sent from my D5833 using XDA Free mobile app

It's happening to me too. I'm hoping it's a 5.0.2 LP bug and will be resolved with 5.1.1's release sometime this month (fingers crossed!)
That said, I've tried nearly all the stock rom iterations on this board and Wajk's 23.2.A.1.62 build seems to be the most stable, even with Xposed installed. Version 1.1 and 1.3 of his Slim rom still had restarts (I never tried 1.2), but they actually restarted, whereas other stock roms wouldn't, and the apps that restarted remained closed until reopened manually, so I missed messages and emails all the time, and experienced launcher redraws often.
Currently, I'm on 1.4 of his rom and it seems less stable, but that could be because I had dirty flashed from 1.3, and previously dirty flashed from 1.1. Version 1.5 should be out soon, so if that doesn't improve it, I'm going to clean wipe and re-install.

Related

[Q] Constant FC with KhasMek Voodoo Kernel.

Hey all,
I am currently running my VZW Galaxy Tab with a stock 2.2 Froyo build that is rooted and running Boushh's KhasMek Kernel V5.
Ever since I installed that kernel, I have been experiencing constant force closes. It's really not any one app either, it is most of them. So far, I have put the freeze (via Titanium Backup) on all the apps that have FC'd a lot that I don't use. Maps was one of the biggest culprits. Facebook FCs a lot as well, and the only way to fix it is to go into app management and clear data. Similar issues with random games and such as well.
I have tried uninstalling and reinstalling multiple apps, and this helps for a time, but doesn't last too long. I have tried switching launchers, just in case it was somehow related, but it doesn't seem to be.
Basically, whenever I leave the tablet on idle for more than a few minutes, when I unlock it something hangs and I get an FC of a random app.
And a lot of times, it just does the single vibrate, followed by two quick ones, and nothing comes up as having FC. But, in the mean time, the tablet is unusable until it hits the second set of vibrations.
This is extremely annoying and is preventing usage of the tablet for periods of time. So, I am wondering, is anyone else experiencing this? If so, what have you done to fix it? At this point, I am inclined to just revert back to stock, though I would rather not.
Thanks for any insight.
As of now, I am constantly getting
com.google.process.gapps
force closing.

[Q] 4X HD lag issue

Hello,
For the last 6 months or so, I've experienced many lag issues with my device. At the begging, I had a CM11 ROM installed on my phone, so I decided to revert back to the V20B official european firmware because I thought those lags were related to the ROM. But nothing changed, and as of today I still have responsiveness issues.
This lag issue appears from time to time, and makes my device basically unusable. It feels like the whole CPU is hogged by an application, or like I underclocked my device to 53mhz on purpose. During these lags, trying to wake up my device will take up to 5 seconds, and navigating the main screen will be nearly impossible. Also, my phone will get very hot which would imply that my CPU is indeed used by an application. Sometime the issue will disappear by itself after a few minutes, but I usually reboot the device which temporarily fixes the problem.
I have tried to disable LG MLT, and I think it helped but the lag still occasionally occurs.
I don't really use third party applications either.
I think these lags might be related to the Google Chrome browser, but it doesn't make any sense as it is an official app.
Anyway if any of you have an idea on how to fix the issue or how to find the application/service/whatever hogging the CPU I'd be grateful
Thanks !
I did experience such lags in CM11 after a few days of usage.But talking about stock, these freezes sound bit weird.You might want to check your installed apps.Download watchdog lite from play store and let it watch on agressive mode.Also check if your phone is hot when these freezes occur, might be the throttling kicking in.
I also experienced this kind of lags due to bad gapps I had installed back in the day, though stock ROM comes with gapps so it's not that.
Thanks for your reply,
I installed Watch dog lite and I'm now waiting for an alert. I hope it will give me the name of the culprit
If you are rooted which i assume you are. You can try app from playstore called "lagfix" (fstrim)
Sometimes really helps. Sometimes it doesn't

[Q] Memory Leak

Is there currently any ROM and/or Custom kernel, that doesn't suffer from the memory leak bug?
I am aware that similar questions come up on every other thread.
I also would love to try for myself. Stock KitKat and stock lollipop both suffer from the bug. On lollipop I have much more free ram, but chrome and other apps still redraw when multitasking.
Problem is, I don't want to unlock my bootloader yet, as I'm still considering giving back the phone.
Thanks in advance for any insightful advice.
ratyfu said:
I am aware that similar questions come up on every other thread.
...
Problem is, I don't want to unlock my bootloader yet, as I'm still considering giving back the phone.
Click to expand...
Click to collapse
You seriously want an answer to that?
Just read "every other thread", then come to a conclusion and act accordingly. Or don't, since you don't want to unlock. Your choice.
doppelhelix said:
You seriously want an answer to that?
Just read "every other thread", then come to a conclusion and act accordingly. Or don't, since you don't want to unlock. Your choice.
Click to expand...
Click to collapse
I've been reading "every other thread".
And yes, I seriously want an answer to that.
I never said, that I didn't want to unlock my bootloader, eventually I do want to unlock it. But according to your reply, I suppose you don't understand that. Nevermind.
Thanks, anyway.
Titan Prime will yield you the best results with memory, from my experience.
Besides that, all you can do is sit and wait for 5.1. And hope that it will fix the problem.
I've got a (german) XT1068, and I was on build RETDEALL 21.85-14 for the longest time (KK 4.4.4). The phone was sometimes close to unusable due to the memory issues: Almost every time I went back to my launcher (Nova) the widgets would reload (all two of them), every 5th time the whole launcher would have to be restarted. When listening to music, the player would often be killed when it's not the foreground app. This all was already with tuned settings and the like. Simply put, my Galaxy S2 was a much better phone, with better performance and multitasking (same amount of ram, but dual core only)...
I've updated to the 5.0.2 build that was (finally) released a few days ago (22.46-28). It's a world of difference. I would say the problems are either gone or at least they got the biggest of issues under control. So far I haven't had it running without a reboot for multiple days (installing xposed and associated modules tends to require reboots), but so far everything is looking perfectly fine. Widgets haven't reloaded even once, let alone the launcher. Multitasking works, even larger apps weren't killed (like reddit news, which tends to use quite a bit of ram after scrolling for a bit).
So I don't know whether it's fixed, but at the very least this is a fully-stock-option that works perfectly fine (for me), even though I'm rooted and use XPosed that is by no means necessary.
I also have the German OTA update. Everything works fine. As for the memory leak for me that is a thing of the past, was really bad in 4.4.4 and I had the same version as the above poster. Everything stopped in the background, in point of fact there was no multitasking. With 5.0.2 I can play music run a navigation app, surf the net no problem and still see over 400Mbyte free ram in setting all without the dreaded app has stopped working or seeing apps restarting.
Roldorf said:
I also have the German OTA update. Everything works fine. As for the memory leak for me that is a thing of the past, was really bad in 4.4.4 and I had the same version as the above poster. Everything stopped in the background, in point of fact there was no multitasking. With 5.0.2 I can play music run a navigation app, surf the net no problem and still see over 400Mbyte free ram in setting all without the dreaded app has stopped working or seeing apps restarting.
Click to expand...
Click to collapse
4.4.4 didn't have a memory leak, just high minfree values I think.
Lollipop does have a memory leak (and thats mostly googles fault) and the memory management is very buggy when compared to kitkat. The memory leak doesn't show instantly, it shows after some time and you can just reboot the phone to "solve the problem".
If you want a really good rom for multitasking I recommend CM 11 or some rom based on it.
4.4.4 definitely has some serious issues on the MotoG, it was not just the min free values. I had tuned those (basically tried everything), but it made no real difference. So far, LP feels like it's a different phone.
I agree. I can't understand how people would go back to KitKat after trying lollipop. Chrome and other apps still redraw when multitasking though. :\
Let's see if 5.1 fixes that.
BTW: does anyone get graphic glitches in Tapatalk and chrome? Sometimes whole areas of the screen turn glitchy, until I switch to another app or press the back key. (Glitchy= pixels in all colours, like an overheated GPU on a PC would produce.)

Nexus 6- Google Chrome Frequently Crashing

Chrome frequent crashing, among other apps
Hello, I've been using Android since about 2013, when I picked up an S4 for the AT&T carrier. It was a very nice phone. About 2 months ago I decided to get a Nexus 6. What really has been bothering me is the performance of this phone, compared to the performance I got with an S4. Right now I'm rooted with the most up to date version of Chroma flashed, unencrypted. Frequently Google Chrome will freeze up for a good 8 seconds,and then ask me if I want to terminate the process or wait. Google Maps, Camera, and Firefox also sometimes suddenly crash. I've even had Maps crash while I was using GPS and driving on the road. Is there any way to fix this? Its been occurring since the first week after purchasing this phone. I've checked how much memory is free using multiple apps and I am not low. So I'm wondering if there's a solution. Has anyone else been having this happen to them?
@tenthsun
I would suggest starting by clearing cache for each of the problematic apps. Settings/Apps/All, then choose each each app and clear cache.
If the problem persists, I would then suggest trying going back to stock, rooted and see if it's any better.
Could be rom, kernel, gapp package or installation problem. I would start from scratch.

Nexus 6 requires rebooting every day or so as it slows down to become unusable

I have a N6 purchased Dec 2015 new from Amazon. The only mods, if you can call it that is, I have unlocked the boot loader. I am currently running N6F26Y sideloaded via ADB.
The phone was great when I first got it but now after about a day or so of usage it becomes slow and sluggish and unresponsive I have to restart it to use it. I have done a factory reset a couple of times which gets it back to normal for a week or so and then the problem recurs. Occasionally I will delete the cache which also helps. Snapchat is one of the worse apps - crashes the phone regularly and is a very slow app.
Also the camera can get very slow often taking seconds to take one photo.
I love the phone but it's becoming unusable now. The contrast between this and a new phone (I have purchased a Moto Z) is like night and day. The Moto Z runs instantly, has no lag and is a nice phone. But what I like about the N6 is the large screen which makes it great for videos etc.
Short of perhaps flashing some custom ROM is there anything I could be doing?
I'd recommend flashing a rom like pure nexus, super stable that should fix your problem, otherwise you've done all you can and is the easiest fix
Sent from my Nexus 6 using Tapatalk
lchiu7 said:
I have a N6 purchased Dec 2015 new from Amazon. The only mods, if you can call it that is, I have unlocked the boot loader. I am currently running N6F26Y sideloaded via ADB.
The phone was great when I first got it but now after about a day or so of usage it becomes slow and sluggish and unresponsive I have to restart it to use it. I have done a factory reset a couple of times which gets it back to normal for a week or so and then the problem recurs. Occasionally I will delete the cache which also helps. Snapchat is one of the worse apps - crashes the phone regularly and is a very slow app.
Also the camera can get very slow often taking seconds to take one photo.
I love the phone but it's becoming unusable now. The contrast between this and a new phone (I have purchased a Moto Z) is like night and day. The Moto Z runs instantly, has no lag and is a nice phone. But what I like about the N6 is the large screen which makes it great for videos etc.
Short of perhaps flashing some custom ROM is there anything I could be doing?
Click to expand...
Click to collapse
Hello,
It seems like some apps are really slowing down your phone. I use my N6 at home for web browsing mostly as I have a Pixel XL now. Just like you I love the screen size.
The camera has always been slow fore, because of the time it takes to focus...
Did you try using your phone a few days without Snapchat installed? Maybe you also have other misbehaving​ apps installed.
Uninstall Snapchat and other apps and start from here. Reinstall one per one with a few days interval. See if the issue still occurs.
Installing a custom ROM + kernel will likely speed up things a little bit. I second @Dugaldrob with Pure Nexus and I'd suggest ElementalX kernel on top. Running this combo on N6, N6P and Pixel XL and they work flawlessly.
I don't believe installing a custom ROM alone will fix your issue though. Stock ROM shouldn't cause the phone to slow down to the point you need to reboot to use it.
Finding the culprit will...
Good luck...
5.1 said:
Hello,
It seems like some apps are really slowing down your phone. I use my N6 at home for web browsing mostly as I have a Pixel XL now. Just like you I love the screen size.
The camera has always been slow fore, because of the time it takes to focus...
Did you try using your phone a few days without Snapchat installed? Maybe you also have other misbehaving​ apps installed.
Uninstall Snapchat and other apps and start from here. Reinstall one per one with a few days interval. See if the issue still occurs.
Installing a custom ROM + kernel will likely speed up things a little bit. I second @Dugaldrob with Pure Nexus and I'd suggest ElementalX kernel on top. Running this combo on N6, N6P and Pixel XL and they work flawlessly.
I don't believe installing a custom ROM alone will fix your issue though. Stock ROM shouldn't cause the phone to slow down to the point you need to reboot to use it.
Finding the culprit will...
Good luck...
Click to expand...
Click to collapse
Thanks
First step is to remove Snapchat. I rarely use the app and only because my daughter sends stuff on it. I am going to tell her to send me stuff via another method
If that doesn't work then it's a new ROM. I have performed ROM installs before but have never flashed a new kernel on a phone before so that will be a new experience. Hopefully I won't brick the phone
lchiu7 said:
Thanks
First step is to remove Snapchat. I rarely use the app and only because my daughter sends stuff on it. I am going to tell her to send me stuff via another method
If that doesn't work then it's a new ROM. I have performed ROM installs before but have never flashed a new kernel on a phone before so that will be a new experience. Hopefully I won't brick the phone
Click to expand...
Click to collapse
Hello,
Don't worry, it's really easy. Also, if you are lost, there must be a ton of tutorials in general section. If you are lost yet, just ask and someone will point you in the right direction...
Good luck...
lchiu7 said:
I have a N6 purchased Dec 2015 new from Amazon. The only mods, if you can call it that is, I have unlocked the boot loader. I am currently running N6F26Y sideloaded via ADB.
The phone was great when I first got it but now after about a day or so of usage it becomes slow and sluggish and unresponsive I have to restart it to use it. I have done a factory reset a couple of times which gets it back to normal for a week or so and then the problem recurs. Occasionally I will delete the cache which also helps. Snapchat is one of the worse apps - crashes the phone regularly and is a very slow app.
Also the camera can get very slow often taking seconds to take one photo.
I love the phone but it's becoming unusable now. The contrast between this and a new phone (I have purchased a Moto Z) is like night and day. The Moto Z runs instantly, has no lag and is a nice phone. But what I like about the N6 is the large screen which makes it great for videos etc.
Short of perhaps flashing some custom ROM is there anything I could be doing?
Click to expand...
Click to collapse
I've been running Pure Nexus and wanted to let peeps know I put Nitrogen on and man it's so smooth, my wifi tether is back and I went to sleep last night with 50% battery still. When I installed it I opted for the nano gapps I think so like 175mb for minimal apps and maybe that's why it's running so efficient. Maybe I could have re-installed Pure Nexus with a clean install and it would have gotten better but it was a good time to try something else. Also when Nitrogen got an update I was notified just like stock and it downloaded. I didn't even know these could do that. Anyways give it a try and you might just switch back. I was looking into new phones but if it keeps working so smooth with battery longer than a day then I'm fine for now.
Snap chat is not that big of an issue. What I have found to cause the device to slow down is normally almost full device storage and a crappy cache release code in apps. Some apps don't release their cache properly. So it causes lag. This is why a reboot seems to fix it.
While a custom rom may fix this issue it is not the solution. The proper solution is to find what is causing it and fix/repair/ditch it.
Worst offenders for crappy code in my thoughts. Other will disagree with one on this list I am sure. So don't bother. I know people swear by it. It runs like crap for me at times and causes my whole device to lag until I close it out.
1 Facebook
2 FB messenger
3 Google Chrome ( don't do it lol)
4 whatsapp
5 Hangouts
Mind you this is just a list on my usage. It may very per user and even device (considering different hardware)
zelendel said:
... It runs like crap for me at times and causes my whole device to lag until I close it out.
1 Facebook
2 FB messenger
3 Google Chrome ( don't do it lol)
4 whatsapp
5 Hangouts
...
Click to expand...
Click to collapse
I can confirm this, because I've removed these apps (-whatsapp) and also decrypted the data partition...
My N6 is fast.
Maybe a lite stock ROM and an other kernel is a good start.
NLBeev said:
I can confirm this, because I've removed these apps (-whatsapp) and also decrypted the data partition...
My N6 is fast.
Maybe a lite stock ROM and an other kernel is a good start.
Click to expand...
Click to collapse
Currently I have FB, FB messenger, and Chrome but when I installed gapps I chose a super lite install so tons of bloat and google apps were not installed and my battery has gone way up and it's so smooth. I'm sure even when we don't use apps they're always doing something in the background. I bet you're right and a stock lite ROM would be good too with the minimal bs apps.
zelendel said:
Snap chat is not that big of an issue. What I have found to cause the device to slow down is normally almost full device storage and a crappy cache release code in apps. Some apps don't release their cache properly. So it causes lag. This is why a reboot seems to fix it.
While a custom rom may fix this issue it is not the solution. The proper solution is to find what is causing it and fix/repair/ditch it.
Worst offenders for crappy code in my thoughts. Other will disagree with one on this list I am sure. So don't bother. I know people swear by it. It runs like crap for me at times and causes my whole device to lag until I close it out.
1 Facebook
2 FB messenger
3 Google Chrome ( don't do it lol)
4 whatsapp
5 Hangouts
Mind you this is just a list on my usage. It may very per user and even device (considering different hardware)
Click to expand...
Click to collapse
Thanks for the advice. Of the list of apps above I have only Chrome and Hangouts. I really can't see replacing either of them.
I also should have pointed out that the phone locks up randomly requiring a hard reset. I wonder if an errant app could cause that or I have some RAM problem. Certainly on a PC bad RAM can use in Windows a blue screen or something but perhaps Android isn't so forgiving?
lchiu7 said:
Thanks for the advice. Of the list of apps above I have only Chrome and Hangouts. I really can't see replacing either of them.
I also should have pointed out that the phone locks up randomly requiring a hard reset. I wonder if an errant app could cause that or I have some RAM problem. Certainly on a PC bad RAM can use in Windows a blue screen or something but perhaps Android isn't so forgiving?
Click to expand...
Click to collapse
I would flash TWRP, flash supersu in TWRP to root, make a complete backup in twrp, then remove whatever Google apps you're not using with a system app removal app. Getting some of that bloat off the device should help. If it's still laggy, then look into a custom ROM. I run Tesla on my Nexus 6 with none of the issues you're having. I don't decrypt it either
Running abdroid 7.1 here. I dont get any slowdowns, at leas until the battery doesnt drop below 50 and 25 percent.
Im running a custom kernel and my phone is rooted. Everything else is stock.
Can you flash a custom kernel and presumably TWRP without wiping the phone? If so then might try that before a custom ROM
lchiu7 said:
Can you flash a custom kernel and presumably TWRP without wiping the phone? If so then might try that before a custom ROM
Click to expand...
Click to collapse
Hello,
Since your bootloader is unlocked, flash TWRP and install the kernel, no problem.
Might give you a slight boost at first sight, but your device will likely slow down over time anyway...
Cheers...
I'm on 7.0 with the April SP. I have dozens of apps installed, including Hangouts. I use Firefox for browsing, I like it better than chrome (and you can install an ad blocker).
My camera slows down when the battery is under 40%, and the whole device slows dramatically, though not unusable, at or below 5%. But otherwise, no issues what so ever.
One solution that I have not seen suggested here is resetting the device and NOT taking the Google account backup of all your apps. I would suggest making a completely clean install of the factory rom you have and installing one or two apps at a time, most important to you first. And do this for a few days/weeks until you find the app that's misbehaving.
Although there are general bad players out there, this bad app could be unique to your device. Just because all devices of the same model have the same specs and components, doesn't mean that there isn't variability in parts quality.
I would do this before trying any new roms or kernels. Find the true problem first.
Good luck!
edit:
I had another idea: Go into your battery stats and network stats and storage stats and see if any app seems to be using too much of any, or all of the 3. This may get you the answer more quickly.

Categories

Resources