[Q] my defy is using too much ram - Defy Q&A, Help & Troubleshooting

hello guys!
I've change a lot of rom and now i'm using the jb 4.1.2 of quarx (the stable one)
from some days i've noted that though in the settings the ram used is about 250 mb, any other program (clean master, smart cleaner and antivirus) says that my device is using over the 90% of ram.
in fact, my device sometimes is very laggy, until i clean the memory.. what i can do to fix this problem? i thought was a malware, but i cannot find any malware or viruses... help!
sorry for my english

garion86 said:
hello guys!
I've change a lot of rom and now i'm using the jb 4.1.2 of quarx (the stable one)
from some days i've noted that though in the settings the ram used is about 250 mb, any other program (clean master, smart cleaner and antivirus) says that my device is using over the 90% of ram.
in fact, my device sometimes is very laggy, until i clean the memory.. what i can do to fix this problem? i thought was a malware, but i cannot find any malware or viruses... help!
sorry for my english
Click to expand...
Click to collapse
Install 'greenify' from the market
And hibernate the apps u dont use,
Install memory booster from market
And keep cleaning the ram once in 10 mins,
And end the apps when u dont use them from the task manager
I m on 4.1.2 as well
I get 200 mb of RAM free on my defy normally
I have more than 100 apps installed
Sent from my MB526 using xda premium

i'll try, but the problem is that also with another program (like ram booster) the sum of the used app from the list doesn't arrive to 470mb! it arrives at 240 maximum
it seems a "ghost" app is using my ram

garion86 said:
i'll try, but the problem is that also with another program (like ram booster) the sum of the used app from the list doesn't arrive to 470mb! it arrives at 240 maximum
it seems a "ghost" app is using my ram
Click to expand...
Click to collapse
Nothing like ghost apps exist in our defy
Cuz its ghost proof as well
Make sure u restart the fone after listening to music
Sent from my MB526 using xda premium

I have the same problem of the wrong RAM usage readings on Easy task killer. I uninstalled it. But unlike you my phone runs fine.
Use greenify as rawwr said, and do not press home button to close an app. Clear recent apps too. In case your Defy has uptime of 5 days or more, then it is mostly be a memory leak.

now i've just done a full wipe, and then i installed mokee os crazy speed
the phone seems right, but the usage of ram is already high (the system says 170mb, all the other programs around 250 )
i really don't know what's happening. I know how to close the apps
any idea?

garion86 said:
now i've just done a full wipe, and then i installed mokee os crazy speed
the phone seems right, but the usage of ram is already high (the system says 170mb, all the other programs around 250 )
i really don't know what's happening. I know how to close the apps
any idea?
Click to expand...
Click to collapse
Probably one of your app is back biting you
Sent from my MB526 using xda premium

two things here:
How much ram you have free is of consequence if your phone is laggy. facebook *example* by default is a laggy app. if its your first time logging into an app even in 24 hours its going to do that. most would assume it to be attributed to ram. not always the case.
second. decide what apps you keep switching in and out of; take a day or two to do it. then keep those apps in memory. for example i use contacts, whatsapp, sms, instagram and twitter a lot. so i keep them in ram. foursquare not so much so i greenify it. this process helps you do thinks you need to do.
but if you still think its ram try another OS or an overclock

valhallen.282 said:
two things here:
How much ram you have free is of consequence if your phone is laggy. facebook *example* by default is a laggy app. if its your first time logging into an app even in 24 hours its going to do that. most would assume it to be attributed to ram. not always the case.
second. decide what apps you keep switching in and out of; take a day or two to do it. then keep those apps in memory. for example i use contacts, whatsapp, sms, instagram and twitter a lot. so i keep them in ram. foursquare not so much so i greenify it. this process helps you do thinks you need to do.
but if you still think its ram try another OS or an overclock
Click to expand...
Click to collapse
i've already overclocked my phone with mokee os it's no laggy, but I have this ram drain
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
as you see, there is a difference instead clean master and application list of android, but in every list we can't read why the phone has only around 160 mb of free ram. if we sum the ram usage of every single process, we can't have that result...
any idea?

The difference here is that the system is not showing you the cached processes. Add that in and you will get the sum total of used ram. Cached processes are relatively fluid duo they come and go.
Sent from my MB526 using xda app-developers app

ok then

Related

Android OS process eating away battery life

