How to keep data when flashing new ROM - Samsung Galaxy Note 9 Questions & Answers

I have the exykings ROM I have magisk, viper and Dolby. I don't really want to do everything new again when flashing. When a new build comes how can I still keep my data like viper and Dolby?

R77 said:
I have the exykings ROM I have magisk, viper and Dolby. I don't really want to do everything new again when flashing. When a new build comes how can I still keep my data like viper and Dolby?
Click to expand...
Click to collapse
you wipe cache and dalvik cache then you flash rom on top.

R77 said:
I have the exykings ROM I have magisk, viper and Dolby. I don't really want to do everything new again when flashing. When a new build comes how can I still keep my data like viper and Dolby?
Click to expand...
Click to collapse
Titanium Backup Pro. back up your apps with data, run a batch command to restore them once youve properly installed the new ROM
bober10113 said:
you wipe cache and dalvik cache then you flash rom on top.
Click to expand...
Click to collapse
this has historically been known to cause issues. its always best to factory reset at least once, wipe caches, reboot into TWRP, install new ROM(and GApps, if needed), go into file manager within TWRP and delete the android folder (just for good measure), boot and restore your apps/data with a backup app used before getting into the installation process

youdoofus said:
Titanium Backup Pro. back up your apps with data, run a batch command to restore them once youve properly installed the new ROM
this has historically been known to cause issues. its always best to factory reset at least once, wipe caches, reboot into TWRP, install new ROM(and GApps, if needed), go into file manager within TWRP and delete the android folder (just for good measure), boot and restore your apps/data with a backup app used before getting into the installation process
Click to expand...
Click to collapse
lol nuke it from orbit each time because there's a new rom base for that particular custom rom. yeah sure...
5% of the time when there really is an issue with a new build i think i have enough insight to know what to do.
changing rom completely yeah for sure. but i did respond specificially to his question where he was referring on maintaining the team exykings rom from update to update.

bober10113 said:
lol nuke it from orbit each time because there's a new rom base for that particular custom rom. yeah sure...
5% of the time when there really is an issue with a new build i think i have enough insight to know what to do.
changing rom completely yeah for sure. but i did respond specificially to his question where he was referring on maintaining the team exykings rom from update to update.
Click to expand...
Click to collapse
more often times than not, the 5% you mentioned are unaware of what to do if an issue arises. i wasnt trying to tell you what to do, moreso just bring it up into conversation for those just-in-case situations

youdoofus said:
more often times than not, the 5% you mentioned are unaware of what to do if an issue arises. i wasnt trying to tell you what to do, moreso just bring it up into conversation for those just-in-case situations
Click to expand...
Click to collapse
If I were to go to advanced wipe when flashing a new build if I were to leave data option alone. Will that keep all of my data or not?

edit:
@R77
but that's what he says to not do. if you do so you maybe in the 5% and you just may have problems.(wiping all but data is considered a dirty flash)
but what i am telling you is that just wipe cache and dalvik cache and flash rom of the same dev. you should be fine. if you are not fine, and have weird stuff going on use regular factory wipe option in twrp wipe menu.
so one method is called: a clean flash.
the other called: a dirty flash.
on the same rom, dirty flash works fine 96 to 100% of the time. so dont worry about it.
if you flash an other rom from an other dev then clean flash is recommended for sure.
so its very simple as you can see. some have a tendency to make it appear difficult.

bober10113 said:
but that's what he says to not do. if you do so you maybe in the 5% and you just may have problems.(wiping all but data is considered a dirty flash)
but what i am telling you is that just wipe cache and dalvik cache and flash rom of the same dev. you should be fine. if you are not fine, and have weird stuff going on use regular factory wipe option in twrp wipe menu.
so one method is called: a clean flash.
the other called: a dirty flash.
on the same rom, dirty flash works fine 96 to 100% of the time. so dont worry about it.
if you flash an other rom from an other dev then clean flash is recommended for sure.
so its very simple as you can see. some have a tendency to make it appear difficult.
Click to expand...
Click to collapse
ive been flashing ROMs since the OG HTC Evo 4G and am keenly aware of the definitions and consequences of dirty flashing vs clean flashing. The android folder should be deleted irrespective of what youre flashing if we're being forward. I guess we are just going to overlook the hundreds of versions of various rom builds that REQUIRED a clean flash every time otherwise bugs were known to occur.

