Need info about cyanogen mod installation - Nexus S General

Hey guys
I had started to use nightly builds. My question is should I have to wipe factory n Cache?
Sent from my Nexus S using XDA Premium App

Nope, if you continue to use the nightlies, just wipe dalvik cache,
If you come from different rom, just wipe data and cache and dalvik cache.

Once you are on the nightlies you never wipe anything. Don't listen to any nonsense about caches and dalviks just go to recovery, flash nightly, reboot!
Sent from my Nexus S using XDA App

Thank you.. do I have to wipe if I'm switching to different rom of same version?
Sent from my Nexus S using XDA Premium App

You're losing no data wiping cache and dalvik, why not do it then, it saves you from trouble.

rentaric said:
You're losing no data wiping cache and dalvik, why not do it then, it saves you from trouble.
Click to expand...
Click to collapse
Because it doesn't "save you from trouble." But I'm not going to argue about it. The OP asked if he had to wipe when upgrading nightlies and the answer is No.
Sent from my Nexus S using XDA App

Plz tel about this... Toll then do I have to wipe if I'm flashing different rom of same android version!?
Sent from my Nexus S using XDA Premium App

ancilary said:
Plz tel about this... Toll then do I have to wipe if I'm flashing different rom of same android version!?
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Yes for different roms you must factory reset.
Sent from my Nexus S using XDA App

rentaric said:
You're losing no data wiping cache and dalvik, why not do it then, it saves you from trouble.
Click to expand...
Click to collapse
Correct.
matt2053 said:
Because it doesn't "save you from trouble." But I'm not going to argue about it. The OP asked if he had to wipe when upgrading nightlies and the answer is No.
Click to expand...
Click to collapse
You are so wrong. Of course he needs to wipe Dalvik and Cache even if he installs another nightly. Its because the new nighlties bring new apps versions, or new kernel changes. Deleting Dalvik and cache forces the Android to reload the Dalvik cache for all the apps. Also, it saves you from trouble of incompatibility or FC's.
ancilary said:
Plz tel about this... Toll then do I have to wipe if I'm flashing different rom of same android version!?
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Different ROM same Android - wipe Data, Dalvik, Cache.
Same ROM same Android - wipe Dalvik, Cache.

brainmaster said:
Correct.
You are so wrong. Of course he needs to wipe Dalvik and Cache even if he installs another nightly. Its because the new nighlties bring new apps versions, or new kernel changes. Deleting Dalvik and cache forces the Android to reload the Dalvik cache for all the apps. Also, it saves you from trouble of incompatibility or FC's.
Different ROM same Android - wipe Data, Dalvik, Cache.
Same ROM same Android - wipe Dalvik, Cache.
Click to expand...
Click to collapse
Well you can have your superstitions but there is no rational reason to manually wipe your cache or your dalvik cache when upgrading CM nightlies, and that comes straight from the developers of the ROM who are more knowledgeable than I am. None of the CM devs have EVER suggested it, and when asked, have said that it is not something that should be done. I will take their word over yours.
EDIT: This is the closest I think we will find to a definitive answer: http://review.cyanogenmod.com/#change,4933
So, CM development team does not suggest a wipe of dalvik or cache when upgrading. The nightly installation instructions do not mention wiping dalvik or cache. I personally have flashed several hundred nightlies over the last year and have never wiped cache or dalvik when upgrading. Many many other users have flashed hundreds of nightlies each and have not wiped cache or dalvik and have not had problems. There is no reason to do this action, it is completely pointless. It is like saying "you must have your phone pointing to the east when you boot." Sure maybe it does not hurt anything but we don't really need to keep spreading this superstition.
EDIT: In re-reading this I feel like my posts come across as disrespectful and/or antagonistic. I simply disagree with what was said and I feel I have good reason to. But the OP can read about both points of view and then try for himself and choose what works best for him.

CWM recovery was developed from CM7 devs. So why do you think that they've integrated or made a option to wipe dalvik if that is not needed?
Especially if installing another kernel, wiping Dalvik is a must.
But you are right, the OP can choose himself either he will do that or not.
I don't think that your post is disrespectful and/or antagonistic, you have just expressed your opinion. If we don't discus issues with each other we are not gonna make any progress on learning.

