Minfree? - Nexus 6 Q&A, Help & Troubleshooting

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.

Related

[APP] Minfreemem settings

I have looked around to see if there were any other substantial methods to adjust the way memory was dealt with in the galaxy S. After using the phone throughout the day I do notice it bogging down to a crawl, even to open the messaging app. Now I did read in the development section about the recompiled libdvm.so for froyo. But I'm not getting ahead of myself since the file is still in testing. For immediate results I've been tinkering with Minfreemem.
If you don't know what it is, here's a run down by android central.
http://www.androidcentral.com/fine-tuning-minfree-settings-improving-androids-multi-tasking
It adjusts the way android allocates ram to specific applications running or in background. Now other forums have some information about settings and which is best, but I havent dug up much info for the galaxy. The app itself has presets and those work well. The only thing that bothers me is the presets are a bit outdated and not configured for any specific phone in mind. The screenshot below is just an example of default settings on a phone running HTC sense. My default settings running Quantium 2.7 rom was different.
{
"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"
}
After messing around for a while and looking up if anyone was using "similar apps" for the nexus S so i can test out their settings. I came only to some japanese site where the translation didnt work out very well...
So here is my settings I been using for an hour, notice the presets do show a lot of empty ram "96" to speed things up without bugging down. I believe that unused ram is wasted ram.
Foreground: 14
Visible: 28
Secondary: 32
Hidden: 32
Content provider: 64
Empty app: 32
with these settings I was able to toggle back and forth from apps without reloading. Especially the gallery, that tends to slow down quite often. Opening new apps was smooth and switching back to threads and contact lists were good as well.
I want to quote the article at android central
I want to stress -- there is nothing wrong with the way Android handles this out of the box. It's efficient, works well every time, and keeps things stable. It's our meddling and the need for instant gratification that is the real issue. Waiting .3 seconds longer never killed anyone. But I'm just as guilty as anyone else, and want immediate results too, so let's do it!
If you have anything to contribute thats "informational" please do.

[Q] Clean up unwanted apps from Energy Rom?????

