• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Dalvik cache occupying 187mb precious memory

lookimback

Well-Known Member
Is there a way to override or disable the dalvik cache? I'm stuck with the stock 2gig SD card for now and this dalvik cache is a real memory hog. I delete files from it and they come right back when I reboot. It would be great if there were a way to disable it and still have everything work. Even if I just could stop it from caching unused apps it would save me a ton of memory. I have over 100 apps and many I hardly if ever even use.
 
I was just checking out the files in my dalvik cache and there's even apps I've frozen in there. This is crazy.
 
I'll try that. Would still be better if I could disable altogether though because if the cache doesn't already exist it gets created on boot. This takes a few minutes. Maybe I could make a script that would just delete the cache for apps which I rarely use. Then on boot it wouldn't have to create cache for all 100+ apps I have. Just for the ones I deleted.
 
Right but isn't the dalvik cache still on the SD? From my understanding there's a system partition and a user partition on the SD card and the dalvik cache is on the system partition. Please correct me if I'm wrong though.

I think I should just plan on having to get a bigger SD card anyway. I'm app happy. Just have to have every one I see.
 
Right but isn't the dalvik cache still on the SD? From my understanding there's a system partition and a user partition on the SD card and the dalvik cache is on the system partition. Please correct me if I'm wrong though.

I think I should just plan on having to get a bigger SD card anyway. I'm app happy. Just have to have every one I see.

The dalvik cache is stored on the data partition of the internal memory ( in /data/dalvik/). User data (like apps you install) are stored on /data/app/. Your texts are also stored on the /data partition along with all of your settings.

The rom (all of your system files) are stored in /system. For example apps that came preinsalled on the phone are stored in /system/app/.

None of this is part of your sdcard (which is /mnt/sdcard)

Getting a bigger card will not increase your internal memory. It will give you more room for media (music, pics, etc)
 
I did just make an interesting discovery though. My SD card is 4 gigs but 3 is allotted to muve music. Is there a way to change that without reformatting and losing all my apps?
 
Very true, links2sd will definitely help by moving portions of the apps to a partition on your sdcard.
 
OK I've learned something here. All this time I thought I had a 2 gig card which was partitioned 1gig user and 1gig system. Now I see I have 1 gig internal storage and 4 gigs on the SD but muve music gets 3 gigs and I get 1. Totally unfair, lol.

I don't have a computer or a SD adapter. I'll have to get one and go to the library.
 
Ok, so here's where I'm at with this. I borrowed an SD to micro SD adapter from an acquaintance who lives down the hall from me. Went to the library only to find that their computers don't have card readers. USB ports only. Totally outdated, this is 2013 isn't it. Lol. Anyway, I then went to Walmart and bought an adapter to go from USB to SD. Only cost me $8.70. On the plus side it came with a USB extension cord. Not real long, only about 2', but that is just enough when I plug my phone cord into it so that I can use my phone when I'm in bed. Great, another excuse not to sleep at night. Lol. Wanted to get an 8 gig micro SD card but didn't have enough. Besides, if I'm going to buy a bigger card I want 32 gigs. Or at least 16.

OK, so here's my plan. Tell me if it'll work. Please:).

I'm going to uninstall any apps which alter the system in any way. Such as internet Optimizers, tuners, etc. Then I'll make a backup of the system and all my apps and copy them to my USB thumb drive. Then I'll do a hard reset. This should restore the system and all the factory installed apps right? I've deleted some like Google play books, music movies. I'll never use them and needed the space.

OK so moving on with the plan I'll reroot, install titanium and do a full backup of the system/system apps. Save that backup to my thumb drive.

Then I'll reformat the SD card and make 2 partitions. One for muve music (2gigs instead of 3) and one for user apps (2gigs instead of 1). I don't use Muve much. This will solve my memory problem for a while at least.

Then I'll use titanium to reinstall all my apps and the factory installed apps.

Well, if the factory apps are in the phone then I won't have to mess with them after the reset.

So, this should clear up all the bugs though right?

Sorry for the really long post.
 
OK, so here's my plan. Tell me if it'll work. Please:).

I'm going to uninstall any apps which alter the system in any way. Such as internet Optimizers, tuners, etc. Then I'll make a backup of the system and all my apps and copy them to my USB thumb drive. Then I'll do a hard reset. This should restore the system and all the factory installed apps right? I've deleted some like Google play books, music movies. I'll never use them and needed the space.

OK so moving on with the plan I'll reroot, install titanium and do a full backup of the system/system apps. Save that backup to my thumb drive.

Then I'll reformat the SD card and make 2 partitions. One for muve music (2gigs instead of 3) and one for user apps (2gigs instead of 1). I don't use Muve much. This will solve my memory problem for a while at least.

Then I'll use titanium to reinstall all my apps and the factory installed apps.

Well, if the factory apps are in the phone then I won't have to mess with them after the reset.

So, this should clear up all the bugs though right?

Sorry for the really long post.

OK.... seems like you're making this WAY more complicated than it needs to be. :)

I will say this again. none of your apps, especially system apps, are currently stored on your sdcard.

You do not need to do a hard reset to change to a different card. (Or to use a newly partitioned card)

A hard reset will NOT replace any system files you have deleted. It will only delete your user apps and data. (Which are stored INTERNALLY on the phones NON REMOVABLE memory.

Unless you have previously partitioned your sdcard, there is no partition in which music is stored. There may perhaps be a folder which contains your music files, but a folder and a partition are two very different things.

Basically all you need to do is use an application on the PC to partition your sdcard so it will have 2 partitions. One being formated to ext3 or ext4 (which will allow you to use this partition with the links2sd app) and the other one formatted to fat (which is where you will place the files that are currently stored on your sdcard. None of which are apps. )

NOTE- The Partitioning Process Will DELETE The Entire Contents Of Your Sdcard. You Will Need To Store Them On The Computer BEFORE Partitioning Or You Will LOSE All Of This Data.


So in short... all you need to do is copy the contents of the card to the computer
partition the card
copy the files back to the newly partitioned card
place the card inside the SD slot in the phone
And then turn the phone on.
All of your apps will still be there...

You will then need to setup the links2sd app so that it will NOW install your applications to the sdcard... freeing up some internal memory.

(I haven't set up links2sd on the hydro, so I won't instruct you on how to do it, but Slayer has has already offered to walk you through the process. Just send him a PM (private message) and he will hook you up :) )
 
OK, so hard reset pointless.

Re: partitions

My card says 3 gigs muve music. 1 gig user apps. (Printed on card I mean.)

My file explore program (FX) only shows 943 mb user and about the same for system. Where's my other 3 gigs if not on other partition?
 
Also, I search entire file system but can't find my music. Just muve music folder full of empty folders.
I open muve app and music all there.
 
OK I downloaded an app called partition table and it shows 22 partitions.

Partition mmcblk0
Device no 179/0
Size (mb) 1908.00

Partition mmcblk0p1
Device no 179/1
Size (mb) 32.00

Partition mmcblk0p10
Device no 179/10
Size (mb) 4.00

Partition mmcblk0p11
Device no 179/11
Size (mb) 4.00

Partition mmcblk0p12
Mount /system
Device no 179/12
Filesystem ext4
Size (mb) 276.5/393.7

Partition mmcblk0p13
Mount /cache
Device no 179/13
Filesystem ext4
Size (mb) 5.2/315.0

Partition mmcblk0p14
Mount /persist
Device no 179/14
Filesystem ext4
Size (mb) 4.1/7.9

Partition mmcblk0p15
Device no 179/15
Size (mb) 8.00

Partition mmcblk0p16
Device no 179/16
Size (mb) 80.00

Partition mmcblk0p17
Mount /sysprop
Device no 179/17
Filesystem ext4
Size (mb) 4.4/7.7

Partition mmcblk0p18
Device no 179/18
Size (mb) 12.00

Partition mmcblk0p19
Mount /data
Device no 179/19
Filesystem ext4
Size (mb) 873.3/984.3

Partition mmcblk0p2
Device no 179/2
Size (mb) 0.50

