Related
Can anyone confirm the wipe options of newest TWRP ? wipe cache and dalvik cache i know but I am unsure about the "wipe internal storage" and "wipe data" option ? Which option should I choose if i am coming from PA 4.1.2 to 4.2.2 ?
DONT wipe data.. in twrp wiping data will also wipe sdcard.. when flashing roms do a factory reset
Factory reset will delete all the app related data , right ? My contacts, mms , etc will also get deleted ? But the data/media will be intact ?
deepayanneogi said:
Factory reset will delete all the app related data , right ? My contacts, mms , etc will also get deleted ? But the data/media will be intact ?
Click to expand...
Click to collapse
correct
Great ,thanks for the quick reply , coming from CWM it was a little confusing for me first , btw is there any need for wiping system ? Any benefits ?
deepayanneogi said:
Great ,thanks for the quick reply , coming from CWM it was a little confusing for me first , btw is there any need for wiping system ? Any benefits ?
Click to expand...
Click to collapse
twrp is alot better than cwm IMO, its faster and it flashes roms better, i am saying this from experiece when i had a s2 i use to have issues with cwm but twrp never let me down..
and most roms wipe system before installing the rom but i wipe it anyway.. this is how i flash ANY rom, even updates of the same rom, and never have issues
1. factory reset
2. wipe system
3. wipe cache
4. wipe dalvik
5. flash rom
6. flash gapps
7. flash AK kernel(optional)
8. reboot
9. wait 10 mins then do another reboot
10. enjoy :good:
Khizar said:
twrp is alot better than cwm IMO, its faster and it flashes roms better, i am saying this from experiece when i had a s2 i use to have issues with cwm but twrp never let me down..
and most roms wipe system before installing the rom but i wipe it anyway.. this is how i flash ANY rom, even updates of the same rom, and never have issues
1. factory reset
2. wipe system
3. wipe cache
4. wipe dalvik
5. flash rom
6. flash gapps
7. flash AK kernel(optional)
8. reboot
9. wait 10 mins then do another reboot
10. enjoy :good:
Click to expand...
Click to collapse
Thanks again, for updates for same rom u also factory reset ? That means every time u setup your apps, contact , mms ? That would be painstakingly time consuming .
There are apps that can back up your apps and app data as well as text messages. Its not that time consuming. Some launchers can backup layouts, too, so that cuts down on having to reset your home screens. Contacts can be synced with your Google account, unless I misunderstood the contact comment, so much like your email they are synced when you enter your account details.
Enviado desde mi Nexus
Khizar said:
twrp is alot better than cwm IMO, its faster and it flashes roms better, i am saying this from experiece when i had a s2 i use to have issues with cwm but twrp never let me down..
and most roms wipe system before installing the rom but i wipe it anyway.. this is how i flash ANY rom, even updates of the same rom, and never have issues
1. factory reset
2. wipe system
3. wipe cache
4. wipe dalvik
5. flash rom
6. flash gapps
7. flash AK kernel(optional)
8. reboot
9. wait 10 mins then do another reboot
10. enjoy :good:
Click to expand...
Click to collapse
This is pretty much the formula I follow.
1) Wipe cache
2) Wipe Dalvik (a little redundant since dalvik resides in /cache)
3) Factory reset
4) Wipe System (like said above, most ROMs wipe /system but I do not anyway)
5) Flash ROM
6) Flash GApps
7) Flash kernel of choice
8) Fix permissions
9) Reboot
10) I immediately install Titanium Backup and batch restore all apps and app data before signing into my Google accounts
11) Reboot back into recovery and fix permissions again
12) Wipe dalvik again so everything is optimized
13) Reboot
14) Set up ROM how you like it.
The other thing I do is copy Nova Launcher into /system/app and get rid of Trebuchet.apk or Launcher2.apk as well as live wallpapers and other things I consider bloat. Nova let's you back up all your configs and settings so I just restore that. I'm usually back up and running in 30 minutes or so, I could pretty much do it in my sleep...
Sent from my Galaxy Nexus using Tapatalk 2
Khizar said:
correct
Click to expand...
Click to collapse
Are you sure? http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=51446
Petrovski80 said:
Are you sure? http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=51446
Click to expand...
Click to collapse
I 100% guarantee you that a factory reset will leave your sd card intact, I do it every day almost. The only way to nuke your internal storage is to wipe data, which nukes /data/media (basically your sd card) and pretty much everything else, or wiping internal storage will also nuke your sd card...
Sent from my Galaxy Nexus using Tapatalk 2
If I remember there are two options in TWRP , one is wipe data and wipe internal storage , so both do the same work , nukes data/media ? So what is the point of keeping both of them ?
deepayanneogi said:
If I remember there are two options in TWRP , one is wipe data and wipe internal storage , so both do the same work , nukes data/media ? So what is the point of keeping both of them ?
Click to expand...
Click to collapse
Internal storage nukes just the sd card, wiping data nukes all internal storage, sd card, system, etc, if you do that you basically have to flash a stock image with fastboot...
Sent from my Galaxy Nexus using Tapatalk 2
0dBu said:
I 100% guarantee you that a factory reset will leave your sd card intact, I do it every day almost. The only way to nuke your internal storage is to wipe data, which nukes /data/media (basically your sd card) and pretty much everything else, or wiping internal storage will also nuke your sd card...
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I have never tried the factory reset option with my GNEX, but using it on a Galaxy S or Galaxy Ace definitely erased the entire internal storage. It would als mean the factory reset warning is incorrect. Strange stuff.
Petrovski80 said:
I have never tried the factory reset option with my GNEX, but using it on a Galaxy S or Galaxy Ace definitely erased the entire internal storage. It would als mean the factory reset warning is incorrect. Strange stuff.
Click to expand...
Click to collapse
Well those other phones had external sd card slots no?
Sent from my Galaxy Nexus using Tapatalk 2
0dBu said:
Internal storage nukes just the sd card, wiping data nukes all internal storage, sd card, system, etc, if you do that you basically have to flash a stock image with fastboot...
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
If that is the case then I think the nomenclature is pretty confusing and misdirecting ,
factory reset = only app related data and contacts and mms
wipe data = everything including system also
wipe internal storage = data/media.
As far as I know the factory reset option in the rom itself nukes the data/media and app related data also , what in the case for recoveries are different .Wipe data option shouldn't be there in the recovery as it can be pretty dangerous if someone accidentally does it.
0dBu said:
I 100% guarantee you that a factory reset will leave your sd card intact, I do it every day almost. The only way to nuke your internal storage is to wipe data, which nukes /data/media (basically your sd card) and pretty much everything else, or wiping internal storage will also nuke your sd card...
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
If you look at the link that Petrovski80 included, you and he are talking about two different "factory reset"s... on that is part of the Android OS and the other that is TWRP...
Trusstopher said:
If you look at the link that Petrovski80 included, you and he are talking about two different "factory reset"s... on that is part of the Android OS and the other that is TWRP...
Click to expand...
Click to collapse
I was talking strictly about TWRP as per OP's question...
Sent from my Galaxy Nexus using Tapatalk 2
My phone won't turn on
Hello,I'm newbie about this things so,I just Download Twrp and Wipe Cache,Dalvik,Data...How to Open my phone back?I stuck at the Samsung Galaxy Wonder then it Open Twrp back.....How to Fix this?Does anyone know :crying:
neymar12Adli said:
Hello,I'm newbie about this things so,I just Download Twrp and Wipe Cache,Dalvik,Data...How to Open my phone back?I stuck at the Samsung Galaxy Wonder then it Open Twrp back.....How to Fix this?Does anyone know :crying:
Click to expand...
Click to collapse
If I'm not wrong, wiping data means that u have erased your current ROM, and you need to reinstall a new rom.
I am using like 4 gigs on my main sd. It says I only have a gig left. I doubt my system is hitting 5 or 6 gigs. I'm using the Avatar rom. I attached a picture of my storage overview. I also formatted cache. Any ideas?
Batmat rank
You are most like affected by the emulated storage bug. How to fix:
Have a card reader, and MicroSD to SD adapter
Back up all of you data to your computer
Update to the latest CWM or TWRP
Wipe Data \ Factory Reset
Wipe Cache
Wipe Dalvik Cache
Format /system
Copy a ROM and gapps to the external SD with the card reader
Flash ROM
Flash gapps
Profit!
Lemme get other people's opinions before I get drastic.
Get disk usage from the market. Run that and see what it shows you.
Sent from my SGH-I747 using xda premium
corey103 said:
Lemme get other people's opinions before I get drastic.
Click to expand...
Click to collapse
You without a doubt have the emulated storage bug.
MistaBojangles said:
You without a doubt have the emulated storage bug.
Click to expand...
Click to collapse
Agreed. OP, formatting /system and /data will resolve this issue.
Thanks, I'll give it a try and report back. Can I use the same rom?
Yes sir. Wipe data, wipe cache. Wipe dalvik. Format /system. Format /data. Flash rom. Flash gapps. Reboot. All this is done, of course, assuming you have the rom, gapps and perhaps a band road all on a micro sd card. Cheers
xBeerdroiDx said:
Yes sir. Wipe data, wipe cache. Wipe dalvik. Format /system. Format /data. Flash rom. Flash gapps. Reboot. All this is done, of course, assuming you have the rom, gapps and perhaps a band road all on a micro sd card. Cheers
Click to expand...
Click to collapse
Band road?
corey103 said:
Band road?
Click to expand...
Click to collapse
Nandroid
xBeerdroiDx said:
Nandroid
Click to expand...
Click to collapse
Ah, got it. I'm starting it now. I'm backing up all my user apps and making a nandroid backup. I'll report results. Thanks.
xBeerdroiDx said:
Yes sir. Wipe data, wipe cache. Wipe dalvik. Format /system. Format /data. Flash rom. Flash gapps. Reboot. All this is done, of course, assuming you have the rom, gapps and perhaps a band road all on a micro sd card. Cheers
Click to expand...
Click to collapse
I wiped the data, /system, cleared the cache/dalvik and such. Flashed both and rebooted. It shows 12 gigs total space, 2.13 available. All my files are still there. Are they supposed to be?
No. There's wipe data and format /data in cwm. Did you do both? You need to.
Or are you twrp?
xBeerdroiDx said:
No. There's wipe data and format /data in cwm. Did you do both? You need to.
Or are you twrp?
Click to expand...
Click to collapse
I'll try now. I attempted both. I'll do both and flash again and such.
xBeerdroiDx said:
No. There's wipe data and format /data in cwm. Did you do both? You need to.
Or are you twrp?
Click to expand...
Click to collapse
Fixed! This time, I formated /data, did a user data format, and wiped my /sdcard. It's all good now, thanks!
corey103 said:
Fixed! This time, I formated /data, did a user data format, and wiped my /sdcard. It's all good now, thanks!
Click to expand...
Click to collapse
Sounds like you followed exactly what I posted...
MistaBojangles said:
Sounds like you followed exactly what I posted...
Click to expand...
Click to collapse
Well the thing that did it was wiping the /sdcard. I might have accidentally skipped over that, either way. Thanks for the help! I got everything back to the way it used to (with more space of course).
Hello! I've only been working with Android for a good year but the only devices I've used have had SD cards so I've only ever backup'd, and flashed via an SD Card.
I understand I must either get an OTG cable or push through ADB to get the files on my device after wiping through TWRP right? I've already unlocked the bootloader, flashed TWRP, and rooted through CF.
Is there anywhere I can move the ROM files too in the phone's internal storage that'll stay there after wiping my System, Data and Cache through TWRP so I can select them to flash right afterwards?
Thanks for helping me, I understand it's a noob question!)
Br4nd3n said:
Hello! I've only been working with Android for a good year but the only devices I've used have had SD cards so I've only ever backup'd, and flashed via an SD Card.
I understand I must either get an OTG cable or push through ADB to get the files on my device after wiping through TWRP right? I've already unlocked the bootloader, flashed TWRP, and rooted through CF.
Is there anywhere I can move the ROM files too in the phone's internal storage that'll stay there after wiping my System, Data and Cache through TWRP so I can select them to flash right afterwards?
Thanks for helping me, I understand it's a noob question!)
Click to expand...
Click to collapse
Wiping data will not wipe your data/sdcard, so you can download the files normally (directly on the device using a web browser, or USB MTP, etc).
Yes, custom recovery is specifically setup not to wipe your internal storage.
Sent from my Nexus 7 2013 using Tapatalk
SwoRNLeaDejZ said:
Yes, custom recovery is specifically setup not to wipe your internal storage.
Sent from my Nexus 7 2013 using Tapatalk
Click to expand...
Click to collapse
Awesome. So put the files into my SDCard or any internal folder and it should work?
Sent from my Nexus 7 using XDA Premium 4 mobile app
Br4nd3n said:
Awesome. So put the files into my SDCard or any internal folder and it should work?
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Anywhere on your SD card is safe.
arkolbus said:
Anywhere on your SD card is safe.
Click to expand...
Click to collapse
SD card? Nexus 7?
douger1957 said:
SD card? Nexus 7?
Click to expand...
Click to collapse
The internal "sdcard" directory
arkolbus said:
The internal "sdcard" directory
Click to expand...
Click to collapse
Ah.
CM's File Manager calls it "internal storage" as does Android. ES File Explorer calls it "SD card." You say "tomato" and I say "tamato..."
At any rate, a factory reset will indeed wipe the internal storage/sd card. The ROM the OP is trying to flash will no longer be there. Ask me how I know this.
For what it's worth, here's how I do it.
1) Back up that which I can't reload. Pictures automatically upload to Dropbox for me. Music I can always resync. Your mileage may vary.
2) Factory reset. If I'm feeling lazy or the ROM developer says it's OK, I'll wipe just the cache and dalvik, then flash away. Feeling lazy usually means more work in the end, so I try to avoid that option.
3) Reboot. Once the setup wizard runs... I do not sign on to Google so that it won't try to restore my apps and settings... I mount the internal storage and transfer the ROM zip to the device. I do not download anything directly to my device, but rather my desktop. First off, I trust the internet connection more, second, I can run the thing past my antivirus before I load it on my device. I then transfer it to the root directory of the device.
4) Boot into recovery and wipe the cache, dalvik and system. I then flash the ROM. If there are other files that need to be flashed before the first boot, I do so one at a time. When I'm done, I'll wipe the cache and dalvik one more time, then boot into the system and run the wizard.
When I first got into Android with the Droid Incredible, I was a flashaholic. It'd be nothing to flash three or four times a week. I quickly learned what worked and what didn't. Knocking on wood, I've never come close to bricking a device and usually don't invite trouble by sticking religiously to my routine. That's not to say that I never got a tightening feeling in my nether regions when a device seemed to hang on the splash screen a bit too long.
ROM development is far more sophisticated now than in those days. With both the Rezound and now the S4, I've pretty much hung with one developer and his product and don't flash nearly as much, especially since the ROMs of today are far more stable. But the basic procedure remains the same. The above procedure is modified from my phones past and present, since the Nexus is the first device I've owned that did not have an external SD card, which isn't wiped on a factory reset. I also don't do a nandroid backup with the Nexus, since it's a fairly simple matter to reload a factory image using Wug's Toolbox. That's how I recovered from doing a factory reset and a system wipe on the Nexus... which also involved some tension in the posterior.
douger1957 said:
Ah.
CM's File Manager calls it "internal storage" as does Android. ES File Explorer calls it "SD card." You say "tomato" and I say "tamato..."
At any rate, a factory reset will indeed wipe the internal storage/sd card. The ROM the OP is trying to flash will no longer be there. Ask me how I know this.
Click to expand...
Click to collapse
douger: the OP was referring to a factory reset/wipe in TWRP, which does *not* wipe the internal storage. I flash frequently on my Nex7 and LG G2, neither have external SD cards, both have TWRP, and I have never lost my data using this method. If you load TWRP and click [Wipe], the exact text is:
Factory Reset
Wipes Data, Cache, and Dalvik
(not including internal storage)
arkolbus said:
douger: the OP was referring to a factory reset/wipe in TWRP, which does *not* wipe the internal storage. I flash frequently on my Nex7 and LG G2, neither have external SD cards, both have TWRP, and I have never lost my data using this method. If you load TWRP and click [Wipe], the exact text is:
Factory Reset
Wipes Data, Cache, and Dalvik
(not including internal storage)
Click to expand...
Click to collapse
It did indeed blow out my internal storage when I first tried it. When I went to flash, there was nothing in internal storage. None of the usually folders, most certainly not the .zip I was looking for, nothing. Enter tension. :cyclops:
Perhaps the next time I'll try again. It'll save a few steps. I'll have Wug's Toolbox open just in case. :highfive:
In edit: I just looked. In TWRP version 2.7.0.0, I must have hit the "format data" button and didn't catch it. You sir are exactly correct.
douger1957 said:
It did indeed blow out my internal storage when I first tried it. When I went to flash, there was nothing in internal storage. None of the usually folders, most certainly not the .zip I was looking for, nothing. Enter tension. :cyclops:
Perhaps the next time I'll try again. It'll save a few steps. I'll have Wug's Toolbox open just in case. :highfive:
Click to expand...
Click to collapse
TWRP wipe blew out your internal storage, or was it some other process? Your link pointed to a T-mo "master reset", which I'm sure isn't referring to a custom recovery. Unlocking the bootloader on my G2 completely trashed my internal storage, but I was expecting this. IIRC, Nexus devices have been more unlock-friendly, but loading a factory image will wipe everything, including internal sd.
Helpful hint for everyone (esp. the paranoid): get a cheap USB OTG to USB-A (female) adapter, and have a flash drive handy. Newer versions of TWRP can mount USB OTG, so it's a nice plan B if you can't get past recovery. They're cheap (<$5), small, and come in handy pretty often.
Yeah the N7 official TWRP definitely does not wipe internal storage. It says right in TWRP "wiping data without wiping /media" which means without wiping internal storage.
If your TWRP is wiping the internal you should make sure it isn't a modified version and TeamWin official.
Sent from my Nexus 7 using Tapatalk
To clarify, wipe data/factory reset wipes your internal storage (/data) but misses /data/media which is your 'sdcard', call it what you like
Assuming a custom recovery, I cannot speak for stock
Sent from my Nexus 7 2013 using Tapatalk
matt4321 said:
To clarify, wipe data/factory reset wipes your internal storage (/data) but misses /data/media which is your 'sdcard', call it what you like
Assuming a custom recovery, I cannot speak for stock
Sent from my Nexus 7 2013 using Tapatalk
Click to expand...
Click to collapse
Yes but your sdcard is to most and many your internal storage... What is factory reset wiping if it avoids everything you have on your sdcard, including files copied to the root of your internal storage?
Sent from my Nexus 7 using Tapatalk
Hi
I formatted system, data and cache through adb.
After that my device shows only 32GB (of course it is a 64GB OP3).
Could someone tell me what is the reason of that? And how should I solve?
Thank you.
B.Gaboo said:
Hi
I formatted system, data and cache through adb.
After that my device shows only 32GB (of course it is a 64GB OP3).
Could someone tell me what is the reason of that? And how should I solve?
Thank you.
Click to expand...
Click to collapse
Someone had posted the same issue and here is the solution he shared:-
"I fixed it by flashing the stock recovery, and using the wipe everything command in that, which formatted it back to 53Gb."
Hope it works for you too. :fingers-crossed:
Reboot to recovery. Select Wipe > Format data. This will wipe youre entire phone.
I don't know if it works with stoc recovery. With custom works everytime.
null0seven said:
Reboot to recovery. Select Wipe > Format data. This will wipe youre entire phone.
I don't know if it works with stoc recovery. With custom works everytime.
Click to expand...
Click to collapse
Ok, I did this, but the size of the partitions has not changed - I still have 32GB.
B.Gaboo said:
Ok, I did this, but the size of the partitions has not changed - I still have 32GB.
Click to expand...
Click to collapse
Did you 100% sure formatted data and not wiped it?
I had the same issue and formatting (not wiping) worked perfectly
vuP22 said:
Did you 100% sure formatted data and not wiped it?
I had the same issue and formatting (not wiping) worked perfectly
Click to expand...
Click to collapse
Thank you. It worked (probably I just wiped the data partition earlier)
I have watched a lot of tutorials but nothing is working please someone help
I made a video of the problem and what I tried. Can anyone understand what happened
https://www.youtube.com/watch?v=VaN-y-Worlg
Update: In Data i Changed the file system and went back to original. Didn't work.
I even wiped system. But i guess the only problem is to fix the "data". Since it shows 0 Mb size. But i can't find any way or guide. The ones i did find are too advanced and use cmd commands and toolkits which i don't think an inexperienced user like me should be following.
Some background information: i attempted to install Open gApps and enable Camera2 API. I Entered "read only" mode.
The adb shell commands for enabling it wasn't working (some "proprietary" something shown )
So I tried another method. I downloaded the latest Magisk and flashed it. Then i tried gApps. I don't remember when i started to think what went wrong but yeah..
I found this and I think it may be related.
But I don't understand it properly.
And its and Old post for some other Recovery
https://forum.xda-developers.com/go...o-repairing-corrupted-data-partition-t2577447
See if this will help you
https://forums.oneplus.com/threads/closed-solved-twrp-unale-to-mount-storage-help.544878/
Essentially reboot twrp then wipe-> format data
jaybeeee said:
See if this will help you
https://forums.oneplus.com/threads/closed-solved-twrp-unale-to-mount-storage-help.544878/
Essentially reboot twrp then wipe-> format data
Click to expand...
Click to collapse
DId that in the video. Doesn't work
Did you reboot twrp first? I don't see that
jaybeeee said:
Did you reboot twrp first? I don't see that
Click to expand...
Click to collapse
Oh yeah didn't do it in the video.. But yeah no good.
Crap, sorry to hear it, hopefully someone better than me chimes in. Good luck!
Why did you wipe internal storage? And what are you trying to mount. If you are trying to install a new rom all you need to wipe is cache, dalvik, system and data. Wiping internal storage removes everything from the internal SD card and if you do this then you have no OS.
Sent from my iPad using Tapatalk
Stransky said:
Why did you wipe internal storage? And what are you trying to mount. If you are trying to install a new rom all you need to wipe is cache, dalvik, system and data. Wiping internal storage removes everything from the internal SD card and if you do this then you have no OS.
Click to expand...
Click to collapse
At this point i can't care less about the data in internal storage. I just need to flash the official MIUI ROM back, enable Camera2 API and live in peace. At this moment I'm halfway through downloading the ROM but I'm not sure if i can flash it due to the Mount Issue of internal storage. I plan on transferring it to my micro SD card and flashing it from there to System Image. Will it work? And Internal Storage formatting failed in case you didn't notice. Practically nothing worked except the file system change of "data". And even that didn't fix the unable to Mount issue.
Stransky said:
Why did you wipe internal storage? And what are you trying to mount. If you are trying to install a new rom all you need to wipe is cache, dalvik, system and data. Wiping internal storage removes everything from the internal SD card and if you do this then you have no OS.
Click to expand...
Click to collapse
Btw i gave more information on the first post.
Have you tried redwolf recovery? If it has the same error then flash your phone with fastboot rom
devcon69 said:
Have you tried redwolf recovery? If it has the same error then flash your phone with fastboot rom
Click to expand...
Click to collapse
Hevent tried redwolf recover. Just Fastboot flashed the ROM on intuition. And it Worked!!