Steps When Flashing Question - myTouch 4G Q&A, Help & Troubleshooting

So I was reading the Royal Ginger Rom thread, and his instructions on the 3rd page I believe say to:
"Make sure when you wipe you wipe both on the main page of recovery. Then go to advance and wipe dalvik then go to mount and format boot, system and format sdcard. Then flash."
Have I been missing something here with all the ROM's I've been flashing? With all the ROM's I've flashed, I've only done "full data wipe", "wipe cache", and "wipe dalvik"
I've never done a format boot, system and fotmat sdcard.
And doesn't formatting a sd card wipe everything off it? Or am I thinking of something else

bballcat03 said:
So I was reading the Royal Ginger Rom thread, and his instructions on the 3rd page I believe say to:
"Make sure when you wipe you wipe both on the main page of recovery. Then go to advance and wipe dalvik then go to mount and format boot, system and format sdcard. Then flash."
Have I been missing something here with all the ROM's I've been flashing? With all the ROM's I've flashed, I've only done "full data wipe", "wipe cache", and "wipe dalvik"
I've never done a format boot, system and fotmat sdcard.
And doesn't formatting a sd card wipe everything off it? Or am I thinking of something else
Click to expand...
Click to collapse
When you do full wipe /system is untouched so you should go format the /system, /boot, do full wipe. You can manually remount it but this is done auto when reflashing and reconstructing the image. Far as the format sdcard goes I take it that it access /sd-ext part which you should leave it alone if you don't understand.

BlackSHELF said:
When you do full wipe /system is untouched so you should go format the /system, /boot, do full wipe. You can manually remount it but this is done auto when reflashing and reconstructing the image. Far as the format sdcard goes I take it that it access /sd-ext part which you should leave it alone if you don't understand.
Click to expand...
Click to collapse
So I should always do a FULL wipe then with whatever rom I flash? Could explain some "oddities" I've been getting at times lol
And just leave the format sdcard alone?

bballcat03 said:
So I should always do a FULL wipe then with whatever rom I flash? Could explain some "oddities" I've been getting at times lol
And just leave the format sdcard alone?
Click to expand...
Click to collapse
1) Keep your battery 100% (trust me saves you alot of time recalibrating)
2) Format /system, /boot from Recovery
3) Wipe dalvik, full wipe
4) Flash whatever via SDCard

BlackSHELF said:
1) Keep your battery 100% (trust me saves you alot of time recalibrating)
2) Format /system, /boot from Recovery
3) Wipe dalvik, full wipe
4) Flash whatever via SDCard
Click to expand...
Click to collapse
Ah ok, I was totally unaware of step 2. I've just done "wipe data/factory reset" and the two cache's.
Interesting what I'll get from here on out now. What do you mean by "recalibrating" when you said to keep the battery at 100%?

bballcat03 said:
Ah ok, I was totally unaware of step 2. I've just done "wipe data/factory reset" and the two cache's.
Interesting what I'll get from here on out now.
Click to expand...
Click to collapse
Thats why we are here. Normally most leave it alone and only time we recommend it is when user is doing major upgrade for example switching roms or having some issue that none else can replicate. You are now good to go

BlackSHELF said:
Thats why we are here. Normally most leave it alone and only time we recommend it is when user is doing major upgrade for example switching roms or having some issue that none else can replicate. You are now good to go
Click to expand...
Click to collapse
thats sorta interesting
ive not once seen it mentioned in any of the rom threads or just around xda to wipe both boot and system until seeing it in the royalginger thread
not saying its wrong...but it should be maybe conveyed that only wiping date/factory reset, cache and dalvik isnt always sufficient

Freek91 said:
thats sorta interesting
ive not once seen it mentioned in any of the rom threads or just around xda to wipe both boot and system until seeing it in the royalginger thread
not saying its wrong...but it should be maybe conveyed that only wiping date/factory reset, cache and dalvik isnt always sufficient
Click to expand...
Click to collapse
Well normally people just do full wipe (/data, /cache, /sd-ext, /sdcard/.android_secure) and wipe dalvik but if you want to properly do it then you can format /system manually or do it via adb fastboot erase system -w. This is more clean way to do it as you get rid of the /system which is not normally covered with wipe.

