Files carrying over from previous rom

scott62185

Senior Member
Mar 22, 2011
1,129
182
0
Long Beach, California
After flashing MIUI on my N4 and going back to a nandroid of a previous AOKP rom, I am getting a "Unfortunately, System UI has stopped" message over and over. Also, I noticed that after going to another rom (either nandroid or clean flash), there are some files left from the previous rom (e.g., flashed Carbon then went back to nandroid of AOKP and had a PIE remnant, which I know is not present on AOKP). I'm figuring this has something to do with things not getting completely wiped (all this is after complete wipe in TWRP between flashes).

Anyone have any advice on how to get a complete wipe between flashes?

Thanks in advance :)
 

justin11141

Senior Member
Apr 30, 2011
329
28
0
Dallas
This happens to me to for some reason even if I do wipe system. The wallpaper from my previous ROM almost always gets carried over for some reason

Sent from my Nexus 4 using Tapatalk 4 Beta
 

zelendel

Senior Member
Aug 11, 2008
23,366
20,584
253
This happens to me to for some reason even if I do wipe system. The wallpaper from my previous ROM almost always gets carried over for some reason

Sent from my Nexus 4 using Tapatalk 4 Beta
This happens if you have it set for your apps and settings to be restored by Google. I never advice this

Wayne Tech Nexus
 

fireboypr

Senior Member
Dec 1, 2008
183
22
18
Wipe cache, wipe system, wipe dalvik cache and factory reset. Do all those in recovery mode.

Sent from my Nexus 4 using Tapatalk 2
After this flash ROM, then skip set up wizard and go to settings > backup and reset and do a factory reset from there. It will reboot. Then everything from the other ROM should be gone.

Hit thanks if I helped
 
  • Like
Reactions: scott62185

scott62185

Senior Member
Mar 22, 2011
1,129
182
0
Long Beach, California
After this flash ROM, then skip set up wizard and go to settings > backup and reset and do a factory reset from there. It will reboot. Then everything from the other ROM should be gone.

Hit thanks if I helped
But will I have a ROM to go back to? I mean if I do a factory reset after flashing the ROM that doesn't erase the ROM?

Oh, and what if you're trying to restore a nandroid?

Sent from my Nexus 4 using Tapatalk 2
 

zelendel

Senior Member
Aug 11, 2008
23,366
20,584
253
But will I have a ROM to go back to? I mean if I do a factory reset after flashing the ROM that doesn't erase the ROM?

Oh, and what if you're trying to restore a nandroid?

Sent from my Nexus 4 using Tapatalk 2
Doing that after a rom flash can cause issues. That is why I always suggest to doing a full and proper wipe before flashing. Though it does seem that MIUI for some reason doesn't always properly remove files when this is done.

Wayne Tech Nexus
 

estallings15

Senior Member
Apr 22, 2011
6,204
2,545
0
But will I have a ROM to go back to? I mean if I do a factory reset after flashing the ROM that doesn't erase the ROM?

Oh, and what if you're trying to restore a nandroid?

Sent from my Nexus 4 using Tapatalk 2
What? A factory reset clears out user data and restores the ROM back to the way it is after a fresh install. It doesn't touch the system partition.

You do know that titanium can restore app data from a nandroid, right?

The noobness is strong with this one.
 

scott62185

Senior Member
Mar 22, 2011
1,129
182
0
Long Beach, California
What? A factory reset clears out user data and restores the ROM back to the way it is after a fresh install. It doesn't touch the system partition.

You do know that titanium can restore app data from a nandroid, right?

The noobness is strong with this one.
I never thought about the rom being left intact after a factory reset because I only do a full wipe when flashing a whole new rom (I've never wiped after flashing a new rom, only before). And yeah, I use Titanium Backup.
 

CMNein

Senior Member
Apr 23, 2012
3,179
1,481
0
Calgary
This happens to me to for some reason even if I do wipe system. The wallpaper from my previous ROM almost always gets carried over for some reason

Sent from my Nexus 4 using Tapatalk 4 Beta
Google's built in backup can do that. Many custom ROM's custom settings can be restored as well if there are provisions in the ROM that allow that data to be backed up to the Google servers. Many of the custom settings I use on CM are restored by this mechanism in the rare event of a wipe. With "App Data" being able to be synced with Google's servers we'll see much more of this as well; I think it's great.

These are "non-essential" settings that won't/shouldn't affect stability, etc...

Example: http://review.cyanogenmod.org/#/c/45135/
 
Last edited: