Tweak Moto g5 plus - Moto G5 Plus Themes, Apps, and Mods

This are some build prop tweaks that make Moto g5 plus fly .
Pros
1) Better ram management
2) More free ram
3) Faster app install
4) fast scrolling
and more test yourself and see.
Just copy and paste this build prop tweak in system/build prop file and reboot.
ro.SECONDARY_SERVER_ADJ=10
ro.HIDDEN_APP_ADJ=12
ro.EMPTY_APP_ADJ =15
ro.HEAVY_WEIGHT_APP_ADJ=9
ro.BACKUP_APP_ADJ=10
dalvik.vm.usejitprofiles=speed
dalvik.vm.dex2oat_swap=true
persist.zygote.preload_threads=4
ro.hwui.use_gpu_pixel_buffers=true
ro.hwui.disable_scissor_opt=false
ro.hwui.text_gamma_correction=lookup
ro.hwui.disable_vsync=true
ro.hwui.shape_cache_size=4
ro.max.fling_velocity=15000
dalvik.vm.verify_bytecode=false
ro.HOME_APP_ADJ=2
ro.hwui.render_dirty_regions=false
ro.zygote.disable_gl_preload=1
dalvik.vm.heapminfree=4m
dalvik.vm.heapmaxfree=16m
dalvik.vm.dexopt-data-only=1
ro.zygote.disable_gl_preload=true
dalvik.vm.extra_free_kbytes=4096
dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n

Look through any device section and there is always one of these posts. I prefer to keep apps in memory so they don't reload when you go back to them rather than kill everything and keep RAM unused. I agree, this does keep things smooth by killing everything, but after the app reloads it's pointless..

mikeyinid said:
Look through any device section and there is always one of these posts. I prefer to keep apps in memory so they don't reload when you go back to them rather than kill everything and keep RAM unused. I agree, this does keep things smooth by killing everything, but after the app reloads it's pointless..
Click to expand...
Click to collapse
what I personally don't get is that this phone is already fast.
why should I add some random tweaks to make it "faster" ?
I just don't see a benefit

This work on Oreo(Lineage 15.0) too?

I see this being useful for people with the 2gb version but that's the reason I got the 4gb model. So I don't have to worry about using up my RAM. Phone already fly's

bvsbutthd101 said:
I see this being useful for people with the 2gb version but that's the reason I got the 4gb model. So I don't have to worry about using up my RAM. Phone already fly's
Click to expand...
Click to collapse
Yes, this is for 2 and 3 GB variant .

ckret said:
what I personally don't get is that this phone is already fast.
why should I add some random tweaks to make it "faster" ?
I just don't see a benefit
Click to expand...
Click to collapse
Have you used the 2gb ram variant.

mikeyinid said:
Look through any device section and there is always one of these posts. I prefer to keep apps in memory so they don't reload when you go back to them rather than kill everything and keep RAM unused. I agree, this does keep things smooth by killing everything, but after the app reloads it's pointless..
Click to expand...
Click to collapse
If you have problem with app reload then don't use foreground app and visible app line.

I'm running 2 gig variant never have any issues but I also don't play games but I compile roms and run youtube heavily without using any tweaks

I have the 4 gig variant, but some apps don't stay in memory. Apps like whatsapp are always restarting in the background even though I have > 1 GB ram free
Note : I did not apply this or any mod. It's completely stock

To be honest, my 2GB variant runs just fine. No tweaks needed.

n7slc said:
To be honest, my 2GB variant runs just fine. No tweaks needed.
Click to expand...
Click to collapse
I agree. But I'm fairly certain there is a memory leak of some sort in the stock FW. I have to reboot every few days or things really slow down. I especially notice it typing on GBoard

mine was danfo a gagging and stopped, improved a lot, thanks

Related

[Q] Low available Ram !!!

