[Q] RAM Manager app to prevent redraws - XPERIA X8 Q&A, Help & Troubleshooting

Hi,
This is sort of a continuation to a thread I made a few weeks ago, which was about launcher redraw problems I had with every single launcher I tried. I'm on FroyoPro v2.5, and on the recommendation of a fellow board member (thanks, Dagger) I'm running Nemus launcher. Basically, whenever i install or uninstall an app, my launcher prompts me to either force close or wait, and when I choose wait, it becomes slow for the next five or ten seconds and then returns to normal. It was worse before, but ticking "Lock launcher into memory" solved the most of the problems. Seems that the lack of RAM was actually the source of the problem.
I was recommended the SuperCharger script. However, I needed a newer version of BusyBox to install it, so I scrapped the idea for the fear I might brick the phone.
I investigated further for a solution, and found the app called RAM Manager (free version), which was made by a developer here at XDA. I installed it, set the "balanced" profile, and it actually fixed the problem. No redraws so far, and I even think the launcher is a tad smoother than before.
Has anyone tried this app? Is it a good thing to have or would you rather recommend I try something else? Are there any apps like it that are perhaps more efficient? It seems that all I need is better RAM management for the issue to be solved.
EDIT: Forgot to add the link to the XDA thread: http://forum.xda-developers.com/showthread.php?t=1305060
So far so good. Battery seems more or less unaffected. No negative effects on AnTuTu and Quadrant benchmark scores. Played five games in total, seemingly no negative or positive effects. What are your feedbacks on this?

The ram manager is actually a substitute to the supercharger script.
I personally recommend it if you are having ram issues.
Also you may freeze or uninstall the useless apps(mainly system apps) so as to free more memory.

Hm, now two days into the testing I've noticed that launcher redraws still do happen on occasion. However, it also seems that this app does the job well the moment it started and several minutes after running, but its effectiveness sort of degrades afterwards. Two days after I don't even notice any difference than before. What's the reason behind this? Is it fully compatible with CM ROMs?
There's only one more thing that I would also like to try before dropping this whole issue completely. Obviously it's a RAM thing, because running the backup I made a day after flashing FroyoPro seems to have no problems until I choke it with more apps. Then the same thing starts occurring. Not much can be done with the limited RAM X8 has.
However, what do you think about tweaking the VM heap size and MinFree values in CM settings? Is it possible to alleviate the problem with some tweaks from there?

Ahhhhhhh
V6 supercharger is just a ....beep.....
Before using that my antutu benchmark was 4005 - after installing script my score had a freefall @ ~3500~ ( lost 500 scores)
I'm using ram manager pro too, I can say that its awesome for setting to -multitasking option ( 3 apps at the same time)
HIGHLY RECOMMENDED
Sent from my E15i using Tapatalk 2

jay-z-s said:
Ahhhhhhh
V6 supercharger is just a ....beep.....
Before using that my antutu benchmark was 4005 - after installing script my score had a freefall @ ~3500~ ( lost 500 scores)
I'm using ram manager pro too, I can say that its awesome for setting to -multitasking option ( 3 apps at the same time)
HIGHLY RECOMMENDED
Sent from my E15i using Tapatalk 2
Click to expand...
Click to collapse
Yes, and I might actually try buying this app. Even though it didn't resolve the redraw issue completely, the general feeling of better performance seems to linger. I'm going to keep running the free version for a few more days and see what would happen

{
"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"
}
There you go...
Download "system tuner pro" or any similar apps from market.
Press "tweak " button
Set "hidden apps" option to maximum value (now its 24mb but u can raise it to 32 or higher )
That's it...
*launcher pro OR adw launcher are too light and don't need to increase memory (I use adw with Widgets without reddraws

Use thishttp://forum.xda-developers.com/showthread.php?t=1987032
It works for me.
Just install the apk and tick both yes and run at boot.
sent from my phone using hands and brain...

Related

