TWRP no option to wipe cache - OnePlus 6 Questions & Answers

Somebody also noticed that there's no option in official twrp to only wipe cache?

there is on mine. but everytime i wipe cache , the logs says "cache is not mounted".
[Edited]
Nope , just checked it, and its just shows "Dalvik / Art Cache" . i just realized it

Yupp. Even in stock recovery was the option to wipe only the cache. Weird... Is there any other way to wipe the cache?
Btw, I pulled up an issue request on GitHub. https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1254

memocatcher said:
Yupp. Even in stock recovery was the option to wipe only the cache. Weird... Is there any other way to wipe the cache?
Btw, I pulled up an issue request on GitHub. https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1254
Click to expand...
Click to collapse
I think it's relevant with that slot a/b thing(?)
how about in the unofficial of twrp?

you have to use stock boot.img and wipe cache in recovery.
after a ROM update go into recovery and wipe cache before installing TWRP / Kernel / Magisk
otherwise no way.

Related

how to wipe properly

I did not find similar threads on this so im going to say it for the final time....
Wiping by factory reset, wipe cache,dalvik cache and wiping battery stats is not wiping properly!!!
To install a rom freshly you wipe with the following correct procedures:
1.format system
2.format data
3.format cache
no need to wipe anything else. This is how u wipe properly before installling a rom. not by factory resetting by THIS.
Hope i helped many
RsurNexusS said:
I did not find similar threads on this so im going to say it for the final time....
Wiping by factory reset, wipe cache,dalvik cache and wiping battery stats is not wiping properly!!!
To install a rom freshly you wipe with the following correct procedures:
1.format system
2.format data
3.format cache
no need to wipe anything else. This is how u wipe properly before installling a rom. not by factory resetting by THIS.
Hope i helped many
Click to expand...
Click to collapse
every time when i flash new rom i do this :
wipe data/factory reset
wipe cache
wipe dalvik cache
I do all of it. Wipe data/cache/dalvik/battery then i format system/data/cache/boot
Sent from my Nexus S 4G using xda app-developers app
It would be good to note that the factory reset option in CWM does this. The one in the actual ROM I'm not sure of, but it probably doesn't.
chronophase1 said:
It would be good to note that the factory reset option in CWM does this. The one in the actual ROM I'm not sure of, but it probably doesn't.
Click to expand...
Click to collapse
the reset settings from custom rom settings didnt work ,
With toilet paper, back to front.
Sent from my Nexus S 4G using xda premium
Select “wipe data/factory reset
Select “yes”
This guide is not proper
Sent from my Nexus S using xda app-developers app
full wipe / changing roms:
1. wipe data/factory reset (this formats /data, /cache and .android_secure on sd)
2. format /system, /boot
this leaves you with a "virgin" phone, only bootloader, recovery and radio are left. dalvik-cache resides on /data, so it's gone already.
3. flash rom
4. optional: gapps & custom-kernel. no need to let the phone boot & settle before flashing them.
5. reboot
just updating rom:
1. flash rom-zip
2. wipe /cache and dalvik-cache
3. reboot
optional: if using a custom-kernel, flash it again after rom-zip. most custom-kernels have a script that automatically wipes /cache & dalvik during kernel-install.
Source:
http://forum.xda-developers.com/showpost.php?p=28728361&postcount=856
shabgard said:
With toilet paper, back to front.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
Don't you mean front-to-back?
Sent from my Nexus S using xda premium
I have always done what jayjay is stating...
And also front to back for me...

how to do a correct full wipe?

