HTC G7 's a2sd+

Source: Internet
Author: User

after the MIUI ROM package has been brushed, it comes with the a2sd+ function, but it needs to be turned on manually (the SD partition is already in use before the ROM is brushed)

to open the terminal module, first get root privileges:

Su

after the root permission is obtained, the ' $ ' will turn into ' # ' before the prompt, and then enter the following command in turn:

# Check that there is no error A2SD check# installation, the operation will restart A2SD reinstall# re-open the terminal, enter ' su ' to get permission a2sd zipalign# move/data/dalvik-cache to/sd-ext, After execution, the A2SD cachesd# will be restarted to move/data/data to/sd-ext and will be restarted after execution A2SD DATASD
The last two steps are optional, and for me this ROM only 512 people, have to get it.

actually it was created under data several links to/sd-ext under

# ls-ldrwxrwxr-x    1 System   System        2048 Dec  1 10:05 anrlrwxrwxrwx    1 root     root            16 11:00 App-/sd-ext/applrwxrwxrwx    1 root     root from            app-private to/sd-ext/app-privatedrwx------    1 System   system        2048 Nov 10:41 backuplrwxrwxrwx    1 root     root            16 11:03 Dalvik-cache-/sd-ext/dalvik-cachelrwxrwxrwx    1 root     root (            13:00 data-/sd-ext/data

If you do not perform the last two steps, only the app and App-private will be moved to SD.

For various reasons, my 4G SD card is missing, and bought a 32G, the result is broken, and now in a original mobile phone on the 1G.

So after installing a few software, I found Sd-ext partition only 18M, suddenly remembered to/data partition also has 100来 m, so he created a link, will occupy large space Baidu moved to/data under:


# Find a directory with a larger footprint Du-k-D 1 | sort-n# move to/data directory mv/data/data/com.baidu.searchbox/data# create link ln-s/data/com.baidu.searchbox/data/data/ Com.baidu.searchbox

After moving the partition situation, although the space is still little poor, but at least can run:

# Df-hfilesystem                Size      used Available use% mounted ONTMPFS                   202.8M     32.0K    202.7M   0%/DEVTMPFS                   202.8M         0    202.8M   0%/mnt/asectmpfs                   202.8M         0    202.8M   0%/mnt/obb/dev/block/ Mtdblock3    250.0M    142.6M    107.4M  57%/system/dev/block/mtdblock5    147.6M    100.2M     47.5M  68%/data/dev/block/mtdblock4     40.0M      1.2M     38.8M   3%/cache/dev/block/ MMCBLK0P2    472.5M    326.0M    122.1M  73%/sd-ext/dev/block/vold/179:1                        403.6M    378.3M     25.2M  94%/mnt/sdcard/dev/block/vold/179:1                        403.6M    378.3M     25.2M  94%/mnt/secure/ asec/dev/block/dm-0          25.3M     23.3M      2.0M  92%/mnt/asec/com.jiongji.andriod.card-2


HTC G7 's a2sd+

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.