Problem clearing Dalvik cache - T-Mobile Samsung Galaxy S II SGH-T989

When I am trying to clear the Dalvik cache as a step in installing whatever ROM I am getting an error message.
When I go into Advanced>Wipe Dalvik Cache> as soon as I select Wipe and it asks me if I'm sure, a line shows up that says "E:unknown volume for path [/sd-ext]". When I scroll down and say yes it gives me a message that says it worked.
The SD card is actually at [/external_sd]. So did it work, or is it lying to itself?
I'm confused about why it's looking for the Dalvik cache on the external SD. I thought that would be internal. What do I need to change so that CWM (and my OS?) is looking for the external in the right place?
I discovered this when I was installing Jugs 3.7. It installed clean and is working just fine. This error message also reproduced itself when I installed Domination 2.0 with the ICS theme. That rom also installed correctly and, as far as I could tell in the hour I was playing with it, had no glitches.
-RP

Mine says the same with the volume ....I thought it was just me....but everything runs perfect so I didn't wanna bring it up
Sent from my SGH-T989 using XDA Premium App

Same here...not worried. All works without a glitch.
-Locksmith81
BeastMOD Faux'ed to 1000HP

You can ignore that error. Almost everyone will get it.
The reason being, there are ext to sd scripts that people use on other devices that have very low internal storage. So they will move the /data partition to sd-ext. Now since the dalvik-cache is located in the /data partition, the wipe dalvik cache script inside cwm will auto-wipe to both locations, just incase. Since our phones don't really need this, we have tons of internal storage, we don't utilize those scripts.
Also don't confuse this with apps 2 sd scripts, or just moving apps to your sdcard, it's not the same thing.

Related

[Q] accidently formated internal partition

i accidently formated my internals on my dinc. i think. i try to wipe dalvik cache and i get an error.
E:Can't mount /dev/block/mmcblk1p2
(file exists)
Dalvik cache wiped.
i found another post with the fix but i am not good with adb. can someone please walk me through the steps?
http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage/
It's all right there, step by step in that thread. I have done it before. Where are you stuck?
I'm srry I'm a noob at this. I don't have the problems they are having with not being able to load different roms. I can do that with no problems.it is when I try to wipe dalvik cache from clockwork I get that error.
I think the way it happened was I tried to partition my sd card with rom manager and it started getting that error.(dumb I know now)
Should I try to partition anyway?
I went back to original 2.1 ota and re rooted and still can not wipe dalvik cache.
I can wipe data and cache fine.
Any suggestions?
Thank you very much for responding.
Sent from my ADR6300 using XDA App
I figured it out for those who have the same problem.
I had to partition my SD card with ext2 l. After I did that everything was sweet. No errors.
Just thought I would finish that up.
Sent from my ADR6300 using XDA App
I have that same error. I noticed it after trying to wipe dalvik cache before flashing a new kernal I flashed the kernal and it worked fine. I haven't done much to the phone other than flashing Virtuous 2.4 - 3.0.1 and Redemption 2.0.5 and revoluion theme no sd extentions or partitioning. Do I need to fix this or since everything is working or should I not worry about it?
skibum7686 said:
I have that same error. I noticed it after trying to wipe dalvik cache before flashing a new kernal I flashed the kernal and it worked fine. I haven't done much to the phone other than flashing Virtuous 2.4 - 3.0.1 and Redemption 2.0.5 and revoluion theme no sd extentions or partitioning. Do I need to fix this or since everything is working or should I not worry about it?
Click to expand...
Click to collapse
Concerning the specific error about mmcblk1p2 "file exists" error, it is a cosmetic issue, not a functional one. In other words, nothing breaks. This is warning you that you don't have an sd-ext partition on your phone, and thus sd-ext can't be mounted to backup.
If you want to get rid of the error, create a large FAT32 partition 1 on your sd card and a small ext2 partition 2 (or larger, if you actually want to use sd-ext).

caulkins

hey guys youve all been great and helful, thanks...was wondering what caulkins format all is, what it does and is it just rom specific. meaning konis elite 3 says to flash it first, if i wanted to flash a different rom say myns or something will the c. format all interfer? thanks again
justintammy said:
hey guys youve all been great and helful, thanks...was wondering what caulkins format all is, what it does and is it just rom specific. meaning konis elite 3 says to flash it first, if i wanted to flash a different rom say myns or something will the c. format all interfer? thanks again
Click to expand...
Click to collapse
It is a flash that write all data and cache it us good to flash when going between roms and if you are having force close issues. When using it erases all your data witch means all your apps aswell
Sent from my unrEVOked using xda app
roscoenr said:
It is a flash that write all data and cache it us good to flash when going between roms and if you are having force close issues. When using it erases all your data witch means all your apps aswell
Sent from my unrEVOked using xda app
Click to expand...
Click to collapse
Well said! Thought I'd add: Use it in conjunction with your usual wipes. It's meant as an extra piece of protection against problems NOT as a replacement to your usual wipes.
blakeboys said:
Well said! Thought I'd add: Use it in conjunction with your usual wipes. It's meant as an extra piece of protection against problems NOT as a replacement to your usual wipes.
Click to expand...
Click to collapse
Yeah meant to out that but spaces thanks
Sent from my unrEVOked using xda app
Couple of things to add to the folks above:
1) It won't work on ClockworkMod Recovery 3.0 since it's an Amend script (update-script). Amon_RA 2.3 and below, and ClockworkMod 2.x both support amend and edify (updater-script and update-binary), so it will work for them.
2) Isn't needed on ClockworkMod Recovery 3.0 or Amon_RA Recovery 2.3 since each have the options to wipe all your partitions (albeit you have to wipe each partition separately. I personally nagged Amon_RA to put in the wipe /boot and wipe /system options).
3) It wipes everything on the phone's internal storage except the WiMAX partition (which would be incredibly stupid since it would wipe out everyone's WiMAX radio and keys!). What it really does is format /system (your ROM and system apps), /cache (the kernel and ROM's cache), /data (your apps, settings, app data, etc.), and dalvik-cache (which is usually on /data or /cache, and is the cache for the Dalvik VM; the thing that runs apps).
4) Your SD card, .android_secure (on the SD card, this is where apps that have been moved to the card via the Applications settings in Froyo or Gingerbread), and sd-ext (old style of moving apps and cache to the SD card WHICH SHOULD NEVER BE USED ANYMORE) partitions are left alone. THEY WILL NOT BE WIPED. So if you have any apps on your SD card (for example, all the Angry Birds games install to SD by default), you will have to wipe them manually.
thank you guys!
If you open up the zip and look at the update-script file, the following commands are listed in it
Code:
show_progress 0.1 0
format BOOT:
format CACHE:
format DATA:
format SYSTEM:
show_progress 0.1 10
To anyone with half a functioning brain cell, it should be obvious what each line does.
Post #5 says it well. The only thing I'd add is there really is little reason to do both wipe and this (esp with ra recovery 2.3). If you do the factory wipe option (first on the wipe menu), that will clear both the cache and data partitions. And since the data partition is already formatted, doing an addition wipe dalvik cache is really not necessary.
To the OP: Please use a more descriptive subject in the future. Almost passed this thread over because of it.

Laggy Desire while opening apps

