Wipe before flash - One (M8) Q&A, Help & Troubleshooting

I've always known about wiping data, cache and dalvik cache before flashing roms. But is it also necessary to wipe system as well?

09eric09 said:
I've always known about wiping data, cache and dalvik cache before flashing roms. But is it also necessary to wipe system as well?
Click to expand...
Click to collapse
It is recommended especially if rom is different version. I always wipe the 4, I don't know why that isn't default in twrp. Obivously just don't wipe int/ext

an0ther said:
It is recommended especially if rom is different version. I always wipe the 4, I don't know why that isn't default in twrp. Obivously just don't wipe int/ext
Click to expand...
Click to collapse
Cool thanks, I thought system might be important.

Related

Rom flashing question

So I have a quick question for everyone here.
Is there anything else I need to do to clear all remnants of an existing ROM from my phone other than factory reset/wipe data and wipe cache before installing another ROM?
I seem to have residual bugs from a previous ROM on my current ROM. Maybe it's kernel related? I don't know. Any advice?
Edit: Gah. Sorry wrong forum. Please move.
Try wiping dalvik cache from recovery. Its in the advanced tab i believe.
Sent from my ADR6300 using XDA App
What i usually do is go into the partitions menu and format data / system / cache, and then i go into advanced and format dalvik cache, and then i go to the main screen and do format data factory reset and then format cache... i do all those twice so its 100% gone absolutely nothing lingering around
Joe92T said:
What i usually do is go into the partitions menu and format data / system / cache, and then i go into advanced and format dalvik cache, and then i go to the main screen and do format data factory reset and then format cache... i do all those twice so its 100% gone absolutely nothing lingering around
Click to expand...
Click to collapse
Awesome. Thanks guys. I'll give that a whirl.
I have been checking the box in ROM Manager to clean cache and wipe when flashing new Roms
and then ... ?
After all this is done, and the new ROM flashed, what can one restore from Titianium Backup without restoring incompatible/bad stuff? Thanks
jdmba said:
After all this is done, and the new ROM flashed, what can one restore from Titianium Backup without restoring incompatible/bad stuff? Thanks
Click to expand...
Click to collapse
Don't restore system data, especially if you're going from a 2.1 rom to a 2.2 rom.
I always just restore user apps and data.

Upgrading CM9 alpha -> beta, factory reset required?

I'm running TeamNDVRu's CM9 α7 and I want to upgrade to β2. The beta 2 changelog says:
No wipe needed, only go into Manage Apps/All/Camera and wipe camera app data.
Boot.img didnt change from alpha-12/beta-1, no need to fastboot flash if upgrading from those.
Click to expand...
Click to collapse
Since I'm only on alpha 7 I presume I'll need to flash boot.img again and also delete the camera app. data. as it says. I'm guessing when in recovery I should wipe the Dalvik VM cache and the cache partition as well.
The one thing I'm not sure on is whether or not I'll need to wipe the data (factory reset) as well?
Bump.
Xavura said:
Since I'm only on alpha 7 I presume I'll need to flash boot.img again and also delete the camera app. data. as it says. I'm guessing when in recovery I should wipe the Dalvik VM cache and the cache partition as well.
The one thing I'm not sure on is whether or not I'll need to wipe the data (factory reset) as well?
Click to expand...
Click to collapse
There's been a few versions between m8, I would imagine full wipe is best. But you can always try with just wiping Dalvik and the cache partition. If you get any problems then full wipe (factory reset)

wipe all zip?