A point of clarification. As I understand it, the Dalvik cache (used by Mobile Java apps) is a structure within the /data partition. A "full wipe / factory reset" formats /data, so a wipe of the Dalvik cache in addition wouldn't actually do anything.
Wiping the Dalvik cache along with /cache is usually recommended for ROM "upgrade" flashes, when /data is left intact.

Related

I cant find the answer to this

Im flashing calks format all zip before flashing my rom. My question is do i have to wipe davlick cache and other caches as well or is flashing calks format all zip good enough????
Sent from my PC36100 using XDA App
stevo760 said:
Im flashing calks format all zip before flashing my rom. My question is do i have to wipe davlick cache and other caches as well or is flashing calks format all zip good enough????
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
You should still wipe everything else as well.
aimbdd said:
You should still wipe everything else as well.
Click to expand...
Click to collapse
No you don't
Swyped from my cyanogenized and gingerbreaded EVO
Because calk's script actually formats the partitions, there is no need to wipe everything.
It's my understanding that dalvik cache is usually stored on /data, so if the data partition is formatted, I see little reason to wipe it again. Same thing with the cache. The script formats /cache too.
Partial contents of format all script.
Code:
format BOOT:
format CACHE:
format DATA:
format SYSTEM:
aimbdd said:
You should still wipe everything else as well.
Click to expand...
Click to collapse
Why do people say things when they really don't know what they're talking about? It's not helpful.
the zip was made to compliment... not to be the only source.
Thanks guys you are all more than helpfull
Sent from my PC36100 using XDA App
stevo760 said:
Thanks guys you are all more than helpfull
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Really???!
I wipe dalvik cache after using format-all.zip, and to me it seems there was still some stuff left behind. The first time I wipe takes longer than the second time.
bigmoogle said:
I wipe dalvik cache after using format-all.zip, and to me it seems there was still some stuff left behind. The first time I wipe takes longer than the second time.
Click to expand...
Click to collapse
How are you determining there's anything still left in the dalvik cache folder?
If you understand where dalvik cache folder is actually stored, it makes perfect sense.
Normally, dalvik cache is physically stored under /data partition. I say normally, because there are ways of relocating it to the internal /cache folder, or even to the ext partition on the sd card. Chances are you're not set up that way based on your comments.
Formatting /data clears everything out from that partition. Given that dalvik cache resides in that partition, it too is erased. This is the reason why it wipes so quickly if you've already done the factory wipe (top most option in RA recovery) compared to just wiping the dalvik cache. Further, there is little reason to even wipe the /cache partition it is automatically wiped during the restore process.
Don't get me wrong... because I have always admired Calk's work... but I really don't see a need for the format all except in desperate last resort situations. Amon recovery should be able to take care of everything you need.
They both do the same thing. One just requires fewer clicks Although, since data gets restored anyways during the restore process, and I believe cache also gets formatted, is there really any reason to even bother wiping when doing a restore. Wiping certain areas (dalvik cache for example) does have merit when changing kernels.

[How to]99.9% No bootloops when flashing ROM

1) Boot into CWM red recovery
2) Wipe Data
3) Wipe Cache
4) Wipe dalvik cache
5) Go to mounts and storage
6) format everything that doesn't start with SD, so format boot, system, data, dbdata.
7) Install your new ROM
8) Reboot
Basically 100% chance of NO bootloops or running into errors. Don't know why I put 99.9%.Good Night~
dwight28 said:
1) Boot into CWM red recovery
2) Wipe Data
3) Wipe Cache
4) Wipe dalvik cache
5) Go to mounts and storage
6) format everything that doesn't start with SD, so format boot, system, data, dbdata.
7) Install your new ROM
8) Reboot
Basically 100% chance of NO bootloops or running into errors. Don't know why I put 99.9%.Good Night~
Click to expand...
Click to collapse
No Offense, but there's plenty(I mean tens hundreds ) of posts saying this.
And step 6 is not necessary, I have flashed over 20 Roms and havent had to format my sd.
dwight28 said:
1) Boot into CWM red recovery
2) Wipe Data
3) Wipe Cache
4) Wipe dalvik cache
5) Go to mounts and storage
6) format everything that doesn't start with SD, so format boot, system, data, dbdata.
7) Install your new ROM
8) Reboot
Basically 100% chance of NO bootloops or running into errors. Don't know why I put 99.9%.Good Night~
Click to expand...
Click to collapse
Thanks xHoLyx, you beat me to posting the same thing. And step #6 is classic gunnermike speak. I'd recognize that anywhere. Adrynalyne just released EC01 ROM and radio, and both he and GizmoDroid have posted slightly different methods for installing the new ROM and radio. Would you like to also post those exact steps in a how to thread and make it seem like you came up with the steps?

