Relocate the Dalvik Cache
http://www.xda-developers.com/android/relocate-dalvik-cache-free-space-moto-g/
?
Why would you even want to do this with 64 GB of storage?
Silverquark said:
Why would you even want to do this with 64 GB of storage?
Click to expand...
Click to collapse
space. I can store a lotta notes/docs in 600 MB. My music and pics take up a good portion! Lots of music.
So I am wondering of this can be done.
It should work theoretically, but only if you are not using ART Runtime of course. Also maybe the cache partition has a different size on the oneplus, not sure about that. So if you really want to, make a nandroid backup and just try it
Edit: Dont do it. Cache partition size is 503 mb. at least for me it is. So you could relocate all your cache to there, but if you have too many apps or get to many apps after youve done this (happens very fast on a 64gb phone) you're screwed because theres no space left. Just try to check the size of your /data/dalvik-cache directory and you will see
Why would 600MB matter on a phone of 64GB, im sure you dont have your internal memory filled up yet.
The article is about the moto G having that partition, no idea if the one has that same partition aswell.
Related
So, I moved all my caches to the SD card, but the browser is still eating up memory. 17mb worth so far.
Why?
Henchman said:
So, I moved all my caches to the SD card, but the browser is still eating up memory. 17mb worth so far.
Why?
Click to expand...
Click to collapse
Which method did you use to execute CACHES to SD?
I've wondered about this as well since I've moved all my caches, and yet everytime I launch the browser I get a low space warning.
Just started happening to me as well, I haven't moved all cache to sd card though.
Henchman said:
So, I moved all my caches to the SD card, but the browser is still eating up memory. 17mb worth so far.
Why?
Click to expand...
Click to collapse
where are you checking browser cache? because if you look under the applications you will always see the size of the cache .. no matter where it's located .. under my applications it states i have about 100M of space used on a 74M phone with 40M free .. how do you know it's "eating up" memory?
LucidREM said:
where are you checking browser cache? because if you look under the applications you will always see the size of the cache .. no matter where it's located .. under my applications it states i have about 100M of space used on a 74M phone with 40M free .. how do you know it's "eating up" memory?
Click to expand...
Click to collapse
See, that's strange.
I've moved apps and caches to the ext2 partition using a sript moveallcachesext2.sh
And my memory slowly kept going down to 7 meg.
I backed up my bookmarks and under applications deleted the browser data.
And I went back to 25 meg free.
But it's slowly going down again.
Henchman said:
See, that's strange.
I've moved apps and caches to the ext2 partition using a sript moveallcachesext2.sh
And my memory slowly kept going down to 7 meg.
I backed up my bookmarks and under applications deleted the browser data.
And I went back to 25 meg free.
But it's slowly going down again.
Click to expand...
Click to collapse
so how did you move the apps? or did you just move the cache files?
LucidREM said:
so how did you move the apps? or did you just move the cache files?
Click to expand...
Click to collapse
I used the instructions(or a script. don't remember which) that I found here on xda
You probably missed the app_thumbnails directory in the browser's data directory. This one was taking up far more space (17 MB in my case) than the cache when I was investigating why my all of my storage space was gone.
I'm not sure what this this is. The files in it don't appear to be images (the linux file command can't identify them, anyway), and it doesn't make a whole lot of sense for the browser to be keeping track of thumbnails of anything beyond tabs (which should die when the browser is closed -- not be collecting indefinitely -- unless of course there was a bug preventing them from being properly deleted). Does anyone know what data is stored in app_thumbnails?
Henchman said:
See, that's strange.
I've moved apps and caches to the ext2 partition using a sript moveallcachesext2.sh
And my memory slowly kept going down to 7 meg.
I backed up my bookmarks and under applications deleted the browser data.
And I went back to 25 meg free.
But it's slowly going down again.
Click to expand...
Click to collapse
moveallcachesext2.sh only moves cache.
That could be why your internal memory keeps getting lower when you dl apps.
xdavidn88 said:
moveallcachesext2.sh only moves cache.
That could be why your internal memory keeps getting lower when you dl apps.
Click to expand...
Click to collapse
No, actually. I moved the apps using a differnt script/command.
I didn't say it was getting lower using the Apps, I said it was getting lower using the browser.
Why oh Why did they make the G1 with such a pitifull small amount of internal RAM?
LUCIDREM, BTW, it's your JFvMOD I'm using.
how do you clear the cache once it's on the ext2?
Don't mean to thread jack, but didn't want to start a separate thread on sth. that may have been already answered. I just couldn't find it anywhere(and I read the whole 57 page thread on moving the apps to the sd card by Lucid, and then some more threads)Anyway....
I have moved the apps and data using LucidREM's MOD and everything is working fine. My only concern is how to clear the cache once it's on the ext2 partition? I'm presuming that's where i moved it with the lucidREM's copy.sh data script.
And is there any way of knowing which application/cache goes where, or viewing the ext2 files, cause I as well see a decrease of my intrnl memory. Not sure if it's a cache or an app, or both.
Thanks in advance!
P.S. Just wanted to say BIG THANK YOU! to all the devs on xda. If it wasn't for you guys I would've already given up on my phone.
ok i was having this same problem up till today when i found stumbled onto a post over a androidcommunity.com. i dnt have the exact link ill post it up later but all u have to do is run the "moveallcachesext2.sh" in the terminal emulator again and also for this to work you can't clear the browser in manage apps or within the browser. It should stay around 3mb all the time. Okay so after u run the script again browse around a lil bit and see if it fixed the problem. And if not open terminal emulater and navigate to the data/data/com.android.browser cache and type ln -s /system/sd/cache/webviewCache webviewCache and then browse around and make sure your broswer stays round 3mb...remeber dnt clear cache or ull have to redo the link
I'm having the same problem. With cache and history cleared, the browser is eating up 27 MB. I really need help.
if you did the moveallcachesfat32.sh, and you keep going to menu > applications > manage applications > browser > clear data (or something)
it will erase the symlink and therefore the browser caches to sd link will be erased and you would have to redo it.
I am using the root ext2 version of apps2sd. While there is still a lot of space on my ext2, I'm also losing space on my internal memory.
I'm guessing these are certain apps. Why aren't these placed on my ext2? And is there a way to find out which apps these are and place them on the ext2 manually?
Sent from my HTC Desire using XDA App
It's application data that is on the internal memory. a2sd only moves the apk, not the data.
Any chance we can move the data as well?
Sure, try symlink-ing the data to the sdcard, worst case is it won't work. There are reasons it doesn't do this already, probably slower access time and the application data doesn't use much space so it's unnecessary.
Wow its very nice .........
evilkorn said:
Sure, try symlink-ing the data to the sdcard, worst case is it won't work. There are reasons it doesn't do this already, probably slower access time and the application data doesn't use much space so it's unnecessary.
Click to expand...
Click to collapse
Could you elaborate a little bit? Not afraid to dig into google search, but I'd like to know the theory behind... waht's symlinking? how do I achieve that? Note that Firefox Mobile alone takes 15MB (app data, that is), Maps and Flash grows very fast...
I'd pay for a Partition Magic/GPartED for Android to change partition size on the fly and easily, so I could increase that space and never bother again.
I don't no what it takes to develop a rom (I wish I did) but was thinking with cm9/ cm10 roms. Why isnt the system partioned with much less space. And if so, couldn't that extra memory be added to internal SD card(1.4gb) cm roms are like 150 MB (don't understand why was less memory than any other rom)
Anyways there's like 500+ MB in system, would just be nice to have that or some added to internal storage
trevor7428 said:
I don't no what it takes to develop a rom (I wish I did) but was thinking with cm9/ cm10 roms. Why isnt the system partioned with much less space. And if so, couldn't that extra memory be added to internal SD card(1.4gb) cm roms are like 150 MB (don't understand why was less memory than any other rom)
Anyways there's like 500+ MB in system, would just be nice to have that or some added to internal storage
Click to expand...
Click to collapse
Partitioning can be... hairy at times. I've thought about this too, but generally unless you have to, people stay away from interesting partitioning.
First, you'd need to have all the requisite partitions near each other since I imagine you'd be afraid to try and move the non-android related partitions that are meant to boot the phone. If you consider that the system, cache, and user data are all next to each other, then that might not be all that difficult.
You'd need to modify the pit (I imagine... I'm talking out of my [email protected]$ here at this point cuz I've never done this outside of a PC), and likely reflash some things (maybe the recovery would do?) with the pit involved and the repartition option. The current system partition is 575MB...
How much space is left over after an install? At best, I think you'd only get back something like 200 mb to shift to the user data, and that just doesn't feel like enough to warrant this kinda change. Especially since you wouldn't be able to just go back to a stock rom without re-partitioning.
Check out https://github.com/CyanogenMod/android_device_samsung_t769/blob/jellybean/BoardConfig.mk for the parition sizes and locations (in the comments). System and UserData are right next to each other. But the sizes aren't that compelling...
OK, so I have a 16gb Note.
I know that some of it is used for system files etc, which explains why my laptop is only showing it as having around 12gb of space. Thats fine.
However, It is saying that I only have 7.8gb free, out of 12gb.
This is on a fresh rom install, after a complete user data wipe and cache wipes...
None of the rom files are on the sdcard (I installed from PC using Odin).
So I'm a bit confused... I originally thought "oh its 4gb missing, but thats probably system files" before I realised that it only showed me as having 12gb instead of 16gb...
Unless there are 2 lots of system files, which seems unlikely!
I checked out the folders, cant see anything there, in fact my pc says that theres only about 400mb of stuff on the internal memory. Which means I have around 8gb of data on that card I cant get to...
And that seems rather a lot!
It really doesnt matter much in the long run, as I have a 64gb sd-card to put in it as soon as I get my JB ROM installed properly (having an issue or two there, but its an unrelated matter), but I just wanted to make sure everything was running properly.
Any help would be nice! Thanks
nirurin said:
OK, so I have a 16gb Note.
I know that some of it is used for system files etc, which explains why my laptop is only showing it as having around 12gb of space. Thats fine.
However, It is saying that I only have 7.8gb free, out of 12gb.
This is on a fresh rom install, after a complete user data wipe and cache wipes...
None of the rom files are on the sdcard (I installed from PC using Odin).
So I'm a bit confused... I originally thought "oh its 4gb missing, but thats probably system files" before I realised that it only showed me as having 12gb instead of 16gb...
Unless there are 2 lots of system files, which seems unlikely!
I checked out the folders, cant see anything there, in fact my pc says that theres only about 400mb of stuff on the internal memory. Which means I have around 8gb of data on that card I cant get to...
And that seems rather a lot!
It really doesnt matter much in the long run, as I have a 64gb sd-card to put in it as soon as I get my JB ROM installed properly (having an issue or two there, but its an unrelated matter), but I just wanted to make sure everything was running properly.
Any help would be nice! Thanks
Click to expand...
Click to collapse
Edit:
Anyone with any notion on how I can fix this?
OK, I am having storage/space issues with my Blaze that are making the cameras inoperable (I keep getting a message stating there's a lack of memory or space on the SD card). I am running CM10 Stable on Android 4.1.2 with the CM kernel.
When I go into Settings and look at the Storage, here's what it says (I tried taking Screenshots but they didn't work):
Total Space= 1.12GB
814MB of Apps
252MB Available
Internal Storage= 1.4GB
208MB Apps
553MB Pics/Videos
4.78MB Downloads
SD Card= 3.69MB Total Space
1.99GB Available
Here's the thing: I have NO pics/videos, yet somehow 553 MB are being used for this. So what's the deal? Can someone give me the quickie/noob explanation? Or at least explain what's the best way to control your storage on the Blaze (and yes, I've used Search but haven't really found what I was looking for)? I would really appreciate it, this is a very annoying and frustrating issue.
Thanks!
Vinotas said:
OK, I am having storage/space issues with my Blaze that are making the cameras inoperable (I keep getting a message stating there's a lack of memory or space on the SD card). I am running CM10 Stable on Android 4.1.2 with the CM kernel.
When I go into Settings and look at the Storage, here's what it says (I tried taking Screenshots but they didn't work):
Total Space= 1.12GB
814MB of Apps
252MB Available
Internal Storage= 1.4GB
208MB Apps
553MB Pics/Videos
4.78MB Downloads
SD Card= 3.69MB Total Space
1.99GB Available
Here's the thing: I have NO pics/videos, yet somehow 553 MB are being used for this. So what's the deal? Can someone give me the quickie/noob explanation? Or at least explain what's the best way to control your storage on the Blaze (and yes, I've used Search but haven't really found what I was looking for)? I would really appreciate it, this is a very annoying and frustrating issue.
Thanks!
Click to expand...
Click to collapse
i think you never cleaned up ur cache and over time lots of crap got accumulated hogging up all your space...also u need to look into your thumbnails as they tend to stay over time even if you move the actual photo...all you need to do is to backup your apps and their data n then boot in recovery mode and do a factory reset and then boot and go to any file manager and move whatever pics and vids you have on internal storage(by change if u have any) to external storage and delete the DCIM folder then...if even that doesnot let you do anything i think you are in need to format your system, cache, data and dalvik and flash the rom u use fresh and start over...you will be good as new then for sure even if it takes lil more time to set up things as u want again but thats better than being frustated and not able to do anything...hope that helps you
Check the ".thumbnails" directory under DCIM (or camera, I forget). My daughter's blaze seems to like accumulating 100+MB files I'm there.
Definitely check app cache too. The Cheeseburger Network app was pulling 500MB of cache on my S2.
Sent from my Nexus 7 using Tapatalk
I was traveling but I read your recommendations and deleted a ton of files under DCIM folder. That seems to have fixed the issue for now, thanks so much. But I do need to re-flash the ROM anyway due to another issue so that will help.
Thanks! :good: