Does factory reset in twrp delete the backups? - General Questions and Answers

So I'm on twrp recovery (rooted Oneplus 3T) and i do a lot of moding which often results in bootloops, so I resort to my backups made in twrp. I was wondering if I'm doing a clean flash of a new rom and it fails, do i still have the backups?

Factory reset wipes only Data , Cache , and Dalvik.
If you select Advanced Wipe and then wipe the Internal Storage or select the option Format Data from the Wipe menu then you will lose your backups (and all your personal data too ) as they are located in Internal Storage/TWRP/Backups.

kenny3fcb said:
Factory reset wipes only Data , Cache , and Dalvik.
If you select Advanced Wipe and then wipe the Internal Storage or select the option Format Data from the Wipe menu then you will lose your backups (and all your personal data too ) as they are located in Internal Storage/TWRP/Backups.
Click to expand...
Click to collapse
What if you selected Factory Reset from Android Settings? Does that delete the TWRP directory (folder) and its contents as well (which contains the Nandroid backups)?

Cifer17 said:
So I'm on twrp recovery (rooted Oneplus 3T) and i do a lot of moding which often results in bootloops, so I resort to my backups made in twrp. I was wondering if I'm doing a clean flash of a new rom and it fails, do i still have the backups?
Click to expand...
Click to collapse
Save your data in laptop and boot your phone

zetret said:
What if you selected Factory Reset from Android Settings? Does that delete the TWRP directory (folder) and its contents as well (which contains the Nandroid backups)?
Click to expand...
Click to collapse
Yes, if your TWRP backups are stored in internal sdcard, factory reset from settings will wipe the internal sdcard and remove your TWRP folder and the backups contained in that folder.
BUT...
If your backups are stored on external sdcard, they will not be wiped by factory reset from settings, they also would not be wiped by factory reset from TWRP.
Sent from my LGL84VL using Tapatalk

Droidriven said:
Yes, if your TWRP backups are stored in internal sdcard, factory reset from settings will wipe the internal sdcard and remove your TWRP folder and the backups contained in that folder.
BUT...
If your backups are stored on external sdcard, they will not be wiped by factory reset from settings, they also would not be wiped by factory reset from TWRP.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Yeah... If you don't have SDcard, make sure your NAndroid backups or ROMs are backed up on your PC or external hard drive. Otherwise you cannot install/flash your new ROM which includes the android system.

DryreL said:
Yeah... If you don't have SDcard, make sure your NAndroid backups or ROMs are backed up on your PC or external hard drive. Otherwise you cannot install/flash your new ROM which includes the android system.
Click to expand...
Click to collapse
I know that, you probably meant to quote the person I responded to.

DryreL said:
Yeah... If you don't have SDcard, make sure your NAndroid backups or ROMs are backed up on your PC or external hard drive. Otherwise you cannot install/flash your new ROM which includes the android system.
Click to expand...
Click to collapse
Or, you could just factory reset in TWRP, factory reset from within TWRP does not wipe data/media, otherwise known as user storage partition where the TWRP folder is stored, therefore, any TWRP backups stored in the TWRP folder in your internal sdcard will not be wiped by the factory reset process from within TWRP.
However, factory reset in TWRP does wipe data/data partition, where user settings and user installed apps are stored. If your ROMs are also stored in the data/media(user storage partition), they will not be wiped by the factory reset process from within TWRP either.

Edit

Related

Does wiping data/factory reset erase nandroid backups?