brainmaster said:
CWM recovery was developed from CM7 devs. So why do you think that they've integrated or made a option to wipe dalvik if that is not needed?
Click to expand...
Click to collapse
There are lots of options in CWM recovery that are not needed when flashing
Like I said, in the link it is expressed very clearly that the developers of the ROM feel it is "completely pointless" (exact words) to wipe cache and dalvik when updating to newer CM build.
There are times when a user or developer might want to wipe cache or dalvik and so those options do exist. There are other partitions that a user or developer might want to format from time to time for various reasons as well. And the option to do those things is there in CWM recovery. But that does not mean they should be done every time, just because they are there.
In the link I posted, a submission was made to CM code to make it easier for users to wipe dalvik and cache and install a zip all in one command. The submission was rejected because the reviewers agreed that it was "completely pointless."
Why after so much time do you think "Wipe Dalvik Cache" is still obscurely placed in the "Advanced" menu of CWM Recovery? It would be very easy and simple to wipe cache and dalvik automatically when installing a ROM through CWM Recovery or at least put the option on the main page. Do you think that Koush just likes to give users a hard time? Do you think he wants it to be difficult for them to update their ROMs? I don't think so. I think he understand that it is an advanced function that can be useful in some circumstances but is not typically needed in 99% of cases.

The developers also note that the cache is invalidated via hashes automatically. So its basically auto wiped.
The only reason that I wipe is when the nightly contains a new kernel, dalvik should be wiped to eliminate possible problems.
Sent from my Nexus S 4G using Tapatalk

Related

I cant find the answer to this

Im flashing calks format all zip before flashing my rom. My question is do i have to wipe davlick cache and other caches as well or is flashing calks format all zip good enough????
Sent from my PC36100 using XDA App
stevo760 said:
Im flashing calks format all zip before flashing my rom. My question is do i have to wipe davlick cache and other caches as well or is flashing calks format all zip good enough????
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
You should still wipe everything else as well.
aimbdd said:
You should still wipe everything else as well.
Click to expand...
Click to collapse
No you don't
Swyped from my cyanogenized and gingerbreaded EVO
Because calk's script actually formats the partitions, there is no need to wipe everything.
It's my understanding that dalvik cache is usually stored on /data, so if the data partition is formatted, I see little reason to wipe it again. Same thing with the cache. The script formats /cache too.
Partial contents of format all script.
Code:
format BOOT:
format CACHE:
format DATA:
format SYSTEM:
aimbdd said:
You should still wipe everything else as well.
Click to expand...
Click to collapse
Why do people say things when they really don't know what they're talking about? It's not helpful.
the zip was made to compliment... not to be the only source.
Thanks guys you are all more than helpfull
Sent from my PC36100 using XDA App
stevo760 said:
Thanks guys you are all more than helpfull
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Really???!
I wipe dalvik cache after using format-all.zip, and to me it seems there was still some stuff left behind. The first time I wipe takes longer than the second time.
bigmoogle said:
I wipe dalvik cache after using format-all.zip, and to me it seems there was still some stuff left behind. The first time I wipe takes longer than the second time.
Click to expand...
Click to collapse
How are you determining there's anything still left in the dalvik cache folder?
If you understand where dalvik cache folder is actually stored, it makes perfect sense.
Normally, dalvik cache is physically stored under /data partition. I say normally, because there are ways of relocating it to the internal /cache folder, or even to the ext partition on the sd card. Chances are you're not set up that way based on your comments.
Formatting /data clears everything out from that partition. Given that dalvik cache resides in that partition, it too is erased. This is the reason why it wipes so quickly if you've already done the factory wipe (top most option in RA recovery) compared to just wiping the dalvik cache. Further, there is little reason to even wipe the /cache partition it is automatically wiped during the restore process.
Don't get me wrong... because I have always admired Calk's work... but I really don't see a need for the format all except in desperate last resort situations. Amon recovery should be able to take care of everything you need.
They both do the same thing. One just requires fewer clicks Although, since data gets restored anyways during the restore process, and I believe cache also gets formatted, is there really any reason to even bother wiping when doing a restore. Wiping certain areas (dalvik cache for example) does have merit when changing kernels.

Dalvik Cache

I'm wondering how often i should delete Dalvik Cache, is it something that people do regular or only occasionally, and does it matter,etc?
Thanks
You should wipe the dalvik cache , along with the partition and data,just before installing a new ROM .
Sent from my HTC HD2 using XDA Premium App
jonny68 said:
I'm wondering how often i should delete Dalvik Cache, is it something that people do regular or only occasionally, and does it matter,etc?
Thanks
Click to expand...
Click to collapse
Hi Jonny,
When installing a new ROM and you don´t delete the cache, and I do a factory reset, along with repartitioning my sd card, there will be old stuff left over from the old ROM. So when we talk about a clean flash, that´s what we mean.
So is it recommended i only delete dalvik cache only when downloading / updating a new build?
jonny68 said:
So is it recommended i only delete dalvik cache only when downloading / updating a new build?
Click to expand...
Click to collapse
Yes only delete the Dalvik cache befor you flash a new ROM,check my guide I have linked in my sig to get a better understanding what the Dalvik cache is and it's function, well at least a good general understanding of it.
I personally always run a Task 29 and then reflash MAGLDR and CWM then my room just to be extra sure.
T-Macgnolia said:
Yes only delete the Dalvik cache befor you flash a new ROM,check my guide I have linked in my sig to get a better understanding what the Dalvik cache is and it's function, well at least a good general understanding of it.
I personally always run a Task 29 and then reflash MAGLDR and CWM then my room just to be extra sure.
Click to expand...
Click to collapse
thanks for your assistance here.

Help with Cyanogensmod 2.3.5 nightly

