Related
It is in my spare parts.
Thanks
Use the search feature... there are quite a few thread with this question answered...
In short, it move the dalvik vm cache from /data to /cache, giving you 40MB+ extra free space in /data to install apps...
What is dalvik cache -> http://wiki.cyanogenmod.com/index.php/Dalvik-cache
What is dalvik cahce relocation -> http://wiki.cyanogenmod.com/index.php/Dalvik-cache-relocation
I actually saw that after I posted. What are the negatives then? Just less room for cache from other programs?
Well, so far, no one's complained abt any problems cause by this, but yeah, essentially, this reduces your cache size. It could cause problems with OTA updates which can be large, but if you're using a custom ROM, you wouldn't be using OTAs anyway...
Ok thanks for the help. So if I do a data wipe to a new ROM, does this operation get undone and it goes back to normal?
Odd.
I'm running Cyanogen 5.0.3.1 and I don't have this in my spare parts?
@hah2110... no a data wipe does not move the dalvik cache back to the data partition. Don't know if you can uncheck it in SpareParts to revert, but if not moving it back has to be done by modifying/removing the init script which does it. Though keep in mind, if it cannot be unchecked in Spart Parts, it probably means it's not safe to revert...
@Amdathlonuk, CM automatically has this hook enabled. Enomthers 1.7.1+ has this as an option in Spare Parts
craigacgomez said:
@hah2110... no a data wipe does not move the dalvik cache back to the data partition. Don't know if you can uncheck it in SpareParts to revert, but if not moving it back has to be done by modifying/removing the init script which does it. Though keep in mind, if it cannot be unchecked in Spart Parts, it probably means it's not safe to revert...
@Amdathlonuk, CM automatically has this hook enabled. Enomthers 1.7.1+ has this as an option in Spare Parts
Click to expand...
Click to collapse
Thanks man.
Go away for a week and you lose all knowledge of what's going on!!
So many roms, so little time....
It actually is an option in Spare Parts, but it says you need to do a factory reset it you revert back.
hah2110 said:
It actually is an option in Spare Parts, but it says you need to do a factory reset it you revert back.
Click to expand...
Click to collapse
Yep, expected that... didn't run Enom's for long so I wasn't sure... but from what I've read and understood, moving dalvik-cache to /cache is permanent... if u revert u have to clear everything via recovery and re-install everything!!
My suggestion, go with this... been using it for a while... no problems...
Since I have seen alot of individuals within ROM threads stating things such as, "Your ROM bricked my phone." or "I can't get your new ROM to install." decided to make this guide. Hopefully it will solve this issue and help educate people.
What not flasing correctly can do:
1. Cause your phone not to boot
2. Cause Force closes and issues
3. POSSIBLY Brick your phone (though I have not seen an Eris Brick yet)
We must also remember that:
1. The devs of these ROMs are NOT responsible for any damage to your phone
2. The devs spend alot of time with testing to make sure the ROM works.
3. A ROM will NOT always flash over a previous ROM
OK.. So onto the main topic..
assuming you are rooted and using AMON's Recovery. I suggest AMON's because Clockwork has had recent issues. Big thanks to AMON for this!
How to install a ROM properly:
1. Boot into recovery ( with either reboot to recovery option or powerdown and then holding volume up and power )
2. Goto Backup/Restore and do a NAND Back-Up
3. Do a data/factory wipe ( NOTE: if the dev says you can flash over an old version you dont NEED to do this, but if you don't do this and the ROM is not booting then I suggest you restart this process [minus the back-up] and do a data/factory wipe)
4. Do a Dalvik Wipe... 3 times (ALWAYS ALWAYS ALWAYS do this)
5. Flash ROM
6. Reboot and Wait ( after a Dalvik wipe and flashing ROMs first boot can take 3+ minutes to load... BE PATIENT )
More to Come...
If you could, please explain what a Dalvik flash does. Thanks in adavnce, and thanks for this thread. I've never had any issues flashing, but it's nice to see someone explain the basics....
MOS95B said:
If you could, please explain what a Dalvik flash does. Thanks in adavnce, and thanks for this thread. I've never had any issues flashing, but it's nice to see someone explain the basics....
Click to expand...
Click to collapse
"Dalvik cache is a program cache area for the program Dalvik. Dalvik is a java based virtual machine that is the bases for running your programs (the ones that have the .apk extension). In order to make access times faster (because there's not JIT (just in time) compiler installed by default), the Dalvik-cache is the result of Dalvik doing a optimization of the running program." - Taken From Android forums
Basically it analyzes the phone before it boots. Then it sees what apps you have and will use and assigns cache to them. This way they will load quickly and properly.
When you flash a new ROM apps can change, or if you do a data/factory reset those apps are gone. SO wiping the Dalvik allows it to rebuild itself for what YOU are using.
This is also good to do after cleaning out or removing many unused apps from the phone. I usually do it once a week AT LEAST.
With the exception of a 2.1 ROM running apps2sd on an ext partition, is there really any point to wipe Dalvik if you have just done a wipe data/factory reset (which also wipes Dalvik cache)? And what exactly is the point of wiping Dalvik three times - why is once not enough? Is there something wrong with Amon Recovery which prevents a full Dalvik wipe unless you do it more than once?
It certainly doesn't hurt to wipe Dalvik after a wipe data/factory reset, but it should be already wiped.
I'm still fairly new, but I've flashed quite a bit. I didn't know to wipe dalvik x3. that's an interesting bit of info. Any reason why? Thanks
lp4261 said:
I'm still fairly new, but I've flashed quite a bit. I didn't know to wipe dalvik x3. that's an interesting bit of info. Any reason why? Thanks
Click to expand...
Click to collapse
Safety reasons... personally I do factory then dalvik 3x then factory again and dalvik 3x again.
Sent from my ERIS using XDA App
I tried this and now I have a paper weight lol j/k
tazzpatriot said:
I tried this and now I have a paper weight lol j/k
Click to expand...
Click to collapse
My plan worked
Sent from my ERIS using XDA App
I believe the reason is that sometimes even after a wipe people have reported residual data in the cache, I personally don't do it three times but I do a wipe, dalvik, dalvik, wipe.
Its not going to hurt anything and it gives me piece of mind.
Delvaris said:
I believe the reason is that sometimes even after a wipe people have reported residual data in the cache, I personally don't do it three times but I do a wipe, dalvik, dalvik, wipe.
Its not going to hurt anything and it gives me piece of mind.
Click to expand...
Click to collapse
cool. Thanks for the good info.
x3? I do once before and once after. Frankly once before has been enough for me... though I suppose being safe has never hurt.
If the dalvik cache still won't clear after 3 times you can piss on your phone. That seems to really help.
in most cases once is enough but like I said, it's not likely to hurt anything to give it a couple of wipes to make sure all the junk data is cleared.
Let me put it this way...
I wont use a public toilet just by seeing it is clean... ill clean it like twice ...
This is why I dalvik 3 times lol
Sent from my ERIS using XDA App
icbeer said:
If the dalvik cache still won't clear after 3 times you can piss on your phone. That seems to really help.
Click to expand...
Click to collapse
I tried that today.. now my phone wont turn on... any fix?...
Jk
Sent from my ERIS using XDA App
It would be interesting for someone like Amon to comment on the need to wipe data or recovery more than one time. In my opinion, once is enough. I'm 100% confident than wipes #2, #3, and so on are wiping blank space...
hallstevenson said:
It would be interesting for someone like Amon to comment on the need to wipe data or recovery more than one time. In my opinion, once is enough. I'm 100% confident than wipes #2, #3, and so on are wiping blank space...
Click to expand...
Click to collapse
I personally and others have experienced residual data... so is three too much... maybe... but its safe... two might be a better choice... this guide was made to make sure you have no issues... therefore I said three times for safety... if you want to just do it once... be my guest
Sent from my ERIS using XDA App
At the risk sounding like an idiot, I must ask this:
You mention wiping the Dalvik once a week. When you do this wipe, do you replace it (flash) something over it? Or can you simply wipe then reboot.
Sent from my FroyoEris using XDA App
J&M said:
At the risk sounding like an idiot, I must ask this:
You mention wiping the Dalvik once a week. When you do this wipe, do you replace it (flash) something over it? Or can you simply wipe then reboot.
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
Yep, just wipe and boot. After wiping dalvik, it will redo your app tree or configuration if you will, just clears all the current info and rebuilds it fresh.
Great thread, people still need it I guess
workshed said:
Yep, just wipe and boot. After wiping dalvik, it will redo your app tree or configuration if you will, just clears all the current info and rebuilds it fresh.
Great thread, people still need it I guess
Click to expand...
Click to collapse
Lol thanks buddy!
Sent from my ERIS using XDA App
Hai all, I'm new to iconia. I've been flashing a custom ROM, a Taboonay ROM, great ROM.
I'm curious about get the original setup like a brand new iconia, without any trash folder after I restored my stock ROM. Tried with hitting the reset button, but it didn't work at all, still got the titanium backup folder and documents..is there anyway i could do to make it clean like i bought from the shop?
Thank you for your response..
hhmmmm
I may be missing a step here, but...
Boot into cwm
Clear user data, cache, dalvik, battery cache
Flash stock rom using cwm
Clear user data, cache, dalvik, battery cache
Someone please correct me if I am missing something here
Works for me. Have done so a few times.
entropy.of.avarice said:
I may be missing a step here, but...
Boot into cwm
Clear user data, cache, dalvik, battery cache
Flash stock rom using cwm
Clear user data, cache, dalvik, battery cache
Someone please correct me if I am missing something here
Click to expand...
Click to collapse
erica_renee said:
Works for me. Have done so a few times.
Click to expand...
Click to collapse
I tried this steps so many times, but still the old folder exsist, thank you for the response.
There is a thread in the Dec section that talks about during entering recovery switching the orientation rocker.and also a thread of putting a blank file landed something then flashing that as well.both of these or one might be related to your issue.
Good luck.I just remember reading those threads.have not tried either as no need to.
erica_renee said:
There is a thread in the Dec section that talks about during entering recovery switching the orientation rocker.and also a thread of putting a blank file landed something then flashing that as well.both of these or one might be related to your issue.
Good luck.I just remember reading those threads.have not tried either as no need to.
Click to expand...
Click to collapse
Hmm, pretty sure the orientation rocker startup is just for clearing cache - I could be wrong. Took me like 20 times to get it to work, remember using it a few times when i thought I had bricked my a500
erica_renee said:
There is a thread in the Dec section that talks about during entering recovery switching the orientation rocker.and also a thread of putting a blank file landed something then flashing that as well.both of these or one might be related to your issue.
Good luck.I just remember reading those threads.have not tried either as no need to.
Click to expand...
Click to collapse
Ok, thank you, i'll look for it..cheers..
follow these steps and your device will be just like new ( no leftovers )
Especially step #5 where it formatted the boot, system, and data:
It's like you formatted the hard drive on your desktop before installing the OS
wiping the cache & factory reset is not enough !!
http://forum.xda-developers.com/showthread.php?p=15383719#post15383719
UnicornKaz said:
follow these steps and your device will be just like new ( no leftovers )
Especially step #5 where it formatted the boot, system, and data:
It's like you formatted the hard drive on your desktop before installing the OS
wiping the cache & factory reset is not enough !!
http://forum.xda-developers.com/showthread.php?p=15383719#post15383719
Click to expand...
Click to collapse
I think i'll try it, because only wipe & factory reset still keep all folder like gameloft, titanium, etc..even all downloaded files remain exsist...so it's not enough...
Here is a story about me and my phone:
I'm using this rom for about 2-3 months and it's great!! http://forum.xda-developers.com/showthread.php?t=1817793
But when I was updating some apps with the Play Store I got error 492.
Googled it and I found a thread on XDA and it said that I had to clear some caches.
So I did that and a Dalvik Cache wipe and I fixed permissions.
But it ended in an endless boot. So wiped everything and I did as an extra a Task 29. I flashed my rom installed INT2EXT+. The first boot after I flashed INT2EXT+ something weird happened: The WiFi just didn't turn on. I just turned it on but the slider bounced back after 5 seconds. Reflashed still that problem. So here comes the question how can I fix it?
Wi-Fi issues are sometimes connected to too small system partition. Perhaps caused by bad blocks. Make sure your system partition is bigger than needed. I usually add 10/15 mb above what the rom requires
samsamuel said:
Wi-Fi issues are sometimes connected to too small system partition. Perhaps caused by bad blocks. Make sure your system partition is bigger than needed. I usually add 10/15 mb above what the rom requires
Click to expand...
Click to collapse
Did what you said but when I let it start up I just see just a FC of Settings that's it. :crying::crying:
I rebooted it several times en every time it boots up I see ''Android is Upgrading''.
did you do a 'wipe data' because although the partitioning will clear out all teh nand, there may be stuff on the sd-ext/fat that are left over. a wipe data / factory reset clears those out too.
samsamuel said:
did you do a 'wipe data' because although the partitioning will clear out all teh nand, there may be stuff on the sd-ext/fat that are left over. a wipe data / factory reset clears those out too.
Click to expand...
Click to collapse
Did that still no progress..... :crying::crying::crying::crying:
Does anyone else have an idea?
sorry for using your thread for another Qstn.
is it possible to get an app that the files which will be downloaded from the store will donwload it directly to the sd card?
M3lloW1 said:
sorry for using your thread for another Qstn.
is it possible to get an app that the files which will be downloaded from the store will donwload it directly to the sd card?
Click to expand...
Click to collapse
Yes, it's called A2SD you will have to flash something trough CWM and partition sd card. http://forum.xda-developers.com/showthread.php?t=1716124
elias2204 said:
Yes, it's called A2SD you will have to flash something trough CWM and partition sd card. http://forum.xda-developers.com/showthread.php?t=1716124
Click to expand...
Click to collapse
But let's get on topic again what can I do to make A2SD work back again?
Please Please help me!!!! I'm turning pretty desparate by now!
just saying but:
Funnydwarf said:
That's because int2ex need its own script for wiping dalvik, using the one provided with CWM will cause bootloops: both of you can find the right one on the first post of croniccorey's thread. Just search for "Dalvik-Cache Wipe Tool" then make it run from install zip from sdcard entry.
Click to expand...
Click to collapse
If you have int2ex installed then download and run that zip because if you use normal CWM wipe-cache-dalvik, you'll get a bootloop. this may help you?
Sent from space..
Hey everyone.
So, as every Android I've ever had.. Sometime the device needs a reboot... The battery goes out faster then it should, stuff runs a bit slower and i reboot gives me a clean start.
Here, a reboot does not do that, everything is still open on recent apps as if i didn't reboot at all .. What is the solution for this?
One thing you can do, if you have a custom recovery installed is first, close all open apps, reboot into recovery and delete Cache and Dalvik Cache... then reboot, let it do it's thing... you're as refreshed as you can get without wiping entirely and starting over.
CJ-Wylde said:
One thing you can do, if you have a custom recovery installed is first, close all open apps, reboot into recovery and delete Cache and Dalvik Cache... then reboot, let it do it's thing... you're as refreshed as you can get without wiping entirely and starting over.
Click to expand...
Click to collapse
First of all, Thank you!
is no one else bothered by this? sigh
Caniv said:
First of all, Thank you!
is no one else bothered by this? sigh
Click to expand...
Click to collapse
I've done this method a few times... I usually once I do a full fresh new rom setup will go through and setup everything, tweak it all up nice, remove things I don't want, etc... and when I'm 100% operational... I'll go to recovery, wipe the cache and dalvik, make a nandroid backup and boot back up. I run into less problems it feels like this way.
I just swipe them all away then reboot, its a pain but since I want to use android pay its something i have to live with.