[Q] Full wipe before flashing backups? - T-Mobile LG G2x

Do I need to format / wipe anything in the CWM screen before restoring a flashed backup?

This is my personal procedure evertime I install a new rom, or revert to a saved backup. I am a noob, so I don't know if it's necessary, but I do it by habit now, and it seems to work for me.
1.wipe dalvik (in advanced menu)
2.wipe cache
3.wipe data/factory reset x 2
4.wipe system (in mounts and storage menu) x 2
5.(optional) wipe dalvik,wipe cache
6. Install zip or backup depending on what my intention is
7. fix permissions
reboot
edit: Actually, this isn't "MY PERSONAL" procedure...this is what was recommended to me from other valued members of this forum. I have simply adopted it into my routine.

That's a whole lotta wiping... wont hurt anything but very redundant.
Sent from my LG-P999 using Tapatalk

I thought dalvik couldn't be wiped in Recovery- it gets an error message.

tgerbracht said:
I thought dalvik couldn't be wiped in Recovery- it gets an error message.
Click to expand...
Click to collapse
The unknown path error? I get that too... but then is says dalvik wiped... wondering about that myself...
Sent from my butt using XDA Premium App

BobbyDukes707 said:
The unknown path error? I get that too... but then is says dalvik wiped... wondering about that myself...
Sent from my butt using XDA Premium App
Click to expand...
Click to collapse
never heard of that, do u have internal or external recovery? i have external and never seen that parsing message once ..........and when i go from rom to rom i wipe data first then cache then dalvik and install new rom...........then if im just updating rom or puting akernel on it is same procedure for both and it goes wipe cache then dalvik and update rom or install kernel, and i never had problems this way never

el buho said:
Do I need to format / wipe anything in the CWM screen before restoring a flashed backup?
Click to expand...
Click to collapse
well when i restore a backup i always wipe everything, and it never fails me then i restore

sarni84 said:
never heard of that, do u have internal or external recovery? i have external and never seen that parsing message once ..........and when i go from rom to rom i wipe data first then cache then dalvik and install new rom...........then if im just updating rom or puting akernel on it is same procedure for both and it goes wipe cache then dalvik and update rom or install kernel, and i never had problems this way never
Click to expand...
Click to collapse
I have external recovery... I haven't updated CM maybe it will take care of it... could it be an SD card issue? I mean I haven't seemed to have had any issues... dunno...
Sent from my butt using XDA Premium App

el buho said:
Do I need to format / wipe anything in the CWM screen before restoring a flashed backup?
Click to expand...
Click to collapse
It depends on what the backup is. If the backup is just an older version of the same rom I will just flash right over sometimes. If you are trying to restore a gb rom over a froyo, you will have to wipe first. Any time you are in doubt, just wipe.

BobbyDukes707 said:
The unknown path error? I get that too... but then is says dalvik wiped... wondering about that myself...
Sent from my butt using XDA Premium App
Click to expand...
Click to collapse
x2 Yea. I always wondered that. I get the same thing all the time.

BobbyDukes707 said:
The unknown path error? I get that too... but then is says dalvik wiped... wondering about that myself...
Sent from my butt using XDA Premium App
Click to expand...
Click to collapse
I get the same path error to sd-ext. I've wondered what sd-ext even is, there is nothing in it and it is not my external or internal memory because they are in different directories.

Related

What's the difference between flashing a completely new ROM and...

installing an updated version of an older ROM. Is the process any different?
Do I simply install from SD Card using the .zip?
When coming from the same ROM just updating. You can just wipe cache and dalvik then install zip. It will keep everything safe.
When installing a new ROM you have to wipe data and everything. Format system. Essentially everything.
Sent from my LG-P999 using XDA App
thefulleffect89 said:
When coming from the same ROM just updating. You can just wipe cache and dalvik then install zip. It will keep everything safe.
When installing a new ROM you have to wipe data and everything. Format system. Essentially everything.
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Should I use the "apply update from sdcard" prompt, when coming from the same ROM?
iArtisan said:
Should I use the "apply update from sdcard" prompt, when coming from the same ROM?
Click to expand...
Click to collapse
Nope, use install zip from SD card
Sent from my LG-P999 using xda premium