I have cyanogen mod 7.1.0 RC 1-vision installed on G2 already. Can somebody explain to me how I get to v 2.3.5? I know it has something to do with nightly builds and xboarder56. Im just a little confused on how and what order to flash things. Do I have to install every Nightly update or will the newest one be fine? And exactly what it xboarder56? Is that a modification of Cyanogensmod?
Thanks Sean.....
just install the newest nightly and youll have 2.3.5
xboarder56 is a guy that made a thread on how to install the stock launcher over the ADWlauncher
but you can alternately download a gingerbread launcher from the market and install it
Wipe, and flash the newest nightly just how you flashed RC1
Sent from my T-mobile G2 using Tapatalk
download the latest nightly, put on your SDcard
1) enter recovery (power button -> reboot -> 'recovery')
2) 'backup and restore' -> backup current ROM
3) wipe cache, advanced -> wipe dalvik cache
4) 'Install zip from SDcard' -> Flash nightly.zip
5) reboot
6) fix permissions (ROM manager -> 'fix permissions'
7) reboot again
xboarder56 is a dev on here. he makes several different mods for CM7. The main one that people use is to put the stock GB launcher on CM7. CM7 by default has ADW launcher, but some prefer the stock one. Xboarder56 isn't the only one that has a stock launcher.zip available.
If you want the stock launcher, check the post in my sig. follow the directions carefully if you intend to re-flash nightlies and want to keep your screen placement.
Do I have to download each nightly build? Or can I skip builds from time to time? Are these beta builds? and if so any idea on a final version?
Thanks... Sean...
slufoot69 said:
Do I have to download each nightly build? Or can I skip builds from time to time? Are these beta builds? and if so any idea on a final version?
Thanks... Sean...
Click to expand...
Click to collapse
You can download and install every nightly. But you dont HAVE to. There is a group that only flashes one every few weeks. Either way you will be fine but if you want to be on the cutting edge of new features i would recommend installing it every day. For our phone specifically they come out between 115 am and 130 am. Like said above, wipe cache wipe dalvik install nightly fix permissions reboot with each nightly
Sent from my HTC Vision using xda premium
Question about the wipe cache and wipe dalvik? I see the option to wipe cache but I dont see the option to wipe dalvik... Sorry but I am just now starting to do differnet things with my phone and alot of this stuff is new to me...
Thanks... Sean...
slufoot69 said:
Question about the wipe cache and wipe dalvik? I see the option to wipe cache but I dont see the option to wipe dalvik... Sorry but I am just now starting to do differnet things with my phone and alot of this stuff is new to me...
Thanks... Sean...
Click to expand...
Click to collapse
Dalvik cache is under advanced. I believe if you're not running Apps2SD you can go without it.
Sent from my HTC Vision using XDA App
funkeee said:
Dalvik cache is under advanced. I believe if you're not running Apps2SD you can go without it.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Apps2SD has nothing to do with the Dalvik cache. Wipe it regardless of whether or not you use Apps2SD (which is unneeded unless ur still on a G1).
Sent from my HTC Vision using XDA App
slufoot69 said:
Do I have to download each nightly build? Or can I skip builds from time to time? Are these beta builds? and if so any idea on a final version?
Click to expand...
Click to collapse
They are effectively beta builds. They're not official and not necessarily meant for the general flashing community, as they often contain bugs and untested changes.
slufoot69 said:
Question about the wipe cache and wipe dalvik? I see the option to wipe cache but I dont see the option to wipe dalvik... Sorry but I am just now starting to do differnet things with my phone and alot of this stuff is new to me...
Click to expand...
Click to collapse
like I said above, its under advanced -> wipe dalvik cache.
It has nothing to do with Apps2SD. On a related note, there's no need to run Apps2SD unless you have several gigantic games or something filling up internal memory. You should have more than enough internal memory to keep all apps on the phone itself.
When I wipe my Dalvik Cache, CWM says it cannot find the drive/partition for it. Its never caused a problem for me. I assumed it was due to sdcard partitions, which I used to use for Swap and Apps2SD only. Is it an internal memory partition for performance related caching? If so somethings messed up with my partitions.
Sent from my HTC Vision using XDA App
funkeee said:
When I wipe my Dalvik Cache, CWM says it cannot find the drive/partition for it. Its never caused a problem for me. I assumed it was due to sdcard partitions, which I used to use for Swap and Apps2SD only. Is it an internal memory partition for performance related caching? If so somethings messed up with my partitions.
Click to expand...
Click to collapse
What exactly is it saying? usually it will throw an error about SD-EXT. disregard the error.
For me when I flash new ROMs I use Superwipe+ to do all my wiping in one step. Its quick and effective.
Check it out:
http://forum.xda-developers.com/showthread.php?t=1044992
Each and every morning, I make it my habit to launch Rom Manager (paid version), and select 'Check for updateds'. After it tells me there's an update available, I approve it and select to download (via wifi) gapps. Once it done downloading it then prompts me to choose wipe data & cashed, backup existing rom, or wipe dalvik cashe. I always select wipe Dalvik cashe, then I approve it to power off.
Bamb! easy sneesy .. My nightly rom gets updated!
Sent from my HTC Vision using xda premium
martonikaj said:
download the latest nightly, put on your SDcard
1) enter recovery (power button -> reboot -> 'recovery')
2) 'backup and restore' -> backup current ROM
3) wipe cache, advanced -> wipe dalvik cache
4) 'Install zip from SDcard' -> Flash nightly.zip
5) reboot
6) fix permissions (ROM manager -> 'fix permissions'
7) reboot again
Click to expand...
Click to collapse
I had the same question as the OP. I've been running CM v.7.1 RC1 for a while now and I love it. But I would like to check out the nightlies. Just so I am clear, to go from my current ROM to the latest nightly, I only need to to wipe cache and dalvik cache - and that's it? Somehow I thought the process was more difficult. I thought I'd have to restore my apps with TB and reconfigure all my settings...
And one last quick question. I've never needed to run 'fix permissions.' The sole FC I get is with LauncherPro, but only when I reboot. It doesn't bother me, and it seems like I've read about users who have problems after running the 'fix permissions' in RM. Can anyone elaborate on why that might be?
Thanks so much, guys.
Ditamae said:
I had the same question as the OP. I've been running CM v.7.1 RC1 for a while now and I love it. But I would like to check out the nightlies. Just so I am clear, to go from my current ROM to the latest nightly, I only need to to wipe cache and dalvik cache - and that's it? Somehow I thought the process was more difficult. I thought I'd have to restore my apps with TB and reconfigure all my settings..
Click to expand...
Click to collapse
upgrading from an older version of CM7 to a Nightly you don't have to wipe data. Just cache/dalvik and flash the nightly.
And one last quick question. I've never needed to run 'fix permissions.' The sole FC I get is with LauncherPro, but only when I reboot. It doesn't bother me, and it seems like I've read about users who have problems after running the 'fix permissions' in RM. Can anyone elaborate on why that might be?
Click to expand...
Click to collapse
Fixing permissions is just a good rule of thumb to follow after flashing a new ROM so all your apps are setup properly. I haven't heard of Fix Permissions breaking anything.