youdoofus said:
ive been flashing ROMs since the OG HTC Evo 4G and am keenly aware of the definitions and consequences of dirty flashing vs clean flashing. The android folder should be deleted irrespective of what youre flashing if we're being forward. I guess we are just going to overlook the hundreds of versions of various rom builds that REQUIRED a clean flash every time otherwise bugs were known to occur.
Click to expand...
Click to collapse
did i make it sound like i was replying to you?
guess i should have quoted him to make it obvious.
and again, if he's on rom A 1.0 and wants to upgrade to rom A 1.1 then no need to clean wipe or del android folder each and every time.
have you ever had an OTA ? samsung dosent wipe clean ure device just because u upgrade. so his question regarding a similar scenario would apply, dirty flash would work fine.
and again as stated before, if there is weird stuff happening then just clean wipe. no need to get nuclear each and every time.
btw various rom builds require clean flashes because they suppose people are coming from other roms. not saying that there aren't situations where continuously dirty flashing the same custom rom all along its progress wouldint eventually mandate ir benefit from a clean flash but i know of no one that clean flashes each time their rom dev updates/increments a build. they/we only do it incase of issues, this is of some sorts an unwritten law so to speak. devs even state it when users ask if they can do as such.

Related

wiping before upgrading rom

Is it 100% neccessary to wipe before updating a rom if its the same rom just a different version? Like I have cyans 3.6.8.1 and want to go to cyans 4.0.1
I'm just looking for some clarification on this matter. I know when you switch roms you want to but I haven't really seen anything concrete on upgrading roms. Any help would be appreciated
No, no, no.... you need to wipe when you use a bathroom, not when you flash software
People will hate me for this but... here it goes
We wipe to avoid problems with the new rom. We DO NOT know if we will have problems, good chance that we will NOT. I never wipe untill something goes wrong, and I was just fine for last 14-15 flashes.
Here's another way to think about it.... do OTA updates wipe your phone? Didn't think so.
Flash away. If you have problems then, and only then, nand back to your previous configuration, wipe, reflash. Don't wipe after flash... Cyan's roms don't like that AFAIK.
Good luck.
SlicedKuniva said:
Is it 100% neccessary to wipe before updating a rom if its the same rom just a different version? Like I have cyans 3.6.8.1 and want to go to cyans 4.0.1
I'm just looking for some clarification on this matter. I know when you switch roms you want to but I haven't really seen anything concrete on upgrading roms. Any help would be appreciated
Click to expand...
Click to collapse
I heard somewhere that it's best to wipe when going from HTC rom to Google rom and vice versa. I know that for cyan's roms that if you rarely have to wipe (I had to wipe when trying out 3.9.11.*), but for the most part you won't have to (went from 3.4.6 to each update until 4.0.1 without wipe)
xidominicanoix said:
I heard somewhere that it's best to wipe when going from HTC rom to Google rom and vice versa. I know that for cyan's roms that if you rarely have to wipe (I had to wipe when trying out 3.9.11.*), but for the most part you won't have to (went from 3.4.6 to each update until 4.0.1 without wipe)
Click to expand...
Click to collapse
At this point..the only HTC roms we have are Hero and that's a whole another story. Not only you have to wipe but also reformat your sd. Big mess... not worth it IMHO. Your mileage may vary.
Thanks for ppointing this out though...
Personally, I wipe, then repair ext filesystems before I flash a new ROM. The only time I don't is when I'm updating a ROM that I have, cm x.x.x to cm x.x.x, in hich case I'll just repair ext's then flash. But, when in doubt...
Original question(s) seem to be solved.
Closing thread

Any way to update ROMs? Daily updates & I don't want to wipe the SD!