Wipe Dalvick cache

I am running a custom rom and if i wipe dalvick cache will my phone still be ok, or will I get any errors?
No problem at all.
Though be patient upon reboot as it will have to rebuild your dalvick & therefore will take a LiL longer to boot.
ian619420 said:
I am running a custom rom and if i wipe dalvick cache will my phone still be ok, or will I get any errors?
Click to expand...
Click to collapse
Should be alright, usually if you run into problems thats what you do as well as fixing permission. :good:
ian619420 said:
I am running a custom rom and if i wipe dalvick cache will my phone still be ok, or will I get any errors?
Click to expand...
Click to collapse
Yes you will be ok if you wipe the system or dalvik cache. In fact, I would recommend it before you try to flash any kind of update, mod, or apk. Just make sure to run Fix Permissions after you do, this will save tons of headaches down the road if you make it a habit. Also check out Vincom's stickies at the top of the SkyRo Developement thread, they've got a ton of info in them.
I do not believe you mean system. Wiping dalvik is the odex optimized (for your rom...) files that run when you launch an app.
Wiping the cache partition is fine as well. You should get an optimizing applications dialogue when you reboot.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

If i do factory reset in setting in custom rom rooted will l i lose root?

if I do factory reset in fryrom for p-5100 which is already rooted will I lose root or brick the tab ?
Nope.
No. You can do it on the stock ROM and keep root too. Just removes user files and settings.
scottx . said:
No. You can do it on the stock ROM and keep root too. Just removes user files and settings.
Click to expand...
Click to collapse
Does it wipe the internal SD card?
I think so... I believe /sdcard is in /data... and a factory reset wipes /data
A stupid way to do it, but yeah...
EDIT: yup, it's /data/media
Sent from my AOKP JB GT-P3113 using Tapatalk
The i705 has the SD card in /data/media/ also, and wiping data from cwm does not touch the SD.
Sent from my SCH-I535 using xda app-developers app
MrHyde03 said:
The i705 has the SD card in /data/media/ also, and wiping data from cwm does not touch the SD.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
We're talking about doing it in the phones settings not in a custom recovery.
3bs11 said:
We're talking about doing it in the phones settings not in a custom recovery.
Click to expand...
Click to collapse
I believe what the option in settings does is sets a command to /cache/recovery and then boots the phone into recovery where it executes the "wipe data" command. It wouldn't be able to delete everything if it didn't go into recovery as some stuff would be in use.
imnuts said:
I believe what the option in settings does is sets a command to /cache/recovery and then boots the phone into recovery where it executes the "wipe data" command. It wouldn't be able to delete everything if it didn't go into recovery as some stuff would be in use.
Click to expand...
Click to collapse
Oh so MrHyde03 is right and it doesn't wipe the internal SD card?
3bs11 said:
We're talking about doing it in the phones settings not in a custom recovery.
Click to expand...
Click to collapse
imnuts said:
I believe what the option in settings does is sets a command to /cache/recovery and then boots the phone into recovery where it executes the "wipe data" command. It wouldn't be able to delete everything if it didn't go into recovery as some stuff would be in use.
Click to expand...
Click to collapse
I remember doing a wipe on my tab before I ever rooted it. Select wipe from the settings menu and it reboots into stock recovery and does a data/cache wipe. It never erased my SD. Not saying his won't, just stating mine didn't.
Sent from my SCH-I535 using xda app-developers app

[Q] Formatting /data error

