I know that when flashing a custom rom either coming from stock or going to another custom rom, you have to do a wipe of the device ( data, caches etc). I am currently on a custom rom but wish to revert back to stock. I've read somewhere that if you flash a stock image then the process wipes the device. Does this mean that it is not necessary to do a manual wipe when flashing a stock rom but it is required when flashing any custom rom?
For your safety do a manual wipe anyway.
If you do a full stock image flash, it'll wipe everything anyway. Don't need to worry about wiping before that.
Related
After playing around with several ROM / kernel combinations I am looking to return to the latest stock Rom. I have the PC36IMG file on my SDcard and will be installing via ClockworkMod recovery. What is the proper procedure to ensure the cleanest possible installation? Im a bit scared of all the options in recovery such as all the format options in the partitions menu. Do I need to format everything? Will any files be carried over? I know I will need to re install Clockwork and SU app just want to make sure everything is as clean as possible. Thanks in advance.
cleanest possible? Flash this in recover. It wipes 100% of every every time.
Courtesy of Calk.
If you are just changing kernels, choose wipe catch and delv catch.
Changing to a different rom you need to wipe everything.
Thanks for the tip. I am running a custom kernel so I'd be looking to wipe all of those files as well as the ROM. The ROM I am using is just a re packaged RUU, does the RUU completely wipe all data or will I still need to manually wipe?
You should always manually wipe. I never count on something else to do it for me. When I am changing roms I always wipe data/factory reset, cache and davlick, plus I use calkulin's format all tool that the other responder to your question attached to his post. That way you know nothing will be left over. Before you do all that, remember to make a backup of your current configuration just in case something goes wrong. I have been bailed out by nandroid backup a few times.
Also one more thing, there is a Rom on here that is the latest stock already rooted which would make it much easier on you. You could just wipe and flash and still have SU and all other benefits of having root. Just a suggestion.
I found the stock rom thread. It has both odexed and deodexed version. Odexed will probably boot faster, but deodexed can be themed and/or modded. Heres the link: Stock 3.70 EVO Rooted
I reccommend clearing the cache, and then wiping the dalvik to ensure a clean rom. After that, just flash your rom. As always if you are unsure, you can backup your SD card.
Hello,
I had a few clarifications on moving from a CM/AOSP ROM to Stock Samsung Based ROM's.
My phone is a N7100 International Version.
I'm running PACman ROM as my daily driver and I'm actually looking to sell off this phone to a friend who is a Touchwiz fan (bleugh!). He would want to keep root however but wants me to install a stock based ROM.
Questions.
1. Does doing a data/cache/dalvik cache wipe and flash the touchwiz based ROM work? Is it that simple? Is the process similar to flashing CM/AOSP ROM's?
2. I read somewhere that there would be modem issues if the above method is used.
Could someone be kind enough to help me out here. I'm using PhilZ recovery.
Before anything else. EFS Backup and Nandroid back up just in case.
1. PhilZ Recovery
2. Wipe Data & Cache - Clean Install a new ROM then Wipe data & Factory reset
3. Mounts and Storage - FORMAT SYSTEM
4. Install your preferred STOCK ROM TW based.
5. Wipe cache
6. Wipe Dalviks
7. Reboot
warlycastro said:
Before anything else. EFS Backup and Nandroid back up just in case.
1. PhilZ Recovery
2. Wipe Data & Cache - Clean Install a new ROM then Wipe data & Factory reset
3. Mounts and Storage - FORMAT SYSTEM
4. Install your preferred STOCK ROM TW based.
5. Wipe cache
6. Wipe Dalviks
7. Reboot
Click to expand...
Click to collapse
I tried what you had suggested, did not work. Ended up in a bootloop. Had to flash a stock 4.1.2 firmware through ODIN and then root and finally flashed DN3 ROM through recovery. Now it works.
So you just have to move to stock before going from AOSP to TW based ROM's.
I know wipe out User data is must coming from Stock ROMs. I do flashing custom ROMs very frequently and wanted to know while flashing these custom ROMs, Wiping Data and Cache and Dalvik is what I do AND can I skip Wipe User data ?? Please help...
You will need to clean everything because you are going to avoid the bootloops.. and do it on every new installation does not matter if the rom is stock or custom
Thanks Mate!!
Hey everyone. My phone has been running like crap lately and I have thought about doing a factory reset. I just had a few questions. If I did a factory reset I'm pretty sure I lose root, but what about the custom recovery?
Also, this is what I had in mind to do - but would you mind checking to see if it would be my best route please? I am going to install a custom rom on it. But just wanted to do a factory reset / install stock firmware first before I did it.
Download and install stock firmware. 10B I believe is what it is.
Root it again and put the bumped recovery back on it.
Install CM12 or another rom.
Is that pretty much what I should do?
Thanks!
mikewelch5 said:
Hey everyone. My phone has been running like crap lately and I have thought about doing a factory reset. I just had a few questions. If I did a factory reset I'm pretty sure I lose root, but what about the custom recovery?
Also, this is what I had in mind to do - but would you mind checking to see if it would be my best route please? I am going to install a custom rom on it. But just wanted to do a factory reset / install stock firmware first before I did it.
Download and install stock firmware. 10B I believe is what it is.
Root it again and put the bumped recovery back on it.
Install CM12 or another rom.
Is that pretty much what I should do?
Thanks!
Click to expand...
Click to collapse
If you do a factory reset (with the kdz tool, its the best way if you want to reinstall the stock firmware), you lose everything (root, recovery, etc..) because it will flash the phone completely.
I recommend you to take a look at this for all the thing that you need to do: http://forum.xda-developers.com/showthread.php?t=2785089
And make sure you never do a factory reset from within Android w/ a custom recovery like TWRP installed, otherwise your phone will end up in a continuous boot loop. There's no reason for you to go back to stock anyway, as you're planning on reinstalling CM12 or installing a different ROM. You'll be doing a factory reset (wiping System, Data, Cache, and Dalvik) from within TWRP before flashing anyway, so there's no need to go back to stock beforehand.
mikewelch5 said:
Hey everyone. My phone has been running like crap lately and I have thought about doing a factory reset. I just had a few questions. If I did a factory reset I'm pretty sure I lose root, but what about the custom recovery?
Also, this is what I had in mind to do - but would you mind checking to see if it would be my best route please? I am going to install a custom rom on it. But just wanted to do a factory reset / install stock firmware first before I did it.
Download and install stock firmware. 10B I believe is what it is.
Root it again and put the bumped recovery back on it.
Install CM12 or another rom.
Is that pretty much what I should do?
Thanks!
Click to expand...
Click to collapse
If you flash your phone with kdz, yes, like the guy above said you will lose both root and recovery. What I'm curious about is reason you want to do it? You already have custom recovery so if you want to do factory reset (that is wiping data and cache partitions) why not do it manually there?
And what is the point of it? As you said you will flash CM12 or another ROM, so that will basically do a factory reset, you will wipe all (system, data, cache) to install your new ROM...
Of course before flashing or wiping system partition with TWRP I recommend doing a backup just in case.
Thanks for the info everyone. The reason I wanted to do a clean factory install instead of just putting on CM12 is because if I didn't like it, I could just go back to a stock, rooted KK.
Like I said it has been acting up lately, so maybe a clean install of factory can help it. That way, if I don't like CM I can just restore my clean copy.
Where as now, if I didn't like CM I would have to restore my messed up backup.
But I will probably flash back to stock firmware, root it again and put a custom recovery on it again. Make a backup of that, then play around with some ROMS.
But once again, I appreciate the help!
I'm having some issues flashing any ROM. TWRP will not wipe data, or internal SD
For some reason, when I go to wipe data and factory reset, TWRP will say it was successful, but nothing ever gets wiped. It will only wipe system if I choose to. I've gotten a ROM to flash but when it boots up, all of the old apps and user data are still there and it makes everything crash. I've gotten into settings to do a reset, it reboots into recovery, runs the script, and still nothing wipes.
What I have tried:
Old TWRP, newest TWRP
CWM (seems to wipe but it won't get past the note 2 screen after flashing anything)
Wiping with CWM, flashing TWRP, then flashing a ROM (still loops after the note 2 screen)
Is there a terminal command I can use in TWRP to manually wipe things?
Thanks for any help I can get, I've flashed so many phones I can't remember but I've never had this issue
Maybe flash back to a stock ROM, factory wipe using stock recovery, then flash TWRP?
audit13 said:
Maybe flash back to a stock ROM, factory wipe using stock recovery, then flash TWRP?
Click to expand...
Click to collapse
Well when it bootloops t the Note 2 screen, I have to flash a ROM with Odin to get it working again. I've flashed a stock ROM with Odin, flashed TWRP with Odin, tried the wipes and it never wipes anything... I'm lost...
Isn't there a format function in TWRP that is seperate from the factory reset or advanced wipes? I was also trying to find a terminal command to type in the terminal in TWRP... I'm a little stumped...
I'm sorry, I read that too fast... That may actually work, wipe it in the stock recovery, and just don't let it boot into the system before flashing other stuff... I'm gonna try that out... Thanks man, I'll post back about it...
Since you are flashing the phone with Odin, is it a stock 4.1.1 ROM you're flashing? Which custom ROM are you flashing to the phone?
audit13 said:
Since you are flashing the phone with Odin, is it a stock 4.1.1 ROM you're flashing? Which custom ROM are you flashing to the phone?
Click to expand...
Click to collapse
The stock ROM I used is I317-ODIN-UCUCNJ1-Stock without the booloader packaged in, I'm still on the old bootloader. It's 4.4.2
The ROMS I've tried to flash was
Cyanide (Error 7, says incompatible data, please wipe the phone)
Resurrection Remix (Error 7, says incompatible data, please wipe the phone)
Latest CM10 Nightly
I got CM10 and Resurrection Remix to flash a couple times, but the phone boots and all the old apps and data, including the AT&T ones are still there, and the system keeps crashing. Then I change the recovery to CWM because it seems to wipe, change back to TWRP, flash the ROM and gapps again, but it bootloops at the Note 2 screen.
Should I try the 4.1.1 ROM and CWM? Whenever I'm going from a stock TW to non-TW I like to format everything, data, cache, system, and internal SD, but of course TWRP won't wipe the data or the internal SD.
It's probably because the bootloader and modem are too old for the roms. Recent roms will need updated bootloaders.
Ok, I had some more time to mess around with this today and figured it out. I feel kind of dumb but oh well, I got it.
TWRP was already loaded on, so I went to messing with it again. The 'Swipe to factory reset' was not wiping the data, and there was the 'Format Data' button right there in front of me. I did the factory reset, format data, rebooted recovery, wiped dalvik, cache, and system, then flashed the ROM and everything booted up just fine.
Thanks for all of the help!