more ram issue

Hello guys
I know a lot of threads here but I tried a lot lot lot but on more ram
look to the screen shot
{
"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 I have 180 used
170 free
500-170-180 = 150
is the system takes 150 mb ???
how to make it less???
or in other words how can I get more ram??!!!
1) app to sd
2) kill processes
or maybe you have to flash other rom with other kernel ( supprassed v2 or 4,5 )
But I think If there is no lag to leave it.
supi9 said:
1) app to sd
2) kill processes
or maybe you have to flash other rom with other kernel ( supprassed v2 or 4,5 )
But I think If there is no lag to leave it.
Click to expand...
Click to collapse
I have now marvel 9
I have 190 free and 190 used so it's good but really is moving apps 2 sd card give me more ram??
No, app2sd just gives you more space on internal memory for applications (not ram). That's different thing.
And yes, system takes the missing ram. Free ram is free, used - applications shown in the screen + inactive (cached) applications. The rest is for system. Get some memory manager (like system panel from GP and check show system processes) and you will get the whole picture. Android only shows active processes and sometimes it's not enough (example when cached application still plays music in background or eats you cpu - you cannot kill it from android built-in task manager).
kretos said:
No, app2sd just gives you more space on internal memory for applications (not ram). That's different thing.
And yes, system takes the missing ram. Free ram is free, used - applications shown in the screen + inactive (cached) applications. The rest is for system. Get some memory manager (like system panel from GP and check show system processes) and you will get the whole picture. Android only shows active processes and sometimes it's not enough (example when cached application still plays music in background or eats you cpu - you cannot kill it from android built-in task manager).
Click to expand...
Click to collapse
okay if you looked to my picture above the tsf launcher takes 60 MB
so I want to know what is the pretty simple light launcher ??!!
also I downloaded android keyboard because it takes only 7 mb but lg one takes 23 mb is it good?
Also look to this pic you will see ram status
any advices??!!
thnx in advance
I'm using go launcher - it's not the lightest but it has nice folder in app drawer so it suits me best. You cannot do much about the memory used - just forget about widgets and services in background - less such things, smaller memory usage. You cannot alter internal android processes without heavy coding (which won't give you big results - if it was easy google's programmers would already do the job)
On zeus and adw luncher I've about 180 free ram
Wysłane z mojego LG-P970 za pomocą Tapatalk
supi9 said:
On zeus and adw luncher I've about 180 free ram
Wysłane z mojego LG-P970 za pomocą Tapatalk
Click to expand...
Click to collapse
On cm7 I have had up to 245 mb ram so I noticed the difference
on zeam luncher 200 free ram, but phone work the same
But in fact 177 mb only(using zeus) is not good when playing frontline commando it hangs so how can i delete the cached apps
????
Sent from my LG-P970 using XDA

Minfree?

