can anybody please explaint to me how it is done?...thanks in advance!!
DKM119 said:
can anybody please explaint to me how it is done?...thanks in advance!!
Click to expand...
Click to collapse
If you delete dalvik cache the system will recreate it on next boot...
ok so what im trying to do is flash the latest Hero from Drizzy's and on the changelog saids that i have to clear dalvik...i just don't know how to do that...i know how to format my ext/3....etc...
oh, its on your ext...
go to recovery console
mount -o rw /dev/block/mmcblk0p2 /system/sd
rm -r /system/sd/dalvik-cache/*
that's it, wipe and flash the ROM
thanks a lots!!
AdrianK said:
oh, its on your ext...
go to recovery console
mount -o rw /dev/block/mmcblk0p2 /system/sd
rm -r /system/sd/dalvik-cache/*
that's it, wipe and flash the ROM
Click to expand...
Click to collapse
thank you!
But it shouldn't be important when you remove it?
So you could flash the image and still delete the dalvik cache.
Should make no difference...
what is the point in deleting your dalvik cache? I mean, someone who only uses cyans roms and sometimes changes themes would not need to do this right?
s15274n said:
what is the point in deleting your dalvik cache? I mean, someone who only uses cyans roms and sometimes changes themes would not need to do this right?
Click to expand...
Click to collapse
Over time you phone can start getting sluggish. If you clear the dalvik cache it will speed it back up. Just had to do this the other night. I did mine in terminal this way
Code:
$su
#cd /system/sd/dalvik-cache
#rm *
#exit
$exit
so it does not matter in terminal or console then?
Thanks for the help man, as always.
s15274n said:
so it does not matter in terminal or console then?
Thanks for the help man, as always.
Click to expand...
Click to collapse
Naw it don't. You will just need to reboot your phone when you are done and it will take a long time to boot up just like if you just flashed a new rom, so don't get scared.
Hi,
does deleting this cache delete also my personal settings of applications ?
wojtek_pl said:
Hi,
does deleting this cache delete also my personal settings of applications ?
Click to expand...
Click to collapse
nope. when you delete it, its rebuilt. its only used by android and has none of your preferences or apps
Thanks, learning by the day. Had problems with disappearing icons on homescreen, see if this helps ;-)
I don't know why, but this thread was hard to find! lol This code solved all my problems. Cyanogen should put this code into his rom and clear the cache every time someone installs his rom.
Amon-RA recovery has clear dalvik cache in the wipe section for those who didn't know. If you are already in recovery to flash a new ROM, just clear it from there.
sockpuppet4 said:
Amon-RA recovery has clear dalvik cache in the wipe section for those who didn't know. If you are already in recovery to flash a new ROM, just clear it from there.
Click to expand...
Click to collapse
Two thumbs WAAAAAY up!
egyptianbman said:
Two thumbs WAAAAAY up!
Click to expand...
Click to collapse
Hey i been searching and with not luck what would happen if i choose the option from RA recovery to move the App+dalvik cache to sd card? it will slow down my phone????
thephantom007 said:
Hey i been searching and with not luck what would happen if i choose the option from RA recovery to move the App+dalvik cache to sd card? it will slow down my phone????
Click to expand...
Click to collapse
which version of RA recovery are you using?
thephantom007 said:
Hey i been searching and with not luck what would happen if i choose the option from RA recovery to move the App+dalvik cache to sd card? it will slow down my phone????
Click to expand...
Click to collapse
Do you have an ext partition? If you do, and you are using Cyanogen (or another ROM with automatic apps2sd) then this is done for you already.
Related
any one know how to wipe dalvik NOT on sd with RA recovery?
its boggling my mind and ive searched this place believe me
why do you need to wipe it?
alt+x
mount /data/
rm -r /data/dalvik-cache
reboot
IT WILL take longer to boot after this because it has to rebuild the cache , then it will boot normally .....
thank you so much. the reason i want to wipe it is because i want to start with a fresh phone and try out the new bluetooth fix from eugene for hero roms. he has it working on his (ibelieve). its not neccasary i just wanted to do it.
well if you were going to flash a new rom, doing a wipe/data factory restore would have gotten the job done. You would only need to delete it if it were on your sd card.
Does anyone have any advice? My system was very stable, then I upgraded my uboot and flashed the 3.1 beta. The beta performed terribly, so I flashed back to the build in the title, and now all these force closes. I did install Pure Messenger and Pulse in the meantime and put up some widgets.
I'm planning to try out Phiremod on eMMC and see how that works out, but if there's a fix for this issue, I'd like to try it out. I have CWM on eMMC, but I'm thinking if I clear caches in there, it will be the caches in my stock OS install on eMMC, correct? Can I point it to the SD install?
Taosaur said:
Does anyone have any advice? My system was very stable, then I upgraded my uboot and flashed the 3.1 beta. The beta performed terribly, so I flashed back to the build in the title, and now all these force closes. I did install Pure Messenger and Pulse in the meantime and put up some widgets.
I'm planning to try out Phiremod on eMMC and see how that works out, but if there's a fix for this issue, I'd like to try it out. I have CWM on eMMC, but I'm thinking if I clear caches in there, it will be the caches in my stock OS install on eMMC, correct? Can I point it to the SD install?
Click to expand...
Click to collapse
Boot into Clockwork. Under Mounts / Storage wipe cache, then go into "advanced" and wipe dalvik cache (will cause your device to lock & need hard reboot). Then boot your machine as normal. Load time will be a little on the long side because your Nook will be rebuilding cache...perfectly normal. This has to be done when going back to the stables from the Beta CM7.
hockeyfamily737 said:
Boot into Clockwork. Under Mounts / Storage wipe cache, then go into "advanced" and wipe dalvik cache (will cause your device to lock & need hard reboot). Then boot your machine as normal. Load time will be a little on the long side because your Nook will be rebuilding cache...perfectly normal. This has to be done when going back to the stables from the Beta CM7.
Click to expand...
Click to collapse
But again, with CWM on eMMC and CM7 on SD, won't that wipe the caches for the stock install on eMMC rather than for CM7?
That method did not work, btw, I'm guessing because it wasn't wiping the caches for the ROM on the card. Any way to do this for a verygreen SD install?
Taosaur said:
That method did not work, btw, I'm guessing because it wasn't wiping the caches for the ROM on the card. Any way to do this for a verygreen SD install?
Click to expand...
Click to collapse
In terminal emulator, su then rm /data/dalvik-cache/*
Just go to settings, applications, manage application, in the all tab, find "media storage" if I remembered correctly, then go in and clear data, reboot then you should be fine.
robot8 said:
In terminal emulator, su then rm /data/dalvik-cache/*
Click to expand...
Click to collapse
Hope I'm not counting my chickens before they hatch, but it looks like that did it--thank you!
knaries2000 said:
Just go to settings, applications, manage application, in the all tab, find "media storage" if I remembered correctly, then go in and clear data, reboot then you should be fine.
Click to expand...
Click to collapse
So far, this did the trick for me! Thank you!
I am using MIUI 5.31 at the moment.
However it was known to be there'll be some update today after.
Is there any way to back-up and restore on the new version of ROM?
I have backuped all the systems and applications using the back-up menu.
Do I simply get new 5.32 and restore using the backup i created just now?
And to install a new version, from my old version 5.31, do I have to do
format /system
format /cache
format /data
and then install from SD card?
(or do I have to go back to Froyo? hopefully not )
And final question! Everytime I update the ROM, do i have to re-calibrate the battery? (Make battery full and wipe-out the battery status)
Thanks in advance! have a good day
um im newbie too so don't trust me too much
for updating existing rom.. do not require back-up and stuff..
u just /format system and cache and install the new Rom using CWM
it does not wipe out anything everything stays same except the rom version
hope this helps
Oh yeah and I wanted to ask question for calibration thing so.. if anyone have answer plz post XD
what does format /datadata do exactly? that in comparison with format /data
candoo100 said:
um im newbie too so don't trust me too much
for updating existing rom.. do not require back-up and stuff..
u just /format system and cache and install the new Rom using CWM
it does not wipe out anything everything stays same except the rom version
hope this helps
Oh yeah and I wanted to ask question for calibration thing so.. if anyone have answer plz post XD
Click to expand...
Click to collapse
Thanks! Now I have some ideas how to do it. I will try your way first. But don't we need to format / data aswell?
I'm also getting confused between format /data and format /datadata. ><
Sent from my GT-I9000 using XDA App
Feelosopher said:
Thanks! Now I have some ideas how to do it. I will try your way first. But don't we need to format / data aswell?
I'm also getting confused between format /data and format /datadata. ><
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
If you want to do a completely clean install, format cache, system, data and datadata. If you want to keep your apps etc, format system and cache. Hope that clears things up
Shrapnel2 said:
If you want to do a completely clean install, format cache, system, data and datadata. If you want to keep your apps etc, format system and cache. Hope that clears things up
Click to expand...
Click to collapse
^^ yeah thats the best way, u dont need to format /data everytime, only when you feel like a clean install.
as for battery calibration, this is not needed for upgrades. usually a battery calibration is required when a full firmware is flashed with ODIN.
And MIUI backup will allow you to restore backups on older / newer versions of MIUI, but as mentioned above, you dont need to backup unless you are going to format /data and /datadata - where apps are stored
Shrapnel2 said:
If you want to do a completely clean install, format cache, system, data and datadata. If you want to keep your apps etc, format system and cache. Hope that clears things up
Click to expand...
Click to collapse
yeah, just format cache and dalvik cache if want to maintain your apps!
Sent from my GT-I9000 using XDA Premium App
wow! thanks for the answers guys. It really helped me out to understand it more!!
I'll try out the new rom now. Thanks again!
I was looking through the menu's on the new 4.2.2 and I cannot find a way to format internal storage. Am I missing something? When I load into twrp there is no option for it there other than USB-OTG which fails any time you try it. Thank you in advance.
Dex954 said:
I was looking through the menu's on the new 4.2.2 and I cannot find a way to format internal storage. Am I missing something? When I load into twrp there is no option for it there other than USB-OTG which fails any time you try it. Thank you in advance.
Click to expand...
Click to collapse
Look in advanced
maxal said:
Look in advanced
Click to expand...
Click to collapse
Advance in TWRP? Advanced in wipe? Advanced in settings in the rom (not sure if this exists)?
Dex954 said:
I was looking through the menu's on the new 4.2.2 and I cannot find a way to format internal storage. Am I missing something? When I load into twrp there is no option for it there other than USB-OTG which fails any time you try it. Thank you in advance.
Click to expand...
Click to collapse
Dex954 said:
Advance in TWRP? Advanced in wipe? Advanced in settings in the rom (not sure if this exists)?
Click to expand...
Click to collapse
Sorry in Wipe you have two options advanced wipe and format data
maxal said:
Advanced in twrp
Click to expand...
Click to collapse
All I have in twrp is adb sideload, fix perms, file manager, htc dumlock.. not seeing anything about formating
maxal said:
Sorry in Wipe you have two options advanced wipe and format data
Click to expand...
Click to collapse
And format data is what I'm looking for? Sorry I didn't see this post before I replied.
Dex954 said:
And format data is what I'm looking for? Sorry I didn't see this post before I replied.
Click to expand...
Click to collapse
I have just formatted my data all went ok.:good:
Keep in mind that if you format data in TWRP you'll end up with no OS installed. When I did that, I had to push a ROM's zip using ADB over USB to get it running again.
From my side I restart using recovery and use the ADB shell to make rm or rmdir inside the SDCARD folder
Drackyen said:
Keep in mind that if you format data in TWRP you'll end up with no OS installed. When I did that, I had to push a ROM's zip using ADB over USB to get it running again.
Click to expand...
Click to collapse
Worked ok for me, I didn't loose my OS.
Hello.
first I want to apologize for my, sometimes, bad English!
Second, i want to apologize for my novice touch in this topic!
The story:
I've been using SweetRom for a while, but tonight i wanted to try another rom.
I loaded up SuperBean(not really relevant to this story) on a microSD.
Rebooted my phone into recovery
Philz Touch 5
I choose "Wipe Data/Factory Reset" and then "Clean to install a new rom"
Then i tried to "install zip"
"Choose zip from sdcard"
But then i get: E:Can't Mount /sdcard/
I've tried to format the sdcard, exfat, fat, fat32, ntsf but nothing worked, still the same error.
I can access the internal storage and i can boot into download.
I thought that maybe i'll try to install the newest Philz but when in download mode
my computer wont recognize my phone (i'm using Windows 8)
i'm stuck! please help me out!
I've searched everywhere for answers but i can't find any!
What are my options?
Boot into Philz recovery again and go to mounts and storage and mount USB. Then connect it to pc. Check if the any drive shows up. Then move the new rom to the internal storage.
Sent from my GT-I9500 using xda premium
nokiamodeln91 said:
Boot into Philz recovery again and go to mounts and storage and mount USB. Then connect it to pc. Check if the any drive shows up. Then move the new rom to the internal storage.
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Thank you so much!
It took a while for my computer to find my phone, but it worked!
Cool. There's another way to express thanks.
There's is a thanks button and press it for the guy who helped you.
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
Boot into Philz recovery again and go to mounts and storage and mount USB. Then connect it to pc. Check if the any drive shows up. Then move the new rom to the internal storage.
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
what DOES the "clean to install a new rom" option do anyway?
explorer-10 said:
what DOES the "clean to install a new rom" option do anyway?
Click to expand...
Click to collapse
It does a full wipe. Basically it formats: cache, /system, /preload, /data
XxPixX said:
It does a full wipe. Basically it formats: cache, /system, /preload, /data
Click to expand...
Click to collapse
is /preload equivalent to /dalvik-cache? but then what's the point of format /data/factory restore if "clean to install new rom" is present?
No. It's different. Preload is a separate partition and dalvik-cache is in data partition.
The option you mentioned only exists in Philz recovery not in standard cwms
explorer-10 said:
what DOES the "clean to install a new rom" option do anyway?
Click to expand...
Click to collapse
XxPixX said:
It does a full wipe. Basically it formats: cache, /system, /preload, /data
Click to expand...
Click to collapse
explorer-10 said:
is /preload equivalent to /dalvik-cache? but then what's the point of format /data/factory restore if "clean to install new rom" is present?
Click to expand...
Click to collapse
nokiamodeln91 said:
No. It's different. Preload is a separate partition and dalvik-cache is in data partition.
The option you mentioned only exists in Philz recovery not in standard cwms
Click to expand...
Click to collapse
So, to be clear, is it necessary or advisable to do any of 'Wipe Data/Factory Reset', 'Wipe Cache Partition' and 'Wipe Dalvik Cache'? Or is 'Clean to Install a New ROM' merely an amalgam of the above (plus added formats?)?
Thanks
It's usually not necessary but it is ALWAYS advised to format /data /preload /system and cache before flashing a new ROM. If you don't do those wipes then you can sometimes end in a bootloop, random force closes, battery and performance issues et cetera. Basically if yoou want to flash a new ROM (unless it is an update to your current ROM) then always do a full wipe,
If you are just updating your ROM (ex. updating one nightly to another) then you just have to flash the ROM in recovery and wipe cache, dalvik cache (in advanced)
.
XxPixX said:
It's usually not necessary but it is ALWAYS advised to format /data /preload /system and cache before flashing a new ROM. If you don't do those wipes then you can sometimes end in a bootloop, random force closes, battery and performance issues et cetera. Basically if yoou want to flash a new ROM (unless it is an update to your current ROM) then always do a full wipe,
If you are just updating your ROM (ex. updating one nightly to another) then you just have to flash the ROM in recovery and wipe cache, dalvik cache (in advanced)
.
Click to expand...
Click to collapse
Thanks very much for that - much appreciated.
I've read elsewhere that many seem to recommend wiping cache and dalvik after they've flashed a ROM? Is this something you'd advise and, if so, why (or not!)?
Many thanks
largeruk said:
Thanks very much for that - much appreciated.
I've read elsewhere that many seem to recommend wiping cache and dalvik after they've flashed a ROM? Is this something you'd advise and, if so, why (or not!)?
Many thanks
Click to expand...
Click to collapse
If you're updating then yes, it's enough that you flash the ROM and then wipe cache and dalvik cache.
If you're reflashing from start then you should first do a full wipe, flash the ROM, gapps, su and that is all. No need to wipe the cache or dalvik cache again
XxPixX said:
If you're updating then yes, it's enough that you flash the ROM and then wipe cache and dalvik cache.
If you're reflashing from start then you should first do a full wipe, flash the ROM, gapps, su and that is all. No need to wipe the cache or dalvik cache again
Click to expand...
Click to collapse
Ah right. So if you're flashing a new ROM - then clean install is all that's necessary. If upgrading to a newer version of existing ROM, then it's better to wipe cache and dalvik post-install? Why? What does it do and how does it help?
Cheers
reset before installing zip, now no super su ... cannot mount usb
Hi,
The title says it all. I have been reading and searching. Many similar stories. I apologise if this is in the wrong place but this is very similar to my problem.
I have a galaxy i9505 trying to install a DjeMBeY ROM from TWRP.
I factory reset and wiped cache's BEFORE I flashed the .zip file so then had no .zip file to flash!
Also have erased my system backup and the USB WILL NOT SEEM TO MOUNT to copy it back onto the card.
I have read and read I am very struck.
I am not familiar with all the processes yet. Please help.
i recommend going to here
Similar prob
nokiamodeln91 said:
Boot into Philz recovery again and go to mounts and storage and mount USB. Then connect it to pc. Check if the any drive shows up. Then move the new rom to the internal storage.
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Hi, thanks for the advised. i have a similar prob. I dont have a sd card (external) and i just had installed xtrestolite 2.1 in my exynos S5 smg900h but google play services kept crashing so i decided to wipe clean to install new rom instead of just regular wipe data. i wanted to flash again xtrestolite but i did not know that the rom i had inthe internal memory of the phone was gonna be erased as well (i know iknow dumb me ) so now i cant get pass recovery, i dont know if download mode will work as i did not activate usb debug after i installed xtrestolite. if a go to mount usb nothing happens............. i dont know what to do ..
luislaperika said:
Hi, thanks for the advised. i have a similar prob. I dont have a sd card (external) and i just had installed xtrestolite 2.1 in my exynos S5 smg900h but google play services kept crashing so i decided to wipe clean to install new rom instead of just regular wipe data. i wanted to flash again xtrestolite but i did not know that the rom i had inthe internal memory of the phone was gonna be erased as well (i know iknow dumb me ) so now i cant get pass recovery, i dont know if download mode will work as i did not activate usb debug after i installed xtrestolite. if a go to mount usb nothing happens............. i dont know what to do ..
Click to expand...
Click to collapse
You can go with the download mode and install a stock ROM or use the 'adb sideload " feature of cwm recovery to install the zip of your ROM if you have it saved on your PC.
nokiamodeln91 said:
You can go with the download mode and install a stock ROM or use the 'adb sideload " feature of cwm recovery to install the zip of your ROM if you have it saved on your PC.
Click to expand...
Click to collapse
Thanks! i went with download mode, then installed a stock rom, i had to root again and flash philz touch and install xtrestolite and now everything is ok!