Wipe Dalvik cache without root on android 6? - Nexus 5X Q&A, Help & Troubleshooting

Hi,
is there a way to wipe dalvik cache without root (maybe via adb) ? I always wiped cache+dalvik after flashing a rom or update on my Nexus 4. Is that still neccessary with android 6?
I am using the stock rom without any modifications. I usually install updates with fastboot+factory image.

You can wipe cache in stock recovery

Yeah but you can not wipe dalvik cache in stock recovery. I tried to wipe Dalvik cache with TWRP (via fastboot boot TRWP. img) but I only get the response that wiping failed.

Related

Upgrading CM9 alpha -> beta, factory reset required?

I'm running TeamNDVRu's CM9 α7 and I want to upgrade to β2. The beta 2 changelog says:
No wipe needed, only go into Manage Apps/All/Camera and wipe camera app data.
Boot.img didnt change from alpha-12/beta-1, no need to fastboot flash if upgrading from those.
Click to expand...
Click to collapse
Since I'm only on alpha 7 I presume I'll need to flash boot.img again and also delete the camera app. data. as it says. I'm guessing when in recovery I should wipe the Dalvik VM cache and the cache partition as well.
The one thing I'm not sure on is whether or not I'll need to wipe the data (factory reset) as well?
Bump.
Xavura said:
Since I'm only on alpha 7 I presume I'll need to flash boot.img again and also delete the camera app. data. as it says. I'm guessing when in recovery I should wipe the Dalvik VM cache and the cache partition as well.
The one thing I'm not sure on is whether or not I'll need to wipe the data (factory reset) as well?
Click to expand...
Click to collapse
There's been a few versions between m8, I would imagine full wipe is best. But you can always try with just wiping Dalvik and the cache partition. If you get any problems then full wipe (factory reset)

wipe all zip?

I was wondering if anyone knows of a wipe all flashable zip?
To, like, wipe everything?
If so, what's wrong with the options in recovery?
On my last phone I had a wipe cache and dalvik cache one and a wipe all which is factory data reset, cache, and dalvik cache. It just makes it quicker to flash a rom.
dakota.breeden said:
On my last phone I had a wipe cache and dalvik cache one and a wipe all which is factory data reset, cache, and dalvik cache. It just makes it quicker to flash a rom.
Click to expand...
Click to collapse
factory reset will wipe /cache and /data
a rom install will wipe dalvik and /system
you dont need a script to run to do all that for you
run factory reset in CWM/TWRP and install rom
Pirateghost said:
factory reset will wipe /cache and /data
a rom install will wipe dalvik and /system
you dont need a script to run to do all that for you
run factory reset in CWM/TWRP and install rom
Click to expand...
Click to collapse
What happened to doing a factory reset and then wipe cache and then wipe dalvik cache and then flash rom?
dakota.breeden said:
What happened to doing a factory reset and then wipe cache and then wipe dalvik cache and then flash rom?
Click to expand...
Click to collapse
cache wipe is included in the factory reset....watch when you do it, it says
FORMATTING CACHE
just looking at a few of the updater-scripts in some of the roms available right now (it appears some people put it in their script and some dont....love the consistency):
Code:
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/resource-cache");
which is odd considering all the devices I have ever worked on include the dalvik wipe (i have always included a cache wipe as well by default)...it makes for a quicker flash when the user doesnt have to go through 100 steps to install a rom....

Ice Bean 4.0.4 stuck on sony logo

i already follow the instruction here:
Locked BL or Unlocked BL:
Download .zip file and extract to sdcard/clockworkmod/backup, than boot to cwm, select backup and restore and choose the before Copied Backup File, wait and reboot when finished and enjoy the 100% Optimized ROM!
after reboot, why my screen stuck on sony logo always restart and restart on sony logo...how to solve it? thanks
looks like kernel problem...lil more detail pls..which ROM? or your own backup? which android version?
i'm using ICS 4.0.4 fw 4.1.B.0.431 already rooted and install CWM
backup i get from ice bean thread..
u said in your other post that it is a known problem..did u ask around in the development thread?
problem with the ice bean maybe?
try downloading it again
Full Wipe
You should have done a full wipe (Wipe cache, Wipe Data/Factory Reset, Wipe Dalvik Cache) and formatted data, cache and system in mount and storage via CWM before restoring the back up restore of ice bean.
ninehuss said:
You should have done a full wipe (Wipe cache, Wipe Data/Factory Reset, Wipe Dalvik Cache) and formatted data, cache and system in mount and storage via CWM before restoring the back up restore of ice bean.
Click to expand...
Click to collapse
Factory reset = Wipe cache + Wipe data
So, basically, you need to do factory reset, wipe dalvik cache, format system and then restore the backup.

[Q] Do i have to wipe cache/dalvik cache before install new kernel?

In my case, I always wipe data/cache/dalvik cache before install new Custom ROM.
Then, Do i have to wipe cache/dalvik cache before install new kernel?(not DATA)
its a good idea to wipe cache
you dont have to, but you might run into problems if you dont.

[Q] My htc freezed after flashing custom rom

Hello, my HTC is rooted, unlocked with s-off. I made factory reset, flash Cyanogen 10.1 and the phone freezed on cyanogen mod screen. I wait over 30 minutes, still the same logo. What to do?
Try reflashing the Rom after a complete wipe.
Wipe Data/factory reset
Wipe sd-ext
Wipe system
Wipe dalvik cache (twice )
Wipe batterystats
Then reboot recovery..
Flash Rom & gapps

Categories

Resources