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
Related
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
When ever I change roms it deletes all backups, and even deletes clockwork mod recovery. I have no idea what is going on. This didn't happen on my gnex. I have a 2 gig memory card in it. How can I put all backups and recovery on the card? It deletes the rom folder I create to put all the roms in. I have to create the folder every time I change roms. This is anoying as hell. Please help. Thanks
wily5150 said:
When ever I change roms it deletes all backups, and even deletes clockwork mod recovery. I have no idea what is going on. This didn't happen on my gnex. I have a 2 gig memory card in it. How can I put all backups and recovery on the card? It deletes the rom folder I create to put all the roms in. I have to create the folder every time I change roms. This is anoying as hell. Please help. Thanks
Click to expand...
Click to collapse
I think your doing something wrong because it shouldn't do that, what ROM hase it done that in? And what at our steps to flashing? As to backups on your sd car when you go to backup there an option to back up to external so card.
Sent from my SCH-I535 using xda app-developers app
Edit nm, I misread.
Sent from my SCH-I535 using xda app-developers app
I was running jellywiz, and I flashed the executioner. I had to reinstall cwm. And I had to create the roms folder again, the folder where I keep my downloaded roms. As for flashing roms, I do a factory reset, wipe davlik, and cache. It's kind of annoying having to recreate everything. Thanks
wily5150 said:
When ever I change roms it deletes all backups, and even deletes clockwork mod recovery. I have no idea what is going on. This didn't happen on my gnex. I have a 2 gig memory card in it. How can I put all backups and recovery on the card? It deletes the rom folder I create to put all the roms in. I have to create the folder every time I change roms. This is anoying as hell. Please help. Thanks
Click to expand...
Click to collapse
Did you flash a 4.2 ROM??? It does that if you don't use an updated recovery.
You are definitely doing something wrong because that is not expected behavior.
A 2GB SD card is ridiculously undersized for backups. A single nandroid or TiBu would likely take all of that space if it even fit. Perhaps it's failing to backup to the external card and defaulting back to internal memory?
sd card size
bobloblaw1 said:
You are definitely doing something wrong because that is not expected behavior.
A 2GB SD card is ridiculously undersized for backups. A single nandroid or TiBu would likely take all of that space if it even fit. Perhaps it's failing to backup to the external card and defaulting back to internal memory?
Click to expand...
Click to collapse
I would recommend at least a 16G sdcard. You need that much to stores backups, stock boot rom, custom rom, and you data files to restore. Things like contacts, calendar, etc should always be backed up before you install custom ROM.
CWM is a good boot loader to use as it provides many options and also use something like Titanium backup as your backup manager.
If you do a data reset from the updated recovery will it delete the directory on the internal SDCard where the backup of the stock ROM is?
EFighter said:
If you do a data reset from the updated recovery will it delete the directory on the internal SDCard where the backup of the stock ROM is?
Click to expand...
Click to collapse
yes it does
EFighter said:
If you do a data reset from the updated recovery will it delete the directory on the internal SDCard where the backup of the stock ROM is?
Click to expand...
Click to collapse
What recovery are you talking about? If it's cwm touch no it doesn't! I factory reset every time I flash a new ROM (and I'll flash a couple a day sometimes) the only way you'll delete those in recovery is if you manually delete a backup or if you go under the mounts and storage menu and format internal SD card.
Sent from my SCH-I535 using xda app-developers app
kintwofan said:
What recovery are you talking about? If it's cwm touch no it doesn't! I factory reset every time I flash a new ROM (and I'll flash a couple a day sometimes) the only way you'll delete those in recovery is if you manually delete a backup or if you go under the mounts and storage menu and format internal SD card.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
So I am talking about the clockworkmod stock rom backup. When I backup it puts the backup in the following location which I will call LocA:
/mnt/sdcard/clockworkmod/backup/
This is not my SD card tho. My external SDCard is located at which I will call LocB:
/mnt/extSdCard/
But I also have which I will call LocC:
/sdcard/
I when I go to look at the ‘Phone’ while connected to USB I can see LocA and see the backups, when I use the app SDCard Manager I can go to LocC and I can see that they mirror each other. Why is my stuff duplicated? It is wasting space?
Also when I boot into CWM recovery the menu that says load from SD card actually points to LocA. My fear is that since LocA is really internal memory that a factory reset will delete this and since CWM recovery cant see LocB that I will be locked out. In other words cant load the backup of the mod or the new downloaded CM10.
EFighter said:
So I am talking about the clockworkmod stock rom backup. When I backup it puts the backup in the following location which I will call LocA:
/mnt/sdcard/clockworkmod/backup/
This is not my SD card tho. My external SDCard is located at which I will call LocB:
/mnt/extSdCard/
But I also have which I will call LocC:
/sdcard/
I when I go to look at the ‘Phone’ while connected to USB I can see LocA and see the backups, when I use the app SDCard Manager I can go to LocC and I can see that they mirror each other. Why is my stuff duplicated? It is wasting space?
Also when I boot into CWM recovery the menu that says load from SD card actually points to LocA. My fear is that since LocA is really internal memory that a factory reset will delete this and since CWM recovery cant see LocB that I will be locked out. In other words cant load the backup of the mod or the new downloaded CM10.
Click to expand...
Click to collapse
Okay gotcha, a factory reset does not delete your internal memory. What it deletes is your user apps, settings, etc. That is the same place mine is backed up to and like I said I factory reset every flash. However, if you're really worried about under the backup option in cwm select backup to external SD card.
As for the sd card 0 and SD card. I don't believe there are really two files of everything. I believe it's more just naming for the android system, but maybe someone else can confirm this for me
Sent from my SCH-I535 using xda app-developers app
kintwofan said:
Okay gotcha, a factory reset does not delete your internal memory. What it deletes is your user apps, settings, etc. That is the same place mine is backed up to and like I said I factory reset every flash. However, if you're really worried about under the backup option in cwm select backup to external SD card.
As for the sd card 0 and SD card. I don't believe there are really two files of everything. I believe it's more just naming for the android system, but maybe someone else can confirm this for me
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Thank you, Thank you, and Thank you for taking the time to answer that.
With that info im confident i wont get stuck in some limbo. During my lunch break ill try to flash CM10 again this time with a factory reset and see if i get further than the spinning logo.
I don't do the cwm touch. For some reason I can't find any roms that I've backed up, So I use the typical cwm. I don't know, maybe it's just me, I'm screwing up somewhere. But everytime I have to reinstall cwm. Thanks for the help
wily5150 said:
I don't do the cwm touch. For some reason I can't find any roms that I've backed up, So I use the typical cwm. I don't know, maybe it's just me, I'm screwing up somewhere. But everytime I have to reinstall cwm. Thanks for the help
Click to expand...
Click to collapse
I am FAR from being an expert, but i had to reflash cwm everytime i restarted the phone until i flashed it and from the menu selected prevent stock recovery.
Hello,
I have flashed hundreds of Roms on my S3 until recently landing on the ML1 Rooted from Old&Slow. The problem is that I am running out of internal storage. This is partially due to the residual files left over from Roms, Apps & Stuff.
How can I clean it out? I don't want to go in and start deleting things....out of fear of deleting the wrong files and bricking.
Running TWRP. Can I format internal storage?
If I mess up, I would have to Odin back to MF1, root, unlock....blah, blah, blah.
Maybe that's what I should do regardless...I am still partially scared that the 4.3 update will sneak on before I can ulock, root etc.....
Any easier way?
Thanks!
Yes, format internal SD.
I would factory reset, clear cache, clear dalvik cache, format system, then format internal SD card, then reflash the rom.
Everything that's needed will get repopulated when you reflash the rom, just make sure the rom and your backups are on your external SD card.
Sent from my SCH-I535 using Tapatalk 2
BadUsername said:
Yes, format internal SD.
I would factory reset, clear cache, clear dalvik cache, format system, then format internal SD card, then reflash the rom.
Everything that's needed will get repopulated when you reflash the rom, just make sure the rom and your backups are on your external SD card.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Thanks, After formatting, could I restore a backup of the rom?
I have a lot of Mods in place and would prefer to not have to set it all up again.
Thanks!
ripdoozer said:
Thanks, After formatting, could I restore a backup of the rom?
I have a lot of Mods in place and would prefer to not have to set it all up again.
Thanks!
Click to expand...
Click to collapse
Sure you can, but if you restore a backup it'll probably just rewrite everything the exact same way it was. But it might solve the problem.
Sent from my SCH-I535 using Tapatalk 2
Ok, I have done my research and this is a common problem with a new flash, and it happened to me, but I didnt notice it until now. I have the 32 gig nexus, and its only utilizing half of that.
Is there any way at all to correct this without having to wipe everything? I have my phone setup like I want it, and it took a bit of workarounds with lollipop with viper and all.
Or can I at least just make a nandroid? and back up that file somewhere, and then reflash everything or do a wipe to get my space back, and then restore that nandroid? Or will that nandroid bring back the space problem?
Thanks
No. You have to wipe everything. Its the only fix.
Nandroid shouldn't cause an issue. Storage is the issue and nandroid doesn't back up or restore storage.
joho5 said:
Ok, I have done my research and this is a common problem with a new flash, and it happened to me, but I didnt notice it until now. I have the 32 gig nexus, and its only utilizing half of that.
Is there any way at all to correct this without having to wipe everything? I have my phone setup like I want it, and it took a bit of workarounds with lollipop with viper and all.
Or can I at least just make a nandroid? and back up that file somewhere, and then reflash everything or do a wipe to get my space back, and then restore that nandroid? Or will that nandroid bring back the space problem?
Thanks
Click to expand...
Click to collapse
You can wipe userdata via fastboot and fix this issue.
Jnewell05 said:
You can wipe userdata via fastboot and fix this issue.
Click to expand...
Click to collapse
This won't touch my internal SD right? So my backup would be safe? Could wipe userdata and then restore backup?
Thanks for taking the time to help.
Sent from my Nexus 5 using XDA Free mobile app
joho5 said:
This won't touch my internal SD right? So my backup would be safe? Could wipe userdata and then restore backup?
Thanks for taking the time to help.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
You HAVE to wipe your "internal SD"
Take a nandroid, backup ALL your data to PC.
rootSU said:
You HAVE to wipe your "internal SD"
Take a nandroid, backup ALL your data to PC.
Click to expand...
Click to collapse
Which wipe command will wipe all of this?
I am comfortable using adb/fastboot or whatever, but just need to know how to completely wipe it all.
Can I just redo the factory image flash, like i did initially?
joho5 said:
Which wipe command will wipe all of this?
I am comfortable using adb/fastboot or whatever, but just need to know how to completely wipe it all.
Can I just redo the factory image flash, like i did initially?
Click to expand...
Click to collapse
Use fastboot to erase and then flash userdata.img (not whole factory image)
formatting the userdata did the trick...thanks guys.
much appreciation.
Welp, new problem...knew it couldnt be quite that easy.
I copied my whole TWRP folder with the backup inside to my pc, now I cant copy it back. It gives me an immediate error saying it cant copy.
I can click into the folder and copy and paste just the backup folder onto my device, but how can I restore a backup from a custom location, because since twrp doesnt see the TWRP/Backups exact path, then I see no backups to restore from.
Is there a way to restore from say like just sd/backups?
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