Hey guys, this might be a really noob question. I looked it up on google, but still wanted to make sure because of the verizon locked bootloader etc( i know we can unlock it now). How do i do a full wipe on my device? I am asking because there are a few more options in the wipe settings of the custom recovery i have.
This are the steps i always do before flashing a rom. Are they the correct steps or do i need to do something else?
Wipe Cache
Wipe Dalvik-Cache
Wipe Data/factory reset
dimeloklk said:
Hey guys, this might be a really noob question. I looked it up on google, but still wanted to make sure because of the verizon locked bootloader etc( i know we can unlock it now). How do i do a full wipe on my device? I am asking because there are a few more options in the wipe settings of the custom recovery i have.
This are the steps i always do before flashing a rom. Are they the correct steps or do i need to do something else?
Wipe Cache
Wipe Dalvik-Cache
Wipe Data/factory reset
Click to expand...
Click to collapse
Wipe Cache and wipe dalvik cache should both be done when flashing modifications or tweaks as they reduce the chance of encountering data issues/glitches and neither of them wipe your data as they are merely caches. Wipe data/factory reset should be done before flashing a rom. Wipe data/factory reset automatically wipes the cache and as the name implies will wipe any data you have on the phone, though any files you have saved to your internal "sd card" will be left intact. Before flashing a rom I always do a factory reset, and a dalvik cache wipe. Additionally I have found it helpful to also go into mounts and format system. There have been times for me that switching between two different roms has led to choppy performance, and this step seems to fix that as it thoroughly removes any traces of the previous rom.
Thanks for the detail reply. Is useful to know this since i always flash roms
OneNutShort said:
Wipe Cache and wipe dalvik cache should both be done when flashing modifications or tweaks as they reduce the chance of encountering data issues/glitches and neither of them wipe your data as they are merely caches. Wipe data/factory reset should be done before flashing a rom. Wipe data/factory reset automatically wipes the cache and as the name implies will wipe any data you have on the phone, though any files you have saved to your internal "sd card" will be left intact. Before flashing a rom I always do a factory reset, and a dalvik cache wipe. Additionally I have found it helpful to also go into mounts and format system. There have been times for me that switching between two different roms has led to choppy performance, and this step seems to fix that as it thoroughly removes any traces of the previous rom.
Click to expand...
Click to collapse
this is what I've always been taught to do as well.
sent from my unlocked bootloader Verizon Samsung galaxy s III
maybe you can get a dev to make a wipe zip

[Q] (HELLY BEAN 4.3) Stuck in boot loop! Help plz?

I have ClockworkMod Recovery. Reset to factory, wiped cache, wiped dalvik cache, installed rom, installed gapps. Tried 3 times and same result.
hallr88 said:
I have ClockworkMod Recovery. Reset to factory, wiped cache, wiped dalvik cache, installed rom, installed gapps. Tried 3 times and same result.
Click to expand...
Click to collapse
Wipe and format SD card, cache and dalvik, make sure you are flashing the correct ROM for your phone, wipe dalvik and cache between any additional flash, like gapps, kernel.. Ect.. And you should be good
Sent from my Nexus S using xda premium
hallr88 said:
I have ClockworkMod Recovery. Reset to factory, wiped cache, wiped dalvik cache, installed rom, installed gapps. Tried 3 times and same result.
Click to expand...
Click to collapse
Try
WIPE Cache + WIPE Dalvik + FULL WIPE(WIPE DATA + FORMAT /system + FORMAT /boot)
Then INSTALL the ROM
Then INSTALL the GAPPS
Then WIPE Cache + WIPE Dalvik
Goodluck!

[Q] CM11 - cannot get past the boot screen