I was wondering if there had been any workaround for adjusting minfree
settings.
From some quick googling, it seems that lollipop kind of prevents us from adjusting minfree values. The permissions are basically set to read-only, and they reset back to read-only after a reboot. This doesn't seem to be an N6 issue, but happens across the board in lollipop.
I would love a solution to this. I feel like the N6 is much too aggressive in killing apps. It's got three gigs of RAM and I've never seen more than half that being utilized.
Is this something developers can remedy in their ROMs? Are there any scripts or anything in the mean time?
*bump*
I've posed this question here and in two ROM threads, plus one kernel thread, and nobody has replied. I'm surprised this under-utilizing of the N6's RAM doesn't seem to bother anybody else. Except zephik, who tweaked the minfree values on Chroma.
But aside from running that ROM, are there any other solutions out there? Or thoughts?
How *exactly* are you determining how much RAM is being utilized?
Currently, mine is reading total 2970 MB, used 2773, free 196. Seems to be using everything up pretty well...
doitright said:
How *exactly* are you determining how much RAM is being utilized?
Currently, mine is reading total 2970 MB, used 2773, free 196. Seems to be using everything up pretty well...
Click to expand...
Click to collapse
Mines not quite up there, but I rebooted yesterday.
727 MB Free.
FYI OP...
When you go into settings > apps > Running - it only shows running processes. So it breaks down how running is being used between System and apps Versus Not used "free" which actually just signifies running versus not running usage of RAM.
{
"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"
}
Then if you go into "Show cached processes" it will show you running AND cached versus actual Free memory.
You cannot get an accurate "free" reading without showing cached.
"From some quick googling, it seems that lollipop kind of prevents us from adjusting minfree values. The permissions are basically set to read-only, and they reset back to read-only after a reboot. This doesn't seem to be an N6 issue, but happens across the board in lollipop."
I don't know how you can say this needs a workaround - if you are using something to adjust the minfree's in the first place - Trickster or synapse for example, those are typically set to reapply the kernel settings on a boot up, so ..... perceived issue resolved.
My minfree's are re-applied each time I boot up, I'm on 5.0, though not an N6 yet, but it's the same there .... as for viewing them to confirm, that may not reflect the change you made, but BSmitty has mentioned in his kernel thread that you can change perms on two files to actually see that the changes have been applied, that change doesn't hold thru the next boot, but it's been verified one can change them.
rootSU said:
You cannot get an accurate "free" reading without showing cached.
Click to expand...
Click to collapse
Thank you for the insight -- I never realized that option was there.
I just rebooted my phone but I'll keep an eye on that and reassess. Though running Chroma does seem to help a bit.
rootSU said:
Mines not quite up there, but I rebooted yesterday.
727 MB Free.
FYI OP...
When you go into settings > apps > Running - it only shows running processes. So it breaks down how running is being used between System and apps Versus Not used "free" which actually just signifies running versus not running usage of RAM.
Then if you go into "Show cached processes" it will show you running AND cached versus actual Free memory.
You cannot get an accurate "free" reading without showing cached.
Click to expand...
Click to collapse
That isn't giving you an accurate picture either.
Terminal --> "free -m". That will show you the current *actual* RAM usage.

Ram Usage and Lag

Hi People, I have my 8.4 LTE Exynos for 2 weeks now. I rooted it on the second day, debloated/frozen unnecessary apps. However, my RAM still uses up to 2.4gb which leaves me 300mb free.
Im noticing lags while playing SimCity, Deadtrigger2 and more. What annoys me is the FB Messenger lag.
Just want to know if any of you experience the same. I bought this tablet because of 3gb ram so that i can still install dozens of apps without lagging.
also, im using appsetting from xposed to keep hangouts, phone, contacts and Nova launcher in memory/keep resident, however when i open phone and hangouts, it seems that they are not in memory since it takes 2 seconds to load/display in the screen.
Sent from my SM-G900F using XDA Free mobile app
Actually mine doesn't lag when playing any high graphics games except that it just drains the battery faster than a hot potato.
If you are using a different launcher I suggest you disable touchwiz at it is resident and eats up memory however you will lose the ability to multiwindow and other features.
Also download greenify and enable its exposed mode to hide apps in the background to save memory
Clear dalvik cache to zipalign your apps.
And by default my system apps stay resident in my memory. Check if you have a firmware update
I've never experienced such thing. Are you using CM 12? That's too much ram used.
Could you show us your running apps? Without games
Stock android, debloated usibg debloater. 1.25 gb ram in use, never hit anything higher then 1.9.
Lollipop dropping as I type, report back when you get it
drmodify said:
Actually mine doesn't lag when playing any high graphics games except that it just drains the battery faster than a hot potato.
If you are using a different launcher I suggest you disable touchwiz at it is resident and eats up memory however you will lose the ability to multiwindow and other features.
Also download greenify and enable its exposed mode to hide apps in the background to save memory
Clear dalvik cache to zipalign your apps.
And by default my system apps stay resident in my memory. Check if you have a firmware update
Click to expand...
Click to collapse
i am using nova launcher but i dont want to disable the multi window ability. i also use greenify along with its xposed mode.
unlimited747 said:
I've never experienced such thing. Are you using CM 12? That's too much ram used.
Could you show us your running apps? Without games
Click to expand...
Click to collapse
im using stock. ill be posting the screen shot in a bit since im charging my tablet. what i remember is that upon viewing task manager from rom manager app, i see all apps in the background. and they're eating my ram.
Sent from my SM-G900F using XDA Free mobile app
well then use nova launcher and set it as your default launcher but TW will run in the background so expect some RAM eating
drmodify said:
Actually mine doesn't lag when playing any high graphics games except that it just drains the battery faster than a hot potato.
If you are using a different launcher I suggest you disable touchwiz at it is resident and eats up memory however you will lose the ability to multiwindow and other features.
Also download greenify and enable its exposed mode to hide apps in the background to save memory
Clear dalvik cache to zipalign your apps.
And by default my system apps stay resident in my memory. Check if you have a firmware update
Click to expand...
Click to collapse
unlimited747 said:
I've never experienced such thing. Are you using CM 12? That's too much ram used.
Could you show us your running apps? Without games
Click to expand...
Click to collapse
HANSB57 said:
Stock android, debloated usibg debloater. 1.25 gb ram in use, never hit anything higher then 1.9.
Click to expand...
Click to collapse
SayWhat10 said:
Lollipop dropping as I type, report back when you get it
Click to expand...
Click to collapse
here's the screenshot of. running apps using task manager from rom manager. free ram is on 200mb only.
{
"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"
}
Sent from my SM-T705 using XDA Free mobile app