If I have a backup on the internal sd card, when wipe data before flashing a rom, will that delete my nandroid backups? Don't know if I should backup my roms to internal storage or external.
Wipe data won't delete your nandroids on the internal but Odin a stock ROM and you will loose them... all of them.
I now backup on a weekly basis and transfer what need to extSD when I'm thinking of doing something potentially dumb.
Farabomb said:
Wipe data won't delete your nandroids on the internal but Odin a stock ROM and you will loose them... all of them.
I now backup on a weekly basis and transfer what need to extSD when I'm thinking of doing something potentially dumb.
Click to expand...
Click to collapse
okay cool thanks. Just wanted to make sure it doesn't delete after wiping data.
Farabomb said:
I now backup on a weekly basis and transfer what need to extSD when I'm thinking of doing something potentially dumb.
Click to expand...
Click to collapse
LOL at "potentially dumb".
Couldn't have put it any better myself. I use the same procedure, I make a weekly nandroid to the internal storage & then copy the backups to both my 64gig card & also to my PC occasionally.
I can't make a nandroid directly to my 64 gig card as I won't format it to FAT32 because of some of the restrictions of FAT32.
tu3218 said:
If I have a backup on the internal sd card, when wipe data before flashing a rom, will that delete my nandroid backups? Don't know if I should backup my roms to internal storage or external.
Click to expand...
Click to collapse
No put them where ever you want.
Farabomb said:
Wipe data won't delete your nandroids on the internal but Odin a stock ROM and you will loose them... all of them.
I now backup on a weekly basis and transfer what need to extSD when I'm thinking of doing something potentially dumb.
Click to expand...
Click to collapse
Not true...IF you wipe data/factory reset from stock recovery, it reformats the whole internal sd card(everything is wiped). Now if you wipe data from cwm recovery, then no nandroids are not deleted. Also odin does not wipe internal sd either...again you have to boot into stock recovery and wipe data/factory reset to reformat internal sd. I still always back my nandroids up to external sd, just incase my internal ever corrupts, I wont lose them!
droidstyle said:
Not true...IF you wipe data/factory reset from stock recovery, it reformats the whole internal sd card(everything is wiped). Now if you wipe data from cwm recovery, then no nandroids are not deleted. Also odin does not wipe internal sd either...again you have to boot into stock recovery and wipe data/factory reset to reformat internal sd. I still always back my nandroids up to external sd, just incase my internal ever corrupts, I wont lose them!
Click to expand...
Click to collapse
Ahh yeah, that makes sense. That's how it was on my nexus with being just internal storage and nandroids never were deleted. Thanks for the clarification.
droidstyle said:
Not true...IF you wipe data/factory reset from stock recovery, it reformats the whole internal sd card(everything is wiped). Now if you wipe data from cwm recovery, then no nandroids are not deleted. Also odin does not wipe internal sd either...again you have to boot into stock recovery and wipe data/factory reset to reformat internal sd. I still always back my nandroids up to external sd, just incase my internal ever corrupts, I wont lose them!
Click to expand...
Click to collapse
There's something in Odin that wipes it because when I used it to go back to stock it wiped mine...
Either way though, backup your nandroids to your ext card... saves you all the hassle lol
Does not erase backups unless they are stored internally by default
Sent from my SCH-I535 using xda app-developers app
I can see the stock recovery wiping it but since the OP used the term nandroid I assumed CWM. Good to know the stock wipes it clean if there is ever a time I have to send it back.
I had an issue back before we were unlocked and when I ODINed back to stock all the internal SD was wiped. Wasn't too pleased but my fault for not backing up.
Sidenote about backing up. I tend to backup the entire internal and external SD every Sunday. The app I use for backup doesn't see the S3 as a media device so I can't use it to make incremental backups. Is there any program that would do that? I use karens replicator for backup btw. That's the one that doesn't work.
I need to clear it - I made "wipe data/factory reset" in stock ICS recovery menu - is it going to cause deleting ROM (and reboot will make brick) OR just wil get it back to clean factory ROM?
I found few threads here about "wipe data"-thing, but it seems to me, that every version of Android / custom ROM / recovery type could behave different.
My device is Thinkpad Lenovo tablet (rooted) with Android 4.0.3..my apology by writing in here, but I'm a newbie on this forum and that's why I can't write in some threads, including more relevant ones.
Bumerank said:
I need to clear it - I made "wipe data/factory reset" in stock ICS recovery menu - is it going to cause deleting ROM (and reboot will make brick) OR just wil get it back to clean factory ROM?
I found few threads here about "wipe data"-thing, but it seems to me, that every version of Android / custom ROM / recovery type could behave different.
My device is Thinkpad Lenovo tablet (rooted) with Android 4.0.3..my apology by writing in here, but I'm a newbie on this forum and that's why I can't write in some threads, including more relevant ones.
Click to expand...
Click to collapse
Well, in the recovery for our device that would just wipe the data and not the ROM. I use TWRP
Sent from my SCH-I535 using xda app-developers app