[Q] About installing CM7 Nightly builds

Hey guys just a quick question about installing nightly builds on the nook. When Rom Manager asks whether to wipe data/cache and what not, if I select it, will it wipe the internal memory completely? leaving no user files behind? or will it only wipe the system files?
It will wipe everything and it will be a fresh install.
Sent from my LG Optimus V using Tapatalk
If you update, just wipe cache
It wipes the /data partition but doesn't wipe /sdcard /sd-ext or /met/emmc.
Sent from my MB860 using xda premium
EGM92 said:
Hey guys just a quick question about installing nightly builds on the nook. When Rom Manager asks whether to wipe data/cache and what not, if I select it, will it wipe the internal memory completely? leaving no user files behind? or will it only wipe the system files?
Click to expand...
Click to collapse
Just wipe Davlik.
if boot is longer than normal after wipe, it's normal!
votinh said:
If you update, just wipe cache
Click to expand...
Click to collapse
patruns said:
Just wipe Davlik.
Click to expand...
Click to collapse
So... just wipe Davlik Cache is what you guys are saying?
Good question helped out a newb here
Jiv_au said:
So... just wipe Davlik Cache is what you guys are saying?
Click to expand...
Click to collapse
Correct
Sent from my LG Optimus V using Tapatalk
Jiv_au said:
So... just wipe Davlik Cache is what you guys are saying?
Click to expand...
Click to collapse
Note: wipe cache and wipe Dalvik cache are 2 different things.
+ wipe cache is a quick way to clean the current running ROM
+ wipe Dalvik is a completely clean.
After wipe Dalvik, next time it boots, it will take a lot longer time due to the device has to re-compile the whole thing before ROM start running and booting.
I think I need to drop a few lines about wipe cache/Dalvik.
As I posted above, I said it wiped clean.
Apparently, I am NOT 100% correct.
I just updated to nb198, wiped cache (formatting /cache) then wipe Dalvik cache.
After done updating ROM, booting up, I expected everything clean, completely fresh.
It's not the case, I went to Market and all old search history were still shown. Not only with Market but other apps too.
So
a. either wipe cache/Dalvik is NOT completely clean wipe or
b. it was completely clean but somehow, those old cache info, which stored somewhere I don't know, get automatically restored back.
Okay, I did a quick read of the FAQ for CWR, and came across these:
Wipe cache partition
Wipes the cache partition of the device to clear all the data accumulated there over use. This is often used before installing a new ROM, app, kernel or any similar mod via recovery.
Wipe Dalvik Cache
Allows you to wipe the cache for the Dalvik virtual machine (the custom-built Java virtual machine for Android).This is required before most ROM installations and at other occasions too, for fixing some problems.
So, I'm taking this guide on board and will wiping Cache AND Davlik. So that's two steps prior to installing a new CM7 nightly build.
votinh said:
I think I need to drop a few lines about wipe cache/Dalvik. *snip*
a. either wipe cache/Dalvik is NOT completely clean wipe or
b. it was completely clean but somehow, those old cache info, which stored somewhere I don't know, get automatically restored back.
Click to expand...
Click to collapse
You didn't happen to store them in uSD card? Or perhaps app data/cache are separate from system data/cache...
Will look into it further...

[Q] Who can make a tut about Wipes

Hi,
I mean, When it can be usefull to Wipe Cache and/or Dalvik or I don't know.. ^^ for example after flashing a new nightly, if it can make the phone faster.
or when it's totaly useless to wipe something,
it would be very cool, thanks
Actually full wiping is only necessary while switching roms. And dalvik wipe when installing mods or kernel updates (quarx). You can actually do dalvik wipes without any bad consequences-Android just generates the cache again
Sent from my MB526 using xda premium

Categories

Resources