Ive seen a lot of mention of a "clean install" when installing a rom. Just curious of some of the ways people install roms whether they wipe everything or only certain things or maybe some stuff I don't know about. So how do you prepare before installing a rom?
sent from Egypt on a camels back.
wipe
/chache
/data
and dalvik cache
i always use CWR even tho rom manager is installed.
advanced and wipe cahce, dalvik.
Back in the cappy forums we had tools that would master clear everything and flash to stock. Do we not have that here?
Also we used neldars kernel flasher. With it we could back up a kernel and flash them automatically. Do we have something like that? Or can I use that app with my nexus?
sent from Egypt on a camels back.
blowtorch said:
wipe
/chache
/data
and dalvik cache
Click to expand...
Click to collapse
What he/she said
You might need to select the fix permissions option, just in case. I've had problems with Cyanogen before so fixing permissions helped me a couple of times.
Related
I've flashed a few roms now (masters stock rooted voodoo versions of nexus s firmware) and every time I do the boot logo just keeps on going until I do a battery pull and reboot, and then it's ok.
It's not a problem, I just wondered why this happens??
did you wipe dalvik, factory settings, cache?
did you change the kernel?
zephiK said:
did you wipe dalvik, factory settings, cache?
did you change the kernel?
Click to expand...
Click to collapse
No. These roms don't wipe anything and I don't want to lose my stuff. I don't think you are meant to wipe with them either.
buachaille said:
No. These roms don't wipe anything and I don't want to lose my stuff. I don't think you are meant to wipe with them either.
Click to expand...
Click to collapse
I was asking if YOU did wipe them because if you're going from one ROM to the other ROM you are supposed to wipe.
You lose your settings and apps. Back them up using Titanium Backup (Or any other related app).
Or.. better yet, just perform a nandroid backup. After that, wipe those 3 and reboot. See if the problem is resolved, if it is then you already know. If not then nandroid restore.
If you're going from one ROM to a completely different ROM made by someone else, you have to wipe data/factory settings!
If you're flashing an updated version of the current rom you're using, wipe cache/dalvik-cache.
If you're flashing different roms every other day, go buy Titanium Backup to backup your apps/settings.
And uh what ROM are u flashing where "you're not meant to wipe"
-Nexus S
nxt said:
If you're going from one ROM to a completely different ROM made by someone else, you have to wipe data/factory settings!
If you're flashing an updated version of the current rom you're using, wipe cache/dalvik-cache.
If you're flashing different roms every other day, go buy Titanium Backup to backup your apps/settings.
And uh what ROM are u flashing where "you're not meant to wipe"
-Nexus S
Click to expand...
Click to collapse
I am new to this so I'm still getting my head around it.
From stock I went to the rooted voodoo version of this - http://forum.xda-developers.com/showthread.php?t=971690.
From there I went to the stock rooted version of this - http://forum.xda-developers.com/showthread.php?t=979851
In both cases it says:
Rom Information:
Does it wipe: No
Does it flash the radio: Yes
So since they don't wipe, I assumed I shouldn't wipe anything, but it looks like I was wrong. From your post it looks like I should have wiped the cache and dalvik cache. I know how to do this in CW but I've never done it and my roms are working fine.
So next time master releases an update I gather I should wipe cache and dalvik cache yeah?
Also, when I do this will it remove any of my settings or apps?
Hope you can answer these questions, and thanks for advice so far.
<<edit>>
Just did a bit of googling and it looks like you don't lose settings when you wipe dalvik cache and cache, so what does actually get removed.
There is a thread stickied in development called ref roms themes and kernels. It gives step by step directions on how to flash all three including what should be wiped. Check it out
Sent from my MattedBlues CM7 Nexus S from the XDA Premium app.
It says:
Does it wipe: No
Does it flash the radio: Yes
Click to expand...
Click to collapse
because its saying that the ROM doesn't wipe. Some ROMs are built in a way so that it automatically wipes your phone to ensure best performance. The creator is just saying that it doesn't do that BUT you need to wipe. The keyword does and need are two different things. The basic concept between going from 1 ROM to another (unless its the same ROM series) requires a wipe in all three: dalvik, cache, factory. If you're going from the same ROM to a newer version and encounter bugs, its best if you wipe.
I'm a more advanced user when it comes to Android since the first Android phone. I know what I'm talking about. When you go from stock ROM to another, its going to have bugs if you don't wipe.
If you're using Axura 1.1.1.0 and its fine, and he releases a new version. You can flash without wiping (but you can wipe cache & dalvik to be safe; none of your settings will be wiped). Wiping factory settings is the only one that will wipe your settings / apps.
If you're going to be a flasher, its best if you purchase Titanium Backup Pro (or MyBackup.. but I highly recommend Titanium Backup). Use this program and it will save all of your apps + settings to them. Just don't use it to save SYSTEM apps/files because it will cause FCs.
Dalvik Cache / Cache.. its nothing you need to know in particular. It's just removing cache that your phone set up to increase speeds. It just wipes them and gets the Android system to re-establish them. So no caches from the previous ROM will carry over onto the new one.
EDIT: n/m..............
zephiK said:
It says:
because its saying that the ROM doesn't wipe. Some ROMs are built in a way so that it automatically wipes your phone to ensure best performance. The creator is just saying that it doesn't do that BUT you need to wipe. The keyword does and need are two different things. The basic concept between going from 1 ROM to another (unless its the same ROM series) requires a wipe in all three: dalvik, cache, factory. If you're going from the same ROM to a newer version and encounter bugs, its best if you wipe.
I'm a more advanced user when it comes to Android since the first Android phone. I know what I'm talking about. When you go from stock ROM to another, its going to have bugs if you don't wipe.
If you're using Axura 1.1.1.0 and its fine, and he releases a new version. You can flash without wiping (but you can wipe cache & dalvik to be safe; none of your settings will be wiped). Wiping factory settings is the only one that will wipe your settings / apps.
If you're going to be a flasher, its best if you purchase Titanium Backup Pro (or MyBackup.. but I highly recommend Titanium Backup). Use this program and it will save all of your apps + settings to them. Just don't use it to save SYSTEM apps/files because it will cause FCs.
Dalvik Cache / Cache.. its nothing you need to know in particular. It's just removing cache that your phone set up to increase speeds. It just wipes them and gets the Android system to re-establish them. So no caches from the previous ROM will carry over onto the new one.
Click to expand...
Click to collapse
That is a very helpful post and clears a lot up. Many thanks. Looks like I had better do it again and do it right this time.
I've got titanium backup. Bought it after I rooted, but never restored with it yet. Also, thanks for the info about no saving system files with it, as I currently do have it setup to backup all user apps and system data, so I will have to change that. I gather I should just change it to all user apps??
buachaille said:
That is a very helpful post and clears a lot up. Many thanks. Looks like I had better do it again and do it right this time.
I've got titanium backup. Bought it after I rooted, but never restored with it yet. Also, thanks for the info about no saving system files with it, as I currently do have it setup to backup all user apps and system data, so I will have to change that. I gather I should just change it to all user apps??
Click to expand...
Click to collapse
Backup all user apps is the one you want to do. You can backup bookmarks using Google sync or a app known as BookmarkSB
If you have system apps backed up, delete all backups using batch and reapply user app backup
zephiK said:
Backup all user apps is the one you want to do. You can backup bookmarks using Google sync or a app known as BookmarkSB
If you have system apps backed up, delete all backups using batch and reapply user app backup
Click to expand...
Click to collapse
Thanks for your help. I reflashed the rom and I did it properly this time. Had a bit of a problem with TB restore as I'm a noob but Joel from TB answered an email I sent him very quickly and I got it sorted (thanks joel).
How long does it take to flash a rom once you get good at it? Took me a while tonight because of mistakes.
Sent from my Nexus S using XDA App
buachaille said:
Thanks for your help. I reflashed the rom and I did it properly this time. Had a bit of a problem with TB restore as I'm a noob but Joel from TB answered an email I sent him very quickly and I got it sorted (thanks joel).
How long does it take to flash a rom once you get good at it? Took me a while tonight because of mistakes.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
I can usually get from booting into recovery to having a usable device with most everything set up in about...10 minutes? Assuming I already downloaded the ROM lol sometimes those mirrors are slooooooow.
If you want to do an update (e.g., no wipe, keeps data) of a ROM instead of a full installation, is there anything you need to do in CWM recovery other than selected update instead of install zip? Does the name of the zip need to be update?
I'm asking because I like the Phoenix ROM, but updates are coming quickly, and I don't want to have to set up everyting every few hours...
Thanks.
Unless it is indicated by the dev, you don't need to do a full wipe. It is always good to wipe cache, and dalvik cache when doing an update, patch, or add-on. There is no need to rename it, unless for some reason that makes it easier for you to remember what file it is.
Pretty sure that Rom has data wipe written into the update script so you would have to modify that.
does it do a data wipe or does it format /system
Thanks, and should I select update or install in CWM recovery? What is the difference?
Update is looking for a specific file named that, I believe. Correct me if I'm wrong, but I believe you can always run Install Zip, regardless of what it is as long as it's a flashable zip file.
Four-Fifty-X said:
If you want to do an update (e.g., no wipe, keeps data) of a ROM instead of a full installation, is there anything you need to do in CWM recovery other than selected update instead of install zip? Does the name of the zip need to be update?
I'm asking because I like the Phoenix ROM, but updates are coming quickly, and I don't want to have to set up everyting every few hours...
Thanks.
Click to expand...
Click to collapse
the rom developer should specify if a full wipe is needed. if not, you dont have to wipe or backup or anything and you wont lose your data.
i know people hate resetting up their phone, but 99.9% of the GPS and other random problems in here are from not wiping /data before the install. If you can stand it at all, do a full wipe. It seems these phones are VERY picky about what's left in /data after you wipe. Anytime I release a rom that wipes, there's usually no problems, if it doesn't wipe, there's GPS/data speed issues galore.
I am running Eagles Blood CM9. If I switch over to EGB AOSP will the "Backup and Reset" --> "Backup my data" and "Automatic Restore" features that are included in CM9 be available in AOSP?
I guess I am wondering if I have to reinstall apps manually or not?
Thanks,
-John
When switching ROMs like that you should: ** In CWM
(You must do this so no bugs are created.)
1. Wipe data
2. Wipe cache and dalvik cache
3. Install rom
4. Install latest GApps(4/29/12)
This will wipe all your apps, which you will have to reinstall by going to the Play Store>Menu>My apps>swipe over, and there it will have all your apps. You'll have to do that if the play store doesn't automatically start downloading them. But, if you use titanium backup, you can try that, but I've read that it causes problems.
Lastly, you can dirty flash(don't wipe data, only cache and dalvik cache), but this will most likely cause bugs that aren't because of the rom. So, from coming from the Eaglsblood ICS to their AOSP ics build, do the first instructions to be safe.
Sent from my LG-P999 using XDA
noahk423 said:
When switching ROMs like that you should: ** In CWM
(You must do this so no bugs are created.)
1. Wipe data
2. Wipe cache and dalvik cache
3. Install rom
4. Install latest GApps(4/29/12)
This will wipe all your apps, which you will have to reinstall by going to the Play Store>Menu>My apps>swipe over, and there it will have all your apps. You'll have to do that if the play store doesn't automatically start downloading them. But, if you use titanium backup, you can try that, but I've read that it causes problems.
Lastly, you can dirty flash(don't wipe data, only cache and dalvik cache), but this will most likely cause bugs that aren't because of the rom. So, from coming from the Eaglsblood ICS to their AOSP ics build, do the first instructions to be safe.
Sent from my LG-P999 using XDA
Click to expand...
Click to collapse
I have had no problems with Titanium Backup. The only thing is that you must make sure to backup apps right before you flash.
I’m using ClockworkMod Recovery v5.0.2.0 (on an LG Optimus T). I’m experimenting with different ICS ROMs. From reading various posts on this wonderful forum, I’m fairly sure one should always wipe the cache and Dalvik Cache when moving to a newer release of a ROM or to a completely different ROM. Is that correct? And, if one is going to a completely different ROM altogether (even if the old and new are both ICS) then one should also wipe data/factory reset?
Does that make sense? If so, is the reason one doesn’t wipe data/factory reset when going to a newer release of the current ROM because then that data is carried over to the new ROM and it saves time in terms of reconfiguring settings...?
Thanks in advance for your help.
Dave
a wipe is always suggested when installing newer version of rom or totally different flavor to avoid data errors or mismatches in settings depending on the degree of change from previous release. i guess most have been able to manage to retain same data and not do a total wipe out to factory because of customizations which is very annoying to do all over again.
if you want to experience the full potential of a certain rom, i suggest to do a full wipe.
note: i have been able to switch from CM7 to CM9 and back with only dalvick, cache, and battery stats wipes. although, i get to reinstall a few apps like Titanium due to FCs.
New release of same rom : Wipe cache and dalvik cache. (If any errors arise with the apps later you should do a full wipe)
Different rom : Wipe data/factory reset, cache, dalvik cache. Sometimes it is recommended to wipe /system too.
Thanks for the responses. Sincerely appreciated. So, if I'm trying a different ROM, I need to do the factory reset, cache and Dalvik Cache wipes - and if just going to a newer version of a ROM, I can skip the factory reset - and go back and do the factory reset if problems arise with any apps. If I do experience issues with my apps, does that mean I just have to do a factory reset - or do I need to reinstall the ROM first and then do the factory reset...?
I presume the benefit of not doing the factory reset is that there is then no need to reinstall apps, fix settings...
When you say "Sometimes it is recommended to wipe /system too", which option is that in CWM or do I have to do that from my PC...?
Thanks in advance for any clarification.
Dave
If you get FCs with some apps while going to a new version of the ROM(without a /data wipe), try clearing the data of that app alone. That might help.
To wipe system, you can use the zip attached. It was provided with some ROM when there was an error in formatting /system automatically before the new rom installation. Just flash it like any other zip and it will format your /system.
You can use Titanium Backup to backup/restore your applications. Just be carefull with system apps, restoring data from different roms can cause fc.
Sent from my GT-I9100 using XDA
Check this thread for info on partitions and cwm options......
CWM - Clockworkmode menu options & Partitions– GENERAL KNOWLEDGE
Though it is already mentioned in above thread..i again remind you to NOT format the boot partition as this is one of the only few things which can brick your device while using cwm......
Click Thanks on above thread if it helped you.....
---------- Post added at 10:38 PM ---------- Previous post was at 10:01 PM ----------
aravindsagar said:
To wipe system, you can use the zip attached. It was provided with some ROM when there was an error in formatting /system automatically before the new rom installation. Just flash it like any other zip and it will format your /system.
Click to expand...
Click to collapse
Are you sure it works with clockworkmod recovery???
show_progress 0.1 0
format SYSTEM:
show_progress 0.2 0
show_progress 0.2 10
This script has two problems in my opinion:
1.AFAIK this type of script format(amend) is not supported by cwm now.
2.When editing with n++ it shows CR LF at end of each line......
and "carriage return" line code is used in windows while unix uses LF (line feed) for it's text.....so there should be LF only.....i think
Please correct me if I am wrong as i am just trying to learn here.....:fingers-crossed:
gargujjwal said:
Check this thread for info on partitions and cwm options......
CWM - Clockworkmode menu options & Partitions– GENERAL KNOWLEDGE
Though it is already mentioned in above thread..i again remind you to NOT format the boot partition as this is one of the only few things which can brick your device while using cwm......
Click Thanks on above thread if it helped you.....
---------- Post added at 10:38 PM ---------- Previous post was at 10:01 PM ----------
Are you sure it works with clockworkmod recovery???
show_progress 0.1 0
format SYSTEM:
show_progress 0.2 0
show_progress 0.2 10
This script has two problems in my opinion:
1.AFAIK this type of script format(amend) is not supported by cwm now.
2.When editing with n++ it shows CR LF at end of each line......
and "carriage return" line code is used in windows while unix uses LF (line feed) for it's text.....so there should be LF only.....i think
Please correct me if I am wrong as i am just trying to learn here.....:fingers-crossed:
Click to expand...
Click to collapse
Sorry, I'm not the developer of that zip, I just got it long back from some other thread. Couldn't locate that thread, so just attached it again.
Anyway, it works fine with my ThunderG recovery, which has not given me any problems till date.
mihir287 said:
New release of same rom : Wipe cache and dalvik cache. (If any errors arise with the apps later you should do a full wipe)
Different rom : Wipe data/factory reset, cache, dalvik cache. Sometimes it is recommended to wipe /system too.
Click to expand...
Click to collapse
This right here.
I was one who hated doing a factory reset and reinstalling everything. I dirty flashed Codename Android 3.32 over my old ICS and everything seemed fine. If I tried to update to 3.3.4 I had problems and the only way everything was cleaned up was by a wipe and reset. I follow the following rules and had everything going again in 15minutes after following a link on android forums "Full wipe. What's the big deal? Steps to take (15 mins)" since I can't post the link just follow the search.
Without the link this thread is pretty pointless.
Sent from my Nobody Cares.
search the term to get the link
I am restricted and can't put up the link but if you just do a search for the term.
( Full wipe. What's the big deal? Steps to take (15 mins)" )
you will find the site and it's worth it if you constantly change roms..
bmuseed said:
I am restricted and can't put up the link but if you just do a search for the term.
( Full wipe. What's the big deal? Steps to take (15 mins)" )
you will find the site and it's worth it if you constantly change roms..
Click to expand...
Click to collapse
Ok well flashing codename over stock ics is pretty silly in itself first of all.
I don't know why we get so many threads on wiping. It's pretty simple:
If you are flashing nightlies, USUALLY you can just wipe cache and dalvik and be ok. If you DO get problems then you should do a full wipe (system,data,boot and cache). This way you dont post about bugs you think the rom has, where it is actually bugs from dirty flashing.
When flashing different ROM's, you need to full wipe. Always.
With titanium you can backup your apps, so restoring apps take literally a few minutes.
if you get a cluster f*#@ of problems then clean install. It isn't that hard. Use Titanium Backup and good to go.
In Recovery:
1. wipe data/factory reset (this formats /data, /cache and .android_secure on sd)
2. format /system, /boot
this leaves you with only bootloader, recovery and radio...dalvik-cache resides on /data, so it's gone already.
3. flash rom
4. gapps & custom-kernel (if needed). No need to let the phone boot & settle before flashing them (most custom-kernels have a script that automatically wipes /cache & dalvik during kernel-install)
5. reboot
6. Run TB -- restore missing apps with data --1st option under restore
just updating rom:
1. flash rom-zip
2. wipe /cache and dalvik-cache
3. reboot
Do this before reporting any issues on the thread since the problems are often related to this and not the ROM or kernel.
Sent from my Nexus S using xda premium