I'm looking a automated way to wipe dalvik cache....any ideas
Umm why? The dalvik cache usually does not need to be wiped unless you are removing apps via file browser or terminal. As far as all your other caches (system, apps, etc) there are apps out that will do cleaning automatically.
Sent from my daughter's CLONED Og Evo using xda-developers app
Hmmm, I don't know any automatic way but there are two manual ways that are easy. First is through recovery mode. I use Amon Ra Recovery to do so. Usually the recovery has a section called Wipe. Be careful what you press in here. Second, is through an app called Titanium Backup. Only the pro version can do dalvik cache clean though. I bought it but I think you should stick with the recovery way.
Sent from my PC36100
Titanium Backup is a thought but it only gets rid of unneeded entries and doesn't do a true wipe like going into recovery. I was looking for something I could set up to run automatically once or twice a week. For me, my JB roms just run better if I can keep it wiped and was hoping to set something up to run during the night maybe twice a week.
Sorry than, I don't know any other way...
Sent from my PC36100
Related
I just installed a new kernel and afterwards read about clearing the dalvik cache before installing kernels. Since I never did this should I clear it now, or do I have to clear it and then install the kernel?
clear then install
Is this the same thing as "cleaning" the dalvik cache using Titanium or do you actually have to delete the entire cache folder?
jprow507 said:
Is this the same thing as "cleaning" the dalvik cache using Titanium or do you actually have to delete the entire cache folder?
Click to expand...
Click to collapse
To be on the safe side i do it both in Titanium and then when i am in Clockworkmod, I do it in the advanced section too - by the way if you do not have partition done on your sd card u will see an E: error message. You can ignore that.
khanam said:
To be on the safe side i do it both in Titanium and then when i am in Clockworkmod, I do it in the advanced section too - by the way if you do not have partition done on your sd card u will see an E: error message. You can ignore that.
Click to expand...
Click to collapse
Thanks alot .... I did it the way you suggested and am rebooting now. I appreciate the help.
For kernels, you want to delete the cache partition, kernel stuff usually isn't help in the dalvik cache. On Amon_Ra style, it's wipe cache. On CWM I think it's wipe cache partition (Don't know, have not used CWM in a while).
jprow507 said:
Is this the same thing as "cleaning" the dalvik cache using Titanium or do you actually have to delete the entire cache folder?
Click to expand...
Click to collapse
Cleaning in Ti only deletes unneeded files. Do this after you uninstall an app or two. Wiping in Recovery clears it out completely, so you'll have a longer next boot time while it's rebuilt. You only need to wipe it when changing to and from one of King's with HAVS.
Sent from my ADR6300 using XDA App
PonsAsinorem said:
Cleaning in Ti only deletes unneeded files. Do this after you uninstall an app or two. Wiping in Recovery clears it out completely, so you'll have a longer next boot time while it's rebuilt. You only need to wipe it when changing to and from one of King's with HAVS.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
So I don't need to wipe when updating Chads incredikernel?
You should always wipe caches when swapping kernels, even it its switching kernels from the same dev. It takes like no time to do so why not? I've forgotten to and usually it makes no difference. Sometimes its just forced closed's until I can restart and do it right.
Sent from my ADR6300 using XDA App
loonatik78 said:
You should always wipe caches when swapping kernels, even it its switching kernels from the same dev. It takes like no time to do so why not? I've forgotten to and usually it makes no difference. Sometimes its just forced closed's until I can restart and do it right.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
that would be very TROLOLOLOL
Hi guys I own a htc desire 526GPLUS with mediatek 6592 and the manufacturer doesn't released source codes
Now I want to port a rom made for another device with mt6592
Can I port it and can I use drivers by copying it from driver folder from my stock rom and I will use boot. Img from stock rom
Question 2
What makes different devices require different kernels?
If I get mt6592 source code from another device can I make it to work with mine
Please help
I've searched other threads but they were lacking so I thought Id try for the evo. I like many others am addicted to flashing roms. I make backups and restore and they complete fine. When I go to boot a restore it gets to the boot animation and just keeps cycling the boot animation. It seems to happen across different roms. I tried doing a complete factory restore with an pc36img re-rooted and found I'm still having the same issue. Any ideas? Thanks for the help.
You didn't make any changes to the file?
I chanaged to folder name, but this never used to be a problem. I use root explorer or plug in the phone usb mass storage, rename the folder that holds the backup. I don't usually have a problem. But it seems to be a constant problem now.
When you renamed did you put spaces or all together? Make sure there are no spaces.
Sent from "The EVO" using XDA Premium
eeeeeeeeek said:
I chanaged to folder name, but this never used to be a problem. I use root explorer or plug in the phone usb mass storage, rename the folder that holds the backup. I don't usually have a problem. But it seems to be a constant problem now.
Click to expand...
Click to collapse
re-rename them, but you can't use spaces. Periods, hyphens, and underscores are fine though.
Also remember to wipe cache and dalvik after restoring, and give it a good ten minutes to do the initial boot.
i just do simple rename like rom04, no spaces or dashes, it says it restores it, I don't know if I wipe the dalvick after the restore, I'll try that.
Were your backups made with the same recovery you're trying to restore them with?
Your post implies you're not using an evo, in which case I dunno what recovery you're using, and thus how to help troubleshoot. More info.
Sent from my PC36100 using XDA App
I have an evo and all my backups and restores come from the same recovery which is amon-ra 2.3. I've tried formatting my sdcard and then restoring. Last night I did a restore and went to bed while it was booting, I woke up later in the night and the phone was dead. I'm beginning to wonder if there is something wrong in the phone. It's a replacement phone I got about three weeks ago, but I was able to do restores/backups that were fine. It just started all of a sudden that it won't boot after recovery says it restore complete. The phone has some speaker issues and every time and place or recieve a call it starts on speaker phone. Unless someone has other ideas. I did rename the file after the inital rename. No luck. Any other ideas, other then whats already been mentioned above?
are you trying to restore backups you made with your previous phone?? like copied them off the sd card to computer, got new phone, copied onto new phones sd card, and tried to restore?...if so thats not a good idea
No same phone, I got a replacement about 3 weeks ago, I did backups and restores with no issues. I didn't change anything or do anything different I would normally due. Its a new issue. The restore was made and restored from the same phone and the same sd card.
Didn't work door me either , I made a recovery and about 1 hr later tried to recover but for some reason it didn't work .
Sent From One BadAss Evo On Mikfroyo 4.5 Steroids Via XDA App ;-)
1 for 5
Well, Insanity is repeating the same thing over and over expecting different results, needless to say I tried restoring again from a fresh restore of king coco. Low and behold it worked this time. Here's what I did
Full wipe including system, restore, wipe dalvick, reboot. It actually booted in like 4 minutes. This might be a localized incident, as you know I have to keep tempting fate and continue the insanity.....
Anyone got a fix for that ?
Sent From One BadAss Evo On Mikfroyo 4.5 Steroids Via XDA App ;-)
I think the corruption occurs because of a mismatch in the caches after the restore vs when the backup was done.
That is, normally neither cache nor dalvik cache is wiped when a backup is performed. Depending on your setup with a2sd and possible other tweaks like moving the cache, some portions may get backed up.
So, two solutions.
1) do a cache/dalvik cache wipe before doing the backup
or
2) do a cache/dalvik cache wipe after doing the restore, but before the initial boot
Thx ;-)
I will make a new nand backup & gonna wipe the cache/dalvik before .
Will I still need to wipe after the restore?
Sent From One BadAss Evo On Mikfroyo 4.5 Steroids Via XDA App ;-)
oranium said:
Thx ;-)
I will make a new nand backup & gonna wipe the cache/dalvik before .
Will I still need to wipe after the restore?
Sent From One BadAss Evo On Mikfroyo 4.5 Steroids Via XDA App ;-)
Click to expand...
Click to collapse
I personally never wipe before or after making a backup/restore. But no, you don't need to wipe after restoring, since it restored the old cache.
teh roxxorz said:
But no, you don't need to wipe after restoring, since it restored the old cache.
Click to expand...
Click to collapse
Who backs up their cache?
What exactly do I need to back up using ra2.3 ?
Boot, system, data are checked when going into nand backup
Sent From One BadAss Evo On Mikfroyo 4.5 Steroids Via XDA App ;-)
oranium said:
What exactly do I need to back up using ra2.3 ?
Boot, system, data are checked when going into nand backup
Sent From One BadAss Evo On Mikfroyo 4.5 Steroids Via XDA App ;-)
Click to expand...
Click to collapse
It's good to have a couple backups with the 'wimax' included. That backs up your RSA keys, and includes that in the backup when you have that checked off. It's recommended to have a good backup of your wimax.img in a safe place, preferably on your pc somewhere. That way if you ever lose your RSA keys for 4g, you'll have a backup of them. Other than that, just the 3 that are checked is all that's necessary. You don't need to backup the wimax every time if you don't want to, as long as you have a good backup of them somehwere.
I did some searching and I wasn't able to find the answer I was looking for, so here goes.
Last night I rooted my GB Evo with the new Revolutionary method. I got all excited to put my MikG ROM back on the device using AmonRa, and without thinking I cleared cache, delvic-cache, and then data ... THEN I did my Nandroid backup.
If I ever decide to restore back to my backup, is this going to cause problems? What exactly is lost when you choose to clear data?
Thanks for your help.
That will clear all your settings definitely and apps I think.
Clearing data I mean .
Clearing cache and dalvik cache will do nothing I do that before backing up to save memory.
Sent from my PC36100 using XDA App
You pretty much only backed up the system and wimax.
i dont think it will boot up if you restore. try it and tell us your results you can always go back into recovery and flash a new rom
Make another backup and don't wipe data I only keep backups that I want to go back to and incase something goes wrong .
As long as you have your apps backed up you can always flash a stock rooted ROM and restore your apps.
Sent from my PC36100 using XDA App
Ok... I flashed 2.2 and all of.a.sudden I am getting these notifications with a star in the taskbar... They are for some.Facebook phone.thing or something. I do not have any social media installed.on the phone
Nor do I belong to any sites. Is anyone else getting.these and how.can I make.them stop?
Sent from my ADR6300 using XDA App
i had facebook problems with 2.1. when i flashed 2.2, i wiped everything. system x3, boot x3, dalvik x3, factory reset x3 in clockwork mod recovery. if you flashed 2.2 without wiping all that, id reccomend that (x3 is times 3) and a fresh install. 2.1 kept telling me to sign in to facebook. may be unrelated. just my experience.
After a little research found out it was an app. There is an app called airpush detector in market that told me what app was sending Airpushes so I just deleted the app and messages stopped
Sent from my ADR6300 using XDA App
kitcostantino said:
i had facebook problems with 2.1. when i flashed 2.2, i wiped everything. system x3, boot x3, dalvik x3, factory reset x3 in clockwork mod recovery. if you flashed 2.2 without wiping all that, id reccomend that (x3 is times 3) and a fresh install. 2.1 kept telling me to sign in to facebook. may be unrelated. just my experience.
Click to expand...
Click to collapse
I had not seen the x3 recommendation for reformatting system, boot, and dalvik. I would think reformatting a filesystem more than once should have no additional effect.
in all honesty, im pretty sure that one doesnt do anything additional, but i accustomed myself to it before i understood. at this point, i figure it cant hurt.
kitcostantino said:
in all honesty, im pretty sure that one doesnt do anything additional, but i accustomed myself to it before i understood. at this point, i figure it cant hurt.
Click to expand...
Click to collapse
It won't hurt but it's silly redundancy. How often do you format your PC when you do a fresh install? Once? Twice? 3 times?
When you format the access to every single file is gone. It can be recovered but that is why secure wipes are done and these are not secure wipes. But from a filesystem perspective, you format once it's no longer there. There won't be remnants sticking around as some have suggested. And on android doing the main wipe data/factory reset handles formatting data/cache/dalvik/datadata.
tiny4579 said:
It won't hurt but it's silly redundancy. How often do you format your PC when you do a fresh install? Once? Twice? 3 times?
When you format the access to every single file is gone. It can be recovered but that is why secure wipes are done and these are not secure wipes. But from a filesystem perspective, you format once it's no longer there. There won't be remnants sticking around as some have suggested. And on android doing the main wipe data/factory reset handles formatting data/cache/dalvik/datadata.
Click to expand...
Click to collapse
Thanks for the clarification Tiny!
the next time i update my rom, i will wipe it all just once. should make it a bit faster of a process. thanks for the input tiny.
Yeah... I never understood the whole wipe x 3 thing... Seemed like redundancy to me too. I always do a wipe and reset, wipe dalvik, then format system under mounts and storage in CWM and I have never had an issue flashing a new ROM
Sent from my ADR6300 using XDA App
Does anyone know if there are videos showing you step by step how to actually setup a rom, once u have it installed? Last night I installed the sleeper rom, and I couldn't figure out how to get the phone dialer installed. Plus I started getting system force closes. I'm assuming that I should install the zip twice or 3 times right? But really, videos on rom setup would really help.
Sent from my SPH-D700 using xda premium
There are some videos listed in the OP of SleeperROM but doubt it will cover what you are looking for. Replacing the dialer requires pushing the file to system\app folder with Root Explorer. FC's are a sign of corrupted data. A Factory Data reset will clear all data and you can then restore some stuff from Titanium if you had a backup before flashing. Try to not restore data for anything unless you HAVE to have it, like memos or something like that.
so in that case, you think i should do a dalvik wipe, cache wipe and a factory reset before installing the sleeper rom?
by the way, what do you me "op"?
androidmaster1 said:
so in that case, you think i should do a dalvik wipe, cache wipe and a factory reset before installing the sleeper rom?
by the way, what do you me "op"?
Click to expand...
Click to collapse
OP=Original Post which is Post #1 of the thread. I also read in there that it does not preserve data and you should do a full wipe of all 3 things before flashing for best results.
OP = original post (or first post). Yes, wipe everything before installing a ROM.
Edit: before installing most ROMs. Some of them are no-wipe, but i usually wipe anyway.
Sent from my SPH-D700 using XDA App
ok...i got it. now, if and when i reinstall the rom, would there be a problem installing the dialer from titanium backup? would there be any kind of conflict?
androidmaster1 said:
ok...i got it. now, if and when i reinstall the rom, would there be a problem installing the dialer from titanium backup? would there be any kind of conflict?
Click to expand...
Click to collapse
There shouldn't be. Sometimes Titanium is finicky about pushing system apps, but worth a try. If not pull it from a stock ROM and push it with Root Explorer.