Pixel Cache - Google Pixel Questions & Answers

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

Related

[Q][i9020T] Formatting partitions & installing a ROM

Hello, I'm just trying to gather as much information as I can and be clear about everything before I install a custom ROM. I have already rooted the nexus s.
The ROM I'm interested in is this CyanogenMod 7.
In their installation instructions it says
- Format the system, data & cache partitions of your device.
- Perform a factory reset.
From another guide (AddictiveTips) they just tell us to do the following
- Select wipe factory/data reset.
- Now, wipe cache and dalvick cache.
The xda thread tells us to format system, data, and cache partitions. But the AddictiveTips guide only seem to tell us to format the data & cache partitions.
So my question is, does the system partition automatically get formatted while installing the new ROM, or do you have to manually format it by going to mounts and storage > format system before installing the ROM?
Also, do you guys recommend to format all the required partitions by going to mounts and storage or by selecting wipe factory/data reset and wipe cache from the main menu? Thanks in advance.
...anyone?
Wipe factory/data reset (this will obviously also wipe the caches)
Install zip from SDCard (ROM)
Reboot.
Greetz

[Q] "Wipe cache partition" in recovery mode seems useless? What is it for exactly??

[Q] "Wipe cache partition" in recovery mode seems useless? What is it for exactly??
Hi. I'm using Samsung Galaxy Ace, Android 2.3.6, rooted.
I had 2 apps with cache data:
1. the system app "Internet" = 444KB
2. a user app called "RedLaser" (for reading QR codes) = 45KB
I turned off phone, went into recovery, then "wipe cache partition", then reboot.
It did nothing! The two apps still had cache, and I just deleted them manually in Settings -> Manage Applications.
So what does the "wipe cache partition" do anyway?
Also, if a phone is unrooted, is there a way to clean the dalvik cache?
Thanks all!
Its for wiping the cache of your phone application..some times if you not do this then you r apps will crash in the new rom..so its optional thing.but some times it needed...understood??
shyamjptpm, did you even read the details of my post? The cache of those two apps were not deleted through "wipe cache partition" in recovery mode. So I was wondering what it does, exactly, since it DOES NOT wipe the apps' cache.
The cache is an app cache, but not a cache of application data. You wipe that through application management (or manually with a file explorer or shell).
Think of it as an Android cache that it uses for apps and components.
Hey Archer, an app cache? Like the dalvik cache? The dalvik is for starting apps faster, correct? So is "Dalvik cache" same as the cache referred to in "wipe cache partition"?
MarlonKaye said:
Hey Archer, an app cache? Like the dalvik cache? The dalvik is for starting apps faster, correct? So is "Dalvik cache" same as the cache referred to in "wipe cache partition"?
Click to expand...
Click to collapse
No it's not apps - I explained that badly. It's regularly accessed data and app components, but not app-specific data. The Dalvik cache is the application cache - they are two different things.
Additionally depending on which recovery you are using, wiping the cache might not properly work all the time, that is why you read so many posts saying wipe +3; meaning to run the wipe cache (and dalvik) at least 3 times. I know I had issues with one specific recovery and switched to another because of it...
Archer said:
No it's not apps - I explained that badly. It's regularly accessed data and app components, but not app-specific data. The Dalvik cache is the application cache - they are two different things.
Click to expand...
Click to collapse
Hey, is it possible to wipe cache partition without getting into recovery mode?
And wiping the cache partition and dalvik cache will delete my game progress??
Please clarify this for me bro...

[Mod][Utility] Wiping Tools - Simple and Fast