Hi,
First, I followed the instructions in this guide: http://forum.xda-developers.com/showthread.php?t=2507905
I installed the CWM recovery and then flashed the CM11-20131228 nightly and then the recommended Google Apps that are linked at their wiki: http://wiki.cyanogenmod.org/w/Gapps#Downloads (I took the 20131208 ones)
Now my phone is stuck in the boot screen with the circle spinning around the cyanogenmod logo (I can boot the bootloader and recovery but when I try to boot CM11 it’s stuck) and I dont know how to get to a working cm11 rom. The guide said that the first boot with a new rom takes longer than usual because the phone rebuilds caches and so on but I think it should not take more than half an hour...
What I already tried is:
- Wiping the chaches with the CWM recovery an then booting cm11 -> still just the arrow spinning around the logo
- Wiping the caches with recovery and then re-flashing the same zip without flashing the google apps afterwards -> did not work
- Wiping and then pushing the newer cm11 nightly via adb so that I could try this one -> recovery did not find the pushed zip on my scdard
- Wiping, then tried to install the new nightly via adb sideload -> cmd prompt said it was send properly and as far as I can say the phone installed it but I was still stuck on that bootscreen ...
- I even restored to the stock 4.4.2 factory image and then flashed the cwm recovery, than wiped caches and then installed the latest cm11 nightly an then the google apps but I still can not get past the boot animation
What am I doing wrong and how can I get past the boot screen?
You talk about wiping caches but are you wiping data too?
Oh, yes. I just didnt mention it. I always did the three steps from the guide:
wipe data/factory reset
wipe cache partition
advanced > wipe dalvik cache
BopItXtremeII said:
Oh, yes. I just didnt mention it. I always did the three steps from the guide:
wipe data/factory reset
wipe cache partition
advanced > wipe dalvik cache
Click to expand...
Click to collapse
So you get the bootloop only when trying to install CM and when you flashed the factory image, it booted up fine?
Sent from my Nexus 5
Exactly.
I install the factory image with method 1 from this guide: http://forum.xda-developers.com/showthread.php?t=2513701 and then flash CWM recovery to install CM (factory reset + wipe cache + wipe dalvik cache + install cm-zip + install gapps-zip) and then there is the bootloop.
BopItXtremeII said:
Exactly.
I install the factory image with method 1 from this guide: http://forum.xda-developers.com/showthread.php?t=2513701 and then flash CWM recovery to install CM (factory reset + wipe cache + wipe dalvik cache + install cm-zip + install gapps-zip) and then there is the bootloop.
Click to expand...
Click to collapse
Did you check the md5 of the cm download?
BopItXtremeII said:
Exactly.
I install the factory image with method 1 from this guide: http://forum.xda-developers.com/showthread.php?t=2513701 and then flash CWM recovery to install CM (factory reset + wipe cache + wipe dalvik cache + install cm-zip + install gapps-zip) and then there is the bootloop.
Click to expand...
Click to collapse
Sometimes formatting all of the partitions (except the sd card) works.
Sent from my Nexus 5
jd1639 said:
Did you check the md5 of the cm download?
Click to expand...
Click to collapse
The md5 sum is the same as on the download page.
PhilipTD said:
Sometimes formatting all of the partitions (except the sd card) works.
Sent from my Nexus 5
Click to expand...
Click to collapse
Which partitions? boot, cache, recovery and system? Sorry, I'm new to android... And what do I have to install on these partitions after erasing them?
BopItXtremeII said:
The md5 sum is the same as on the download page.
Which partitions? boot, cache, recovery and system? Sorry, I'm new to android... And what do I have to install on these partitions after erasing them?
Click to expand...
Click to collapse
Flash the boot.img and reboot
Then see
Sent from my LT26i using xda premium
BopItXtremeII said:
The md5 sum is the same as on the download page.
Which partitions? boot, cache, recovery and system? Sorry, I'm new to android... And what do I have to install on these partitions after erasing them?
Click to expand...
Click to collapse
Wipe system, data, dalvik, and cache
jd1639 said:
Wipe system, data, dalvik, and cache
Click to expand...
Click to collapse
^^^^^^Precisely^^^^^^
Sent from my Nexus 5
I got another problem now ... The last thing I did was flashing the stock rom. Now I want to flash the latest CM nightly (20131229) but fastboot does not let me install cwm recovery and says
Code:
FAILED <remote: partition table doesn't exist>
I flashed the whole stock rom again but the error still occurs... I have to wipe the partitions after I installed CM, right?
BopItXtremeII said:
I got another problem now ... The last thing I did was flashing the stock rom. Now I want to flash the latest CM nightly (20131229) but fastboot does not let me install cwm recovery and says
Code:
FAILED <remote: partition table doesn't exist>
I flashed the whole stock rom again but the error still occurs... I have to wipe the partitions after I installed CM, right?
Click to expand...
Click to collapse
Are you using
fastboot flash recovery recovery.img
Where recovery.img is the cwm image file
jd1639 said:
Are you using
fastboot flash recovery recovery.img
Where recovery.img is the cwm image file
Click to expand...
Click to collapse
I use this command. But I missed a c in recovery so fastboot did not find the partition named "reovery" >_< Ok, CWM is installed. Now I have to install CM11 an then wipe the 4 partitions you mentioned with cwm? Wheres the option to wipe system, I just find the other 3.
BopItXtremeII said:
I use this command. But I missed a c in recovery so fastboot did not find the partition named "reovery" >_< Ok, CWM is installed. Now I have to install CM11 an then wipe the 4 partitions you mentioned with cwm? Wheres the option to wipe system, I just find the other 3.
Click to expand...
Click to collapse
I'm cwm just do the other 3
So I installed CM + Gapps and then wiped data, cache and dalvik cache with CWM. Now Im waiting for 8 minutes for the bootscreen to go away, but think it didnt work. By the way, if I wipe the system partition, I delete CM, dont I? I dont understand how that will help booting into CM.
BopItXtremeII said:
So I installed CM + Gapps and then wiped data, cache and dalvik cache with CWM. Now Im waiting for 8 minutes for the bootscreen to go away, but think it didnt work. By the way, if I wipe the system partition, I delete CM, dont I? I dont understand how that will help booting into CM.
Click to expand...
Click to collapse
Wipe before the install.
So,
1 Put rom zip on phone internal storage
2 Wipe partitions except internal storage
3 Flash rom
4 Flash GApps
5 Reboot
Sent from my Nexus 5
BopItXtremeII said:
So I installed CM + Gapps and then wiped data, cache and dalvik cache with CWM. Now Im waiting for 8 minutes for the bootscreen to go away, but think it didnt work. By the way, if I wipe the system partition, I delete CM, dont I? I dont understand how that will help booting into CM.
Click to expand...
Click to collapse
8 minutes is too long. You have some other problem. Do any other roms work? Wiping system in twrp does not wipe the internal sd card. That's why you didn't find it in cwm.
PhilipTD said:
Wipe before the install.
So,
1 Put rom zip on phone internal storage
2 Wipe partitions except internal storage
3 Flash rom
4 Flash GApps
5 Reboot
Sent from my Nexus 5
Click to expand...
Click to collapse
Thats what I did.
jd1639 said:
8 minutes is too long. You have some other problem. Do any other roms work? Wiping system in twrp does not wipe the internal sd card. That's why you didn't find it in cwm.
Click to expand...
Click to collapse
I will try the AOKP nightly and post the results. Is it okay to just wipe data, cache and dalvik cache before installing the aokp zip or is it better to flash the stock rom before flashing aokp?
No need to flash stock, just do the wipes