Like the title says! I'm sing Evil's Sense and loving it, but I'd like to be able to keep up with the little fixes without having to redo my contacts, titanium all of the apps, and redo the widgets (a good hour a day?).
Is there a quicker way?
I believe that flashing newer/fixed versions of the same ROM does not require a full wipe... just wipe cache and dalvik-cache and flash the newer/fixed version (though sometimes if there are major changes, the ROM dev might recommend a full wipe)... moving across different ROMs requires a full wipe...
Craig is correct
Normally! not always, but most of the time you do not have to wipe anthing, just flash over it. However you should always check with the Dev to see if there are special instructions requiring a wipe. If you are switching to a new rom all together, say from CM to Evil, then you will HAVE to wipe.
With CM6 nightly update, unless explicitly stated, I never wipe anything at all.

Best way to wipe phone between roms

I have a rooted cdma sprint hero and i hear every once in a while that there are some left over stuff that may cause problems with new roms. Now i was wondering what would be the best way to wipe to make sure that there is nothing left over from previous roms.
This is what i do;
1 back up pics and music from sd card
2 format sd card
3 put new rom on sd
4 flash into recovery
5 wipe all that i can cache devalk (sp) etc
6 Run moduler remover
7 Falsh rom
8 Flash kernal
I was also wondering if doing this removes any kernal that i have put on there or am i just adding them on top of each other?
Sorry for such a noob question but i would really like to make sure that my phone is running how the guys making these roms intend them to run
You're being real thorough for sure! LOL! I just boot into recovery and wipe dalvik, cache and ext. I t really depends on how different the new ROM is, as incompatible files are the problem.
Sorry for putting in the wrong thread i wasn't where i thought i was and im not sure i am where i thunk i am. if this needs to be moved feel free
Switching between ROMs all you have to do is wipe data/factory reset and wipe dalvik cache. That's it. No need to reformat your SD card..
what about if you use ap2sd?
Looks as if wiping/resetting the device directly from Fastboot is starting to become fairly popular as well. May want to give that a go...
-Reboot to Fastboot
-Wipe/reset
-Reboot to Recovery
-Flash ROM/Kernel
-Reboot device
Neo31697 said:
what about if you use ap2sd?
Click to expand...
Click to collapse
If you use apps2sd, that's what wipe ext is for. I actually forgot to include that in my previous post.
wow didn't know that thanks
Just making sure, you're talking about apps2ext, right? Not the built-in froyo version aka apps2fat?
Yes I am not running froyo ... yet
Sent from my NFX-HERO
Since the topic is up I have a question on my own. Are all the wipes necessary when I flash one rom and then nand restore to another?
I just Nandroid, flash and pray the new ROM works I may do a Dalvik wipe now and again. Fingers crossed I have had no problems so far, except when I figured there would be one
Krazy_Talk said:
Since the topic is up I have a question on my own. Are all the wipes necessary when I flash one rom and then nand restore to another?
Click to expand...
Click to collapse
See my post above...Some do, I don't, and the last few days I have flashed, Nand, reflashed new ROMS, themes, etc while messing with CM6.1 and have not even done a Dalvik wipe...that's just my style though Is it necessary? I would say no, others would say yes...
However, I do have a collection of working ROMS on my SD from Nand all set up the same way that were done correctly (i.e. proper wipe, etc.) with different themes I can go back to if need be.

Flashing over a rom?

So im wondering, what is the standard practise, or based on your own experiences. What is the best way to flash over an existing rom using CWM? What do you do to prepare the fone for new rom, wipe user data, dalvik cache, before or after flashing. Just trying to get a good idea of how to do it.
Sent from my SAMSUNG-SGH-I897 using XDA App
going from rom to rom:
put rom.zip on /sdcard/
reboot to recovery
install zip from sdcard
point to rom.zip
flash
reboot
any rom that has been properly done will wipe user data and dalvik cache for you. no need to do it manually
i always flash back to eclair and master clear with odin one click to make sure all files from previous roms are gone then CWM flash new ROM
Pirateghost said:
going from rom to rom:
put rom.zip on /sdcard/
reboot to recovery
install zip from sdcard
point to rom.zip
flash
reboot
any rom that has been properly done will wipe user data and dalvik cache for you. no need to do it manually
Click to expand...
Click to collapse
+1
Except I do clear the caches manually, but that's just because I have OCD.
CremeFraiche said:
i always flash back to eclair and master clear with odin one click to make sure all files from previous roms are gone then CWM flash new ROM
Click to expand...
Click to collapse
lets look at the master clear function shall we?
when you flash to stock...your entire / is stock (RFS, eclair 2.1, /data /system, etc)
essentially, you have just reformatted your root, think of it like formatting your C drive and your sdcard is like a secondary internal drive that contains storage
master clear at this point will only delete items off your /sdcard
roms dont care about your /sdcard, master clear is worthless when you are stock
there was a time where it was necessary to flash to stock to reset the filesystem and then flash the rom. it has not been needed in months, but it continues to get preached as gospel.
even flashing to stock isnt necessary unless you are trying to come from CM7 or MIUI....or if something goes horribly wrong
Thx for info guys, I have flashed a few times and it seemed like now and then my fone must became bogged down and needed to be fully wiped, sound didnt work or lagfix folders bunch of text docs, just seemed cluttered. So if wanted to really clear out junk what would be a good way without having to flash back to stock?
Sent from my SAMSUNG-SGH-I897 using XDA App
Just flash. If you have a problem then back to stock Ans a MC. I have flashed hundreds of time back to stock once.
Sent from my SGH-I897 using XDA Premium App
Pirateghost said:
lets look at the master clear function shall we?
when you flash to stock...your entire / is stock (RFS, eclair 2.1, /data /system, etc)
essentially, you have just reformatted your root, think of it like formatting your C drive and your sdcard is like a secondary internal drive that contains storage
master clear at this point will only delete items off your /sdcard
roms dont care about your /sdcard, master clear is worthless when you are stock
there was a time where it was necessary to flash to stock to reset the filesystem and then flash the rom. it has not been needed in months, but it continues to get preached as gospel.
even flashing to stock isnt necessary unless you are trying to come from CM7 or MIUI....or if something goes horribly wrong
Click to expand...
Click to collapse
I would definitely agree. I have also seen people say to disable lagfix before flashing. I have not done that either and never had any problem.
Would just like to amend the advice already given with the following:
Pre-flashing:
1. Titanium Backup of apps and data
2. Nandroid backup in case something goes boom.
Post-flashing (assuming success):
TB restore of user apps/data only. NEVER RESTORE SYSTEM FILES.
They may not apply to some people, but I feel those are necessary steps for anyone that actually uses their phone daily.
modest_mandroid said:
Would just like to amend the advice already given with the following:
Pre-flashing:
1. Titanium Backup of apps and data
2. Nandroid backup in case something goes boom.
Post-flashing (assuming success):
TB restore of user apps/data only. NEVER RESTORE SYSTEM FILES.
They may not apply to some people, but I feel those are necessary steps for anyone that actually uses their phone daily.
Click to expand...
Click to collapse
why not restore system files? Does this apply if coming from flashing back to stock first, or just flashing from one rom to another?
Glad to hear the advice about not flashing back to stock, that's been one of the major reasons I haven't flashed quite as many rom's as I want, too time consuming.........not to say that i'm not flashing a couple rom's a week, but there's just so many options to try
neophile said:
why not restore system files? Does this apply if coming from flashing back to stock first, or just flashing from one rom to another?
Click to expand...
Click to collapse
Making "search" a standard practice would be very helpful.
Restoring system is known to mess up ROMs in all cases. Though may not be mandatory, but make it a standard practice to flash stock. Takes hardly 10 mins, and helps save big headaches later.
neophile said:
why not restore system files? Does this apply if coming from flashing back to stock first, or just flashing from one rom to another?
Click to expand...
Click to collapse
Incompatibilities across rom versions, mostly. As the guy above me said, restoring system files tends to mess up a rom because you are overwriting part of it with files from a different rom.
There is one caveat, however. If you're flashing back to a rom you originally performed the backup on, you can safely restore system files. For example, if you were running Cog 4.3 and did a full TB backup, then decided to flash Serendipity 6.3, you would want to restore only your user apps and user data. However, if you decided to flash back to Cog 4.3 at some point, you could do a full TB restore without worrying about incompatibilities.
I agree with everyone else. Flashing over another rom seldom causes issues. I make s nandroid backup of my favorite rom with everything setup the way i like it. then flash away trying different roms. When i am done, i just restore my backup and all is good!
I have done a search, couldn't find the specific answer I needed, hence my asking. Could be I wasn't phrasing the search correctly......but here I am.....
To clarify, what do you dpo to get your system settings back after flashing a new rom? I flashed to serendipty 6.4 last night, as per the advice, I didn't restore system files, just apps and data, but that didn't work so well for me. I lost my data connection, could only use my wifi, and had no contacts, or any sms msgs. I don't know what else was missing, but I then went and restored system files, everything came back as needed, and there seems to be no issue......
How do I get my info setting back, or do I just need to manually re-set everything after flashing? Apart from wireless info, msgs and contacts, what else do you lose by not restoring?
Appreciate your help
havent flashed a new rom in a while and forgot if anything extra was needed when flashing a rom over a rom
thx!

