Twrp slow wiping data and cache fix (instant wiping) - Android General

THIS IS A SIMPLE GUIDE
IF YOUR RECOVERY IS TAKING A LOT OF TIME IN CLEANING CACHE FILES AND FORMATING SYSTEM
THIS TWEAK WILL WORK
Mod edit: link removed
here it is

Related

question about wiping

quick question, im new to rooting the transforner and i just want to know, when i wipe to install prime will it erase my music that is on the internal storage? If so, is there a different way to wipe to keep certain files? Cause i also have my titanium backup files on internal as well, thanks in advance.
First of all, your title made me laugh for a good 1 minute. Somehow, "question about wiping" just doesn't sound very technical and sound more like it has something to do with our bodily functions.
No, "wiping" cache and data will not touch your files. Android is different than windows. Windows OS has 1 big partition where everything is in there. Android has 12 partitions, each one has it's own purpose. When you wipe the data partition, what you're really wiping is app data partition. There is also a user data partition where all your files are kept. Unless you do a format of your sdcard in the advance menu, all your user files are safe.
So, before you install a custom rom, make sure you wipe cache and data/factory reset. Also wipe dalvik cache. Trust me, all your porn files will still be there waiting for you.
Sorry, I have a weird sense of humor.
Lol, thanks buddy. Ive never had an android device with an internal sdcard so i was a little concerned. Thanks again.
goodintentions said:
So, before you install a custom rom, make sure you wipe cache and data/factory reset. Also wipe dalvik cache.
Click to expand...
Click to collapse
I was wondering, is a data/factory wipe always necessary? When I flashed Revolver 3.9.3 for the 1ste time from stock rom, I did a data/factory wipe, cache wipe and dalvik cache wipe in CWM. When updating this Revolver rom to 3.9.5 using zip-file, I only wipe cache and dalvik cache. On my Moto I wipe cache and dalvik cache before and after the zip update when updating a custom rom, but I'm not sure if the latter is necessary. I guess a data/factory wipe is only necessary when flashing a new base rom?
wiping is usually recommended as sometimes if you install with out wiping it will cause weird problems :/

P500 Stuck at Boot

Hi, I have a P500 on AOKP ICS, and I tried flashing CAF kernel in CWM 5.0.2.0, wiped cache partition and dalvik cache and rebooted, but phone got stuck on 'start applications' dialog just after boot animation, which I had never seen before. I tried restoring a nandroid backup I did just before trying the kernel without wiping anything, but it then got stuck at the boot animation. I had to do a data wipe/factory reset and wipe cache and dalvik cache to get it to boot.
I was just wondering why this happened. I have very limited free space in system (10mb), and 8mb in data before Link2sd has relinked lib files at boot, APK and dex are also linked. I also froze an app using link2sd before trying, could this have caused it as it couldn't recreate the dalvik files for that app? I don't really want to try again, but it not work and have to factory reset and restore everything again...
Any help would be appreciated
Dont link system libs to sd when you want to flash a kernel.
rr0yy said:
Dont link system libs to sd when you want to flash a kernel.
Click to expand...
Click to collapse
Thanks for the reply, but Link2sd doesn't allow linking of system libs, only user...

[Q] When and why Wipe Data/Factory Reset / Wipe Cache Partition / Wipe Dalvik Cache

