move data to cache - LG Optimus L90

Would it be possible to move (link) some user data (emails etc.) to /cache partition? I have only 14 of 885 MB used. It seems also that the dalvik cache (400 MB) is stored somewhere else. I wonder why the /cache partition is not used to the purpose it should be.
Found threads like these:
http://forum.xda-developers.com/showthread.php?t=1174160
http://forum.xda-developers.com/showthread.php?t=748053
http://forum.xda-developers.com/moto-g/general/mod-save-data-space-cache-partition-t2942765
http://forum.xda-developers.com/moto-g/general/mod-storage-reloacting-dalvik-cache-t2953616
Also /system partition seems to be quite unused. I have only 418 MB of 1.97 GB used. Why not link some app data there?
btw... I use CM11 latest nightly
edit: ok, I tried the guide from the latest link and it works... I got extra 400 MB on /data partition and used a half of cache partition...

Related

[Q] What is your /cache size?

My current /cache partition size is just 28 MB, which seems to be restricting what apps I can download from the market. Can someone else please post their /cache partition size?
/cache is 30MB total size for mine - stock DTJP5 (Australia/Unbranded). But only about 2MB used, 28MB available.
cheers. It's not the total size that's the problem then, but rather how much of the cache is used up. I currently have 4 MB used up, and I can't seem to make that number any smaller even if I format cache.

I could really use some help solving my A2SD+ problem

For the life of me, I CANNOT get A2SD to work properly.
ROM: MIUI 1.9.16
SD Card: 16GB w/ 1GB EXT4 partition
Problem:
When I do a fresh install of MIUI (wipe cache, wipe dalvik, wipe data/factory reset) A2SD+ in settings->system->storage says available and used are "0.00B".
If I use dark tremor a2sd install scripts, they 'claim' to have activated the space. It appears space is used on it too (around 100mb, despite previous wipe of all data which says it wipes SD-EXT). When new apps install they east away at my meager "internal" storage (IE: 20mb remaining) and my programs area says I ahve a total of something like 200mb of storage (shouldn't this change to over 1GB because of the partition?!).
As of right now I've restored my previous install, which says "0.00B" for A2SD+, and I have a 1GB EXT4 partition sitting here doing nothing.
a2sd is auto on MIUI after flash/reboot--shouldn't need to run scripts--but you can
try reformatting sdcard outside of phone and with sdformatter, then partition it as ext3 0 swap
ext4 never worked quite right for me
then fresh install with system/data/cache wipes 3 times each
Thanks for the reply. What's with this common habit of wiping 3 times? Doesn't wiping just unlink all the inodes from the partition table, then mark the sectors as free space anyways?
Anyway, MIUI at flash point never picks up this partition. I will try changing it to EXT3 and seeing what happens.
I am not a tech, but I think the phone doesn't do thorough job. That's why I format outside phone. Don't know for sure on System wipe, but most peolple recommend 3 or more times on data/caches.
I have been using these methods for quite awhile now and have much fewer flash issues between roms. Thanks to Temasek on his Format zips--------
ken
Well would you look at that. Fresh flash of the ROM with an EXT3 partition and it works! Didn't have to flash any DT zip. Thanks!
EDIT:
After using MIUI backup to restore my apps and stuff, I'm already out of space. My sd-ext isn't being used! how do I fix this?!
Your Welcome--
Sorry for double post, but I spoke too soon. A2SD still doesn't appear to be working correctly. I've attached a few screenshots to help show what I'm talking about. Titanium backup doesn't see the space (I don't think) either. It appears MIUI sees the space available... but doesn't use it. I just did an a2sd zipalign, followed by a a2sd cachesd to move the dalvik cache to the SD card which helped my space woes a bit, but my a2sd partition seems to be completely unused, other than the dalvik cache!
I can't view your thumbs, get error on page. May be my work computer
Had that happen once and a2sd was doing its thing, just not showing in Root Explorer as ext being used
Do you have any low mem warnings
You could try Quick System from market and see what it says
Your A2SD is working fine. As you can see, you have >100 MB of apps installed on it (0.94GB SD-EXT partition size, 832MB free). The reason you still see your internal memory being used is - 1) Dalvik-cache is still on the internal memory, 2) App data is still on internal memory. You can change that in A2SD GUI settings. If it tells you that Dalvik is already on SD - it's lying, the app isn't too correct, the script is much more correct. You can run the script to move Dalvik to SD in that case.
And the integration of A2SD isn't system-wide - actually, the system has no idea that A2SD is present, and doesn't report anything else for its partition sizes but the original sizes.
Jack_R1, after a random soft reset occurred, titanium now shows the a2sd. Thanks for clearing some of the information up for me.