I'm using the Feb 12, 28244 GTX rom.
It's a beautiful rom but it has too many apps that I dont use.
and it has so many stuff that the memory is way too low.
I have used the SEARCH botton with no success.
I want to clean up all unwanted apps to make it more multitask friendly.
Does anyone know how to do this? any help is greatly appreciated
Unwanted/unused apps will not take up space in your available program memory, only in your storage memory. So unused apps don't slow it down. Only running programs take up program memory and use the processing speed - and I think you will find the main culprits are actually Sense 2.5 with CHT 2.0 along with all the pictures and backgrounds that get loaded into memory and even the Start Menu. This may help you begin your search as you decide what exactly your program memory is to be used up by. Personally I use TF3D2.1, but this may be too harsh a step (old technology!) for some. However it means I have over 100MB free with a very fast interface.
Thanks Jonny, as a new custom ROM user that was very informative for me.
One thing you can do is delete the programs you don't intend on using from the start menu. It's easy, just go to the File Explorer/My Device/Windows/Start Menu/Start Menu - From there you can move things around as you see fit, you can delete the shortcuts, move them to different files etc... this isn't uninstalling them but it cleans up your start menu folders a lot. I find there's at least a dozen apps I just don't use in the Energy roms so I do this a lot. Install all your programs then do this. Keep in mind, these programs are still in the device memory, so if you delete something, like Word for example. When you click on a word document it will still open in word because it is still installed. You've just removed the icon (I wouldn't recommend deleting anything you may use though, but if you do and want it back, it's nothing a hard reset won't fix)
Have you tried downloading on of his reference ROMs? I never have before, but it's supposed to be a stripped down version of his ROMs.
jedah said:
Have you tried downloading on of his reference ROMs? I never have before, but it's supposed to be a stripped down version of his ROMs.
Click to expand...
Click to collapse
It still has most of the extra apps he usually includes, but it is slightly trimmed.
Ltilt2 said:
I'm using the Feb 12, 28244 GTX rom.
It's a beautiful rom but it has too many apps that I dont use.
and it has so many stuff that the memory is way too low...
Click to expand...
Click to collapse
A major memory hog is NRG's default Start menu layout, an inexplicable choice for a custom Rhodium ROM IMO. Free up 33% more memory instantly by selecting Panel or Compact in > Start > Settings > Personal > Start Menu Layout Switch.
Out of the box stock ROM.Feb.01 w/o SIM nor memory card: ArkSwitch (tap the left side of the top Taskbar) reports 81,820 K free memory vs. Panel Start layout: 106,640!
{
"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"
}
Thanks nice tip! BTW I tyhink it's in Start>Settings>Start Menu Layout Switch, it is at same level as Personal...
Re: Free Up Memory w/ Custom Startup Menu
awalt said:
Thanks nice tip! BTW I tyhink it's in Start>Settings>Start Menu Layout Switch, it is at same level as Personal...
Click to expand...
Click to collapse
You are right.
To be precise, I'm now using the Winstart start menu: WinStartV2.2Free.cab + Start menu Remover FIXED w/ Memory Freed.
jedah said:
Have you tried downloading on of his reference ROMs? I never have before, but it's supposed to be a stripped down version of his ROMs.
Click to expand...
Click to collapse
Where can I get one of those they aren't on his site any longer
JGuinan007 said:
Where can I get one of those they aren't on his site any longer
Click to expand...
Click to collapse
Try again. I'm downloading one right now as I type this. I think he just uploaded it. Either that, or go to the thread corresponding to the ROM.

[Q] RAM Manager app to prevent redraws

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...

Suspicious apps 0 byte size and more

Think I posted this in the wrong forum page earlier. I posted it in questions, I wasn't sure because there is more to it than just apps. So sorry for the dupe.
Hello, first thread on here. Didn't see anything that covered this, so sorry if its a duplicate. So 2 issues now and both of them are a little concerning. First Got a verizon samsung s20 fe just over a week ago. Before the system update #2 was installed or even poped up on my screen yelling at me I did the usual removal of bloat ware. While scrolling through the app list found about 15 apps give or take that were very unusual. some there were multiple of the same thing (name circular, 0byte file size on internal, no permissions requested and nothing under the all permissions tab, etc. I'll put a screen shot of the list of all of them) and I have yet to be able to find anything on this anywhere and now that I have sys. Update 2 installed I've noticed even more and other odd things in my app list. Such as when I disabled some useless apps I would never and have never used ever or anything close, it revealed (added them to the app list) other apps that were not there before. after system update 2 smart lock settings would open up a blank white page on chrome, now it has completely disappeared from all settings catagories. And literally while i am typing this and went to the app list to get screen shots, even more apps have appeared and some have even changed their permissions and restored some of their permissions, backround data,, backround battery use etc.
So essentially my phone has decided its going to do whatever the [email protected]$# it wants since the update after I've already gone once and went over permission and everything else for everything. To account for stupid $#!* that comes with a system update.
Any info on any of this and advice would greatly be appreciated.
P.s. the grey apps in the app drawer screen shot are the only things I've installed and I only added wish, pocket morties, insta, and snap over the past couple of days. And they haven't added anything besides their respective apps to the drawer. Most duplicate 0b apps were there prior, after system update 2even more appeared along with other strange thing starting to happen, or they revealed after bloatware and useless apps were removed or disabled.
{
"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"
}
Also. For a new phone that bloat ware/other useless things etc. Have been removed as much as possible without root, I still have 443 apps if I click show system apps.
Just a bump to show im still here waiting for some sort of reply. But really what happened to xda? You use to get answers for basically anything within 5 days max or atleast a comment or 2 asking for more info or w.e but now all you get is views?!?!?!?!
Dude, nobody owes you a reply! What do you want from people?! If people want to reply to you, they will! If they don't, tough luck! Maybe people don't feel like trying to sort through your wall of incomprehensible rants?
Yes, there are a ton of apps on your phone! That's how Samsung does things. Nothing you can do about it.

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