Hi,
Today I successfully rooted my galaxy Tab 2 7 P3100. What I am not sure is when and why we need the
Wipe Data/Factory Reset
Wipe Cache Partition
Wipe Dalvik Cache
I want to understand because I plan to try couple of other ROMs. Should I follow the above procedure every time I flash a ROM or is there a better way where avoiding any of the above is an option.
Regards.
to minimize the conflict that would occur if you use a different rom base
try it without wiping, usually meet force close dialog after booting
all i know is that wiping cache will clear data related to applications, so if you have an app force closing all the time it is sometimes handy to wipe that app's cache from the settings or wiping the entire cache from recovery.
wiping data/factory reset however will remove any app you have installed and all your personal files that you've put on the device.
Basic breakdown,
If going from one base ROM to another base ROM like stock to CM, CM to AOKP, stock to AOKP or anything like that you will need to do ALL 3 wipes.
If going from like a CM10 nightly to a newer nightly you can usually just wipe CACHE and Dalvick
If you flash addons you will usually need to wipe cache and Dalvick
BASICALLY just do what the INSTRUCTIONS for the ROM your flashing SAYS to do.
Wiping Dalvik cache before and after flasing of ROM
daniel644 said:
Basic breakdown,
If going from one base ROM to another base ROM like stock to CM, CM to AOKP, stock to AOKP or anything like that you will need to do ALL 3 wipes.
If going from like a CM10 nightly to a newer nightly you can usually just wipe CACHE and Dalvick
If you flash addons you will usually need to wipe cache and Dalvick
BASICALLY just do what the INSTRUCTIONS for the ROM your flashing SAYS to do.
Click to expand...
Click to collapse
First of all a BIG THANK YOU.
Now One more doubt there is this ROM which I want to flash and it says to wipe dalvik cache before and after flasing the ROM. Please confirm only Factory reset will clear the existing ROM and wiping Cache and Dalvik cache wont affect the existing ROM(or internal SD Data)
Thanks again.
tahask11 said:
First of all a BIG THANK YOU.
Now One more doubt there is this ROM which I want to flash and it says to wipe dalvik cache before and after flasing the ROM. Please confirm only Factory reset will clear the existing ROM and wiping Cache and Dalvik cache wont affect the existing ROM(or internal SD Data)
Thanks again.
Click to expand...
Click to collapse
OK well flashing any ROM will replace your current ROM, NONE of your files (music, pictures or things like that) are touched by ANY of these wipes, Factory reset wipes out installed apps, wiping cache and dalvik after flashing or hell wipe data/factory reset won't touch the apps "built-in" to the ROM.
remember the ROM is your operating system and your files (music, pictures, and other stuff) are in the internal SD which is a separate partition from the ROOT system folder where the OS files are.
Wipe Data/Factory Reset - wipes all APPS and Google account information and resets all devices settings to default
as for the other 2 read through the answer here http://android.stackexchange.com/questions/25859/why-do-i-need-to-wipe-dalvik-cache it explains what the other wipes are about.
Hope that covers it, basically jumping from one ROM to another the most you can lose is your basic settings and your APPS (which can be redownloaded, if you didn't use an app to back them up first, but you would lose any progress in your games if you don't back them up).

Pixel Cache

I've always been in the habit of regularly wiping the Android cache partition on my earlier phones.
Obviously the Wipe Cache Partition option has been removed from Recovery Mode on the Pixel/Nougat.
Two questions:
1) Why would Google do this? Has Nougat improved cache management so much that manual clearing is no longer needed?? I don't get it. I know it solved many many problems for me - from performance slowing to launch issues.
2) There are whispers that cache now exists under /data/cache ? If viewed in a File Manager, would there be files there that could be deleted? And would this be the same as the old Wipe Cache Partition command?
Anyone?
Just asking.... Can't you just clear cache with one of these 2 methods:
1) Settings - Storage - Cached Data
2) With phone off, use the Power + Volume Up combination

Cache Bug?

Clearing cache from storage settings doesn't work actually. Every time i clear the cache from there it shows that i got rid of it but in the background it increases the size of the "other" folder present inside the storage option under settings. it feels like the cache is getting transferred to that folder and not wiping off.
I also tried clearing cache from recovery after clearing it first from settings but the "other" folder size remained intact. I think clearing cache doesn't work. Also the size of the "other" keeps on increasing everytime i do this. It's kinda loophole.
Has anyone observed it?
Does anyone have a pixel phone that they can try this on with the a b partitioning? I'm curious to know if this happens across the board or if it is just a OnePlus 6
Yea I noticed that too, clearing the cache in recovery (TWRP in my case) doesn't clear the cache shown in storage, but it doesn't go to the other folder either.
Literally nothing happens.
Not a bug, a feature. The cache doesn't exist as a partition on this phone. Clearing it in recovery does nothing.
iElvis said:
Not a bug, a feature. The cache doesn't exist as a partition on this phone. Clearing it in recovery does nothing.
Click to expand...
Click to collapse
Yes I know there is no cache partition on this phone. This happens when you clear all app cache and it happens when you clear the cache in the recovery both
you do it in stock recovery
cant do it in twrp or OS
what i do is when installing full rom zip update, ill reboot recovery clear cache then reboot fastboot install twrp and flash magisk and kernel

Categories

Resources