Reduce /cache partition under CM7

Just a quick question:
What happens to system-dalvik-cache under /cache, if I resize this partition to e.g. 5 MB?
I've read somewhere that CM7 moves it to /data. true? Are there any other disadvantages of such a small cache-partition?
many thanks!
Someone?
10chars
Yes, on CM7, if the cache partition is too small, it will move it to the /data partition. I think it is /data/local/cache
Dalvik-cache never resides on /cache anyway. /cache is for Market and OS OTA downloads. If you make it too small - your Market downloads might fail.
I didn't even realize he was talking about dalvik cache. The dalvik cache resides on the /data partition by default for both system and data apps.
As Jack_R1 said, the cache is only used for temporary files, like OS upgrades and market downloads. If the cache partition gets below a certain point (I think it is 5MB), CM7 will automatically change the cache directory to the /data partition.
On my device the market download folder has already a symlink to my /data partition. Other then my system dalvik. At least it seems so.
Thanks for your help. So i can go ahead and resize with blackrose

[Q] How to change internal partition???

Hi
I want to use ART in CM11 on my P1 to do this I need to:
"NOTE: If you want to use ART, your cache partition (P1/L/N: internal sdcard 3rd partition; SCH-I800/SPH-P100: internal sdcard 1st partition) must be bigger than 105MB, ideally 210MB or more"
Now I have:
/data 1.96 GB
/cache 98.4 MB
sdcard0 12.8 GB
And I want:
/cache 210MB
How to change it??
3rd Partition for ART
neo7369 said:
Hi
I want to use ART in CM11 on my P1 to do this I need to:
"NOTE: If you want to use ART, your cache partition (P1/L/N: internal sdcard 3rd partition; SCH-I800/SPH-P100: internal sdcard 1st partition) must be bigger than 105MB, ideally 210MB or more"
Now I have:
/data 1.96 GB
/cache 98.4 MB
sdcard0 12.8 GB
And I want:
/cache 210MB
How to change it??
Click to expand...
Click to collapse
I would also like to know how to do it, if it may be useful. The idea of using ART, came from terenceg, for the [ROM] CM-11.0 | AOSP 4.4.1 KitKat | Galaxy Tab 7" [Dec 6, 2013]. I am not sure if changing partitions will break the cm 11 Nightly or not. However, the idea of double app speed in ART sounds wonderful! I only have 2 partitions, 1 of 1.87 GB with 1.17 GB available and 1 of 12.83 GB, with 10.3 GB available. Most media is on External SD. I use cm-11-20131209-NIGHTLY-p1 with the built-in Kernel 3.0.101-g664e662.
Also, my wifi download speed has always been very slow, my baseband is P1000XXJPZ. I am sure its been that way since FROYO. 3g/HSDPA works very well.
http://forum.xda-developers.com/showpost.php?p=48301187&postcount=319
Hear is detailed instruction on resizing cache partition.
http://forum.xda-developers.com/showpost.php?p=48302859&postcount=100
Another variant of instruction.

Re-using the cache partition

Having flashed the extended partition zip, no problems at all with customer ROMs :good:
However, looking at the Mi3's mounted partitions, I see Cache is always heavily under-used. It always shows 372MB free, out of 378MB. I have never seen this value change.
Could some of this be switched to the /data partition?
Or to rebuild system1 and system2 to eg 750MB each, so we can safely have dual boot again?

Categories

Resources