Hey,
I have extremely annoying issue on my Desire. Everytime I am opening an app there is a delay between tapping the icon and displaying app (full loaded screen of the app). Sometimes it takes 3-5 seconds. You can imagine how bothering it is. I found out that when I do full wipe it is great again but it takes less then two three days and lags are back. The biggest dealy has Handcent, Gallery, etc. Sometimes opening settings is laggy too.
Any idea how to get rid of this lags? I think it started some time after rooting my phone. Could be the problem the number of apps installed on a2sd storage? I have currently 106 apps.
I am really desperate! I love Android but this is not the user experinece I would expect from such a system and such a smartphone!!
I use GingerVillain 2.7 based on CM7. I used CM7 before and it was the same.
Do you use software like setcpu to control the cpu frequency or using scripts/software to control the voltage?
MatDrOiD said:
Do you use software like setcpu to control the cpu frequency or using scripts/software to control the voltage?
Click to expand...
Click to collapse
I used JuiceDefender but I had this problem before I use it. There is also some performance settings in CM7-settings. Do you think the problem is somewhere in CPU settings?
I don't think so. Given the fact that after a wipe it works fine, I'd put my money on your davlik cache. As it grows bigger in size, combined with probably low class sd card, it gets slower. You have some tips&tricks how to move davlik to /data in the development section. Or simply buy a faster sd card.
erklat said:
I don't think so. Given the fact that after a wipe it works fine, I'd put my money on your davlik cache. As it grows bigger in size, combined with probably low class sd card, it gets slower. You have some tips&tricks how to move davlik to /data in the development section. Or simply buy a faster sd card.
Click to expand...
Click to collapse
I have Kingston 16GB class4. I know that class4 is not the biggest number but I read that Kingston is as fast as some other cards class6 and that in fact it is not necessary to have so speed card This is a new want I don't really want to pay for another one...
Move dalvik to /data? Do you think this helps? And a2sd storage will work the same way?
devcager said:
I have Kingston 16GB class4. I know that class4 is not the biggest number but I read that Kingston is as fast as some other cards class6 and that in fact it is not necessary to have so speed card This is a new want I don't really want to pay for another one...
Move dalvik to /data? Do you think this helps? And a2sd storage will work the same way?
Click to expand...
Click to collapse
Moving dalvik cache to internal /data partition often solves perfomance problems. That's why some developers do not move it to sd.
It won't disturb the working of a2sd, because has two different versions:
A2SD: All apps you install will be automatically moved to sd-ext
A2SD+: All apps you install plus dalvik cache will be automatically moved to sd-ext.
So when you move dalvik cache to /data, you are using "only" a2sd, but it's still working the same way.
But before this I would try wether wiping dalvik cache in recovery solves your problem.
MatDrOiD said:
Moving dalvik cache to internal /data partition often solves perfomance problems. That's why some developers do not move it to sd.
It won't disturb the working of a2sd, because has two different versions:
A2SD: All apps you install will be automatically moved to sd-ext
A2SD+: All apps you install plus dalvik cache will be automatically moved to sd-ext.
So when you move dalvik cache to /data, you are using "only" a2sd, but it's still working the same way.
But before this I would try wether wiping dalvik cache in recovery solves your problem.
Click to expand...
Click to collapse
Oh. Thanks! I will try! But I am afraid that I tried an app moving dalvik in the past and my phone got extremely laggy and buggy. Maybe it was not compatible app with my ROM
As I said when I do full wipe (so wiping dalvik as well) it is quick several days but then it gets back to laggy phone.
GV 2.7 - I have dalvik cache on Internal memory with Cm7r2 Hboot - no delays like you have, instead instant opening.
You can move it easily by using any terminal (I have better Terminal Emulator Pro).
Commands:
a2sd cachesd - moves Dalvik to SD
a2sd cachesdreset - moves Dalvik to SD, but firstly it wipes it.
a2sd nocache - moves Dalvik to Internal NAND.
a2sd nocachereset - moves Dalvik to Internal, but firstly it wipes it.
Personally, I prefer the "reset" commands.
davebugyi said:
GV 2.7 - I have dalvik cache on Internal memory with Cm7r2 Hboot - no delays like you have, instead instant opening.
You can move it easily by using any terminal (I have better Terminal Emulator Pro).
Commands:
a2sd cachesd - moves Dalvik to SD
a2sd cachesdreset - moves Dalvik to SD, but firstly it wipes it.
a2sd nocache - moves Dalvik to Internal NAND.
a2sd nocachereset - moves Dalvik to Internal, but firstly it wipes it.
Personally, I prefer the "reset" commands.
Click to expand...
Click to collapse
And when it is not enough space on internal??
devcager said:
And when it is not enough space on internal??
Click to expand...
Click to collapse
Change your partition table. With aosp rom you waste almost 150mb on /system. That is one hefty davlik with 110 apps approximately.

[Q] Can the Cache partition be increased in size?

