[] Android-solves/data/Dalvik-cache memory usage Problems

Source: Internet
Author: User

This type of problem does not exist in newer Android phones. This is usually the case for old Android phones with low memory capacity.

 

The software installation space is very small. You can use app2sd to move the software to the SD card (an ext2 partition on the SD card ). Sometimes, after completing app2sd, you may still find that the space is not much larger.

 

Observe/data has a Dalvik-Cache folder. as its name implies, it stores some caches, which seems to be related to the installed program. My Huawei S7 and Rio account for 58 MB, which is quite large compared with MB. You can delete the file directly at the beginning, and then restart it for automatic reconstruction. It seems that the effect is not very good. You can only use ing to extract it from/data.

 

CP-A/data/Dalvik-Cache/system/or CP-A/data/Dalvik-Cache/copy the original Dalvik-cache to the location to be mapped. (/Cache or/system, the cache on my S7 cannot store t ^ t)

 

Delete the original Rm-r/data/Dalvik-Cache folder.

 

Finally, the Ln-S/Cache/Dalvik-Cache/data/Dalvik-Cache ing is established.

 

In the Android mobile phone, this tool should be used such as the Super Terminal, terminal virtual device, and busybox.

 

Specific Practices.

Step 1: Root

Part 2: Install a Super Terminal

Part 3: Enter the code

/*************************************** ******************************
Enter the following command in the Super Terminal (the permission must be obtained) and press enter on each line (# indicates the success of the previous command). Pay special attention to the space in the command.
/*************************************** ******************************

___________________________________________
# Su
# Busybox space CP space-a space/data/Dalvik-cache space/Cache/
# RM Space-r space/data/Dalvik-Cache
# Ln space-s space/Cache/Dalvik-cache space/data/Dalvik-Cache (Note: it is the lowercase "L" of "L ")
# Reboot
___________________________________________

The commands are described as follows:
// Obtain permissions
// Copy the Dalvik folder from the Data Partition to the cache Partition
// Delete the Data Partition Dalvik-Cache folder
// Create a cache ing between the cache partition folder and Data Partition
// Restart the mobile phone

 

After processing,/data will become larger, and I also feel that the system is becoming smoother. It seems that many oil engines share the same feeling, but/system will become congested. No side effects are found ..

 

(PS: the problem just discovered. After this is done, an uninstalled error may occur during the installation of the program. If so, use R. e. Mount/cache or/system with read and write permissions and then install the program .)

 

(PS again: in fact, the space of the system cache is also very tight, so it is better to do app2sd, after the second partition (for example, My is sdext2 ), you can map Dalvik-cache to sdext2 with sufficient capacity ~~~)

_______________________________________

# Su # busybox space CP space-a space/data/Dalvik-cache space/data/sdext2 # RM Space-r space/data/Dalvik-Cache # ln space-s space/ data/sdext2/Dalvik-cache space/data/Dalvik-Cache # reboot ___________________________________________

Reference: http://bbs.gfan.com/android-4277436-1-1.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.