Attached are three recovery flashable wiping tools I use when doing my work.
I find them to be incredibly useful tools that save some power button & volume rocker mashing, and time.
Wipe Cache and Dalvik - Wipes Cache and Dalvik (duh!)
Useful for:
-Flashing GApps
-Resolving app issues
Wipe Full - Wipes Cache, Dalvik, Data, and System
-Wipes just about all data except internal sd card
-Stops just short of a factory reset (does not wipe media)
-Useful for flashing ROMs within a type (e.g. going from one CM ROM to another CM ROM)
Wipe Full Factory Reset - Wipes Cache, Dalvik, Data, System, and internal sd card
-Useful when going from one ROM type to another (e.g. going from CM to TW)
_____________________
This is the part of the updater-script that selectively wipes /data in case anyone wants to add this to their ROM:
Code:
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/app");
delete_recursive("/data/app-asec");
delete_recursive("/data/app-private");
delete_recursive("/data/backup");
delete_recursive("/data/data");
delete_recursive("/data/drm");
delete_recursive("/data/log");
delete_recursive("/data/misc");
delete_recursive("/data/property");
delete_recursive("/data/system");
delete_recursive("/data/time");
delete_recursive("/data/user");
Changing the code above to the code below effectively performs a factory reset
(look at /data/media and you will see your internal sd card)
Code:
delete_recursive("/data");
As Always - Flash at your own risk!
Thannk you we were long due for a format all zip
iSheep... iSheep... Meowww that's Apple VZW GSIII
I added a full wipe with factory reset zip to the OP and updated the post to reflect the changes.
About to test with twrp. Anyone else use them yet, or will I be taking them on their maiden voyage with the BETTER recovery?
Edit: would you be interested in making a fourth one for those of us who are OCD? Davlik, cache, and (complete) factory reset, wiping everything but the SD card, saving the super wipe script of yours for flashing to/from different rom bases (tw to aosp/cm).
Sent from my SCH-I535 using Tapatalk 2
thanks i wanted this when the S3 came out and everyone said i was a dip**** for wanting it :highfive:
added to my sd card...thank you!
dems86 said:
About to test with twrp. Anyone else use them yet, or will I be taking them on their maiden voyage with the BETTER recovery?
Edit: would you be interested in making a fourth one for those of us who are OCD? Davlik, cache, and (complete) factory reset, wiping everything but the SD card, saving the super wipe script of yours for flashing to/from different rom bases (tw to aosp/cm).
Confirmed working on TWRP.
What you ask for is what the full wipe zip does. Any directories that I haven't added to the script are usually empty, or are regenerated during install of a new ROM.
If you find anything I missed let me know and I will update the script.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Karl said:
thanks i wanted this when the S3 came out and everyone said i was a dip**** for wanting it :highfive:
Click to expand...
Click to collapse
No way. I can't live without these.
Karl said:
thanks i wanted this when the S3 came out and everyone said i was a dip**** for wanting it :highfive:
Click to expand...
Click to collapse
Me too. I came from the t989 and when i got the i535 I looked and looked and asked but everyone said that it was stupid.
Karl said:
thanks i wanted this when the S3 came out and everyone said i was a dip**** for wanting it :highfive:
Click to expand...
Click to collapse
GalaxySII5191 said:
Me too. I came from the t989 and when i got the i535 I looked and looked and asked but everyone said that it was stupid.
Click to expand...
Click to collapse
yea i dont know about all that...
BUT
theoretically this is just the lazy way of getting it done. i appreciate it since i use TWRP..so i just load them up and sit back.
Bumping this because I used it earlier today and it worked like a charm
best toolset ever
Could you make a toolset to wipe dalvik, cache, and system?
Sent from my rOot3d Samsung Galaxy S3
SoCalSpecialist said:
yea i dont know about all that...
BUT
theoretically this is just the lazy way of getting it done. i appreciate it since i use TWRP..so i just load them up and sit back.
Click to expand...
Click to collapse
I guess everyone is lazy then cuz I can think of 5 other phones that had wipe zips
Sent from my Galaxy S III using Forum Runner
To help improve the quality of both the development and general sections, I decided to have this thread moved to the general section.
Just giving you a heads up in case you need to find it.
kennyglass123 will be moving this thread soon.
I know I'm grave digging, but I'm not sure where else to put this. I've found a way to wipe everything in /data/ except media. I've tested and it works in TWRP but I'm not sure how it works in CWM. Here's the line:
Code:
run_program("/sbin/sh", "-c", "find /data/* -maxdepth 0 -type d ! -name 'media' -exec rm -rf {} +");
upndwn4par said:
Attached are three recovery flashable wiping tools I use when doing my work.
I find them to be incredibly useful tools that save some power button & volume rocker mashing, and time.
Wipe Cache and Dalvik - Wipes Cache and Dalvik (duh!)
Useful for:
-Flashing GApps
-Resolving app issues
Wipe Full - Wipes Cache, Dalvik, Data, and System
-Wipes just about all data except internal sd card
-Stops just short of a factory reset (does not wipe media)
-Useful for flashing ROMs within a type (e.g. going from one CM ROM to another CM ROM)
Wipe Full Factory Reset - Wipes Cache, Dalvik, Data, System, and internal sd card
-Useful when going from one ROM type to another (e.g. going from CM to TW)
_____________________
This is the part of the updater-script that selectively wipes /data in case anyone wants to add this to their ROM:
Code:
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/app");
delete_recursive("/data/app-asec");
delete_recursive("/data/app-private");
delete_recursive("/data/backup");
delete_recursive("/data/data");
delete_recursive("/data/drm");
delete_recursive("/data/log");
delete_recursive("/data/misc");
delete_recursive("/data/property");
delete_recursive("/data/system");
delete_recursive("/data/time");
delete_recursive("/data/user");
Changing the code above to the code below effectively performs a factory reset
(look at /data/media and you will see your internal sd card)
Code:
delete_recursive("/data");
As Always - Flash at your own risk!
Click to expand...
Click to collapse
Hello thread. Never flash without this first. I think more people should know about it
Sent from my SCH-I535 using Tapatalk
upndwn4par said:
Attached are three recovery flashable wiping tools I use when doing my work.
I find them to be incredibly useful tools that save some power button & volume rocker mashing, and time.
Wipe Cache and Dalvik - Wipes Cache and Dalvik (duh!)
Useful for:
-Flashing GApps
-Resolving app issues
Wipe Full - Wipes Cache, Dalvik, Data, and System
-Wipes just about all data except internal sd card
-Stops just short of a factory reset (does not wipe media)
-Useful for flashing ROMs within a type (e.g. going from one CM ROM to another CM ROM)
Wipe Full Factory Reset - Wipes Cache, Dalvik, Data, System, and internal sd card
-Useful when going from one ROM type to another (e.g. going from CM to TW)
_____________________
This is the part of the updater-script that selectively wipes /data in case anyone wants to add this to their ROM:
Code:
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/app");
delete_recursive("/data/app-asec");
delete_recursive("/data/app-private");
delete_recursive("/data/backup");
delete_recursive("/data/data");
delete_recursive("/data/drm");
delete_recursive("/data/log");
delete_recursive("/data/misc");
delete_recursive("/data/property");
delete_recursive("/data/system");
delete_recursive("/data/time");
delete_recursive("/data/user");
Changing the code above to the code below effectively performs a factory reset
(look at /data/media and you will see your internal sd card)
Code:
delete_recursive("/data");
As Always - Flash at your own risk!
Click to expand...
Click to collapse
Wipe Full Factory Reset
WILL THIS DESTROY MY PHONE FROM BOOTING?

Twrp slow wiping data and cache fix (instant wiping)

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

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