Hey Guys ... Did you look to the Ram status in the Galaxy Note ???
I have 600+/800 usage in normal situations !!! and when I clear ram it reached to 400+ which goes back to more than 600 Mb after moderate usage !!! what about in your Notes guys ??? Any solution for this ?? plz comments ....
What is it you are planning on doing with the free ram? Has the use of ram caused any problems? Don't worry about it and use the device. There is no point in trying to worry about something which is being used or not being used which is not affecting you in any way. Until it does have fun with the phone.
Do you think Android is running on air? The Note has 1GB RAM which the OS takes 200MB at boot. The rest is used by apps and other things. If you're not going to use the RAM, then why do you need it?
"My computer uses 50MB of RAM, And i have 32GB of it!" WHAT'S THE POINT?!
Try RAM Manager by Juwe. Be aware that the more memory you free up the worse multitasking will be.
Are you kidding me? Use RAM Manager when your device has 1GB of it? Please slap me as hard as you can.
This thread needs to be deleted.
RAM is there to be used.
I would use 100% of my RAM 100% of the time if I could. If it's not being used, it's being wasted.
Unused RAM is totally wasted. When 2GB devices come out OMG my device is using 1GB out of my 2GB!!!
To each his own, who are you to tell others what to do with their RAM? I'm not your typical "as much free memory as possible freak" but how comes that when I kill some apps before running something more intensive it's usually smoother and performs better?
pjm77 said:
To each his own, who are you to tell others what to do with their RAM? I'm not your typical "as much free memory as possible freak" but how comes that when I kill some apps before running something more intensive it's usually smoother and performs better?
Click to expand...
Click to collapse
I've never had to manually kill apps with my G-Note, so I dont know what your doing wrong, Could be a faulty device as far as I can tell.
Thanks for your advice, I'm running to get it replaced.
pjm77 said:
Thanks for your advice, I'm running to get it replaced.
Click to expand...
Click to collapse
600mb usage is totally normal on moderate use. Obviously you don't know how RAM Management work on Android. Go and replace your phone but nothing will change.
Sent from my GT-N7000 using XDA App
Would you replace your computer because it's using to much RAM?
Chances are you would find the RAM hog and keep it from starting up when not neccesary.
600mb is normal usage.... if you are not happy with that high of usage delete the apps that have services running or are always in the background. Android does this for you as you approach full RAM usage anyways though...
garytube said:
600mb usage is totally normal on moderate use. Obviously you don't know how RAM Management work on Android. Go and replace your phone but nothing will change.
Ever heard of irony?
Of course I'm not gonna get it replaced I'm happy with the way it is.
Yes, I've read about Android memory management quite a while ago. Very smart and very convincing. Now on the other hand - every now and then after some intense moments - let's say I'm driving and I'm using offline satnav then online satnav then there is a phonecall, then I make a voice note, I get out, send a text, use my GTD app and whatever else - after hours of such use when I get home, stretch my legs and I fancy to play let's say Galaxy on Fire 2, I find it smoother and less likely to crash if I just press "kill all apps" button in Task Manager. And since I installed RAM Manager I don't have to do it. And I haven't noticed any side effects that would interfere with my style of using my phone.
So guess what - I really don't give a **** about Android memory management and all expert opinions because I know what works for me and I'm happy with that state of things.
Click to expand...
Click to collapse
pjm77 said:
garytube said:
600mb usage is totally normal on moderate use. Obviously you don't know how RAM Management work on Android. Go and replace your phone but nothing will change.
Ever heard of irony?
Of course I'm not gonna get it replaced I'm happy with the way it is.
Yes, I've read about Android memory management quite a while ago. Very smart and very convincing. Now on the other hand - every now and then after some intense moments - let's say I'm driving and I'm using offline satnav then online satnav then there is a phonecall, then I make a voice note, I get out, send a text, use my GTD app and whatever else - after hours of such use when I get home, stretch my legs and I fancy to play let's say Galaxy on Fire 2, I find it smoother and less likely to crash if I just press "kill all apps" button in Task Manager. And since I installed RAM Manager I don't have to do it. And I haven't noticed any side effects that would interfere with my style of using my phone.
So guess what - I really don't give a **** about Android memory management and all expert opinions because I know what works for me and I'm happy with that state of things.
Click to expand...
Click to collapse
I liked your response, but it's not irony, it's sarcasm
Click to expand...
Click to collapse
pjm77 said:
garytube said:
600mb usage is totally normal on moderate use. Obviously you don't know how RAM Management work on Android. Go and replace your phone but nothing will change.
Ever heard of irony?
Of course I'm not gonna get it replaced I'm happy with the way it is.
Yes, I've read about Android memory management quite a while ago. Very smart and very convincing. Now on the other hand - every now and then after some intense moments - let's say I'm driving and I'm using offline satnav then online satnav then there is a phonecall, then I make a voice note, I get out, send a text, use my GTD app and whatever else - after hours of such use when I get home, stretch my legs and I fancy to play let's say Galaxy on Fire 2, I find it smoother and less likely to crash if I just press "kill all apps" button in Task Manager. And since I installed RAM Manager I don't have to do it. And I haven't noticed any side effects that would interfere with my style of using my phone.
So guess what - I really don't give a **** about Android memory management and all expert opinions because I know what works for me and I'm happy with that state of things.
Click to expand...
Click to collapse
it looks like to me that you posted in this thread just to promote RAM Manager
Click to expand...
Click to collapse
TeeeJaay said:
pjm77 said:
it looks like to me that you posted in this thread just to promote RAM Manager
Click to expand...
Click to collapse
I posted in this thread beacuse another user complained about the problem that I came across and found solution to. It's certainly not the best one, but it's the one that works for me.
In the meantime I got ridiculed by more social-oriented users who need to accept and be accepted. To which I got upset and posted some crap. As a result I hijacked the thread. I apologize and shut up.
Click to expand...
Click to collapse
LordManhattan said:
Are you kidding me? Use RAM Manager when your device has 1GB of it? Please slap me as hard as you can.
Click to expand...
Click to collapse
Samsung makes us fool it has only 800MB RAM. Even i thought it was 1GB.
It has 1GB. 200MB is reserved for the system.
Sent from my GT-N7000 using xda premium
Memory usage
My daughter started a game where a photo is used in the programme, and I got the message "Free RAM low, resolution of photo reduced". Had to kill running services to be able to run it without the reduced resolution. Checked the overall Galaxy Note ram usage and just out of the box I have around 230mb free of RAM, I have an HTC Desire HD (768 ram) that has the same free and it is filled with running apps. When you get that kind of messages from a new phone, from some ****ty simple kid programme before I have even filled it up with stuff I get really annoyed. When I kill all I can i can get max up to 400mb.
Yup, TouchWiz is a greedy RAM eating whore. Wait for CM9 and then you'll see why custom UIs like TouchWiz and Sense is bull****.
Sent from my iPad GT-N7000 using xda premium

