Hi, modiffying software and testing different mod's i a plaeure, but this leaves some files here and there and in the future this may become a problem.
In the root folder of the phone I see folders like: acct, cache, config, d, data, dev, vendor...and also some files: default.prop, init, init.goldfish.rc... Are these files and folders permament or there is way to format everything and make clear install after that?
For example I had to add label to my ext partition to be able to use app2sd on CM7, so I changed something in "vendor" folder(following instructions offcourse). But now If I want to cange the rom and use another one I wont need tis label or it can even cause some problems.
What exactly dissapear when whiping everything from recovery and installing new rom and what stays?
Thanks.
Hey.
Boot into recovery. Do a full wipe, and you can format yr SD card.
That'll completely wipe everything.
Sent from my HTC Desire using XDA App
If you do a full wipe and flash a new rom only the sd is not affected. Some roms might not format the system partition but you can do that yourself, even tho i don't think it really matters.
If you wipe data/factory rest, cache and dalvik cache before flashing everything should be gone.
Sent from my HTC Desire using XDA App
Related
hey guys youve all been great and helful, thanks...was wondering what caulkins format all is, what it does and is it just rom specific. meaning konis elite 3 says to flash it first, if i wanted to flash a different rom say myns or something will the c. format all interfer? thanks again
justintammy said:
hey guys youve all been great and helful, thanks...was wondering what caulkins format all is, what it does and is it just rom specific. meaning konis elite 3 says to flash it first, if i wanted to flash a different rom say myns or something will the c. format all interfer? thanks again
Click to expand...
Click to collapse
It is a flash that write all data and cache it us good to flash when going between roms and if you are having force close issues. When using it erases all your data witch means all your apps aswell
Sent from my unrEVOked using xda app
roscoenr said:
It is a flash that write all data and cache it us good to flash when going between roms and if you are having force close issues. When using it erases all your data witch means all your apps aswell
Sent from my unrEVOked using xda app
Click to expand...
Click to collapse
Well said! Thought I'd add: Use it in conjunction with your usual wipes. It's meant as an extra piece of protection against problems NOT as a replacement to your usual wipes.
blakeboys said:
Well said! Thought I'd add: Use it in conjunction with your usual wipes. It's meant as an extra piece of protection against problems NOT as a replacement to your usual wipes.
Click to expand...
Click to collapse
Yeah meant to out that but spaces thanks
Sent from my unrEVOked using xda app
Couple of things to add to the folks above:
1) It won't work on ClockworkMod Recovery 3.0 since it's an Amend script (update-script). Amon_RA 2.3 and below, and ClockworkMod 2.x both support amend and edify (updater-script and update-binary), so it will work for them.
2) Isn't needed on ClockworkMod Recovery 3.0 or Amon_RA Recovery 2.3 since each have the options to wipe all your partitions (albeit you have to wipe each partition separately. I personally nagged Amon_RA to put in the wipe /boot and wipe /system options).
3) It wipes everything on the phone's internal storage except the WiMAX partition (which would be incredibly stupid since it would wipe out everyone's WiMAX radio and keys!). What it really does is format /system (your ROM and system apps), /cache (the kernel and ROM's cache), /data (your apps, settings, app data, etc.), and dalvik-cache (which is usually on /data or /cache, and is the cache for the Dalvik VM; the thing that runs apps).
4) Your SD card, .android_secure (on the SD card, this is where apps that have been moved to the card via the Applications settings in Froyo or Gingerbread), and sd-ext (old style of moving apps and cache to the SD card WHICH SHOULD NEVER BE USED ANYMORE) partitions are left alone. THEY WILL NOT BE WIPED. So if you have any apps on your SD card (for example, all the Angry Birds games install to SD by default), you will have to wipe them manually.
thank you guys!
If you open up the zip and look at the update-script file, the following commands are listed in it
Code:
show_progress 0.1 0
format BOOT:
format CACHE:
format DATA:
format SYSTEM:
show_progress 0.1 10
To anyone with half a functioning brain cell, it should be obvious what each line does.
Post #5 says it well. The only thing I'd add is there really is little reason to do both wipe and this (esp with ra recovery 2.3). If you do the factory wipe option (first on the wipe menu), that will clear both the cache and data partitions. And since the data partition is already formatted, doing an addition wipe dalvik cache is really not necessary.
To the OP: Please use a more descriptive subject in the future. Almost passed this thread over because of it.
I understand about wipe the dalvich cache, cache, and user data.* I see it is recommended that you format the system data and sd card and this is where I am confused.
I am on a custom rom and the next time I change roms I want to make sure I do it properly.* Before I flashed my latest JB rom I did a complete factory restore to 4.0.4 and then unlocked/rooted using one of the all in one programs. (wanted a clean install of all apps/data)* I then loaded rom manger downloaded my rom, went to recovery, wiped the cache, dalvich, and user data and while still in recovery I installed the downloaded rom no problem and everything is running fine.
My questions.
When they say back up your SD card is that what I see when I plug the phone into my computer? And this is the safe part of the system if all goes well during rom changing.
When told to format system and sd card here is what I see for my options:
Mount/sdcard
Mount/system
Unmount/cache
Unmount/data
Format/sdcard
Format/system
Format/cache
Format/data*
What do I actually need to do in this section and what order do I do it in?* Before or after the cache/dalvich/userdata?
And my main question is, if I use Rom Manger and download a rom, then reboot into recovery, then wipe the cache, dalvich, user data, and then do the format part above, will I lose the downloaded rom or is that part of the system untouched?
Unnecessary steps are unnecessary.
Rom install will format/wipe system for you and new dalvik cache will be generated automatically.
Going to a whole new rom, just do factory reset/wipe data from main screen in cwm. Then install rom.
Cache will be wiped with factory reset within cwm.
And yes when they say back up your sdcard, it means the files you see when you plug it into your computer.
Sent from my Nexus 7 using Tapatalk 2
Thanks for helping me understand more clearly. I guess i did do everything correct my last install.
korsjs said:
Thanks for helping me understand more clearly. I guess i did do everything correct my last install.
Click to expand...
Click to collapse
Sounds like you did it fine.
General rule of thumb is that there is no need to nuke and start fresh unless you are having some major issues with your rom
Sent from my Nexus 7 using Tapatalk 2
Damn ... Every custom ROM I install are coming with some of Sony's app as Timescape, PlayNow, Xperia Gallery, Let's Golf and other useless. That's right, or is something wrong here? I'm giving Full Wipe and Kernel already switched several times ...
I tried to remove them by Root explorer and SystemApp Remover, but in both I can not find the apk's ...
thanks
Up
Help me! =(
In CWM go to "mounts and storage", "format /system", "yes"
after that flash the custom rom again
And if I tell you I've done this and the app's persist? = (
Before installing at least the last 5 Rom's, I did Full Wipe, Wipe Dalvik Cache, Cahe Partition, Format and Data System and some other I can't remember now ...
Just not formatted the SD Card, but I think this has nothing to do, right? Or does it?
.
Thanks for the reply
KelvinEAM said:
And if I tell you I've done this and the app's persist? = (
Before installing at least the last 5 Rom's, I did Full Wipe, Wipe Dalvik Cache, Cahe Partition, Format and Data System and some other I can't remember now ...
Just not formatted the SD Card, but I think this has nothing to do, right? Or does it?
.
Thanks for the reply
Click to expand...
Click to collapse
First try deleting ".android_secure" folder in SDcard... if it doesnt work you can try deleting "SDcard/Android/data" folder but you will lose all your apps/games data too
Have you looked in data or vendor folder.
These should still be deleted if you do a full wipe.
Sent from my LT18i using xda premium
hey, guys!
many thanks! After format .android_secure and vendor files, the Sony Apps disappeared. =)
Since there is no sd card, when you flash a ROM and have to wipe data, do you lose all the stuff like music, pictures, and ringtones? If so, what do you guys use to make this not a pain. I can't imagine recompliling all the folders from what you have backed up on your computer is the best way. I have titanium backup, but isnt that really just for restoring your apps and contacts, not so much for things like music and ringtones etc.?
Also, does the CWM backup/recovery work with this phone? I come from a droid charge and the restore never really worked on that phone.
its been answered a ton of times
your data in /sdcard/ (also known as /data/media/ ) is left alone when you wipe data/cache in cwm/twrp
restore works fine.
Your virtual SD card isn't wiped, so your photos and music are preserved. If you want a little extra assurance though, just back it all up to a Dropbox account. That way you always have access to it if something does go wrong during a wipe.
Sent from my Galaxy Nexus using xda premium
What he says!
I have clockwork mod touch installed. For a fresh clean install, I wipe data/factory reset, wipe cache and then install the zip from sdcard (the new ROM is itself stored on the sdcard).
Zepius said:
its been answered a ton of times
your data in /sdcard/ (also known as /data/media/ ) is left alone when you wipe data/cache in cwm/twrp
restore works fine.
Click to expand...
Click to collapse
DZYR said:
What he says!
I have clockwork mod touch installed. For a fresh clean install, I wipe data/factory reset, wipe cache and then install the zip from sdcard (the new ROM is itself stored on the sdcard).
Click to expand...
Click to collapse
In the sd card, the images, ringtones, data files will remain untouched also with a full wipe.
DZYR said:
What he says!
I have clockwork mod touch installed. For a fresh clean install, I wipe data/factory reset, wipe cache and then install the zip from sdcard (the new ROM is itself stored on the sdcard).
Click to expand...
Click to collapse
Be aware that wiping data/factory reset also wipes cache. And the need to wipe caches when flashing roms is a myth. They're hash signed by the rom at flash, different roms have different signatures, thus android will always be forced to rebuild them after a new rom has been flashed.
Sent from my i9250
Hello all,
Sorry for this semi-noob question. I have had many android phones and rooted all of them but this is my first Nexus device. I've unlocked my bootloader and have TWRP installed and I'm ready to install a ROM. Unfortunately I am unsure of how I can do a full wipe without wiping my internal storage too.
On every other phone I have had, I would go to advanced wipe and then wipe system, data, cache and dalvik cache but I just did that and it wiped my internal storage :/
I had to flash the stock system image through ADB because ADB sideload wasn't working. Now I'm afraid to wipe system again before trying again because I feel like it will wipe my internal storage again. How can I wipe system properly before installing a new ROM?
Thanks!
Now the interesting question here is: What is internal storage?
You seem to think it is the entire emmc, including your system, cache and data partitions but that is not how that term is used.
As far as I have been able to figure this out "Internal Storage" in Android refers to the entire /data partition which in itself again is divided into a user accessible part where your photos, videos, files are stored ( /data/media and mounted as /sdcard/0 ) and the rest of the /data partition which is used for apps you install and their data. That part is not accessible to the user unless you have root.
Now, for 99% of all wipe operations all you need to do when installing a new rom is to wipe the data partition of all user installed apps and their data, dalvik and cache - also called a 'clean install'.
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
TWRP made this very easy: Enter the Wipe menu and swipe the button. Default is to wipe /data (without wiping /data/media), cache and Dalvik. Flash the rom - done.
berndblb said:
Now the interesting question here is: What is internal storage?
You seem to think it is the entire emmc, including your system, cache and data partitions but that is not how that term is used.
As far as I have been able to figure this out "Internal Storage" in Android refers to the entire /data partition which in itself again is divided into a user accessible part where your photos, videos, files are stored ( /data/media and mounted as /sdcard/0 ) and the rest of the /data partition which is used for apps you install and their data. That part is not accessible to the user unless you have root.
Now, for 99% of all wipe operations all you need to do when installing a new rom is to wipe the data partition of all user installed apps and their data, dalvik and cache - also called a 'clean install'.
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
TWRP made this very easy: Enter the Wipe menu and swipe the button. Default is to wipe /data (without wiping /data/media), cache and Dalvik. Flash the rom - done.
Click to expand...
Click to collapse
"Internal Storage" as I used the term refers to just the user accessible part of the data partition where (as you said) photos, files, etc are stored. On previous versions of TWRP for phones I have had, you could wipe system, date, cache, etc and it would always leave internal storage intact. Ergo, after wiping, you could navigate to your downloads folder and find the ROM you wanted to flash. The issue I had was that I wiped "system" using TWRP and it wiped my "internal storage", meaning my downloads and photos and everything - leaving me with no ROM to flash.
You answered my question perfectly toward the end with this
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
Click to expand...
Click to collapse
I come from a series of phones where this was not standard behavior for ROM installers, so failing to wipe system would lead to a dirty flash and almost assuredly cause issues. Thanks for the input, I will just do a data wipe from now on.
You shouldn't count on roms wiping system automatically.
A well established rom like pure Nexus for instance does not wipe system at flashing, leaving it up to the user to clean or dirty flash.
Always read and follow the installation instructions that come with the rom and you should have little problems. If there aren't any instructions, stay away from the rom is my advice, especially of you are a new user.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
peltus said:
You shouldn't count on roms wiping system automatically.
A well established rom like pure Nexus for instance does not wipe system at flashing, leaving it up to the user to clean or dirty flash.
Always read and follow the installation instructions that come with the rom and you should have little problems. If there aren't any instructions, stay away from the rom is my advice, especially of you are a new user.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
Click to expand...
Click to collapse
Thanks, I'm not a new user by any stretch, just new to the Nexus 5x.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
Click to expand...
Click to collapse
This is exactly what I did when it wiped the ROM file (and all photos/sms backups) from my internal storage. That's how I have always wiped before flashing a new ROM in TWRP and this is the first time it ever wiped my internal storage, hence my question. I think I'll just stick to ROM installers that perform a system wipe. I plan on running the odex stock based ROM I just installed for a while anyway.
The_mamba said:
Thanks, I'm not a new user by any stretch, just new to the Nexus 5x.
This is exactly what I did when it wiped the ROM file (and all photos/sms backups) from my internal storage. That's how I have always wiped before flashing a new ROM in TWRP and this is the first time it ever wiped my internal storage, hence my question. I think I'll just stick to ROM installers that perform a system wipe. I plan on running the odex stock based ROM I just installed for a while anyway.
Click to expand...
Click to collapse
Sorry for assuming you're a newby. Last time i wiped that way in twrp (June 2016) it left my SD card alone. Maybe you checked the wrong box?
peltus said:
Sorry for assuming you're a newby. Last time i wiped that way in twrp (June 2016) it left my SD card alone. Maybe you checked the wrong box?
Click to expand...
Click to collapse
No worries, I appreciate the help either way. I suppose it's possible I checked the wrong box but I am very diligent about that because I have REALLY screwed myself over with that in the past. I accidentally wiped internal storage once or twice on my HTC One and had to RUU back to stock, losing everything including root. Luckily recovery is quicker and easier on the 5x (and the phone is brand new so it had no pictures on it).
I'm afraid to try it again even with a nandroid since the recovery files or stored on internal storage so wiping that would leave me SOL too. Like I said, I'll probably just ride on this ROM until the Nougat or so and then make a full cloud backup before trying a full wipe again.
Wiping system did not erase your files. /system is read only, so you nor your apps can store anything there.
I respectfully disagree with @peltus. In those parts of XDA where I "grew up" a dirty flash is a rom flash without wiping data. And I would be grateful for a link to a rom where the installation script does not involve formatting or wiping /system.
I could be wrong but I believe TWRP's wipe of data is without data/media.
Internal Storage wipes the entire data partition.
One if these days with more time I'll give it a try
Sent from my Nexus 5X using Tapatalk
BONUS: What is a data/media device?
https://twrp.me/faq/datamedia.html
The relevant part:
Since /data/media is part of /data, we pretty much never actually format the data partition. Formatting data, of course, also removes the media folder that contains the internal sdcard. When you choose a factory reset [or wipe data], instead of formatting, we use rm -rf commands to remove all the folders except for the media folder so that we can remove all of your apps and settings while leaving your "sdcard" intact. In TWRP we also have a wipe internal storage option that rm -rf's the media folder and a "Format Data" option that formats to recreate the entire file system in case something goes completely wrong or to remove device encryption.
Click to expand...
Click to collapse
[ ] - added by me.