Partition mmcblk0p3
Device no 179/3
Size (mb) 1.25

Partition mmcblk0p4
Device no 179/4
Size (mb) 0.00

Partition mmcblk0p5
Device no 179/5
Size (mb) 4.00

Partition mmcblk0p6
Device no 179/6
Size (mb) 4.00

Partition mmcblk0p7
Device no 179/7
Size (mb) 4.00

Partition mmcblk0p8
Device no 179/8
Size (mb) 8.00

Partition mmcblk0p9
Device no 179/9
Size (mb) 8.00

Partition mmcblk1
Device no 179/32
Size (mb) 944.75

Partition mmcblkp1
Mount /mnt/sdcard
Device no 179/33
Filesystem vfat
Size (mb) 943.7/943.7
 
Hmmmmmmm... the card physically says muve music on it?
Clearly its not the card that came with the phone correct? (Iirc the card that comes with it it only a 2gb anyways)

I've never even heard of muve music, so can't help you there. I guess your card is just special.

Edit- a quick Google search came up with this
http://forum.xda-developers.com/showthread.php?t=1534546

It seems it may not be as simple as a format...
The card itself has a specialized firmware on it that locks off that space on the card as the press release shows -- it's a special form of DRM. Could possibly be CPRM/CPPM DRM.

I've tried poking at the card low-level a few ways but it looks like we'd need to somehow re-set the card's firmware with a "normal" card's firmware... possibly. Or potentially try and see if it's a form of CPRM.

Only thing is Google isn't helping me because the only things you'll find is updating other devices' firmware... not the physical card itself.
 
Yep its got to be something owned by Cricket.

From the Muve Music about page:

Full version name:
3.0.1.3-2648-pr-us-cricket-en

Available card space:
Muve Music 3GB 98%
Your space 1GB 0%
 
Hmm, just noticed your edit up there. So this is telling me I may not even b able to reformat to get the other space. Bummer. I do like Muve and I do use it sometimes but don't need 3 GBs right now.

I wonder if the app will still work if I just buy a new card? And what if I wanted more than 3GBs for Muve? Like for instance, if I bought a 32GB SD, I might then want to make 8 or 10GBs music. I don't think Cricket and Sandisk thought this thing through. If I didn't have Muve then I would have a 2GB SD and wouldn't have these memory shortage problems (yet anyway :D)
 
That partition info has nothing to do with your sdcard either. That's the partition info for the non-removable internal memory.

But it seems you would be correct, the muve thing doesn't seem very well thought through... Lol

On my roommates device (the hydro) the music is just stored in a folder called 'music'
no special partition needed. No set limit. (Except for the limitations of the sdcard.... which is 8gb)
 
I have a Muve music folder on the SD. Its got a bunch of empty folders in it. So probably if I get a new card the music will go there.

Perhaps sandisk thought this through after all. It seems self serving. Think about it, nearly everybody who buys this phone will have to purchase a new card. A person could get by with 2 GBs + the internal memory but 1 GB just isn't enough. Especially if, like me, you like games.
 
Yeah its my main music app. No luck on reformatting. Its some kind of hidden partition. Somehow protected so you can't even see it. There's been a lot of talk about it here and other forums. I'm looking to see if anyone has cracked it yet.
 
I've been all over the web about this. Looks like buying a new card is the only answer. Now I just want to know if the Muve Music app will still work with a regular card. Guess there's only 1 way to find out. :D

(Edit) well, I borrowed an SD card from acquaintance down hall from me. Answer is no. Muve Music won't work without special Muve Music card. That sucks. If I were to buy an eight gig Muve Music card I would get only 2 gigs for apps. I like the app but it sucks that I can't control how much of my card I can use.

This wouldn't even be a problem if it wasn't such a pain in the @$$ to swap SD cards. Who was the genius that decided to design phone with the card under the battery in a flimsy little holder? Every time I take the card out I'm afraid I'm going to break the holder. I've read that this has happened in some thread here too.


OK, next question, what class micro SD card do I get?

I want to thank u guys for taking the time to help me with this too. :D
 
Back
Top Bottom