[Q] About installing CM7 Nightly builds

Hey guys just a quick question about installing nightly builds on the nook. When Rom Manager asks whether to wipe data/cache and what not, if I select it, will it wipe the internal memory completely? leaving no user files behind? or will it only wipe the system files?
It will wipe everything and it will be a fresh install.
Sent from my LG Optimus V using Tapatalk
If you update, just wipe cache
It wipes the /data partition but doesn't wipe /sdcard /sd-ext or /met/emmc.
Sent from my MB860 using xda premium
EGM92 said:
Hey guys just a quick question about installing nightly builds on the nook. When Rom Manager asks whether to wipe data/cache and what not, if I select it, will it wipe the internal memory completely? leaving no user files behind? or will it only wipe the system files?
Click to expand...
Click to collapse
Just wipe Davlik.
if boot is longer than normal after wipe, it's normal!
votinh said:
If you update, just wipe cache
Click to expand...
Click to collapse
patruns said:
Just wipe Davlik.
Click to expand...
Click to collapse
So... just wipe Davlik Cache is what you guys are saying?
Good question helped out a newb here
Jiv_au said:
So... just wipe Davlik Cache is what you guys are saying?
Click to expand...
Click to collapse
Correct
Sent from my LG Optimus V using Tapatalk
Jiv_au said:
So... just wipe Davlik Cache is what you guys are saying?
Click to expand...
Click to collapse
Note: wipe cache and wipe Dalvik cache are 2 different things.
+ wipe cache is a quick way to clean the current running ROM
+ wipe Dalvik is a completely clean.
After wipe Dalvik, next time it boots, it will take a lot longer time due to the device has to re-compile the whole thing before ROM start running and booting.
I think I need to drop a few lines about wipe cache/Dalvik.
As I posted above, I said it wiped clean.
Apparently, I am NOT 100% correct.
I just updated to nb198, wiped cache (formatting /cache) then wipe Dalvik cache.
After done updating ROM, booting up, I expected everything clean, completely fresh.
It's not the case, I went to Market and all old search history were still shown. Not only with Market but other apps too.
So
a. either wipe cache/Dalvik is NOT completely clean wipe or
b. it was completely clean but somehow, those old cache info, which stored somewhere I don't know, get automatically restored back.
Okay, I did a quick read of the FAQ for CWR, and came across these:
Wipe cache partition
Wipes the cache partition of the device to clear all the data accumulated there over use. This is often used before installing a new ROM, app, kernel or any similar mod via recovery.
Wipe Dalvik Cache
Allows you to wipe the cache for the Dalvik virtual machine (the custom-built Java virtual machine for Android).This is required before most ROM installations and at other occasions too, for fixing some problems.
So, I'm taking this guide on board and will wiping Cache AND Davlik. So that's two steps prior to installing a new CM7 nightly build.
votinh said:
I think I need to drop a few lines about wipe cache/Dalvik. *snip*
a. either wipe cache/Dalvik is NOT completely clean wipe or
b. it was completely clean but somehow, those old cache info, which stored somewhere I don't know, get automatically restored back.
Click to expand...
Click to collapse
You didn't happen to store them in uSD card? Or perhaps app data/cache are separate from system data/cache...
Will look into it further...

[Q] Stupid question

