Joke Collection Website - Blessing messages - How to modify the memory threshold under android source code
How to modify the memory threshold under android source code
Step 1: First create a XXX.txt file and enter the following code:
#! /system/bin/sh
echo " 1536,2048,4096,6 144,8 192, 12288 " >/sys/module/lowmemorykiller/parameters/min free;
This code is based on the corresponding value of MFM configuration 3. This value has been used for several days and no problems have been found. Let's take this value as an example for the time being.
Then save, and change the saved XXX.txt file to 67-Jasonfix.
Use RE Manager to put this 67-Jasonfix file in system/etc/init.d (this folder is full of startup script settings.
Then change the permission to: Check All.
Step 2: modify install-recovery.sh (in the system/etc directory).
(1). Find the line where these scripts are located.
sh /system/etc/init.d/XXXXX
Corresponding connection
sh /system/etc/init.d/67-Jason
(2). Then find
echo A,B,C,D,E,F/sys/module/lowmemorykiller/parameters/min free
Delete this line and save it.
- Related articles
- Funny copywriting on WeChat
- How to cancel the global video monthly subscription package of 10 yuan provided by China Mobile Company?
- Rural credit cooperatives did not send information when withholding car loans.
- What proof do I need to leave Tianjin?
- Did the Shanghai First Construction Audit Committee receive the text message?
- Why is Genshin Impact B suit an orphan suit?
- Help~~Telemarketing skills (PPT)
- Login SMS prompt
- What should I do if I don't receive the SMS verification code you sent?
- Help Japan docomo how to solve the problem of SMS +86.