question about installing a nightly update.

Hi i flashed a month ago aicp to my xperia sp and now i want to install a nightly of the same rom.Do i have to do full wipe or just flash the rom?I am using cyanogen recovery.I am asking this because in my previous rom i installed a nightly update without wiping and i ended up bricking the phone.
I read everywhere that the safest way is to do a full wipe, and since you have nothing to lose it won't hurt, so i think you should.
nickos12 said:
Hi i flashed a month ago aicp to my xperia sp and now i want to install a nightly of the same rom.Do i have to do full wipe or just flash the rom?I am using cyanogen recovery.I am asking this because in my previous rom i installed a nightly update without wiping and i ended up bricking the phone.
Click to expand...
Click to collapse
yes it is practically the correct way to update a nightly.
However do bear in mind that the nature of nightly is that it might have problems after different builds, therefore having a previous build zip handy would really help you. Also backups!
In case of a problem, clean flashing sometimes aren't really your go-to method to correct stuff. Always assume it as a last resort.. In case you faced any problem do kindly share here.
so i sould install the nighlty without wiping?
TechnoSparks said:
yes it is practically the correct way to update a nightly.
However do bear in mind that the nature of nightly is that it might have problems after different builds, therefore having a previous build zip handy would really help you. Also backups!
In case of a problem, clean flashing sometimes aren't really your go-to method to correct stuff. Always assume it as a last resort.. In case you faced any problem do kindly share here.
Click to expand...
Click to collapse
so i sould install the nighlty without wiping?
nickos12 said:
so i sould install the nighlty without wiping?
Click to expand...
Click to collapse
Yes you may
Ok thanks
nickos12 some questions raised i hope you don't mind posting here to spare a new topic
TechnoSparks said:
However do bear in mind that the nature of nightly is that it might have problems after different builds, therefore having a previous build zip handy would really help you. Also backups!
Click to expand...
Click to collapse
1. So you saying that a new update might/could be worst than the previous, correct ?
2. Do we need a full wipe of everything like first time (data, system, dalvid cache, etc) before install an update of the same rom (nightly 20151214) ?
3. Should i install it via recovery or ota ?
giannisv6 said:
nickos12 some questions raised i hope you don't mind posting here to spare a new topic
1. So you saying that a new update might/could be worst than the previous, correct ?
2. Do we need a full wipe of everything like first time (data, system, dalvid cache, etc) before install an update of the same rom (nightly 20151214) ?
3. Should i install it via recovery or ota ?
Click to expand...
Click to collapse
Yes, nightly is a daily release where changes are huge in the back end.. Sometimes a simple change can make a build unbootable. Sometimes it introduces new bugs. Sometimes it is better and fixes everything. It is of course a good thing to update to the latest if possible, it is just that it is also vital to know what we're going to face when we flash a new update. So that we can make backups beforehand in case something really bad happens.
If you are installing an update to the same ROM there is no need to wipe anything. Wiping is optional.
↑ Note, if you are reverting to a previous build, you will need to wipe everything as there will be conflicts for the system data. This is why frequent/periodic app backups useful.
You can do either both of them without any problem
Thank you very much.
It's the first time i flashed a custom rom (the AICP 10 successfully :cyclops: ) and i got overwhelmed with all these endless customization options .

Categories

Resources