Ram management

So I'm sure we all know about launcher redraws and such, how to reduce such issues? My BL is unlocked but I'm enjoying doomkernel and don't want to take the plunge into CM just yet
Sent from my C5303 using Tapatalk
@non4 said:
So I'm sure we all know about launcher redraws and such, how to reduce such issues? My BL is unlocked but I'm enjoying doomkernel and don't want to take the plunge into CM just yet
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
You can try using Clean Master.Recently a user had problem with ram management(especially when playing games) and clean master fixed his issue.You should also try it or wait for android 4.3 and hope for a better ram management :fingers-crossed:
UltraWelfare said:
You can try using Clean Master.Recently a user had problem with ram management(especially when playing games) and clean master fixed his issue.You should also try it or wait for android 4.3 and hope for a better ram management :fingers-crossed:
Click to expand...
Click to collapse
I installed the 4.3 leak already, at least I haven't parted with stock completely thanks anyway
Sent from my C5303 using Tapatalk
UltraWelfare said:
You can try using Clean Master.Recently a user had problem with ram management(especially when playing games) and clean master fixed his issue.You should also try it or wait for android 4.3 and hope for a better ram management :fingers-crossed:
Click to expand...
Click to collapse
I tried clean master yesterday but the result was not great... I search some tuto about how to use it and if I understand well, it's just a task killer.
I also tried an experiment : I enabled the little widget (in clean master) which show the percentage of RAM used in real time, then I opened a game (dear hunter 2014).
After 1 minute in the game, the percentage of RAM used (if the information of clean master is exact) was 67% and suddenly, the widget disappeared : I think all the app in background had been closed. So why? It shouldn't happend because a lot of RAM was free.
And finally, even with all app in background killed, after 2/3 minutes, I have a FC in the game...
So if someone has an idea/theory about what happen with RAM management, I would be very happy to know!
Informations :Xperia SP Rooted, BL Locked, ROM : Existenz 1.3.7.
Jamprojekt said:
I tried clean master yesterday but the result was not great... I search some tuto about how to use it and if I understand well, it's just a task killer.
I also tried an experiment : I enabled the little widget (in clean master) which show the percentage of RAM used in real time, then I opened a game (dear hunter 2014).
After 1 minute in the game, the percentage of RAM used (if the information of clean master is exact) was 67% and suddenly, the widget disappeared : I think all the app in background had been closed. So why? It shouldn't happend because a lot of RAM was free.
And finally, even with all app in background killed, after 2/3 minutes, I have a FC in the game...
So if someone has an idea/theory about what happen with RAM management, I would be very happy to know!
Informations :Xperia SP Rooted, BL Locked, ROM : Existenz 1.3.7.
Click to expand...
Click to collapse
The little widget dissapears when a fullscreen app is being used..It continues in background.
@non4 said:
I installed the 4.3 leak already, at least I haven't parted with stock completely thanks anyway
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
ram management in 4.3 leak seems like not working. as ram drops to as low as 14mb.
panjgoori said:
ram management in 4.3 leak seems like not working. as ram drops to as low as 14mb.
Click to expand...
Click to collapse
That is probalby because it's a leak, only meant for testing
UltraWelfare said:
The little widget dissapears when a fullscreen app is being used..It continues in background.
Click to expand...
Click to collapse
I'm not sure we are talking about the same "widget". I'm talking about the option "flotting widget". And yes, it is supposed to stay all the time on screen (and by the way it stayed a minute aproximatly).
Jamprojekt said:
I'm not sure we are talking about the same "widget". I'm talking about the option "flotting widget". And yes, it is supposed to stay all the time on screen (and by the way it stayed a minute aproximatly).
Click to expand...
Click to collapse
Check clean master settings or install battery doctor
UltraWelfare said:
Check clean master settings or install battery doctor
Click to expand...
Click to collapse
Thank you for the answer and the idea.
But I really would understand what happen with the RAM.
Before, I used LMT Launcher (pie control) and the same thing happened: LMT was killed after 1 minute in the game.
To sum up: I have 300mb RAM free, I open the game and then all app are killed. And I don't understand why. The game don't use more than 300 mb RAM no?
Plus, this problem don't happen with my brother's galaxy tab 3 (1Gb RAM too).
Jamprojekt said:
Thank you for the answer and the idea.
But I really would understand what happen with the RAM.
Before, I used LMT Launcher (pie control) and the same thing happened: LMT was killed after 1 minute in the game.
To sum up: I have 300mb RAM free, I open the game and then all app are killed. And I don't understand why. The game don't use more than 300 mb RAM no?
Plus, this problem don't happen with my brother's galaxy tab 3 (1Gb RAM too).
Click to expand...
Click to collapse
First of all you can click the thanks button .That's why it is there to shorten the length of telling thanks.Back to our point.
LMT things that your game is eating a lot ram and doesn't know if you are really using it.So it kills it to save up ram.
Each games uses different amount of ram.Like a 2d game would use 50mb ram and a 3d game may use 100mb of ram.
It depends on.Xperia SP has a bad ram management for now and onwards to the next version (4.3) it will be fixed a lot.
The rollout starts early Feb / ends of Jan...You can wait a little can't you?
UltraWelfare said:
First of all you can click the thanks button .That's why it is there to shorten the length of telling thanks.Back to our point.
LMT things that your game is eating a lot ram and doesn't know if you are really using it.So it kills it to save up ram.
Each games uses different amount of ram.Like a 2d game would use 50mb ram and a 3d game may use 100mb of ram.
It depends on.Xperia SP has a bad ram management for now and onwards to the next version (4.3) it will be fixed a lot.
The rollout starts early Feb / ends of Jan...You can wait a little can't you?
Click to expand...
Click to collapse
Of course I can wait but I'm afraid that it won't be better in the future (the leak of 4.3 don't improve this point obsviously even with more free RAM).
Jamprojekt said:
Of course I can wait but I'm afraid that it wan't be better in the future (the leak of 4.3 don't improve this point obsviously even with more free RAM).
Click to expand...
Click to collapse
Days pass devs improve...We don't know what they will bring ...I will find some more apps to free your ram later on but until the devs won't fix it you will have bad ram management(Not only you)
UltraWelfare said:
Days pass devs improve...We don't know what they will bring ...I will find some more apps to free your ram later on but until the devs won't fix it you will have bad ram management(Not only you)
Click to expand...
Click to collapse
you could also use greenify (with xposed features) and fast reboot before playing a game. works like a charm to me
Nanostray said:
you could also use greenify (with xposed features) and fast reboot before playing a game. works like a charm to me
Click to expand...
Click to collapse
Nanostray you are a magician.I totally forgot greenify(even though i have it installed)
UltraWelfare said:
Nanostray you are a magician.I totally forgot greenify(even though i have it installed)
Click to expand...
Click to collapse
If you need a really powerful combination, put the hibernate-shortcut together with the fast reboot app on the same homescreen. Then first use the fast reboot (system apps etc) and then use greenify (all other apps, including fast reboot).Instant 300mb+ RAM (with my phone)
Nanostray said:
If you need a really powerful combination, put the hibernate-shortcut together with the fast reboot app on the same homescreen. Then first use the fast reboot (system apps etc) and then use greenify (all other apps, including fast reboot).Instant 300mb+ RAM (with my phone)
Click to expand...
Click to collapse
So only 400mb are being used from the device?
UltraWelfare said:
So only 400mb are being used from the device?
Click to expand...
Click to collapse
I'm not sure, but the first 5 minutes after the killing, free RAM is usually 350-360mb
Nanostray said:
I'm not sure, but the first 5 minutes after the killing, free RAM is usually 350-360mb
Click to expand...
Click to collapse
Then how is it possible that Chrome kills music player? My Desire X has 768 mb ram and can keep both running (on a heavy sense rom)
GtrCraft said:
Then how is it possible that Chrome kills music player? My Desire X has 768 mb ram and can keep both running (on a heavy sense rom)
Click to expand...
Click to collapse
No clue mate, better drivers maybe?

Is it normal only 1,5 gb ram free?

When I reboot the tablet and look the free ram memory only have 1,5 ram free, is it the normal when this tab has 3 gb ram? I have thunderrom and skyhigh kernel installed.
Yep. It's for most of the android processes and important things that need to run. I also get that much too.
Sent from SMT800 using Tapatalk.
-Helper around Tab S forums√
Active Everyday√
yeiyei0891 said:
When I reboot the tablet and look the free ram memory only have 1,5 ram free, is it the normal when this tab has 3 gb ram? I have thunderrom and skyhigh kernel installed.
Click to expand...
Click to collapse
Yup that's totally normal I'm running cm12 and it's using 1.5GB.
I'm on stock, non rooted and using ES Explorers task killer i can still have about 1.4GB free.
Ok, then 3gb RAM but really you can use less that half of it.
Yep. But hey at least we got 3 GB of ram instead of 2 GB!
Sent from SMT800 using Tapatalk.
-Helper around Tab S forums√
Active Everyday√
DUHAsianSKILLZ said:
Yep. But hey at least we got 3 GB of ram instead of 2 GB!
Sent from SMT800 using Tapatalk.
-Helper around Tab S forums√
Active Everyday√
Click to expand...
Click to collapse
Yeah i get 2GB to use because my system uses 1GB
yeiyei0891 said:
Ok, then 3gb RAM but really you can use less that half of it.
Click to expand...
Click to collapse
I do wish people would actually learn about RAM and why free RAM is actually wasted RAM.
A good summary can be found here: http://m.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
foxmeister said:
I do wish people would actually learn about RAM and why free RAM is actually wasted RAM.
A good summary can be found here: http://m.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
Click to expand...
Click to collapse
Yeah but otoh caching boat load of stuff into ram that won't be used is a waste of battery.
I look at the list of running processes with a system monitor and I have to say WTF does it just load every thing or what. It's running apps I don't even use any more but haven't uninstalled just in case. So if I don't want them running I have to freeze them. And that does not include all the system processes whose purpose I can't even tell. It's kind of nuts.
foxmeister said:
I do wish people would actually learn about RAM and why free RAM is actually wasted RAM.
A good summary can be found here: http://m.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
Click to expand...
Click to collapse
Sorry but you should start to learn yourself. The RAM displayed as free is actually used as a file cache. Besides, Android killing apps in the background means that it takes longer to start a new app in a low RAM situation (because the new app needs to wait until the LMK cleared enough space) and of course you lose the context of the closed app (it needs to reload data from the internal storage or even worse from the web when you restart it).
TheGoD said:
Sorry but you should start to learn yourself. The RAM displayed as free is actually used as a file cache. Besides, Android killing apps in the background means that it takes longer to start a new app in a low RAM situation (because the new app needs to wait until the LMK cleared enough space) and of course you lose the context of the closed app (it needs to reload data from the internal storage or even worse from the web when you restart it).
Click to expand...
Click to collapse
Are you in a low RAM situation when you have 1GB free out of 3GB? NO! 0.5GB out of 3GB? NO!
Does it take a significant amount if time to reclaim resources when android does require additional RAM, because it genuinely is in a low RAM situation? No, because it unceremoniously terminates unused processes, releasing resources to the kernel almost immediately. This is very different from garbage collection to release unused memory from active processes.
Don't just believe me though - take it from the people who actually wrote the OS - http://android-developers.blogspot.de/2010/04/multitasking-android-way.html?m=1
It's also worth saying that you've also validated my statement "Free RAM is wasted RAM" by saying that the OS "uses" free RAM as a file cache.
All that being said, the context of this entire thread is why the OS is "using" 1.5GB out of 3GB pretty much at boot. All I've said is why this is perfectly normal, and in the general usage case, actually not undesirable.
Of couse there will be specific usage cases, where this is not going to be the optimum approach, but this is only going to affect a very small minority of users, with extremely memory demanding applications.
barth2 said:
Yeah but otoh caching boat load of stuff into ram that won't be used is a waste of battery.
Click to expand...
Click to collapse
No. RAM impact on battery life is, for all practical purposes, insensitive to the amount of RAM being used. When sections of RAM are clear, the locations are not zeroed out or anything. Instead the space is just added to a free space table. Stuff in RAM not being used does not waste battery. The exception to this is if that RAM is being occupied by a misbehaving program that is driving CPU usage.
foxmeister said:
Are you in a low RAM situation when you have 1GB free out of 3GB? NO! 0.5GB out of 3GB? NO!
Click to expand...
Click to collapse
Foxmeister is exactly right. In nearly all real world cases, higher RAM usage leads to faster performance and better battery life.
GeorgeP said:
No. RAM impact on battery life is, for all practical purposes, insensitive to the amount of RAM being used. When sections of RAM are clear, the locations are not zeroed out or anything. Instead the space is just added to a free space table. Stuff in RAM not being used does not waste battery. The exception to this is if that RAM is being occupied by a misbehaving program that is driving CPU usage.
Foxmeister is exactly right. In nearly all real world cases, higher RAM usage leads to faster performance and better battery life.
Click to expand...
Click to collapse
No, but you still have to get the data into RAM. That takes power, which it is wasted if the data is never used.
barth2 said:
No, but you still have to get the data into RAM. That takes power, which it is wasted if the data is never used.
Click to expand...
Click to collapse
It's a trade off - preload the processes and data so that they can be accessed far more quickly (less lag) if and when required. Once in memory, if they are not being used the battery drain is negligible.
The reduction in perceived lag is *far* greater than any battery drain.
Regards,
Dave
barth2 said:
No, but you still have to get the data into RAM. That takes power, which it is wasted if the data is never used.
Click to expand...
Click to collapse
LOL! Now are in angels dancing on a the head of a pin territory:laugh:
GeorgeP said:
LOL! Now are in angels dancing on a the head of a pin territory:laugh:
Click to expand...
Click to collapse
Lag is mostly a function of user expectation.
When you open a new app that is not running, you expect a delay. So as long as it's not excessively long, you don't feel lag. unnecessary preloading then just increases bootup time and long boot up time DOES bother people.
Now it makes sense to preload frequently used apps and some system apps that have high probability of being needed. But what I was talking about is seeing apps I used once once weeks ago still get loaded, while some apps I use every session, like my browser, not loaded on start up. The algorithm needs tweaking.
(Large apps like games have long load time, but you are not going to cache those so they are not in the conversation.)
Most lags people experience is in app lag. It's mostly due to loading graphics onto the screen, screen painting, and garbage collection.
What baffles me is I have an iPad 3 (there have been 4 generations of iPads since then) , which on paper is like a Toyota Camry compared to the Tab S BMW 300. And yet on many same apps the iPad feels smoother, scrolling around is less jerky. The only place where the Tab S is superior is 3d games like asphalt with high details and because it has 3x memory, apps need reloading less.
barth2 said:
Lag is mostly a function of user expectation.
When you open a new app that is not running, you expect a delay. So as long as it's not excessively long, you don't feel lag. unnecessary preloading then just increases bootup time and long boot up time DOES bother people.
Click to expand...
Click to collapse
The vast majority of users (i.e. the sort of user who doesn't frequent sites like XDA) probably don't reboot their tablets/phones very often at all, so most people probably aren't that bothered.
I rather suspect that the engineers at Google have experimented with an awful lot of different strategies, before settling on what we have now.
Is it perfect? No. Like everything software related, it could do with improvement but this is always a continuous, on going process
Regards,
Dave

[PSA] Memory Leak still present in 5.0.2

Not sure if you all know this or not but the memory leak from 5.0 is still present in 5.0.2. Screenshots show it. First is before restart, second is after restart.
Sent from my Nexus 5 with the N5X LRX22G ROM
procitysam said:
Not sure if you all know this or not but the memory leak from 5.0 is still present in 5.0.2. Screenshots show it. First is before restart, second is after restart.
Sent from my Nexus 5 with the N5X LRX22G ROM
Click to expand...
Click to collapse
So u conclude this only because less ram is free ? Or the device becomes unusable?
Pretty sure everyone knows, and if you look at a changelog there was no mention of it being fixed: http://aosp.changelog.to/aosp-LRX22C-LRX22G.html
There are commits that fix a memory leak (https://github.com/Lethargy/android_frameworks_base/commit/da2133d046e59b590e51448eda31d710da217d40 and https://github.com/Lethargy/android_frameworks_base/commit/e30ccdbeac2c53b04a389c7ffd8e9d500c93ef30), however I do not experience such memory leak myself so I cannot say if it fixed the issue for others.
Lethargy said:
Pretty sure everyone knows, and if you look at a changelog there was no mention of it being fixed: http://aosp.changelog.to/aosp-LRX22C-LRX22G.html
There are commits that fix a memory leak (https://github.com/Lethargy/android_frameworks_base/commit/da2133d046e59b590e51448eda31d710da217d40 and https://github.com/Lethargy/android_frameworks_base/commit/e30ccdbeac2c53b04a389c7ffd8e9d500c93ef30), however I do not experience such memory leak myself so I cannot say if it fixed the issue for others.
Click to expand...
Click to collapse
Just asking regrading the 2 links you posted... Is it the screen off animation causing the memory leak and maybe if you switch off the animation in developer settings will it fix it?
tanjiajun_34 said:
Just asking regrading the 2 links you posted... Is it the screen off animation causing the memory leak and maybe if you switch off the animation in developer settings will it fix it?
Click to expand...
Click to collapse
I'm not sure if those commits fix the memory leak that is widely experienced by some users. I only know it fixes "a" memory leak. Again, I did not experience a memory leak myself before merging those commits to my ROM source, so I can't comment on whether it helps or not.
Not sure if turning off animation will make a difference or not, but I don't think it will.
doctor_droid said:
So u conclude this only because less ram is free ? Or the device becomes unusable?
Click to expand...
Click to collapse
I conclude this because yes there is less RAM available and it then causes the device to become very laggy and difficult to use.
Sent from my Nexus 5 with the N5X LRX22G ROM
Always got to have one pedantic one. Yes the memory leak still exists.
So is there any chance to fix it?
Uptime: 235:34:19
Stock 5.0.1
Also 3 Day usage with 3 h sot on data (3g) and wifi on but connected only during 22 to 10.
There's a memory leak?
1.3Gb free here, been on stock 5.0.1 for something like a week now. Maybe there's something else eating up your RAM.
Some say it is the Google Experience Launcher...
Gesendet von meinem Nexus 5 mit Tapatalk
This memory leak obviously is not hitting every device, me and 2 of my buds are seeing this issue (system fills up RAM and handling the device becomes a struggle), while a fourth friend is not seeing it on his N5.
3 days ago i ditched the Google Now launcher and returned to Nova, and i think the problem is not that severe anymore, but i have to keep an eye on it for a bit longer to be able to say for sure.
doctor_droid said:
So u conclude this only because less ram is free ? Or the device becomes unusable?
Click to expand...
Click to collapse
How is this a memory leak? When more memory is needed, it will open up. Contrary to a long time "windows user" mentality, using memory is good. Especially on android. Why do people think using ram is bad? Using ram helps speed things up.
On a semi side note, after perusing computer forums for many years, I've seen many people get as much RAM as possible then try to get their systems to use as little as possible. It makes no sense. RAM is your friend. Use it.
I haven't had this 'memory leak' ever..even from 5.0.0
Yes using ram speeds things up but only when its being used for things like caching preloading and keeping apps in memory. Even then too little free ram can result in lots of paging when using multiple apps so the system tries to achieve a balance keeping some things in memory while having enough free to not cause paging. In this case people are reporting the opposite that after a few days the phone becomes slow and laggy and memory usage is very high even when they have no apps open so there is no swapping it paging going on. If it was just the is caching things it would just delete them to make room for the current app but that is not the case, the only explanation there fore is that something is leaking memory and consuming it till there is very little left for anything else. Also the os might not be managing memory properly but that seems unlikely as android has always been pretty good at memory management.
Sent from my Nexus 5 using XDA Premium 4 mobile app
I'm thinking the highly modified ROM/kernel combination might have more of an effect on OPs free RAM than any "memory leak". Stocks working just fine. Still 1.3Gb free after games, forums, screen on/off, been on for three days, etc.
Can't post screenshots with XDA one app?
killersloth said:
I'm thinking the highly modified ROM/kernel combination might have more of an effect on OPs free RAM than any "memory leak". Stocks working just fine. Still 1.3Gb free after games, forums, screen on/off, been on for three days, etc.
Can't post screenshots with XDA one app?
Click to expand...
Click to collapse
I don't think so.. i have the "laggy phone Problem" with 5.0.0 and 5.0.1 . Always absolutely stock. It's very frustrating...
killersloth said:
I'm thinking the highly modified ROM/kernel combination might have more of an effect on OPs free RAM than any "memory leak". Stocks working just fine. Still 1.3Gb free after games, forums, screen on/off, been on for three days, etc.
Can't post screenshots with XDA one app?
Click to expand...
Click to collapse
It has nothing to do with amount of free RAM. As shown in my pictures you can see 600 mb free ram, but phone starts shutting down apps. This happens on stock ROM without installing extra apps too by the way. Navigation and google music streaming quickly makes this happen it seems for me.
Duh, most of the changes for 5.0.2 were for Tegra N7.
wolfen69 said:
How is this a memory leak? When more memory is needed, it will open up. Contrary to a long time "windows user" mentality, using memory is good. Especially on android. Why do people think using ram is bad? Using ram helps speed things up.
On a semi side note, after perusing computer forums for many years, I've seen many people get as much RAM as possible then try to get their systems to use as little as possible. It makes no sense. RAM is your friend. Use it.
Click to expand...
Click to collapse
It's not the usage of RAM the issue, I think it's more about RAM management, if bigger apps need more RAM let them take it up. But the issues arises when the OS does not release the memory take up by the previous app back into the pool, so then each time we take the same program it takes more and more of the space until other apps cannot access it easily. Presto launcher redraws or apps fc's(or not even running or abruptly stopping the background music playback service) in phones, and whole system freeze or "hang" of the OS in desktop environments.

RAM management with CM13

Guys, who have already flashed cm13 on their device, how is the RAM management.
I know its AOSP RAM management but how much free RAM are you getting on 1st boot?
Also is it able to keep things in memory like games and browser tabs?
@bsourav said:
Guys, who have already flashed cm13 on their device, how is the RAM management.
I know its AOSP RAM management but how much free RAM are you getting on 1st boot?
Also is it able to keep things in memory like games and browser tabs?
Click to expand...
Click to collapse
I honestly don't know, I've never monitored free memory since using devices with more than or 2GB of memory (Nexus 4).
And I don't think it even matters.
@bsourav said:
Guys, who have already flashed cm13 on their device, how is the RAM management.
I know its AOSP RAM management but how much free RAM are you getting on 1st boot?
Also is it able to keep things in memory like games and browser tabs?
Click to expand...
Click to collapse
On CM13 here and can keep about 1.5, 1.6gb free. But, multitasking just work! When I was on MIUI every time I must reload the app... Now I can hold apps and some games. I recommend CM
Multitasking work better than miui, you dont need more free ram, as long as system didnt lag, all working fine on cm
Sent from my MI 5 using Tapatalk

Categories

Resources