Clean start?

Ok, how do i completely wipe everything off of my AT&T 1.14 HOX, except for TWRP so that I can install a new rom.
RC196 said:
Ok, how do i completely wipe everything off of my AT&T 1.14 HOX, except for TWRP so that I can install a new rom.
Click to expand...
Click to collapse
I assume you already have twrp installed if so boot into fast boot flash the boot. IMG of rom you desire them boot into recovery wipe system factory reset than flash ROM and enjoy
tactical kitten said:
I assume you already have twrp installed if so boot into fast boot flash the boot. IMG of rom you desire them boot into recovery wipe system factory reset than flash ROM and enjoy
Click to expand...
Click to collapse
Can I delete everything leaving the TWRP folder and a copy of my rom?
RC196 said:
Can I delete everything leaving the TWRP folder and a copy of my rom?
Click to expand...
Click to collapse
Are you talking about the internal SD? If you use Titanium Backup, then obviously you should not delete that folder, as that is where the backup files are located. Aside from that, if you don't want to keep any past data from apps, pics etc, then yes you can delete the internal SD contents (aside from the ROM and TWRP nandroid). There may be some other exceptions (particularly for other backup software that you may be using). But in general, the folders on the internal SD are disposable (if flashing a new ROM). When you install a new app after flashing, if the new app needs a folder on the SD, it will just be created automatically.
Aside from the internal SD, before flashing a new ROM do a factory reset (in TWRP not within hboot) and wipe Dalvik and cache. Nothing else really "needs" to be wiped. System partition (where the ROM is stored) will get wiped when the ROM flashes.
I like to format my SD every Sunday to keep this beast on a diet. Then I flash a Rom, inject it with steroids via a custom kernel, and watch it poop all over the s3's I work with
Sent from my HTC One XL using Tapatalk 2
redpoint73 said:
Are you talking about the internal SD? If you use Titanium Backup, then obviously you should not delete that folder, as that is where the backup files are located. Aside from that, if you don't want to keep any past data from apps, pics etc, then yes you can delete the internal SD contents (aside from the ROM and TWRP nandroid). There may be some other exceptions (particularly for other backup software that you may be using). But in general, the folders on the internal SD are disposable (if flashing a new ROM). When you install a new app after flashing, if the new app needs a folder on the SD, it will just be created automatically.
Aside from the internal SD, before flashing a new ROM do a factory reset (in TWRP not within hboot) and wipe Dalvik and cache. Nothing else really "needs" to be wiped. System partition (where the ROM is stored) will get wiped when the ROM flashes.
Click to expand...
Click to collapse
Yes that's exactly what I want. To wipe out with a fresh start. No apps, no files.
Sent from my HTC One XL using xda premium
then do it buddy!!!
So when you say internal are you talking about the SD or everything?
Sent from my HTC One XL using xda premium
RC196 said:
So when you say internal are you talking about the SD or everything?
Click to expand...
Click to collapse
If you want to wipe the SD card (then flash a ROM), the best way is probably to:
Connect phone to your computer, and copy your TWRP folder (nandroid) to your computer, along with any other backup data, such as Titanium Backup. Then wipe the SD in TWRP.
Mount USB to your computer again, and move the TWRP folder, new ROM zip file, and other backups (like Titanium).
Then in TWRP, factory reset, wipe cache, Wipe Dalvik, then install the ROM.
There is no reason to wipe system, as this gets wiped when your flash the ROM. Some people like to do it "just to be sure". But IMO it serves no purpose. Also keep in mind the second you wipe system, the phone will no longer boot, since you just wiped the OS. People seem to forget that a lot and ask "I wiped system, why won't my phone boot now?"
redpoint73 said:
If you want to wipe the SD card (then flash a ROM), the best way is probably to:
Connect phone to your computer, and copy your TWRP folder (nandroid) to your computer, along with any other backup data, such as Titanium Backup. Then wipe the SD in TWRP.
Mount USB to your computer again, and move the TWRP folder, new ROM zip file, and other backups (like Titanium).
Then in TWRP, factory reset, wipe cache, Wipe Dalvik, then install the ROM.
There is no reason to wipe system, as this gets wiped when your flash the ROM. Some people like to do it "just to be sure". But IMO it serves no purpose. Also keep in mind the second you wipe system, the phone will no longer boot, since you just wiped the OS. People seem to forget that a lot and ask "I wiped system, why won't my phone boot now?"
Click to expand...
Click to collapse
Is it normal for TWRP to be 2.58GB?
No its not
Sent from my GT-I9300 using Xparent ICS Tapatalk 2
Are you talking about the TWRP folder? Your NANDROID backups are in there if you took any. That might explain why it's large.
Valohtar said:
Are you talking about the TWRP folder? Your NANDROID backups are in there if you took any. That might explain why it's large.
Click to expand...
Click to collapse
Yes that was it. I just copied my backup to my pc. Freed up a lot of space on phone storage but in app storage it shows 4.23gb and under other it shows 3.85gb. Not sure what that is all about?
*GalaxyFanatic* said:
No its not
Click to expand...
Click to collapse
Yes, its somewhat normal. It depend on the size of the ROM that is currently on the phone, and the other data (apps, etc.). But its not unusual for a nandroid to be a GB or so, so if you have 2 nandroids on the SD = 2.5 GB.
redpoint73 said:
Yes, its somewhat normal. It depend on the size of the ROM that is currently on the phone, and the other data (apps, etc.). But its not unusual for a nandroid to be a GB or so, so if you have 2 nandroids on the SD = 2.5 GB.
Click to expand...
Click to collapse
Thanks for the help
Sent from my HTC One XL using xda premium

