Wipe Script - Galaxy S 4 Q&A, Help & Troubleshooting

Hi,
Is there any super/mega script for erase all data on version 5.0.1?

Not sure if there is or isn't, but why isn't the factory reset in recovery or in Android good enough?

Strephon Alkhalikoi said:
Not sure if there is or isn't, but why isn't the factory reset in recovery or in Android good enough?
Click to expand...
Click to collapse
They don't erase media folder.

Then you're not looking in the right place. I don't recall if Clockworkmod has a similar function, but in TWRP, you can do an advanced wipe which will take out everything, including media storage.

Related

[Q] flashing ROM, lost SD card contents

This has been bugging me and I can't seem to find anything on here to explain it.
I have installed custom ROMs on my N7. Problem is most ROM instructions say to do a full wipe/factory reset. When I do that, the downloaded ROM that was sitting on the SDCard gets wiped out as well.
I then have to go back and search for info on how to reset/restore the N7 and start all over, because the recovery (both CWM and TeamWin) don't let me mount the SD card to copy the needed zip over.
How can I do the recommended data wipe without losing the sd card contents?
Failing that, what's easiest way to get the ROM zip back on the N7 when the recovery won't allow it?
Thanks
dont wipe data...
just do a 'factory reset' in custom recovery...then flash a rom
I use TWRP & don't wipe everything, just System & Factory (to delete installed apps).
This is after wiping Cache & Dalvik Cache.
Unless I'm missing something a data wipe will wipe everything except recovery.
I don't think we have the option to exempt the media folder like on other devices.
(you type faster than me PG)
I appreciate the suggestions, and I've done the factory wipe. It wiped out the /SDcard folder contents where the zips were.
How do I get zips back on the N7? tried ADB, tried sideload from TWRP, nothing works.
Having many more problems than the last time I did this.
jneg123 said:
I appreciate the suggestions, and I've done the factory wipe. It wiped out the /SDcard folder contents where the zips were.
How do I get zips back on the N7? tried ADB, tried sideload from TWRP, nothing works.
Having many more problems than the last time I did this.
Click to expand...
Click to collapse
factory reset in TWRP doesnt touch /data/media
are you sure you are on the most recent version of recovery?
updated to latest recovery version, that seemed to be my issue. sd card now untouched.
Pirateghost said:
factory reset in TWRP doesnt touch /data/media
Click to expand...
Click to collapse
Pirateghost speaks the truth.
The stock recovery however, wipes everything with it's "factory reset".
It's a little bit unfortunate that the identical terminology is used. No doubt new folks will occasionally get bit by assuming they are the same.
I haven't used cwm yet; not sure what it means by "factory reset" - or even if it uses that terminology.

[Q] Dumb Question: Where should I place the ROM + Gapps before flashing?

In my previous phone (which had an SD card) I placed both, the ROM and Gapps in the SD before wiping data. But in the nexus, if I wipe data, won't I lose the ROM and Gapps zip no matter where I place it in the internal memory?
Well, it obviously won't but just to make sure, where do I put it? Anywhere? I don't wanna wipe data only to realise it wiped everything and I can't go back to stock or something
sixaxis94 said:
In my previous phone (which had an SD card) I placed both, the ROM and Gapps in the SD before wiping data. But in the nexus, if I wipe data, won't I lose the ROM and Gapps zip no matter where I place it in the internal memory?
Well, it obviously won't but just to make sure, where do I put it? Anywhere? I don't wanna wipe data only to realise it wiped everything and I can't go back to stock or something
Click to expand...
Click to collapse
Firstly, what recovery are you using? Wipe Data in CWM and Wipe Data in TWRP do different things :/
Connor Baker
I'm used to CWM but the MSkip's toolkit recommended TWRP so I installed that.
They do different things??
sixaxis94 said:
I'm used to CWM but the MSkip's toolkit recommended TWRP so I installed that.
They do different things??
Click to expand...
Click to collapse
It doesn't matter what recover you have. They have the same functionality. TWRP is widely used by many users.
Sent from my Nexus 4 using Tapatalk 2
scream4cheese said:
It doesn't matter what recover you have. They have the same functionality. TWRP is widely used by many users.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Okay.. But where do I put the two files?
scream4cheese said:
It doesn't matter what recover you have. They have the same functionality. TWRP is widely used by many users.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
sixaxis94 said:
Okay.. But where do I put the two files?
Click to expand...
Click to collapse
Same funtionality, but wiping data do completely different things. On CWM, wiping data means factory reset without touching the sdcard. In TWRP, wiping data means... well, see the screenshot. It's a complete factory reset, and also wipes the sdcard (so files, ROM zips and the such are all gone).
You can put the two files on your sdcard. Just put them someplace you can find them. I usually leave my zips on the root of my sdcard.
Connor Baker
Connor Baker said:
Same funtionality, but wiping data do completely different things. On CWM, wiping data means factory reset without touching the sdcard. In TWRP, wiping data means... well, see the screenshot. It's a complete factory reset, and also wipes the sdcard (so files, ROM zips and the such are all gone).
You can put the two files on your sdcard. Just put them someplace you can find them. I usually leave my zips on the root of my sdcard.
Connor Baker
Click to expand...
Click to collapse
Just for the sake of clarity, when you say SD card you mean internal memory obviously right?
So how do I wipe data in twrp?
sixaxis94 said:
Just for the sake of clarity, when you say SD card you mean internal memory obviously right?
So how do I wipe data in twrp?
Click to expand...
Click to collapse
Get ready for more pictures
So to wipe, go to wipe (1st photo), then do factory reset (2nd photo), and I usually do the advanced wipe after the factory reset (2nd-3rd photo). An example of what I do for my phone's roms is the 4th photo. I have the folder with the things I want to flash, and I have a backup ROM. The backup rom is incase I do a full wipe (factory reset, and wipe /system), and the zip file is bad and cannot install. So be careful, and make sure you have a good zip file before you wipe system. Once system is wiped, the Android OS is basically gone, so you can't boot into it and copy over a working ROM.
Best of luck,
Connor Baker
Connor Baker said:
Get ready for more pictures
So to wipe, go to wipe (1st photo), then do factory reset (2nd photo), and I usually do the advanced wipe after the factory reset (2nd-3rd photo). An example of what I do for my phone's roms is the 4th photo. I have the folder with the things I want to flash, and I have a backup ROM. The backup rom is incase I do a full wipe (factory reset, and wipe /system), and the zip file is bad and cannot install. So be careful, and make sure you have a good zip file before you wipe system. Once system is wiped, the Android OS is basically gone, so you can't boot into it and copy over a working ROM.
Best of luck,
Connor Baker
Click to expand...
Click to collapse
Sweet! Thanks for clearing that out.. Appreciate it