Hi all, I'm having a serious problem in my TF101 C10...
I cannot boot any OS (it get stuck into Android screen), but only into Recovery. When I try to wipe Factory Reset I get the following message:
Formatting /data...
Skipping erase of data/media.
Error removing /data/data/com.android.gallery3d/cache/156C764383426C78.bin!
Also I cannot Unmount the /data partition!!!
Can anybody help me?
Thanks in advance!
Can you update your recovery before trying to wipe ?
Unsure if that is possible, but if you can find a new recovery .zip, maybe you can flash it and then see if the wipe works
sandroaw said:
Hi all, I'm having a serious problem in my TF101 C10...
I cannot boot any OS (it get stuck into Android screen), but only into Recovery. When I try to wipe Factory Reset I get the following message:
Formatting /data...
Skipping erase of data/media.
Error removing /data/data/com.android.gallery3d/cache/156C764383426C78.bin!
Also I cannot Unmount the /data partition!!!
Can anybody help me?
Thanks in advance!
Click to expand...
Click to collapse
Push a different recovery using easy flasher... preferably TWRP...
Sent from my Transformer using xda app-developers app
udupa82 said:
Push a different recovery using easy flasher... preferably TWRP...
Sent from my Transformer using xda app-developers app
Click to expand...
Click to collapse
Thank you for the reply udupa82, I've already tried the TWRP and didn't solved it, the same problem....
sandroaw said:
Thank you for the reply udupa82, I've already tried the TWRP and didn't solved it, the same problem....
Click to expand...
Click to collapse
Did you out try formatting your internal memory ( wiping) using twrp...? Also reformat your micro SD using your computer and then copy just the ROM back on to it.... now in trap wipe everything and try installation of the ROM..
Sent from my Transformer using xda app-developers app
udupa82 said:
Did you out try formatting your internal memory ( wiping) using twrp...? Also reformat your micro SD using your computer and then copy just the ROM back on to it.... now in trap wipe everything and try installation of the ROM..
Sent from my Transformer using xda app-developers app
Click to expand...
Click to collapse
Yup, I tried to wipe using TWRP but I always get the error message of that file that cannot be deleted. I also tried the wiping option into coldboot but it doesn't helped either because the /data dir is not wiped...
I had the same problem what I did to resolve it was i formatted my internal storage via TWRP and tried to load the ROM and it booted fine.
http://forum.xda-developers.com/showthread.php?t=1245892 use super wipe script to completely reformat partitions
VITUSH said:
http://forum.xda-developers.com/showthread.php?t=1245892 use super wipe script to completely reformat partitions
Click to expand...
Click to collapse
Thank you VITUSH, it worked! I installed the ARHD 3.6 and is working fine!!
Thanks a lot!

[Tool][23 Sept 2015][Aroma][v1.2]:Mega Wipe:Super Wipe:Factory Reset:Simple Wipe

