I offer you the abridged and updated set of tools for managing the RAM on our device. My article is primarily concerned with runoff Official firmware 4.1.2, in which it is all tested. For 4.2.2 described as urgent. but there are differences about which I wrote at the end of the article.
For all operations described below are necessary ROOT, BusyBox and custom rekaveri. And before you startnandroid backup is required!
Phones out of the box are in the firmware large number of unnecessary ordinary users of the application. Very many of them have their permanent vigil in memory processes that by their presence displace processes relevant to the user application. Even if you manually kill unnecessary process, he after some time again ask for in RAM. It is strongly recommended primarily to clean the phone from the trash. For this I recommend Titanium Backup Pro. Keep all forever I do not call. Enough to use freeze. The meaning is the same, plus you can return that may be needed again. freezing operation is similar to disabling applications in a normal controller. but the lack of "Official" way off on Android is the inability to disable certain applications. in some components of the system manager list non-existent. List of all superfluous / unnecessary, it can be removed without disrupting system availability hashere
Titanium Backup Pro can be downloadedhere
Then it is very desirable to see in Application manager hanging in the memory is clearly unnecessary processes necessary applications. In my example I will tell you about a program of Internet radio. Annex I need, but only when I opened it. No more. However, the developer supplied softinkoy service that at each setting takes the news from their servers. For such a push-notification service and hung. Even if I completely disable all of these settings in the application. The appearance of these extra processes / services I disabled using autoloads manager takenhere
How to set:
To exclude the appearance of the RAM service applications in the manager autoloads necessary in these applications to turn off all receivers startup. Long tap on the line opens a menu context. There, choose В«disable allВ». After that I recommend to carefully check the performance of each, cut in such a way application. If something goes wrong, you need to play disabling each receiver separately. This allows the manager to know the details of the purpose and role of each receiver with the ability to display a full description.
Stock firmware (and custom, however, too) are not always appropriate setting RAM release entries in the taskkillere. As far as we know, the Android own clean your memory on certain intricate algorithm. And decide for himself what the rest of the free RAM to keep him. However, reconfigured, this algorithm will allow the user to mcTweaker application that can be downloadedhere
A bit of explanation about the RAM release algorithm:
There are several classes (call so) process priorities. Each class has a right to a place in the RAM in its determination of the free radical. If the memory is less than the threshold for specifically taken class taskkiller it starts to cut out these processes. For the most important class is usually set at the very least significance. Conversely, the least important class - the largest. That is the smallest in the class of processes begin to be unloaded first when the free RAM drops below the limit. With further decrease RAM residue begin cleaned out processes following more important class. Something like this can be read ... morehere
How to set:
You open the item "memory". There, choose В«OOM killerВ» line. The Templates list of threshold values вЂ‹вЂ‹of free memory. Select the top line of the list. list is closed, the item turns red as modified. Top press on the disk icon. Changes are applied and effective. According to the developer, should begin with the first pattern, giving maximum multi-tasking. However, the responsiveness and performance at such small residues of free RAM may suffer. In this situation, it is recommended to choose the next in the list of templates. Usually on the 3rd or 4th pattern my device feels quite comfortably. If you want to cancel the responsiveness and response, and the system is clean of debris, you can set 5 or 6 pattern.
a little bit of its last observation: application processes, having at least some activity, there are always the first task manager list, called "service is used.". All other processes (with no activity at all) are moved to the list of cached. 6 of the above classes of priorities in the list of active processes fall first 4 processes that are assigned priority by the last two classes, "leave" in the list of cached. so at the phone, I prefer not to load memory is cached processes. ie essentially ballast. To do this, I set up a system taskkiller a slightly different way than proposed in the ready-made templates. in the same second line item settings "memory" applications mctweaker choose titled "OOM Killer (arbitrary)" and manually set the value of the limit of discharge from the memory for each class separately. example of my setup is this: 6,12,16,50,200,250
Finally I tell about how to prevent the system taskkilleru unload from memory the desired application. such as the dialer, contacts, launcher, or any other system / user application.
To do this, you must assign the application process should be the highest priority, which corresponds to the first class. lets do it at the moment the only mod toolkit called Deluxe Settings Jkay by the author.
To use this feature fashion somewhat uncomfortable. But given its unique selection of absent. Operation of higher priority assignment is most convenient to carry through lokskrinov labels offered in the Deluxe Settings. Precisely those applications that are hanging on these labels can be fixed permanently in the RAM so-called white list. In addition to setting Jkay a separate line to make dialer / contacts in the white list. There is also a setting for assigning white list of applications assigned to specific call buttons or actions.
So, consider the way to make the white list applications lokskrina ICS. to me it was more convenient to choose this lokskrin because they do not use it, and do not consider it necessary to whitelist apps lokskrina with the TAB, which I use. Although the possibility of this is also available. That is a function of a whitelist works regardless of whether you use lokskrin or not. Lokskrin ICS has 15 labels. Because it describes an example of a configuration:
How to set:
So, first you need to the menu settings Deluxe Settings to open the item "Other settings" and put a check mark next to the line "White List:. Adj with scr ICS lock.". Then return to the main menu, select the lock screen Jkay ICS Deluxe. Then select the line below under the heading "Actions". Here Tapan on labels and are appointed from a list of any system or installed applications on your phone. From this point, any application with ICS lokskrina start a process of service bundles and will have the highest priority. so the system taskkiller this application is guaranteed to be not to touch.
Download Jkay Deluxe Settings can behere
The framework for fresh runoff firmware can be downloadedhere
Jkay Deluxe Settings frameworks produces exclusively for Official firmware.
For firmware exists 4.2.2-mod tools with a similar ability to set priority applications. Called Xposed App Settings Wanam it by the author. you can download ithere
Comments and additions are welcome. Successful customization, gentlemen :) From SW., SugdenPost has been editedVetal`M - 24.04.17, 11:52