What do I wipe in TWRP when installing a custom ROM? - Galaxy S 5 Q&A, Help & Troubleshooting

Excuse my ignorance but I've been out of the game for 3 years and not familiar with TWRP as I used to use Clockwork Recovery. What do I need to wipe when preparing to install a custom ROM? Do I just hit factory reset in TWRP or do I advance wipe?
Sent from my SM-G900F using Tapatalk

Wipe everything other than the partition you have the custom ROM on, so if your custom ROM is on external SD, wipe and format the whole internal
When upgrading from the same custom ROM to a newer version, you only need to wipe System and Caches

*Detection* said:
Wipe everything other than the partition you have the custom ROM on, so if your custom ROM is on external SD, wipe and format the whole internal
When upgrading from the same custom ROM to a newer version, you only need to wipe System and Caches
Click to expand...
Click to collapse
It lets me wipe:
- Davik cache
- Cache
- System
- Internal Storage
- Data
So I should wipe everything but system or?
Sent from my SM-G900F using Tapatalk

You need to wipe everything, sometimes internal storage, sometimes not. I wipe everything including internal storage though, as a lot of unneeded files are kept there. Just transfer what you want to keep to your pc or external card.

metalfan78 said:
You need to wipe everything, sometimes internal storage, sometimes not. I wipe everything including internal storage though, as a lot of unneeded files are kept there. Just transfer what you want to keep to your pc or external card.
Click to expand...
Click to collapse
Thanks [emoji1]
Sent from my SM-G900F using Tapatalk

Related

wiping data?