I was wondering if anyone knows of a wipe all flashable zip?
To, like, wipe everything?
If so, what's wrong with the options in recovery?
On my last phone I had a wipe cache and dalvik cache one and a wipe all which is factory data reset, cache, and dalvik cache. It just makes it quicker to flash a rom.
dakota.breeden said:
On my last phone I had a wipe cache and dalvik cache one and a wipe all which is factory data reset, cache, and dalvik cache. It just makes it quicker to flash a rom.
Click to expand...
Click to collapse
factory reset will wipe /cache and /data
a rom install will wipe dalvik and /system
you dont need a script to run to do all that for you
run factory reset in CWM/TWRP and install rom
Pirateghost said:
factory reset will wipe /cache and /data
a rom install will wipe dalvik and /system
you dont need a script to run to do all that for you
run factory reset in CWM/TWRP and install rom
Click to expand...
Click to collapse
What happened to doing a factory reset and then wipe cache and then wipe dalvik cache and then flash rom?
dakota.breeden said:
What happened to doing a factory reset and then wipe cache and then wipe dalvik cache and then flash rom?
Click to expand...
Click to collapse
cache wipe is included in the factory reset....watch when you do it, it says
FORMATTING CACHE
just looking at a few of the updater-scripts in some of the roms available right now (it appears some people put it in their script and some dont....love the consistency):
Code:
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/resource-cache");
which is odd considering all the devices I have ever worked on include the dalvik wipe (i have always included a cache wipe as well by default)...it makes for a quicker flash when the user doesnt have to go through 100 steps to install a rom....

Question about TWRP

On a clean wipe I read that wipe data factory reset wipe cache and dalvik I get that, but also go to mounts and storage and format data I don't see that option on Twrp. Is there something similar?
android_4life said:
On a clean wipe I read that wipe data factory reset wipe cache and dalvik I get that, but also go to mounts and storage and format data I don't see that option on Twrp. Is there something similar?
Click to expand...
Click to collapse
Everything is in the wipe menu of TWRP...
DarthDerron said:
Everything is in the wipe menu of TWRP...
Click to expand...
Click to collapse
+1 yeah im pretty sure everything is in the wipe menu and are you running the latest version of TWRP if not i would suggest updating it

[Q] HELP --- [4.4.2] DN30 (Ditto Note 3) ROM

Hello, I have the DN3 Ditto rom which has Note3 features. I have the DN3 v4 RC2 version and now I want to install the V5 version. Do I have to wipe all my data,lose me apps and factory reset my phone?
I cant install it using recovery mode without wipe data and losing my data, settings, apps etc?
Just flash v5 and wipe cache and dalvik cache. Will work perfectly, and you dont lose anything
OguzhanVarsak said:
Just flash v5 and wipe cache and dalvik cache. Will work perfectly, and you dont lose anything
Click to expand...
Click to collapse
Why do I have to wipe cache and dalvik cache? I mean, this will affect something?
AnorthosisF458 said:
Why do I have to wipe cache and dalvik cache? I mean, this will affect something?
Click to expand...
Click to collapse
You just have to - otherwise it will not work if you have new apps and old apps in dalvik... This will not affect anything except dalvik cache will be re-created on 1st reboot/boot and it will take a bit longer to boot.
dalanik said:
You just have to - otherwise it will not work if you have new apps and old apps in dalvik... This will not affect anything except dalvik cache will be re-created on 1st reboot/boot and it will take a bit longer to boot.
Click to expand...
Click to collapse
So i have to wipe only cache and dalvik cache and i wont lose anything? Like apps, data, bookmarks, contacts etc
AnorthosisF458 said:
So i have to wipe only cache and dalvik cache and i wont lose anything? Like apps, data, bookmarks, contacts etc
Click to expand...
Click to collapse
No you won't... please google for the meaning of the word "cache" ....
AnorthosisF458 said:
So i have to wipe only cache and dalvik cache and i wont lose anything? Like apps, data, bookmarks, contacts etc
Click to expand...
Click to collapse
No. It's just to update all existing binaries/apps with latest prop files. So they can be optimized for current build.
Just did it. Works perfectly.
Thank you all
did it work with any problem?
Reg2net said:
did it work with any problem?
Click to expand...
Click to collapse
Worked perfectly, no problems.
Go on
Just wipe cache and Dalvik. No full wipe

Categories

Resources