Hi Experts!
I have an HTC Wildfire rooted with CM 7.1.0.1 stable installed. Love my phone and Cyanogenmod but I have an irritating problem with downloading large apps from the Market app. Basically there is not enough space on internal storage to store the file.
After some searching and investigation I think I can see the problem. The market uses the Cache partition as a temporary store for downloads. The dalvik cache is also located on the partition. Unfortunately the dalvik cache is so large that it is using up pretty much most of the cache partition (currently 31.62MB used leaving 8.38MB free and there is nothing else but the dalvik cache taking up space at present).
So I'm not sure how to resolve this. I've seen some posts where people have moved the dalvik cache and/or the Market download folder to SD but I'm reluctant to do that as I can imagine this will slow things down a lot plus cause problems if I remove the SD card, turn on mass storage mode etc.
This leaves me to the conclusion that I need a bigger cache partition. So I'd like to know, is this even possible or recommended? If not what other options do I have?
Thanks,
Neil
Try this
http://forum.xda-developers.com/showthread.php?t=1233340
Thanks for that Guide, that certainly looks helpful, although a pain to have to wipe my system and start over .
Something unusual I have noticed is that I seem to have two Dalvik-Cache's. One is on /cache/dalvik-cache the other is on data/dalvik-cache. They both have contents too so I would assume they are both used!
elneilios said:
Thanks for that Guide, that certainly looks helpful, although a pain to have to wipe my system and start over .
Something unusual I have noticed is that I seem to have two Dalvik-Cache's. One is on /cache/dalvik-cache the other is on data/dalvik-cache. They both have contents too so I would assume they are both used!
Click to expand...
Click to collapse
Try to wipe dalvik-cache and see if it appears again. Dalvik cache should be on data partition, but if you flash your roms through RomManager than it moves dalvick-cache to /cache for some reason.
Sent from my HTC Wildfire using xda premium
Did it work ok then?

Quick question on wiping data & "SD"

Will wiping the phone in CWM delete files on the "SD" space of the phone? I've read it is all apart of the same partition, so I wanted to make sure before awkwardly deleting the ROM I am about to install..
I have wiped tons of times in CWR and it hasn't touched the /sd yet. All my files are safe and sound.
Sent from my GNex
Grims said:
Will wiping the phone in CWM delete files on the "SD" space of the phone? I've read it is all apart of the same partition, so I wanted to make sure before awkwardly deleting the ROM I am about to install..
Click to expand...
Click to collapse
Yes, it clears *all* internal storage.
So...which is it?
Maybe I misunderstood but are you talking about wiping /data and /cache? Because when I do this it does NOT wipe the /sd but does wipe all other user data, just like on every other android phone I have had.
Sent from my GNex
Grims said:
So...which is it?
Click to expand...
Click to collapse
Wipe data/factory reset on CWM wipes your WHOLE phone, including "SD" card. I advise you to use the Super Wipe Lite script from the Android Revolution ROM, get it here. This will do a complete wipe, except SD card.
A bit of more info, in case you're interested: the SD card is the folder /data/media mounted as /sdcard. When you wipe in CWM, the data folder is emptied as well.
EDIT: i havent actually tried to do a normal full wipe from CWM, im stating the above just from reading other reports here. Maybe the last version from CWM has fixed this, i dont know
EDIT2: You can wipe cache and dalvik as usual from CWM without any problems.
flakz0r said:
Wipe data/factory reset on CWM wipes your WHOLE phone, including "SD" card. I advise you to use the Super Wipe Lite script from the Android Revolution ROM, get it here. This will do a complete wipe, except SD card.
A bit of more info, in case you're interested: the SD card is the folder /data/media mounted as /sdcard. When you wipe in CWM, the data folder is emptied as well.
EDIT: i havent actually tried to do a normal full wipe from CWM, im stating the above just from reading other reports here. Maybe the last version from CWM has fixed this, i dont know
EDIT2: You can wipe cache and dalvik as usual from CWM without any problems.
Click to expand...
Click to collapse
I figured that was how it was setup, but didn't know if CWM had any logic built into it to filter out the folder. I'll take a look at the script, thanks.
The built-in factory reset in Android will also wipe everything.
I did data,cache,dalvik wipe and formatted system going from 4.0.2 to 4.0.3.
I did NOT lose my SD card
The default wipe in ICS clears *all* internal memory. The default Factory Reset feature of CWM does the exact same thing. I've done it twice and it wiped fully both times.
Very interesting direct contradictions going on in here..
Wiping data in CWM DOES NOT WIPE THE VIRTUAL SDCARD. People need to stop saying it does.. it is all one partition but the virtual SD card is not wiped when you wipe data in cwm.. Factory resets in settings will wipe your virtual SD card but cwm WILL NOT.
Edit: sorry I had a long night, but I will leave the caps so people actually read it.
Sent from my Galaxy Nexus using xda premium
It is quite troubling to read how many people are saying that wiping in CWM will erase the SD card.
It 100% DOES NOT. I have wiped in CWM dozens of times already. I can not say the same for Factory Reset in Android...but in CWM wiping data DOES NOT wipe your SD.

Categories

Resources