Problems after updating firmware for my samsung galaxy note 8 gt-n5110

I installed cm12.1 rom for my samsung galaxy note 8 gt-n5110 and after i turned it on this was what happened. It constantly showed text boxes like "unfortunately, google app has stopped" and after i closed it another one showed up and now i cant control it anymore! I cant even finish the setup! What can i do?
Im new to these firmware stuff btw.
sunglassesman said:
I installed cm12.1 rom for my samsung galaxy note 8 gt-n5110 and after i turned it on this was what happened. It constantly showed text boxes like "unfortunately, google app has stopped" and after i closed it another one showed up and now i cant control it anymore! I cant even finish the setup! What can i do?
Im new to these firmware stuff btw.
Click to expand...
Click to collapse
Try a smaller Gapps package than the one that you flashed with the ROM. The package you used is probably too large to fit in the system partition along with the ROM.
Or, you didn't factory reset, wipe cache and wipe dalvik cache when you flashed the ROM. Failing to do those wipes will cause bugs due to the new system conflicting with the saved system data/settings from the previous system. In other words, data left over from the old ROM is causing problems with the new ROM.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Try a smaller Gapps package than the one that you flashed with the ROM. The package you used is probably too large to fit in the system partition along with the ROM.
Or, you didn't factory reset, wipe cache and wipe dalvik cache when you flashed the ROM. Failing to do those wipes will cause bugs due to the new system conflicting with the saved system data/settings from the previous system. In other words, data left over from the old ROM is causing problems with the new ROM.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Hey thanks for replying but it seems like i cant even finish the setup. Therefore i cant load any files into my device. Any suggestions?
sunglassesman said:
Hey thanks for replying but it seems like i cant even finish the setup. Therefore i cant load any files into my device. Any suggestions?
Click to expand...
Click to collapse
Boot back into recovery, then factory reset, wipe cache and wipe dalvik cache, then reboot.
If that doesn't work, try booting back into recovery then flash the ROM then the Gapps then factory reset, wipe cache and wipe dalvik cache then reboot.
If that doesn't work, try booting back into recovery, then select the "Wipe" option, then choose the "advanced wipes" option, then choose the system partition, then swipe the slider at the bottom to run the wipe, then try flashing just the ROM but don't flash the Gapps, factory reset, wipe cache and wipe dalvik cache then reboot. After you get the device booted, you can delete the Gapps file then download a smaller package and put it in your phone's internal storage then boot back into recovery and select the "Install" option, at this point, you already have the ROM installed so no need to flash it again, but you do need to flash the new Gapps file, then factory reset, wipe cache and wipe dalvik cache.
Do you see how important it is to factory reset, wipe cache and wipe dalvik cache every time you flash? It is a vital step.
Sent from my SM-S767VL using Tapatalk
Hey thanks for all these but my device is using cwm right now so can you pls rewrite the instructions for me?
Also i cant finish the setup with all these popups so theres no way i can load files into it.
And yeah i guess i didnt wipe data or caches away after i finished flashing the files.
Thank you so much.

Categories

Resources