All cores are at 100% every few minutes

Anyone knows how to see which app is using the most CPU time? I want to throw my new redmi note 9 at the wall already. Hardly any apps installed and every few minutes it freezes and becomes unresponsive.
I got one app and it showed this during freezes
{
"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"
}
Did you install a new app before that started?
No, Even during initial setup it was like this
Do you have root right now ?
Basically the miui doesn't kill the app when you close/ leave it.Download something like avast cleaner in the Playstore and close/force the apps listed.Hate to say it but don't expect wonderful things from this phone.Mtk cpu and the biggest problem the miui interface atm.
Dokrak99 said:
Do you have root right now ?
Basically the miui doesn't kill the app when you close/ leave it.Download something like avast cleaner in the Playstore and close/force the apps listed.Hate to say it but don't expect wonderful things from this phone.Mtk cpu and the biggest problem the miui interface atm.
Click to expand...
Click to collapse
Can I leave it unrooted?
I checked battery stats and it says 75% is taken by screen time. Is there any app that works without rooting and can show the tasks occupying CPU time?
Mmm let me see what ROM are you on global,EU, and what version.
This phone especially some roms are famous for a heavy load off bloatware,ads,tracking, collection off data.mix that with a very in my opinion really bad miui software.
Because you're screen takes the most battery drain most likely we could rule out a third party app.leaves us with system apps.
I had the same as you're phone out off the box freezes.
I debloat my phone installed a alternative launcher with addquard.its not a rocket but it's most off the time ok only use it as back up.
Basically I can't think off a very easy way to get detailed information right now.Even you have root system dump log .even then you have a load off info.system tracing is available but takes time to learn and understand.
I'm on global rom, 12.0.6.
I thought chrome was the problem and disabled it but I still have these 100% cpu spikes every few minutes.
Global ROM is not the cleanest ROM out there.i am not at home right now so I can't check on my other phone if we can get some information out of a non rooted phone.
I would like to point out this page.
Saki EU tool Szaki used it on global 12.03
You don't need root just read the page and run.chrome is no light weight but a mi browser with adds and tracking is no joy either.
Well because I did use this phone only for work.Testing,sharing I only do in emulators.So dropped in the phone with my son to kill it basically what we found out.its not the CPU it is android 10 what request around 2gb of ram ideally.So we got 1gb left normal it should kill processing apps if it runs out of memory.
Now the mi shell miui is holding on 2,2 GB if you play games like asphalt 8,9 zombie hunter,armor god,af arena it is killing itself.
Disable miui or/and give the miui a order to automatically close apps he really don't like that.
So the CPU runs at 100% because off the shortage in memory so in theory we only have 2gb of ram.A android 10 runs idle already around 1,6 gb.So it's no wonder why it lags big
time on a lot.
The fix create a swap file on you're android device.ram expended root ,swapper root,link2sd with gapps root.there is a APK available what create a swap file on you're sd card ,take a good card do.no root.
A video to give you idea how it can run with an without a 3 GB swap file.Even with a 1gb swap file you should walk out the woods
1 to 8 minutes testing 4 games
8 to 11 minutes FPS test .
Last part starting without v memory stuck at boot screen.