Xperia XA F3111 and TWRP 3.0.2 by Jemmini doesn't save settings

I don't know why but TWRP can't save settings after I have changed it. Every reboot to TWRP results in language, time, options as it was before. Any help appreciated.
regards,
Because internal storage is encrypted. Sony don't see internal storage and can't save settings (default they located in /storage/TWRP
ShevNR said:
Because internal storage is encrypted. Sony don't see internal storage and can't save settings (default they located in /storage/TWRP
Click to expand...
Click to collapse
Hi, so is it a way to decrypt it so I could save new settings ?
regards,
Andrzej_Andrzej said:
Hi, so is it a way to decrypt it so I could save new settings ?
regards,
Click to expand...
Click to collapse
You have to wipe /data partition with TWRP to remove encryption, make backups before.
rrvuhpg said:
You have to wipe /data partition with TWRP to remove encryption, make backups before.
Click to expand...
Click to collapse
Thank you, actually I never wiped it. I flashed stock rom, boot.img, recovery.img, SuperSu, but I never wiped all phone.
regards,
rrvuhpg said:
You have to wipe /data partition with TWRP to remove encryption, make backups before.
Click to expand...
Click to collapse
So when I wipe data partion and it will become decrypted and visible for system - I will be able to save TWRP settings, then can I restore my data partion from backup so I have my data and apps back ?
Andrzej_Andrzej said:
So when I wipe data partion and it will become decrypted and visible for system - I will be able to save TWRP settings, then can I restore my data partion from backup so I have my data and apps back ?
Click to expand...
Click to collapse
Yes you will be able to make nandroid backups and restore and have access to the directories from TWRP, it will save your settings too.
rrvuhpg said:
Yes you will be able to make nandroid backups and restore and have access to the directories from TWRP, it will save your settings too.
Click to expand...
Click to collapse
Hi I did nandroid backup from TWRP and saved it. I wiped data partition and restarted the phone.
It looks like factory reset. I went to TWRP to restore data partition but it still boots to fresh system and looks like is not restoring data. It says in TWRP that data partition restored succesfully. So what is going on ?

What files can I delete in the root "/" directory?

If I'm going to install a new os via twrp recovery with full wipes.
In other words
What files can't i delete?
Thank you so much
Just make a factory reset in TWRP and you're good to go. No need to go through files and folders with a file manager.
zerolam said:
If I'm going to install a new os via twrp recovery with full wipes.
In other words
What files can't i delete?
Thank you so much
Click to expand...
Click to collapse
Don't delete anything in root ("/") partition, before or after flashing.
Make a nandroid backup of your current ROM before you do the following.
If you want a completely clean install of the new OS then you need to choose the Wipe option in TWRP, then choose the advanced wipe option, then select the data partition, system partition, cache partition and dalvik/ART cache, then swipe the slider to wipe these partitions, then you're ready to flash the new ROM.
Sent from my SM-S903VL using Tapatalk

Help on deleting residual files(?)

Hi, I am new to installing custom rom and just completed installing one. I have wiped the cache, system, data using twrp after flashing the ROM. After installation, I did a factory reset as well. I have noticed that there are residual files (files from previous rom, downloaded files, rom and firmware files). How do i go about cleaning them up? I assumed that all of it would be deleted after wiping and factory reset
sideger said:
Hi, I am new to installing custom rom and just completed installing one. I have wiped the cache, system, data using twrp after flashing the ROM. After installation, I did a factory reset as well. I have noticed that there are residual files (files from previous rom, downloaded files, rom and firmware files). How do i go about cleaning them up? I assumed that all of it would be deleted after wiping and factory reset
Click to expand...
Click to collapse
Factory rest in TWRP does not wipe /data/media, /data/media is where your various internal storage(user space) folders are located, folders such as download, Bluetooth, DCIM, etc..
You can delete from /data/media manually or you can boot into TWRP, then choose "Wipe", then choose "advanced wipe", Then choose to wipe internal storage, that will wipe your internal files.
Sent from my LGL84VL using Tapatalk
Droidriven said:
Factory rest in TWRP does not wipe /data/media, /data/media is where your various internal storage(user space) folders are located, folders such as download, Bluetooth, DCIM, etc..
You can delete from /data/media manually or you can boot into TWRP, then choose "Wipe", then choose "advanced wipe", Then choose to wipe internal storage, that will wipe your internal files.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Oh that explains it. Thanks! I did a factory reset from the rom and it worked. I thought the twrp factory reset did the same
sideger said:
Oh that explains it. Thanks! I did a factory reset from the rom and it worked. I thought the twrp factory reset did the same
Click to expand...
Click to collapse
Be careful using the factory reset located in the device settings, using that method of factory reset has been none to frequently brick devices that are rooted, its very risky.
The best option is to use the advanced wipe in TWRP then select the cache, dalvik cache, data, system and internal storage partitions to be wiped. TWRP is the absolute best tool to use on rooted devices for everything you can think of, it is specifically designed to work with rooted devices without doing anything that the user has not specifically told it to do. In other words, as long as you understand how to correctly use the tool, there should never be an "uh-oh" moment unless you make a user error. Many features built into ROMs can be risky if the device is rooted, using built in features to flash or wipe is risky, TWRP and/or adb are better suited for the job and with much less risk involved.
Sent from my LGL84VL using Tapatalk
Droidriven said:
Be careful using the factory reset located in the device settings, using that method of factory reset has been none to frequently brick devices that are rooted, its very risky.
The best option is to use the advanced wipe in TWRP then select the cache, dalvik cache, data, system and internal storage partitions to be wiped. TWRP is the absolute best tool to use on rooted devices for everything you can think of, it is specifically designed to work with rooted devices without doing anything that the user has not specifically told it to do. In other words, as long as you understand how to correctly use the tool, there should never be an "uh-oh" moment unless you make a user error. Many features built into ROMs can be risky if the device is rooted, using built in features to flash or wipe is risky, TWRP and/or adb are better suited for the job and with much less risk involved.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Thanks I will definitely keep this in mind! I guess I got lucky that I did not end up with a bricked device. Thanks for the heads up!

Categories

Resources