Hi,
I have an Iconia Tab A500 with CWM installed and sometime i switch on different ROM to test them.
Usually befoere making a full NANDROID restore i do only a "Wipe data" / "Wipe cache" / "Wipe dalvik" but sometime you can see on some post that you need in addition to format "/system /flexrom /data /cache, etc.."
So my stupid question, is it necessary to format each time i do a full restore or only to wipe.
In fact, what is the difference between "Wipe" and "Format" ?
Thx a lot for answer.
A developer could certainly give you a more accurate answer to your question than me but, as far as I know, wiping means erasing the data that you have added by yourself to the ROM (for example, your pseudos and passwords, apps, and so...), while formatting means erasing all the data that the developers have written originally.
Personally, when I restore a ROM, I never do a wiping nor a formatting, since the backup contains all the data of the ROM, afaik.
aranna said:
Hi,
I have an Iconia Tab A500 with CWM installed and sometime i switch on different ROM to test them.
Usually befoere making a full NANDROID restore i do only a "Wipe data" / "Wipe cache" / "Wipe dalvik" but sometime you can see on some post that you need in addition to format "/system /flexrom /data /cache, etc.."
So my stupid question, is it necessary to format each time i do a full restore or only to wipe.
In fact, what is the difference between "Wipe" and "Format" ?
Thx a lot for answer.
Click to expand...
Click to collapse
If you install RA Recovery, you only need to select in wipes "user data/factory reset", then do a dalvik wipe. This formats your partitions so no need to do 6 different things. System gets formatted when the rom installs.
so, wiping or formatting as no effect when you restore a backup because all is erased.. strange.. so why on most tutorial we ask to do a wipe ?
Strange...
Can you give me an example of tutorial where it is said that you have to do a wipe before a restore with CMW ?
aranna said:
so, wiping or formatting as no effect when you restore a backup because all is erased.. strange.. so why on most tutorial we ask to do a wipe ?
Click to expand...
Click to collapse
To me this is a better safe than sorry situation. It's probably unnecessary and redundant but i'd rather wipe and format everything before i flash just to be sure im getting a clean base, rather than flash, have bugs, and have to go back into recovery and wipe anyway and reflash
Sent from my SGH-T959 using Tapatalk
you know I always understood that restoring did not require a wipe, but since I've started this tablet, I've noticed I get failed restore more often. I've started wiping before restore but sometimes it still fails.
Sent from my A500 using Tapatalk

[Q] Change rom using TWRP recovery

Hi, I'm on PA 3.99 rom and I'd like to install Purity Rom, but it's required a full wipe. My recovery is TWRP, so for a full wipe I need to wipe cache, dalvink cache, system and factory, right? Internal and External card isn't necessary, right? Because It will erase the Purity zip in my memory and I won't be able to installed. If possible I'd like a clear response, so I'd finally understand what to do exactly with no more worries.
Matteo Mazzu said:
Hi, I'm on PA 3.99 rom and I'd like to install Purity Rom, but it's required a full wipe. My recovery is TWRP, so for a full wipe I need to wipe cache, dalvink cache, system and factory, right? Internal and External card isn't necessary, right? Because It will erase the Purity zip in my memory and I won't be able to installed. If possible I'd like a clear response, so I'd finally understand what to do exactly with no more worries.
Click to expand...
Click to collapse
That's correct, cache, dalvik cache, data and system. Your external sd and internal sd should be untouched.
☞Sent from here☜
A factory reset in recovery wipes /cache and /data ... the dalvik cache resides on the data partition and is thusly wiped also.
You could wipe /system to be "thorough" ... but the Rom zip.should have a format /system line in the updater script.
I only ever do a factory reset between roms.
Thank you very much, it's what I wanted to hear! (Never understood if wipe factory was even wipe data ahah XD)
studacris said:
A factory reset in recovery wipes /cache and /data ... the dalvik cache resides on the data partition and is thusly wiped also.
You could wipe /system to be "thorough" ... but the Rom zip.should have a format /system line in the updater script.
I only ever do a factory reset between roms.
Click to expand...
Click to collapse
Oh ok!! Now I get it! Really appreciate everyone answer! (Sorry for my English, lately I haven't been using it very much!)

Categories

Resources