Question What does the Galaxy App Booster in Good Guardians really do behind the scenes?

Has anyone been able to figure this out?
What does this app do to "boost" performance?
Use a lot of cpu cycles, heat up the phone... that's about it.
Useful for burn in when you first get the phone, you know help get the cpu heatsink properly seated
My stock 10+ OS load is over a year old, still fast and stable without using that app.
SD Maid, using the old Device Care cleaner (firewall blocked) and clearing the system cache occasionally is all I do.
It seems that it may be compiling the app for your target device.
This might shed some light...TL;DR of TL;DR: not much if you're patient, the OS would do the same things in a few days.
“Magic Trick” of Galaxy App Booster
I happened to try an app called Galaxy App Booster that is a part of Galaxy Labs released by Samsung. It claims that it can optimize all apps on device and boost the overall performance by 5% to 15%…
itnext.io
nixnixnixnix4 said:
It seems that it may be compiling the app for your target device.
Click to expand...
Click to collapse
Ipse_Tase said:
This might shed some light...TL;DR of TL;DR: not much if you're patient, the OS would do the same things in a few days.
“Magic Trick” of Galaxy App Booster
I happened to try an app called Galaxy App Booster that is a part of Galaxy Labs released by Samsung. It claims that it can optimize all apps on device and boost the overall performance by 5% to 15%…
itnext.io
Click to expand...
Click to collapse
Interesting. Perhaps mine was already optimized although I ran it the first or second day after reloading.
On my 10+/Pie I didn't notice any difference the couple times after I ran it.
It's usefulness seems limited to being a hand warmer in the winter.
I have also noticed that turning on any power management tends to create issues and not help battery life. Problem apps are best addressed directly. About all I do otherwise is close apps when done with them.
In the end Android Pie on this device manages its self very well (after heavy reconfiguration).
My current OS load has seen heavy usage but doesn't show it... I'm impressed to the point where a reload seems like it be a waste of time even after over a year.
Snake oil?
It actually runs the shell command in the picture below to compile the apps in speed-profile mode.
{
"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"
}
You can also manually compile the apps you need via adb:
adb shell cmd package compile -m <MODE> -f <PACKAGE>
In fact, I think that using the speed mode will have better performance than the speed-profile mode, but it will take up more storage space.
More about the compile mode, see:
https://source.android.com/devices/tech/dalvik/configure#compilation_options
https://source.android.com/devices/tech/dalvik/jit-compiler#force-compilation-of-a-specific-package
@functionxxx What does the "repair apps" option in the recovery do? I thought these were one and the same
0rigin said:
@functionxxx What does the "repair apps" option in the recovery do? I thought these were one and the same
Click to expand...
Click to collapse
I guess it should be similar to the Clear dalvik-cache option in the previous version of recovery, which will "undo" the optimization of all apps so that the apps can be re-optimized after reboot, just like a FOTA did.

Categories

Resources