This is a tool originally developed by Zoot1 a developer on xda-developers.com.
All I have done, with his permission, is to modify it for the Samsung Galaxy Note 3.
I wish to thank him very much for allowing me to do this. You can visit his original development link at Zoot1 Wipe Scripts for Flashaholics.
USE THIS AT YOUR RISK. I AM NOT RESPONSIBLE FOR AN DAMAGE TO YOUR PHONE, ANY ARGUMENTS BETWEEN YOU AND YOUR SPOUSE, LOST BANK ACCOUNTS, NEW REVOLUTIONS OR ACTS OF GOD.
You MUST have the following installed in order to use this tool:
1. CWM or TWRP Recovery installed
2. Busybox installed
What the tool does:
1. Megawipe: Use this to completely format your phone. It will delete everything on your phone and will bring it to bare bones. After using it, install any ROM for a fresh experience without any conflicts with in the framework.It deletes the Data (except data/media), Cache, System and Preload partitions of your phone. So Beware!
2. SuperWipe: This is a simple factory reset and you can use it to move from one ROM to another without bothering about framework conflicts. It deletes the Dalvik Cache, Preload, System and Cache partitions of your phone. Does NOT delete your data files.
3. Factory Reset: Use it to do a Factory Reset, which wipes your Data partition (except data/media), Cache Partition and Dalvik Cache.
4. SimpleWipe: A simple wipe is as the name suggests. A Simple Cache and Dalvik cache wipe. You can use it to clear the said partitions before updating to a newer version of your ROM. Also, You can use it before you have to flash a new ROM.
Updated Sept. 23, 2015 - v1.2 for N900/N9005 - Note: I only have an N900.
Changes: Sept. 23, 2015
- modified wiping of data partition to skip data/media (your internal SDCard)
- expanded text for the different wipes to give more information about the wipe choices
- NOTE: the only difference between the 2 scripts is the partition numbers for the N900 and the N9005
Download Link:
so is it safe to wipe now? even with cwm? there was an issue with wipe which caused boot loop?! isnt it?
mR.fR34ky said:
so is it safe to wipe now? even with cwm? there was an issue with wipe which caused boot loop?! isnt it?
Click to expand...
Click to collapse
Haven't had any problems with CWM wipe.
mR.fR34ky said:
so is it safe to wipe now? even with cwm? there was an issue with wipe which caused boot loop?! isnt it?
Click to expand...
Click to collapse
the bootloops were cased by restroing nandroids.. AFAIK there were no issues with wipes...
gcrutchr said:
Haven't had any problems with CWM wipe.
Click to expand...
Click to collapse
so the mega wipe wipes interal sdcard as well? is there anyway to edit that so the script only wipes data/system/cache/dalvik, and leaves sdcard intact?
Khizar said:
the bootloops were cased by restroing nandroids.. AFAIK there were no issues with wipes...
so the mega wipe wipes interal sdcard as well? is there anyway to edit that so the script only wipes data/system/cache/dalvik, and leaves sdcard intact?
Click to expand...
Click to collapse
The MegaWipe DOES NOT wipe internal sdcard. Having looked at the original script, it never did.
gcrutchr said:
The MegaWipe DOES NOT wipe internal sdcard. Having looked at the original script, it never did.
Click to expand...
Click to collapse
Mega Wipe does not delete your internal partition? Because in Samsung Galaxy S 3 i remember this script "reformat" your preload internal partition! the word "reformat" i put it in quotes because i don`t know exactly how to say it in english! Anyway i must thank you for your hard work!
Nice. If I understand this correctly this is like the Darkside wipes (and now Infamous wipes) for GSII. I used those all the time on my phone. Easiest way to wipe without worry. Thanks. I was hoping for this for the Note 3.
does not work for my n9005
Theblack_jack said:
does not work for my n9005
Click to expand...
Click to collapse
Thanks for your feedback!
no problem
gcrutchr said:
The MegaWipe DOES NOT wipe internal sdcard. Having looked at the original script, it never did.
Click to expand...
Click to collapse
Did you test it on your Note 3 this tool that you port?
good question
the dev of this mod will not again zip for megawipe, such as the not working?
anyone?
Theblack_jack said:
anyone?
Click to expand...
Click to collapse
I will post a working update on Sunday.
ah yes! thank you
Theblack_jack said:
ah yes! thank you
Click to expand...
Click to collapse
Scripts should be working now. Updated, tested and used for a new ROM I installed.
well does not work on n9005
Theblack_jack said:
well does not work on n9005
Click to expand...
Click to collapse
Can you send the partition layout for the N9005 so I can check the partition numbers?
If you do not know what they are, there is a free partition layout app on the PlayStore you can install.
It is called Partition Table by Lakshman.
I need the following:
/data
/preload
/system
/cache
Also, what do you mean it is not working? what happens when you run it?
can you give me the name of the application? and when I flash the zip it's still about 10%
so if I have the full menu. superwipe, megawipe .... with cwm 6.0.4.4

Categories

Resources