i wanna download some cool roms and it ask me to wipe data, cache and dalvick. when i do this.... will it erase all of my music, vids, and pics off my sd card? i have the phone plugged in boot mode... all i have to do is cleck yes to wipe data. i hope this doesnt make me lose everything
I'm no expert but have flashed a few roms. You shouldn't lose what's on your SD. I wipe cache and dalvik all the time even when not flashing a ROM. I've never lost anything. You would if you were partitioning your SD.
Hope it helps, good luck and have fun.
Sent from my SHOOTER juiced EVO using xda premium
No when you wipe dalvick cache and cache you won't lose anything on your SD card just make sure you fully understand how to flash a rom first time I did it I messed my phone up do a lot of research first lol and good luck
Sent from my PC36100 using Tapatalk
MPH33 said:
i wanna download some cool roms and it ask me to wipe data, cache and dalvick. when i do this.... will it erase all of my music, vids, and pics off my sd card? i have the phone plugged in boot mode... all i have to do is cleck yes to wipe data. i hope this doesnt make me lose everything
Click to expand...
Click to collapse
Before you start wiping and what not make sure to do a backup. Also use Titanium Backup to back all your apps you downloaded the paid ones's or all the ones you downloaded. For contacts make sure to export them to your sdcard just in case. what recovery do you have? Should use Amon RA the best one for the EVO
Now when you're installing a new rom This for the Amon ra recovery but its almost the same for clockworkmod.
Wipe all user data/system
Wipe cache
wipe Dalvik cache
Wipe android secure (optional)
Wipe system
Wipe data
Wipe boot
Wipe rotate settings
BUT DO NOT WIPE SDCARD goodluck with your new root
Have a question here that's semi-related. I have been playing around with some different ROM's here the past few days. I noticed some of them are utilizing my SD card. When I do my usual wipe, it's leaving a few Widgets, etc in place. I know it's the SD card, because when I repartition the SD card, I finally got rid of everything that wouldn't wipe. What wipe/clear was I missing here, or is the only way to clear these apps/widges from the previous ROM is to do a SD card repartition each time?
Edit :
Just to be clear on the wipes/clears I've been doing :
wipe data/factory reset (Doesn't this cover most everything?)
wipe cache
wipe Dalvik cache
I also tried Clear Storage from hboot, but that didn't seem to help either...
jreed012 said:
Have a question here that's semi-related. I have been playing around with some different ROM's here the past few days. I noticed some of them are utilizing my SD card. When I do my usual wipe, it's leaving a few Widgets, etc in place. I know it's the SD card, because when I repartition the SD card, I finally got rid of everything that wouldn't wipe. What wipe/clear was I missing here, or is the only way to clear these apps/widges from the previous ROM is to do a SD card repartition each time?
Edit :
Just to be clear on the wipes/clears I've been doing :
wipe data/factory reset (Doesn't this cover most everything?)
wipe cache
wipe Dalvik cache
I also tried Clear Storage from hboot, but that didn't seem to help either...
Click to expand...
Click to collapse
Wipe in this order and I can assure things will work for you
Factory wipe(data-cache),wipe dalvik, wipe boot, and wipe system
Sent from my PC36100 using xda premium
...So, what ROM are we developing here? ...I'm not good at flaming...
@MPH33, you want to make sure and post questions in the Q&A section in the future.
My two cents here, is:
I always wipe my sdcard as well as what the others have said. I know you don't want to "lose" all your stuff on there, but really all you have to do is create a folder on your computer with the important stuff, like pics, music, backups. I use recovery to partition the sdcard, much faster than formatting on the PC.
The phone creates other temp folders on the sdcard that I am not sure what impact they will have on another ROM but I like to get rid of them.
jreed012 said:
Have a question here that's semi-related. I have been playing around with some different ROM's here the past few days. I noticed some of them are utilizing my SD card. When I do my usual wipe, it's leaving a few Widgets, etc in place. I know it's the SD card, because when I repartition the SD card, I finally got rid of everything that wouldn't wipe. What wipe/clear was I missing here, or is the only way to clear these apps/widges from the previous ROM is to do a SD card repartition each time?
Edit :
Just to be clear on the wipes/clears I've been doing :
wipe data/factory reset (Doesn't this cover most everything?)
wipe cache
wipe Dalvik cache
I also tried Clear Storage from hboot, but that didn't seem to help either...
Click to expand...
Click to collapse
the fact that you say you get rid of the left over bits when you repartition tells me that it's an apps2sd issue. Some roms use the sd-ext and some don't. In both CWM and Amon-ra you will find options to wipe the sd-ext. Add that into what you're already wiping and you shouldn't be troubled with leftover bits anymore. (and just to be sure, also add in .android-secure to the list of what gets wiped)
Wiping data/factory reset will wipe android secure and sd extension. So id just do what jaredthegreat said and run vr_superwipe script also.
It works same way as when your done using the toilet.
Sent from my PC36100 using XDA App

Flashing on N4

Ok, maybe this is n00bish but Ive never had a nexus device.
On my gs1, tf700 and such everything is flashed from the microsd card. If this device doesnt have one, how do you flash without loosing data?
Ive always learned, 1 wipe data, cache etc. 2. Flash rom/kernel (sometimes 3 wipe again)
Wont this clear your phones storage? This is a HUGE selling factor for me.
Im due for a upgrade outa pocket and I cant decide from GS3, Nexus 4, Note 2 or holding out for rumored gs4
Thanks guys
Sent from my OC'd CM9 Epic 4g. (Thats right, the Galaxy S (1)! Haha)
Clear Data does not wipe internal storage, just apps+data. If you were doing that, first back up using Titanium Backup, flash new ROM, restore from TiBU, PROFIT!!!
For backing up text messages, theres an app, though I can't remember the name.
Isnt there also an option that wipes everything? Factory reset or whatever. It cleans the rom and all I thought. Thats how we avoid bugs from rom hopping? Like I said Im n00b in nexusville but vanilla jellybeans sound delicious
Sent from my SPH-D700 using xda app-developers app
There's separate partitions on the phone. Part for the system, part for your data, and then basically an internal SD Card. You would wipe the same way you would on any other phone: Wipe data/factory reset, format boot, system, cache, data, dalvik cache, etc, then flash your ROM. Your "internal" SD card will be untouched.
At least that's how I assume it would work...
Tapatalk² from my Optimus V
kcls said:
There's separate partitions on the phone. Part for the system, part for your data, and then basically an internal SD Card. You would wipe the same way you would on any other phone: Wipe data/factory reset, format boot, system, cache, data, dalvik cache, etc, then flash your ROM. Your "internal" SD card will be untouched.
At least that's how I assume it would work...
Tapatalk² from my Optimus V
Click to expand...
Click to collapse
Yup thats how it works. 'SD Card' partition is untouched during a wipe (though the bootloader unlock command will wipe absolutely everything, you just use that once when you first get the phone and its all good).
anirudh412 said:
Clear Data does not wipe internal storage, just apps+data. If you were doing that, first back up using Titanium Backup, flash new ROM, restore from TiBU, PROFIT!!!
For backing up text messages, theres an app, though I can't remember the name.
Click to expand...
Click to collapse
SMS Backup and restore
Sent from my SGH-T989 using xda app-developers app
Lord Syrics Jr. said:
Isnt there also an option that wipes everything? Factory reset or whatever. It cleans the rom and all I thought. Thats how we avoid bugs from rom hopping? Like I said Im n00b in nexusville but vanilla jellybeans sound delicious
Sent from my SPH-D700 using xda app-developers app
Click to expand...
Click to collapse
You are correct. But factory reset/ clear data even though wipes the phone clean, the 'internal SD card partition' isn't wiped. Meaning you would still have your pictures, videos and such. And also backup files. So once you do that and boot into the new rom, install TiBU from the market and restore your backup.
For a complete and 'true' wipe, as someone already mentioned, you could use ODIN/ Toolkit. Someone correct me if I am wrong.
Using TWRP. You can wipe: cache, dalvik, factory reset, system. You can wipe all of those and your internal store will not be wiped. Now with TWRP you can also wipe internal and external storage, do that and you will be SOL.

What wipes the internal storage of this device?

Recently, before I flashed PA, I did a back up of my internal storage, namely WhatsApp files and pictures and it took a while. Proceeded to factory reset, clear cache and format system in CWM recovery. Factory reset and clearing cache got stuck but I did manage to format system and flash the rom and get it to boot.
My question is, for future reference, what options formats the internal storage? Wipe data? Factory reset? Saves a lot of time having to do a backup of the internal storage.
Thanks!
Sent from my LG-D802 using xda premium

[Q] how to flash roms without losing data n files?

Alright guys I feel very nooby asking this but this is my first device that doesn't have a sd slot. Is there a way to flash a Rom without deleting the download and titanium folders?
My steps prior to flashing are
Wipe data, cache, n dalvik
Flash Rom
Then wipe cache n dalvik again
But if I wipe data then the Rom zip would be deleted before I can flash it?
Please help me on this thanks!
Sent from my LG-D801 using Tapatalk
Hi,
Make only wipe data/factory reset, wipe cache partition and wipe dalvik cache, tat's all then flash your rom and reboot.
Don't wipe anything related to sd card/ext sd card or internal storage so you keep all your files in your "sd card" intact.
lilviet93 said:
Alright guys I feel very nooby asking this but this is my first device that doesn't have a sd slot. Is there a way to flash a Rom without deleting the download and titanium folders?
My steps prior to flashing are
Wipe data, cache, n dalvik
Flash Rom
Then wipe cache n dalvik again
But if I wipe data then the Rom zip would be deleted before I can flash it?
Please help me on this thanks!
Click to expand...
Click to collapse
This won't happen on your LG G2. Even when using CWM you can see it is looking for an external SD card in the command line when doing a Factory Reset. You're internal SD card is never touched.
When you flash a ROM just:
Factory Reset
Flash Rom
Obviously make a backup first if you're worried, and you may need to flash Gapps depending on the ROM you flash.
understood, thanks guys

factory reset on custom rom

I haven't been able to find an answer upon searching and haven't come across this in my time reading forum posts.
So if I go to settings - backup and reset and do a factory reset from there.
I will lose all my data on internal storage, yes. But will the Android system boot into the same rom with Gapps and all just without any data at all? Allowing me to set it up as a new phone completely.
I'm on official Resurrection remix.
Edit - here's what I did. Thanks @Sam Nakamura
1. Clean flashed the ROM I wanted to use. (wipe everything except internal storage)
2. Booted into the ROM and set up Google account.
3. Booted into twrp and wiped internal storage.
4. Rebooted into system.
Everything is good as new. Setting it up from scratch now.
Isn't better doing it from recovery?
fabrquila said:
Isn't better doing it from recovery?
Click to expand...
Click to collapse
Trying to find out how. Want to delete all data including internal storage.
Want to lose all apps, files. Basically exactly as a new phone, just with a custom ROM.
pranayysharma29 said:
Trying to find out how. Want to delete all data including internal storage.
Want to lose all apps, files. Basically exactly as a new phone, just with a custom ROM.
Click to expand...
Click to collapse
Just use wipe data/factory reset function in TWRP and use the advanced wipe options.
fabrquila said:
Just use wipe data/factory reset function in TWRP and use the advanced wipe options.
Click to expand...
Click to collapse
And check everything, swipe to delete and reboot? But that way I won't have any rom or Gapps installed, will i?
pranayysharma29 said:
And check everything, swipe to delete and reboot? But that way I won't have any rom or Gapps installed, will i?
Click to expand...
Click to collapse
Not if you don't wipe system partition, where ROM and Gapps are located. Just if something goes wrong, you should have a way to flash these zips. You can use TWRP to transfer them.
Basically I'm not sure which partitions to wipe. As I don't know what is contained in which partition. Which is what I'm trying to understand
How to use twrp to transfer them? I lost you at that.
pranayysharma29 said:
Basically I'm not sure which partitions to wipe. As I don't know what is contained in which partition. Which is what I'm trying to understand
How to use twrp to transfer them? I lost you at that.
Click to expand...
Click to collapse
Wipe data, cache, dalvik, and internal storage partitions. Don't wipe system.
Data contains your apps. Cache works as cache for apps and dalvik has a similar function afaik. Internal storage stands for the internal memory, where files that you download, transfer or receive, are located.
I'm trying to say that you should have a backup of ROM and gapps just in case something bad happens, which I don't think. If that happens, just boot the phone in TWRP and plug it to a computer. Then transfer zip files of ROM and Gapps to internal storage, and then flash them. Voilá, clean ROM and full operative Gapps.
Sorry for taking so much to reply, I didn't see notifications in the forum.
fabrquila said:
Wipe data, cache, dalvik, and internal storage partitions. Don't wipe system.
Data contains your apps. Cache works as cache for apps and dalvik has a similar function afaik. Internal storage stands for the internal memory, where files that you download, transfer or receive, are located.
I'm trying to say that you should have a backup of ROM and gapps just in case something bad happens, which I don't think. If that happens, just boot the phone in TWRP and plug it to a computer. Then transfer zip files of ROM and Gapps to internal storage, and then flash them. Voilá, clean ROM and full operative Gapps.
Click to expand...
Click to collapse
Thanks for the explanation about the partitions.
I managed to achieve what I set out for.
Did a clean flash of my ROM. Then went on to wipe internal storage in twrp. Now have a new rom and everything. But clean slate for internal storage.

Categories

Resources