[Q] About using / wiping using TWRP

Hello people. Just wanted to ask how is the right way to wipe when flashing a rom WITHOUT losing the rom (wiping internal)? In CWM i just factory / reset data then thats it then clear cache and dalvik cache. In TWRP do i just need to swipe when the screen says "Most of the time this is the time that you need" when i will flash rom? Thanks for guiding!
anyone?
1. factory reset
2. advance, wipe system
thats all for me, works everytime... just make sure to wipe cache/dalvik after flashing zip files be it roms or gapps or whatever :good:
The default "most of the time" option is a fresh reset of the phone. it wont wipe the ROM itself, but all the data will be lost and you start over. Wiping system will remove everything, a ROM must be flashed after wiping system.
So before i flash a rom i wipe the "most of the time" then advanced format system? right?
zero0422 said:
The default "most of the time" option is a fresh reset of the phone. it wont wipe the ROM itself, but all the data will be lost and you start over. Wiping system will remove everything, a ROM must be flashed after wiping system.
Click to expand...
Click to collapse
So before i flash a rom i wipe the "most of the time" then advanced format system? right?
true that... sorry for misleading initially, format system only applicable if you wanna have clean install of new rom
marshygeek said:
So before i flash a rom i wipe the "most of the time" then advanced format system? right?
Click to expand...
Click to collapse
No need to use format system unless you are installing a fresh ROM. Format system will remove everything from your device (other than sdcard info and all that). So you get a clean slate.
If you just want to flash an update to the same ROM you can either 'dirty flash', which I usually just wipe cahce/dalvik then flash the ROM and reboot, and you save all your user modified things, or you can wipe system and install the ROM. You lose everything that way so make backups.
Usually there isnt much need to factory reset unless you're having an issue with something. What is it you're trying to do?
I wanted to flash a stock based rom. Thank you.

Wipe internal Storage

Hey guys,
on my nexus 4 i could wipe everything, so everything is deleted. Then i could flash a factory IMage over adb, so i had a completly clean install. Is this possible with Op2? I´d like to delelte all the old stuff. A Factory Reset in TWRP wouldnt do this.
Thanks
sorry for my english :/
TWRP > Wipe > Advanced wipe > wipe internal storage and data if you want to start fresh.
MZO said:
TWRP > Wipe > Advanced wipe > wipe internal storage and data if you want to start fresh.
Click to expand...
Click to collapse
And then? What do i have do to? I thought all is deletet, so i cant flash a rom, correct?
EDIT: I want to flash a custom rom after the wipe
You can use ADB sideload or push. Or you can use OTG drive to transfer files.
Ok thanks. It is recommend? I think there is some old stuff from old apps which will not be delted by factory reset
Nuhro said:
Ok thanks. It is recommend? I think there is some old stuff from old apps which will not be delted by factory reset
Click to expand...
Click to collapse
Everything will be deleted
utkarsh102 said:
Everything will be deleted
Click to expand...
Click to collapse
By factory reset?
Nuhro said:
By factory reset?
Click to expand...
Click to collapse
Yes. Literally everything.

Best way to erase all content from S5?

I am getting a new S8 in a week and currently hold a Galaxy S5. My plan is to sell it on eBay for some extra money. What is the secure way to erase content and settings from the phone? just curious about it
Flash stock firmware on ODIN + factory reset in android recovery.
This will reset your device and delete all data on your internal storage like it was when you first got it
Saber said:
Flash stock firmware on ODIN + factory reset in android recovery.
This will reset your device and delete all data on your internal storage like it was when you first got it
Click to expand...
Click to collapse
I heard the data is still available after reset, is that correct?
kongsse said:
I heard the data is still available after reset, is that correct?
Click to expand...
Click to collapse
Data will be available if you factory reset in a custom recovery like TWRP (where internal storage needs to be wiped manually if you want). However, in stock android recovery, factory resetting will delete all data off your device, including your internal storage.
I hope this clears everything
Saber said:
Data will be available if you factory reset in a custom recovery like TWRP (where internal storage needs to be wiped manually if you want). However, in stock android recovery, factory resetting will delete all data off your device, including your internal storage.
I hope this clears everything
Click to expand...
Click to collapse
Thanks for the info.
Factor reset you mean "Settings -> Backup & reset -> Factory reset" or 'wipe all data/factory reset' in recovery mode?
kongsse said:
Thanks for the info.
Factor reset you mean "Settings -> Backup & reset -> Factory reset" or 'wipe all data/factory reset' in recovery mode?
Click to expand...
Click to collapse
In recovery mode.
@Apheasia, cool. I will give it a try

Categories

Resources