Hi all,
So, this problem appears common on other phones as well, and appears to be a Gingerbread issue. Drilling down further using Watchdog Lite on the phone, it appears to be a process called Suspend causing the high CPU usage.
There are a few threads on this:
http://code.google.com/p/android/issues/detail?id=11126#makechanges
http://code.google.com/p/android/issues/detail?id=15057
http://forum.xda-developers.com/showthread.php?p=10004299&posted=1#post10004299
http://forums.t-mobile.com/t5/myTouch-4G/quot-suspend-quot-linux-process/m-p/605813
Personally, I'm getting pretty terrible battery life out of my S2, and I can confirm that in the Battery Status menu, Android OS appears extremely high at around 40% (a friends Nexus has this sitting at around 2%).
Not sure there's much we can do about it but wait and hope for a fix from Samsung (or Google)... People are reporting that rebooting the phone can help, but it's only temporary.
Anyway, just something to check if you're having issues.
+1 second that.
Android os eats the most of the battery
Reboot helps temporarily.
Sent from my GT-I9100 using XDA Premium App
My os is at 79% i have no idea whats going on? but i am running launcher pro plus?
OK. So now we have identified an "issue".
Could you guys post juiceplotter logs while phone is asleep and draining, and while in use?
For asleep, i mean literally not touching it for half an hour. On, just occasional tap to keep screen on.
What we are after is an idea of what is causing system to use the power. Can we compare configurations of push email etc, to see if anything differs?
Are we rooted? Etc
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
this is a screen print of my usage.
How do you do the log thing ?
http://imageshack.us/photo/my-images/59/sc20110509160954.jpg/
pulser_g2 said:
OK. So now we have identified an "issue".
Could you guys post juiceplotter logs while phone is asleep and draining, and while in use?
For asleep, i mean literally not touching it for half an hour. On, just occasional tap to keep screen on.
What we are after is an idea of what is causing system to use the power. Can we compare configurations of push email etc, to see if anything differs?
Are we rooted? Etc
Click to expand...
Click to collapse
Hi mate,
I rooted my phone yesterday, but I don't think that's a cause as it was just as bad before. In fact I rooted it just so I could freeze some apps
At the moment, I only have my google account set to sync (calendar, mail, contacts), and I have gmail pushing through emails.
All the stock Samsung apps are frozen. No widgets are running (I'm trying to run it fairly barebones to see how long I can get out of it).
I don't have juiceplotter installed, I'll look into that. I do have Watchdog though, and from all the other threads on this issue the problem seems to be the Suspend process (confirmed by a Google employee).
I don't think there's much we can do aside from wait for a fix. The problem appears to have been around since at least September last year.
I had this the first few days I had the phone, my battery was being wiped out in hours.
I formatted both my mem cards and hard reset. Since then my battey life has been amazing (got through the whole day yesterday only using 25% battery), and os use has dropped to about 18% (still a bit high but better than 40%).
Same issue here, both new flashed roms and my own slim roms suffer from same issue. I have a look tonight if i can find any solution.
simonk83 said:
Hi mate,
I rooted my phone yesterday, but I don't think that's a cause as it was just as bad before. In fact I rooted it just so I could freeze some apps
At the moment, I only have my google account set to sync (calendar, mail, contacts), and I have gmail pushing through emails.
All the stock Samsung apps are frozen. No widgets are running (I'm trying to run it fairly barebones to see how long I can get out of it).
I don't have juiceplotter installed, I'll look into that. I do have Watchdog though, and from all the other threads on this issue the problem seems to be the Suspend process (confirmed by a Google employee).
I don't think there's much we can do aside from wait for a fix. The problem appears to have been around since at least September last year.
Click to expand...
Click to collapse
OK. I will see if I can think of anything, as I remember we fixed a similar issue when popping 2.1 onto it, when some binary was giving us trouble...
Root or no root don not affect this issue. Only time i dont get it: fresh flash of new rom without anything installed.
Same issue here and I rooted freezing load of Apps but still drain
*edit*
It seems to stop drain when using reboot the phone.. not yet confirmed just a speculation... Btw these processes eat a lot of battery never got these problems on sgs1 custom gingers rom
Sent from my GT-I9100 using Tapatalk
Seem that ginger on SGS 2 has this bug present:
http://phandroid.com/2011/03/04/android-2-3-3-gingerbread-update-killing-nexus-one-battery-life/
Did anyone tried this? I had a similar issue with Gingerbread on SGS1 and it was fixed after clearing the data for System Update.
http://forum.xda-developers.com/showthread.php?t=1021711
Haven't encountered the problem yet with pretty heavy use plus a few resets. It's probably a specific app or settings that you're turning on/using after each hard reset that causes it.
I'm still on the original firmware though, haven't flashed a new one yet. Might be related.
this is not universal, i don't have this problem. sgs 2 rooted with insecure kernel by chainfire.
*subscribing*
I also have the same drain issue. I have the S2 setup exactly the same way my Captivate was, and the battery life isn't the same.
I got better results after disabling background data in accounts ans sync (settings)
More testing ongoing.
DocRambone said:
I got better results after disabling background data in accounts ans sync (settings)
More testing ongoing.
Click to expand...
Click to collapse
Not really relevant I think - all Android users are going to have background data enabled in accounts and sync. Mine is enabled without the issue, anyway. I am only syncing a single gmail account though.
Have you tried what the linked thread recommends - going into manage applications and clearing data for the update system? You might want to try clearing data for all of the android system tasks.
RyanZA said:
Not really relevant I think - all Android users are going to have background data enabled in accounts and sync. Mine is enabled without the issue, anyway. I am only syncing a single gmail account though.
Click to expand...
Click to collapse
Yes, but this 2.3.3 bug eat 5-10% battery/h in idle!... so all solutions is good.
I tried a number of "solutions", none helped. The background data seems to help
MaelstromXC said:
Did anyone tried this? I had a similar issue with Gingerbread on SGS1 and it was fixed after clearing the data for System Update.
http://forum.xda-developers.com/showthread.php?t=1021711
Click to expand...
Click to collapse
I just tried this, gonna charge to 100% then unplug it and let juiceplotter run to see what happens. Also I have the Samsung account app frozen.

Uptime and Loss of RAM

Greetings! I've read all about not using task killers and refrained myself from using one. But now i'm a bit confused with the efficiency of android RAM management. I simply can't use my Nexus S smoothly beyond 100 hrs of uptime. after which the 'running' tab usually shows >200mb ram used with roughly 50mb of free.
I understand the used RAM was supposed to keep the previously opened apps in cache for faster subsequent execution time. But thats not what going on under the hood, i suppose, after 3/4 days of uptime. When i view 'show cached process' from the 'running' tab, it barely lists the default launcher and 1/2 other apps whereas this menu usually shows more that 10 apps being cached after a fresh boot.
The horrible thing that starts to happen then, most of the apps start exiting as soon as i touch the back button. Nothing except the foreground app stays in the RAM and everything else get dumped out of it and reloads at next launch.
Whats keeping the RAM then, if there's no space for app caching after merely 100hrs of uptime?
I'm not sure but the whole thing has led me believe my system has a major memory leak somewhere. Or, as i've read that the Nexus S actually have quite a bit lees than stated 512mb ram available for user apps… but should i expect this to be normal behaviour? Then why google released this model with inadequate amount of ram in the first place? I'm rebooting my phone every other night to keep it smooth!
Please shed some light, feeling totally lost. I'm moderately heavy user and come from symbian background.
PS: my phone is factory installed stock 2.3.4 with default launcher and widgets since i purchased if 2 mnths ago. no root done yet.
The cached app list in normal Android settings is inaccurate. Try apps like SystemPanel Lite.
Android does take care of RAM usage perfectly usually. Are you saying that your phone gets slower over time? That is quiet impossible unless you got a faulty installation of Android.
Also the "back" button does mean "exit and don't cache" for some/many apps.
Actually I agree my phone gets slow after time. I have to reset then after that it flys aagain
Sent from my Nexus S using XDA App
I noticed this problem as well, and i had read about it before, there are more people noticing it.
Maybe it happens only when you have too much stuff installed and running, if you are not a power user you might not notice it.
I think the android memory management is lacking here and the launcher app should be more robust, but the issue could also be solved if we had more memory.
I have 200+ apps installed in my nexus, some of them have services that run in the background automatically (and some of them didn't even have to, like some games and apps) and this uses memory.
I have around 15 or 20 apps always running as services, this uses 150mb+ memory. If i close any of these they will just start again in a few seconds automatically. The only way to stop this (my ns is not rooted) is if i uninstall them.
So, after a while, the most noticeable effect is that the launcher gets more sluggish and lagging. if i force close all apps it's smooth again, but only for a while. Also after i run a heavier app (like a game) and close it the launcher will restart/reload.
The workaround i found is to uninstall some of the apps/games that run as services until things get smoother again, but i don't want to give up most of them so i have to put up with a bit of sluggishness.
rentaric said:
The cached app list in normal Android settings is inaccurate. Try apps like SystemPanel Lite.
Android does take care of RAM usage perfectly usually. Are you saying that your phone gets slower over time? That is quiet impossible unless you got a faulty installation of Android.
Also the "back" button does mean "exit and don't cache" for some/many apps.
Click to expand...
Click to collapse
Yeah.... my phone gets slow over time, kind of. Let me explain it...
after a fresh boot, i can browse, email, check facebook, make calls, send sms and then come back to browser to find my last loaded page still there. but after 2/3 days of up time, whenever i leave a foreground app and go somewhere else, it gets killed. the worst case i faced was, from the google search app, after inputting my query, it had to close itself before opening the browser to perform the search. it gets that bad.
during these times i usually face a slight delay and jittery animation while opening each app. and the cached processes usually shows only the launcher occupying ~30mb of space and 1 or 2 other very small apps. it appears, because of lack of RAM the system also stops caching the usual number of processes.
i've also thought that my installation could be faulty. i'm using it purely stock for the first few months to get the hang of the way android works. what bothers me, without even rooting it, how can can it get faulty. i even did a factory reset after taking it out of the box.
I'll monitor the situation with the SystemPanel Lite and report back. Thanks for the reply.
temp9300 said:
I noticed this problem as well, and i had read about it before, there are more people noticing it.
Maybe it happens only when you have too much stuff installed and running, if you are not a power user you might not notice it.
I think the android memory management is lacking here and the launcher app should be more robust, but the issue could also be solved if we had more memory.
I have 200+ apps installed in my nexus, some of them have services that run in the background automatically (and some of them didn't even have to, like some games and apps) and this uses memory.
I have around 15 or 20 apps always running as services, this uses 150mb+ memory. If i close any of these they will just start again in a few seconds automatically. The only way to stop this (my ns is not rooted) is if i uninstall them.
So, after a while, the most noticeable effect is that the launcher gets more sluggish and lagging. if i force close all apps it's smooth again, but only for a while. Also after i run a heavier app (like a game) and close it the launcher will restart/reload.
The workaround i found is to uninstall some of the apps/games that run as services until things get smoother again, but i don't want to give up most of them so i have to put up with a bit of sluggishness.
Click to expand...
Click to collapse
This sounds exactly like what i'm facing. thanks for the input. I've also lost my launcher once after exiting the browser with several tabs open.. had to click the home button and then launcher again to get icons back on it. This usually doesn't happen after first 10-15 hrs but after several days of uptime.
I respect the way android tries to manage RAM automatically even by re-spawning the apps if it thinks they needed to be kept cached even after a force close from default task manager. With this kind of supreme automatic power comes huge responsibility of managing it well. It should count for every bits of data (concurrent garbage collection system?). But somehow it appears the ram management system is failing to count some of it and letting parts of the RAM go un accounted for.
I have like 30 apps installed from market with roughly 5 of them having active background process running. And I believe and hope this shouldn't be enough to take the android RAM management system down only after a few days of uptime.
Thanks again for the reply.
I'm going to try "auto memory manager" i read about in other thread as a way of forcing a minimum amount of free ram a bit higher than standard Android does.
It's one more service using memory but if does what is supposed to, maybe at least the launcher will stay more responsive.
The mild setting is too close to default so i have created a custom that looks roughly between mild and agressive.
I'll report back later.
the phone gets horribly slow when the RAM drops to below 50 Mb free
in which point i always have to use task killer to kill them all, and it's fast again until it again reaches less than 50 Mb RAM
another thing i noticed is that with very heavy high quality pictures/icons loaded to customize the launcher it will slow down the performance
instead if the whole launcher theme is less than 2 Mb or less then the phone also works very fast.
AllGamer said:
the phone gets horribly slow when the RAM drops to below 50 Mb free
in which point i always have to use task killer to kill them all, and it's fast again until it again reaches less than 50 Mb RAM
another thing i noticed is that with very heavy high quality pictures/icons loaded to customize the launcher it will slow down the performance
instead if the whole launcher theme is less than 2 Mb or less then the phone also works very fast.
Click to expand...
Click to collapse
...and its unfortunate that i'm hitting the 50mb free RAM barrier with the stock launcher in only 3/4 days of uptime, regularly. why does the default app kill option let the memory go below 50mb then, if this can potentially hamper performance? and i'm not talking about any android phone here, but google's own Nexus flagship.
i remember reading a blog post by an android engineer explaining the merits of memory management by the OS and how task killers only worsen the situation. could they possibly optimize the OS ram management for light to moderate use and expected the heavy users to root and manage it on their own by tinkering the free mem settings? what else could explain the situation?
i wonder how things are with other skinned androids with similar hardware configuration if a Nexus is having tough time behaving well even with its trimmed software package. and i consider myself as only a moderately heavy user.
the memory cleanup isn't perfect in Android.
As much as everyone likes to say that Google tells you not to use task killers or any thing and that Android can take care of itself, every nice ROM out there plays with the minfree settings.
Fact is Android isn't perfect.
I know this from a 256MB device. We set it to it could boot with 30mb free. You could do maps and stuff, but a day later Maps would crash left and right because you ran out of memory. Even if it said 30mb free still in About phone.
The same with the Nexus S. Stock settings allow little free memory. I saw this in CM7. It gets slow after a day. A reboot fixes it all.
I suggest tweaking the minfree values or something so you can get decent performance. Fact is that performance will drop off a bit with up time, but at least if you tweak your minfree settings it should last a LONG time without needing to reboot.
this works great after patched my phone never gets slow
http://forum.xda-developers.com/showthread.php?t=1111145
just an FYI if you try it dont use the CWM version doesn't work on NS for some reason at least it didn't for me
just manually move with root-explorer and set perm to 777 and enjoy
edit
OP not rooted this requires root
dmo580 said:
the memory cleanup isn't perfect in Android.
As much as everyone likes to say that Google tells you not to use task killers or any thing and that Android can take care of itself, every nice ROM out there plays with the minfree settings.
Fact is Android isn't perfect.
I know this from a 256MB device. We set it to it could boot with 30mb free. You could do maps and stuff, but a day later Maps would crash left and right because you ran out of memory. Even if it said 30mb free still in About phone.
The same with the Nexus S. Stock settings allow little free memory. I saw this in CM7. It gets slow after a day. A reboot fixes it all.
I suggest tweaking the minfree values or something so you can get decent performance. Fact is that performance will drop off a bit with up time, but at least if you tweak your minfree settings it should last a LONG time without needing to reboot.
Click to expand...
Click to collapse
thanks for the informative reply. i've started to get the point about the situation. maybe a little more RAM would've delayed this kind of clogging but at its current state our little green robot simply isn't mature enough to carry the load we're putting on its shoulder. it that case i would accuse google of spreading the word that manual intervention isn't necessary. thats simply misleading. they way they've programmed the stock rom appears to be optimum for light use only.
anyway, i guess re-adjusting the minfree values require root, right? i should better start reading up on rooting then.
demo23019 said:
this works great after patched my phone never gets slow
http://forum.xda-developers.com/showthread.php?t=1111145
just an FYI if you try it dont use the CWM version doesn't work on NS for some reason at least it didn't for me
just manually move with root-explorer and set perm to 777 and enjoy
edit
OP not rooted this requires root
Click to expand...
Click to collapse
i'm thinking of learning about rooting now. i like android for everything else it does and this particular device got me hooked with its unusual and clean look, and i don't wanna give up on it easily. but i think i'll have to gather up a lot of knowledge from this forum pages before i can attempt something like you've described.
thanks a lot for the solution anyway. i'll try it as soon as i feel comfortable with my understanding of android internals.
its not really that complicated just a script file you put into /system/etc/init.d with Root Explorer and set full permissions with root explorer and reboot and it starts working and if you dont like or dont want to sue anymore you simply delete the file.
but yea get rooted definitely worth it and you will gain more knowledge
temp9300 said:
I'm going to try "auto memory manager" i read about in other thread as a way of forcing a minimum amount of free ram a bit higher than standard Android does.....
I'll report back later.
Click to expand...
Click to collapse
well, things didn't exactly as i had planned, the test with memory optimizer was going ok but i only did for a day.
After that, i managed to sell my Nexus and went for an SGS2!
So far no lag/sluggishness issues and i have installed most of what i had in the NexusS, this phone has 2 important advantages, it has double the ram (so it should take longer to fill) and also it's faster which might compensate.
demo23019 said:
this works great after patched my phone never gets slow
http://forum.xda-developers.com/showthread.php?t=1111145
Click to expand...
Click to collapse
Dun use the script if you're running netarxhy, mathkid95;16006240 or trinity kernel. It will just made you worst. Oh yea, and also dun use it on Brainmaster miui rom
Sent from my Google Nexus S using XDA Premium App
window7 said:
Dun use the script if you're running netarxhy, mathkid95;16006240 or trinity kernel. It will just made you worst. Oh yea, and also dun use it on Brainmaster miui rom
Sent from my Google Nexus S using XDA Premium App
Click to expand...
Click to collapse
really?? but simms22 use auto memory manager too.. so i think we can still use the script with trinity kernel
king23adrianc said:
really?? but simms22 use auto memory manager too.. so i think we can still use the script with trinity kernel
Click to expand...
Click to collapse
auto memory manager and the script are two different things. honestly, i havent tried the script because auto memory manager works for me. ive been setting it higher than the aggressive setting lately btw...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As a developer I've had to deal a lot with Android's memory management. Simply put, Google is correct in saying that Task Killers do more harm than good. Android is pretty smart about clearing memory.
However, a lot of apps and even some basic framework level calls cause memory leaks, which the garbage collector can't clean. So the only solution is a device reboot.
window7 said:
Dun use the script if you're running netarxhy, mathkid95;16006240 or trinity kernel. It will just made you worst. Oh yea, and also dun use it on Brainmaster miui rom
Sent from my Google Nexus S using XDA Premium App
Click to expand...
Click to collapse
I use matrix, and worked fine on netarchy when i was testing.
and Brainmaster MIUI ROM already has script so yea dont need with his ROM also he provides trinty kernels on his ROM page so if trinity had issues with ram script i dont think he would be providing download links to use with his ROM

Removing bloatware and battery/permormance improvement

As this topic already on debate, whether removing bloatware improves performance(by making RAM free) OR does it improves battery ?
Here look to screenshot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So looking to this, i can say it doesn't affect at all.
As i have pure stock ROM with Stock kernel (Cf Root), and after 11 hr of use and 28% of total battery drain, there is not even recordable battery use noted. So seems if it remains there or does it remove there is no difference on battery
Regarding RAM, as we know there is LMK (Low memory killing) mechanism of android system, android itself keeping recently opened application in background to get quicker access to them, if we remove bloatware then it will be replaced by another applications which we have used recently till android system feels RAM is full.
So in short removing bloatware have cosmetic effect and keeps your device clean from appearing in drawer but not positive effect on RAM/battery.
wow.. another great stuff after mythbusting build.prop tweaks...
.. thanks for the post,
Doctor. Cant we have thread on various myth busters. Like for build.props, kernel cleaning script,etc. shared on xda.
For build.props I had shared a web link on xda by Jeff Mixon,which can be useful.
Sent from my GT-N7000 using xda app-developers app
I disagree on some points you made as facts.
I have been removing bloatwares including system apps, mainly from the manufacturer, for as long as I have learned how to root my phones. I learned how to do it in the hard way and from time to time I soft bricked my phone which I recover by re-flashing the Stock Rom again. By no means I'm encouraging anyone to opitimise their phones by start removing apps. However, in my experience I have had increased my RAM size by comparing how much free RAM was available before and after each optimisation right after a bootup. Also in my experience my phone is much smoother after I'm done with my optimisation process. Battery life also depends on what kind of apps are removed so it can have a little to noticeable improvement too.
Here are some technical explanations. Any apps that start up after boot completion event is triggered would decrease the RAM and they would most likely stay resident in the memory to do some kind of background process, example of such app is Google Play. Another example would be the screenshot service which must be running all the time for the time user gestures for a screenshot.
There are also apps that are launched when an event happens and not necessary the user intend to use them all. This would slow down the phone if few apps were registered for the same events, I have seen cases where apps wrongly registered with events that they don't depend on. Example; Media related commands such Volume UP/Down or headphone plug in/out. I have removed both Google's Music App and Samsung's so there are two apps less respond and RAM is consumed less when I launch my favourite Music app. Obviously the background launch of apps have some impact on the battery too and it would be obvious when the device constantly is being used, not occasionally.
I have already increased the availability of RAM right after bootup by over 50MB on my Note and close to 100MB on Motorola Atrix. Atrix runs on GB and without the optimisation it is very lagy to the point I cannot use it. On GNote the difference is way lower but still noticeable after the optimisation.
Basically, to say there is absolutely no changes in battery and performance is wrong because there are many other factors need to be considered. Thank you.
CSharpHeaven said:
Basically, to say there is absolutely no changes in battery and performance is wrong because there are many other factors need to be considered. Thank you.
Click to expand...
Click to collapse
I agree with this. If I were to run a bloated stock Rom, I could produce several vastly different usage scenarios that would respectively
- not have negative impact on the battery
- have higher impact compared with the same usage on a debloated custom Rom, and
- have severe impact compared with etc.
In other words, if you tread very cautiously and are careful not burden your bloat too much it will be just as fine as any custom Rom. But if you are going to lean heavily on your bloat with WiFi, syncing, location on and at the same time playing online games, I'll bet you anything that it would drain battery much faster than a debloated custom Rom on the same scenario.
@CSharpHeaven
If you get my point, you can understand, removing bloatware freeup memory on booting surely, but as soon as you start playing with device, last used appl will be filled to background till RAM gets full. So effect is some what temporary. other thing if appli remain in backgroung it takes less time to re open(thats why android keep it in BG), and this way it increase performance.
dr.ketan said:
removing bloatware freeup memory on booting surely, but as soon as you start playing with device, last used appl will be filled to background till RAM gets full.
Click to expand...
Click to collapse
Yes, but at least I'll have stuff I actually need running in the background, and not Yahoo Finance, Samsung Account and similar.
Though it may just be some placebo effect but removing bloatwares on your phone (samsung accounts, kies apps) does have some effect on the battery and on the overall performance of the phone.
Bloatwares that you don't necessarily need gives the RAM back to your phone and not only that.. it makes your AppDrawer clean for all the necessary apps that you really really need to be on your phone.
I prefer apps that I particularly need to use and not apps that just stays there but does not have any use at all (on my day to day needs).
chasmodo said:
Yes, but at least I'll have stuff I actually need running in the background, and not Yahoo Finance, Samsung Account and similar.
Click to expand...
Click to collapse
But how long it remains there? it will just disappear when you start playing with device isn't?
Basically my aim is to explain - Removing bloatware doesn't make that difference if you are expecting so much, you might be aware of that many user just root their device to get rid of bloat for hoping their device will shootup like bullet and battery will last for days and days
thats not real.
dr.ketan said:
you must be aware of that many user just root their device to get rid of bloat for hoping their device will shootup like bullet and battery will last for days and days
Click to expand...
Click to collapse
I can't quantify the exact number of users running rooted stock compared to those who rooted to be able to flash custom Roms.
However, if the poll in 'What Rom are you using' thread is anything to go by, there's much more users on custom Roms than
on rooted Stock - check it.
Besides, compelling reasons for rooting your phone are not just bloat removal, but also
- ability to do backups/restores
- ability to flash other Roms
- ability to theme your Roms
- ability to customize Roms in many other ways
- ability to flash kernels that are faster and optimized to be more battery friendly, not to mention SAFER
And finally, to get back to the topic, to get rid of Samsung/carrier crapware and make your phone more responsive and battery efficient.
i became aware of removing apps ( the first target is what we define as bloatware) to free up space in system, so as I could install other apps which i wanted, sometimes for successful rooting purposes, newer mods etc
i never looked towards improvement in battery and performance, did not notice anything in normal usage...
the OP is very convincing
I have removed some 200+ MBs of apps from system including software update, Sam apps etc and there is hardly any increase in free ram, so I dont think removing so called bloatware increases ram.
But yes removing apps like soft update and sam apps which run consistantly in background helps to some extent in battery point of view.
I agree free ram will be occupied by other apps but lot of apps dont run in backgroung they just cache the ram and doesnt impact anything. For example once i saw s pen in cached process using 80 MB of ram but it was not actually running. I dont think such apps use battery or processor in background.
Its still a topic of debate and I think will remain same
Just my 2 cents
Sent from my GT-N7000
I'm not sure about not affecting memory... To be correct on this, need to look on all bloatware cached processes - sometimes there are too much. But, what concerns me more - is the process priority. I'm not sure, but those of /system, both apps & services, seems to get the higher priority, than /data apps. And in case of stock Sammy rom, it's obvious, that their crap will stay in memory forever.
@chasmodo
I think I cudn't explain you properly. I am not saying ppl rooting for removing bloatware only
I want to say my msg to those ' who are rooting only for removing bloatware'
Though these ppl are very few, but I just want to convinced only removing bloatware can't help you much.
Sent from my GT-N7000 using xda premium
@dr.ketan
In Android world applications register with events to be notified with both user and system actions such as GPS, Media Storage, Bluetooth, Wifi, App modifications (install & uninstall) , and so many other events. Also there are many apps that stay awake for some kind of background processing.
You are right to assume Android would kill any apps that is not being used and eventually reclaim the resources. What you have to bear in mind this cleaning process itself also consumes battery and CPU cycles. The smaller the list is, the shorter the CPU cycle would be. Furthermore, installing apps that hardly being used keep Android GC (Garbage Collection) busy because many of these apps coming alive (launching) when one of the events they registered with is fired.
After the first year with Android I learned to install only apps that I have daily use or use them very regularly. This is beyond me why people install over 100 apps on their phones.
By the way, launching apps in background for faster launch is fundamentally against app design for portable devices where resources such as battery is limited. In Android dalvik-cache takes care of lanching apps "quicker".

Extreme RAM usage at least once a day

Hi,
Since I purchased it, my new Moto G5 Plus started acting weird at times, usually once a day with the battery getting nearer to 30%. RAM Usage shoots up, reaching critical levels quickly, and making the phone literally unusable. Only a reboot fixes the issue, and the phone gets as snappy as usual once this is done.
I was lucky enough to screenshot the RAM usage just before the reboot. Two times of three, due to the RAM issue, the screenshot wouldn't even get saved, or it would get covered by FC messages.
I'm aware of how Android RAM management works, I know that unused ram is wasted ram, but this is beyond any limit and does not need any clarification or dismission. Is it a problem of the firmware, the phone, or the OS in general? The model is the European (compass-less, with NFC) 32 GB/3GB variant, bootloader unlocked without root (just booted in TWRP without flashing once, but the issue was present before). Any ideas?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just got the US 32gb/2gb variant today. I'll keep an eye on the memory and let you know if i see anything. Nothing yet but would expect it more on my lower memory model. Not sure how much variance there really are in these devices yet either.
Sent from my Moto G (5) Plus using Tapatalk
Hello mate! I'm facing a same problem even after flashing a NPN25.137-35 ON 3GB indian Varaint! Hope Motorola will figure out and fix this in next update! Pls see my thread : https://forum.xda-developers.com/g5-plus/help/ram-usage-apps-t3582585
Same issue on NA retail version. Frustrating.
I'm experiencing the same issue on my freshly reinstalled NA potter stock ROM.
After doing some research, it seemed that for some G5+ owners out there, enabling automatic night mode in System UI Tuner was the cause of the excessive RAM usage and lag. There's a reddit thread about this called moto_g5_plus_ram_issue but I am unable to post link.
Unfortunately, that was not the root cause for my phone, since I never enabled that feature. I even found it, enabled it, and disabled it just to make sure. Still having to reboot phone at least once a day when it reaches 3.4/3.6 GB RAM usage. Otherwise, the lag causes the phone to be unusable.
2 GB variant here, no issues.
I usually close recent apps too, but i guess you did so too and the ram usage is still high..
I get 80% RAM usage and 704MB free RAM, leaving the system using only 642MB and the apps 517MB. So there is a problem in your device, have you tried custom ROM's? Or you may prefer staying stock in case you have to send your device to repair.
Also, at least in my variant, there is no "Automatic NIght Mode" in system UI tuner, not in stock at least
Qwilava said:
Hi,
Since I purchased it, my new Moto G5 Plus started acting weird at times, usually once a day with the battery getting nearer to 30%. RAM Usage shoots up, reaching critical levels quickly, and making the phone literally unusable. Only a reboot fixes the issue, and the phone gets as snappy as usual once this is done.
I was lucky enough to screenshot the RAM usage just before the reboot. Two times of three, due to the RAM issue, the screenshot wouldn't even get saved, or it would get covered by FC messages.
I'm aware of how Android RAM management works, I know that unused ram is wasted ram, but this is beyond any limit and does not need any clarification or dismission. Is it a problem of the firmware, the phone, or the OS in general? The model is the European (compass-less, with NFC) 32 GB/3GB variant, bootloader unlocked without root (just booted in TWRP without flashing once, but the issue was present before). Any ideas?
Click to expand...
Click to collapse
I'm experiencing this too. Android OS is the app that is the problem. It takes up a freaking 2GBs of RAM!
Thanks for your reply. I do try to keep recent apps cleaned up periodically, but yes, this has been an issue since I bought the phone. I watch Android OS go from 800 MB of RAM usage at first reboot up throughout the day to 2.7 GB, until there's about 200 MG free RAM. That's when the lag hits and phone sometimes spontaneously reboots.
I did actually try flashing the unofficial Lineage 15.1 ROM, but my SIM (Sprint) wasn't recognized when I booted, so I shied away from messing with it further. Still pretty new at this. Might try again when I feel up to redoing phone. Haven't been able to use TWRP to make a backup because it doesn't see the internal SD card, so would have to start over completely...
M1810 said:
2 GB variant here, no issues.
I usually close recent apps too, but i guess you did so too and the ram usage is still high..
I get 80% RAM usage and 704MB free RAM, leaving the system using only 642MB and the apps 517MB. So there is a problem in your device, have you tried custom ROM's? Or you may prefer staying stock in case you have to send your device to repair.
Also, at least in my variant, there is no "Automatic NIght Mode" in system UI tuner, not in stock at least
Click to expand...
Click to collapse
No such thing here. The only 3 apps I keep running are Chrome, WhatsApp and XDA. I do occasionally use other apps but I swipe them when I'm done with them. Here are some screenshots.
PS: If you're wondering why my nav bar buttons are closer, that's coz I used the OP5T nav bar mod which was posted in XDA news a couple of days ago, no root needed tho
Swiping away unneeded apps helps, but RAM was still overused overnight
Hey psychopac, since your post, I have started being much more diligent than before about swiping away apps that I'm done using. It has made a noticeable difference, so thank you. The phone's been lag free.
However, there still seems to be a problem with RAM usage when I'm not actively maintaining it. Last night, I went to sleep with about 750 MB of free RAM, but this morning it dropped back down to 165 MB. I just had Hangouts, Messages, Settings, and Firefox in recent apps open.
For now I'll keep on swiping away apps, since it's much easier to do that than to mess with another ROM or reboot when it lags too badly.
psychopac said:
No such thing here. The only 3 apps I keep running are Chrome, WhatsApp and XDA. I do occasionally use other apps but I swipe them when I'm done with them. Here are some screenshots.
PS: If you're wondering why my nav bar buttons are closer, that's coz I used the OP5T nav bar mod which was posted in XDA news a couple of days ago, no root needed tho
Click to expand...
Click to collapse
---------- Post added at 03:06 PM ---------- Previous post was at 03:01 PM ----------
Okay, so another tip. I have disabled some Google apps that I don't use. They include: Duo, Google Play Movies & TV, Motorola Notifications (the recently added one) and Google app (search).
And one important one which a lot of people might not agree with but it should make a difference on low RAM devices. Out of the three apps I most commonly use, instead of pressing home button, I press back key till I'm on the home. What (I think) that does is it closes the app and frees some memory if not all taken by that app. Now I may be wrong here. Please feel free to correct me. But if that's how it really works, then you can save just a bit more battery than when you keep all the apps that you actively use in the background by pressing home button to minimize all go directly to home without pressing back.
Again, feel free to correct as I may be wrong. Or not? But personally, that's what I do. Some of you may think that what I do closes the app and when I switch back to it, it reloads again which some may think is equal to swiping away an app and opening it again after some time so that it reloads everything from the ground up instead of picking up from where you left off when you just press home button and that app goes into the background but is still working and resumes from the point where you left when you open it again.
So,
1. I always close all the tabs when I'm not using chrome.
2. I always close XDA app (not XDA labs) by pressing back till I'm on the homescreen also because it's better this way as whenever I open it, it loads up new info so I don't have to refresh everything.
You can also see which apps are using exactly how much memory but going into the Settings>Apps>Your app>Memory and keep a check
Opinions?
Hey psychopac, I've been trying your tips to use the back button to close out of the apps, then swiping apps away from recent, as well as disabled the system apps that I don't use.
Still reaching 97% RAM usage on a daily basis.
It looks like what is using the most RAM is Android OS. It will go up from 1.2 GB to 2.6 GB or higher over the course of the day. That seems to push the phone over the edge.
psychopac said:
Okay, so another tip. I have disabled some Google apps that I don't use. They include: Duo, Google Play Movies & TV, Motorola Notifications (the recently added one) and Google app (search).
And one important one which a lot of people might not agree with but it should make a difference on low RAM devices. Out of the three apps I most commonly use, instead of pressing home button, I press back key till I'm on the home. What (I think) that does is it closes the app and frees some memory if not all taken by that app. Now I may be wrong here. Please feel free to correct me. But if that's how it really works, then you can save just a bit more battery than when you keep all the apps that you actively use in the background by pressing home button to minimize all go directly to home without pressing back.
Again, feel free to correct as I may be wrong. Or not? But personally, that's what I do. Some of you may think that what I do closes the app and when I switch back to it, it reloads again which some may think is equal to swiping away an app and opening it again after some time so that it reloads everything from the ground up instead of picking up from where you left off when you just press home button and that app goes into the background but is still working and resumes from the point where you left when you open it again.
So,
1. I always close all the tabs when I'm not using chrome.
2. I always close XDA app (not XDA labs) by pressing back till I'm on the homescreen also because it's better this way as whenever I open it, it loads up new info so I don't have to refresh everything.
You can also see which apps are using exactly how much memory but going into the Settings>Apps>Your app>Memory and keep a check
Opinions?
Click to expand...
Click to collapse
5xonlineage said:
Hey psychopac, I've been trying your tips to use the back button to close out of the apps, then swiping apps away from recent, as well as disabled the system apps that I don't use.
Still reaching 97% RAM usage on a daily basis.
It looks like what is using the most RAM is Android OS. It will go up from 1.2 GB to 2.6 GB or higher over the course of the day. That seems to push the phone over the edge.
Click to expand...
Click to collapse
As you said it yourself that Android OS is using most of the RAM, at this point I'd do a reboot if I were you just to see if it helps or not. BTW, how much memory is Android OS taking? Are you on the latest 1st Jan Patch?
Reboot helps but not for long
psychopac said:
As you said it yourself that Android OS is using most of the RAM, at this point I'd do a reboot if I were you just to see if it helps or not. BTW, how much memory is Android OS taking? Are you on the latest 1st Jan Patch?
Click to expand...
Click to collapse
Rebooting helped but only for about 18 hrs. Android OS starts out using about 700 MB but goes up to at least 2.6 GB before the day is done. That's while closing apps and swiping them away...
I actually am back on Lineage 14.1 so didn't get to try the Jan patch. RAM usage is much better, hovering around 1.6 GB/3.6 GB.
5xonlineage said:
Rebooting helped but only for about 18 hrs. Android OS starts out using about 700 MB but goes up to at least 2.6 GB before the day is done. That's while closing apps and swiping them away...
I actually am back on Lineage 14.1 so didn't get to try the Jan patch. RAM usage is much better, hovering around 1.6 GB/3.6 GB.
Click to expand...
Click to collapse
I'm surprised that Android OS is taking almost more than half the entire RAM space. This is wierd because if you're actively maintaining your recent apps, this shouldn't happen at all

Extreme data usage. Anyone with the same problem?

First of all, I don't know if this thread has to be here or in other subforum. And sorry for bad English too.
Hi, since some months I have a problem with data usage with my Moto G4 (XT1622). This started happening when I installed AICP 13.0 Oreo Rom. Android OS started consuming data very very fast (1GB per week on wifi and slightly less on data, but still quite high). I have a friend who has a Moto G4 Plus (XT1642) and is on Resurrection Remix 5.8.5 (Android 7.1.2_r36) and has the same problem. Before this happened to me I was using the same Rom and didn't have that problem so I returned back to RR 5.8.5 and surprise! High data usage. Now it seems to happen in every Rom.
Here are some pictures of what is going on:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(SO Android means Android OS)
This is one of my screenshots when I was using MIUI
By the way, if i disable background data and go back then automaticly enables itself.
I tried AFWall+ but nothing changes, still insane data usage.
loque036 said:
First of all, I don't know if this thread has to be here or in other subforum. And sorry for bad English too.
Hi, since some months I have a problem with data usage with my Moto G4 (XT1622). This started happening when I installed AICP 13.0 Oreo Rom. Android OS started consuming data very very fast (1GB per week on wifi and slightly less on data, but still quite high). I have a friend who has a Moto G4 Plus (XT1642) and is on Resurrection Remix 5.8.5 (Android 7.1.2_r36) and has the same problem. Before this happened to me I was using the same Rom and didn't have that problem so I returned back to RR 5.8.5 and surprise! High data usage. Now it seems to happen in every Rom.
Here are some pictures of what is going on:
(SO Android means Android OS)
This is one of my screenshots when I was using MIUI
By the way, if i disable background data and go back then automaticly enables itself.
I tried AFWall+ but nothing changes, still insane data usage.
Click to expand...
Click to collapse
If you check correctly, only AndroidOS has used data..
That's known bug, data of other apps is calculated as data of AndroidOS. check for your daily internet using apps, some of them will have 0kb used (Google Chrome is one)...
____Mdd said:
If you check correctly, only AndroidOS has used data..
That's known bug, data of other apps is calculated as data of AndroidOS. check for your daily internet using apps, some of them will have 0kb used (Google Chrome is one)...
Click to expand...
Click to collapse
I don't use google Chrome, and this happens even when installing any rom without any third party apps or google apps. Even in safe mode i get this high usage.
loque036 said:
I don't use google Chrome, and this happens even when installing any rom without any third party apps or google apps. Even in safe mode i get this high usage.
Click to expand...
Click to collapse
As said already, it's a known bug. Maybe you can check your data usage on your provider(some web page) to know if it's real or just the bug mentioned before.
strongst said:
As said already, it's a known bug. Maybe you can check your data usage on your provider(some web page) to know if it's real or just the bug mentioned before.
Click to expand...
Click to collapse
The data usage is real. Also noticed that this bug also happens on some galaxy s7 and google pixel but there the solution is a factory reset but that doesn't work in my case.
loque036 said:
The data usage is real. Also noticed that this bug also happens on some galaxy s7 and google pixel but there the solution is a factory reset but that doesn't work in my case.
Click to expand...
Click to collapse
You don't need to worry,
your data is not used by AndroidOS, that's only mis-calculation..
Let me clear it,
(In my case: i mostly use google chrome, drive, whatsapp, twitter, but none of them have used 50MBs, see screenshot attached, all the data usage is mis-calculated for AndroidOS. In reality, no data is used by AndroidOS. That's only sum of other apps.)
Check for your apps, which uses data, they (some or all) will have 0kb used because it is calculated in AndroidOS...
____Mdd said:
You don't need to worry,
your data is not used by AndroidOS, that's only mis-calculation..
Let me clear it,
(In my case: i mostly use google chrome, drive, whatsapp, twitter, but none of them have used 50MBs, see screenshot attached, all the data usage is mis-calculated for AndroidOS. In reality, no data is used by AndroidOS. That's only sum of other apps.)
Check for your apps, which uses data, they (some or all) will have 0kb used because it is calculated in AndroidOS...
Click to expand...
Click to collapse
OK I see, so it seems normal and looking at my screenshots i don't see youtube which is an app that my friend has in his phone. Ok then.

Categories

Resources