Dalvik and cache wiping in TWRP. - Nexus 5 Q&A, Help & Troubleshooting

Does anyone know why it takes so long for TWRP to wipe the dalvik and cache? Is it because of the new ART? What used to take only a few seconds now takes at least five minutes and sometimes I wonder if it's frozen up.
Sent from my Nexus 5 using XDA Premium 4 mobile app

Your not using the latest version. Use 2.6.3.4

Are you updated to the latest twrp? Mine doesn't take that long. Longer than it did on my GNEX, but not five minutes
sent from my HAMMERHEAD neXus

I used to have this issue, would take up to 10 minutes to wipe cache and dalvik.
However it's been fixed now, not sure if it's the TWRP update, or the 4.4.1 update, but between them it now only takes a few seconds.

Latest 2.6.3.4 fixed that issue.
Sent from my Nexus 5 using Tapatalk

Downloaded latest TWRP. Problem solved. Thanks
Sent from my Nexus 5 using XDA Premium 4 mobile app

Thanks for this thread. I was literally about to ask the same question. I'm glad to see this has been fixed. Sitting around for five minutes seemed a bit insane for wiping cache.

Related

For people having bugs.......

I bought my nexus 5, 2 days ago, performed the update, Then started using the phone, I had random reboots, app crashes, sleep of deaths.
I used wugfreshes toolkit, unlocked my phone, then downloaded the official firmware (4.4) from Google, and flashed it. After it flashed, I then let it start up, then immediately rebooted into stock recovery, wiped data (factory reset), Then I wiped cache.
Rebooted.
Phone has been alot more stable since, a huge difference!!! I would strongly advise doing this if your having issues.
Sent from my Nexus 5 using XDA Premium 4 mobile app

Wiping cache and dvalik in twrp

Is it just my phone or does it take absolutely ages?
Sent from my Nexus 5 via Tapatalk
Nope it's not just you.
Sent from my Nexus 5
Good! Lol. Cus on my Xperia its a few seconds of a process!
Sent from my Nexus 5 via Tapatalk
Same for me! Takes a good few minutes :/ On my Nexus 4 it would be a couple seconds!
Must be something to do with Android 4.4 I assume?!
Every time I do it, wipes my imei and I have to flash the factory image...I'm actually looking for a twrp flashable cwm file if that makes any sense
Sent from my Nexus 5 using XDA Premium 4 mobile app
mrakifa said:
Every time I do it, wipes my imei and I have to flash the factory image...I'm actually looking for a twrp flashable cwm file if that makes any sense
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Haven't seen a zipped cwm for the N5 yet. Why not just flash the .img in fastboot?
I just load up fastboot in my computer and
Code:
fastboot format cache
takes 3 secs
and format data separately in recovery mode....
george241312 said:
I just load up fastboot in my computer and
Code:
fastboot format cache
takes 3 secs
and format data separately in recovery mode....
Click to expand...
Click to collapse
Lol. Not with my laptop! It takes half a day to turn on
Sent from my Nexus 5 via Tapatalk
MattyPW said:
Same for me! Takes a good few minutes :/ On my Nexus 4 it would be a couple seconds!
Must be something to do with Android 4.4 I assume?!
Click to expand...
Click to collapse
It took several minutes also for me. Really awkward. With my previouse phone, LG p880, it was a matter of few seconds.
Probably the best part of 10 minutes to wipe cache/dalvik for me today!
Its a know issue with the N5. I believe its hardware related. TWRP devs will figure it out.
eep2378 said:
Its a know issue with the N5. I believe its hardware related. TWRP devs will figure it out.
Click to expand...
Click to collapse
Yes, it is. And there is a workaround for that issue: Go to the TWRP settings and activate "format rm - rf", so your wipe takes normal time as known.
You can find more about that in the TWRP Nexus5 main thread here .
Regards
Koetermann
For me personally, wiping the cache entirely deletes my internal storage so I would avoid it at all costs until there is an update..
Ben36 said:
Is it just my phone or does it take absolutely ages?
Sent from my Nexus 5 via Tapatalk
Click to expand...
Click to collapse
It takes my device a little while to wipe via TWRP.
scottdouglasdick said:
For me personally, wiping the cache entirely deletes my internal storage so I would avoid it at all costs until there is an update..
Click to expand...
Click to collapse
Such thing never happened to me. Formatting cache takes like 3 minutes for me, but it doesn't do any awkward. Unless you reboot while formatting ofc.
I'm avoiding wiping cache in TWRP at the moment...
first time i did that it borked something and i couldnt even switch airplane mode off or open play store when i got wifi on etc...wasnt that nice
Koetermann said:
Yes, it is. And there is a workaround for that issue: Go to the TWRP settings and activate "format rm - rf", so your wipe takes normal time as known.
You can find more about that in the TWRP Nexus5 main thread here .
Regards
Koetermann
Click to expand...
Click to collapse
Yep. Everyone should use this advice.
Sent from my Nexus 5 using Tapatalk
mrakifa said:
Every time I do it, wipes my imei and I have to flash the factory image...I'm actually looking for a twrp flashable cwm file if that makes any sense
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Which factory image do you use? I just ran into this issue and it's driving me nuts.
I wish I would have found this thread sooner. I just wiped my internal storage and IMEI doing this. I have a backup of my IMEI, but restoring it with TWRP doesn't seem to do anything.
Will restoring the factory image fix this, or do I need to do that and restore this backup?
SO if you change it to rm-rf it doesn't bork your cell connection? I know it'll wipe faster but still leary on cell connection. Or is it that this only happens if you make the mistake of rebooting instead of waiting???? I'm wanting to jump on SlimKat and coming from an Evo LTE the procedure to clean wipe I'm familiar with is wiping system/data/cache/davlik cache so I've been holding off worried about the cache part. I've been using 2.6.3.2
Why would wiping cache screw up your cell connection? And how does this wipe your entire phone?
sent from my beantastic almost retired Bionic

Cataclysm Rom - Home Button/Toggles not working

Hello everyone. So I have now downloaded the cataclysm ROM Latest build for Hammerhead, and I verified the md5 checksum, flashed it in TWRP, it boots up and everything seems to work great besides the home button (makes a click noise and indicates it is indeed accepting the touch, but nothing happens), and the quick toggles. I press the button on the notification bar and nothing happens, I can't even access the screen.
I've seen other people have had this problem but it has gone unanswered, or has been related to a broken download.
But I have downloaded the ROM 5 times from 3 providers, one with multiple mirrors, on different devices too. Checked the md5 of the last 4, they matched exact, but I still experience this issue sadly.
Any thoughts on where I should go from here?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Did you do a full wipe before flashing the rom?
Sent from my Nexus 5
Yes, but only the last time. Let me try this again and ill post back an update.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Wow I'm officially an idiot.
So used to having an SD Card and using ClockWorkMod Recovery that I just wiped all my data. Literally everything including my backups.. I'm such a fool.
But anyway, went to the bootloader got into recovery and flashed the Cataclysm ROM from an SD card with a Meenvo USB OTG adapter. Luckily I had it. And luckily I had a million copy's of the ROM.
So yes I can now say that a full wipe worked. Lol. Wow.
Thanks JD.
Sent from my Nexus 5 using XDA Premium 4 mobile app
CJD14 said:
Wow I'm officially an idiot.
So used to having an SD Card and using ClockWorkMod Recovery that I just wiped all my data. Literally everything including my backups.. I'm such a fool.
But anyway, went to the bootloader got into recovery and flashed the Cataclysm ROM from an SD card with a Meenvo USB OTG adapter. Luckily I had it. And luckily I had a million copy's of the ROM.
So yes I can now say that a full wipe worked. Lol. Wow.
Thanks JD.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Lol, a full wipe is system, data, and the caches. Not the whole device. But glad it's working for you now.
Sent from my SAMSUNG-SGH-I727

Need Help asap!!!

Last night i tried to flash purity kernel on my nexus 5, it rebooted fine. then after about 5 mins it rebooted again, this time for only about a minute. so i rebooted to recovery, then reflashed faux kernel. ever since then, no matter how many times i wipe cache and dalvik cache, it wont reboot. it goes to the 4 circles thing after the google logo, but never restarts. I've reflashed my rom, and the kernel several times. I'm in the army and currently over seas so this my on;y way to talk to my family besides borrowqing my friends phone. any help is appreciated
What are you wiping prior to reflashing your ROM and kernel?
sent from my Hammerhead Nexus
just cache partions and dalvik cache. incase it does reboot, i dont want to lose all my seetings and mods and such
Sounds like you may need a complete wipe(excluding internal storage). Then reflash your rom
sent from my Hammerhead Nexus
****. thats what i was hoping i wouldnt have to do. thanks for the help anyways
Please could you use more descriptive thread titles moving forward?
Sent from my Nexus 5 using Tapatalk
I will next time. Sorry
Sent from my Nexus 5 using xda app-developers app
Problem solved. Please delete
Sent from my Nexus 5 using xda app-developers app

Reboot frequently and data/setting lost

My phone is meeting a issue of high frequently reboot, and when after reboot, some app lost it's data, and some system settings are restored, such as wifi password lost.
I tried going back to stock rom, but this issue still happens.
So, can anyone who knows what is wrong with my phone?
Sent from my Nexus 5 using XDA Free mobile app
Sounds like a corruption during flashing of the ROM. Try wiping all data/cache and Dalvic cache, and flash again.
Sent from my Nexus 5
Nucleonic said:
Sounds like a corruption during flashing of the ROM. Try wiping all data/cache and Dalvic cache, and flash again.
Sent from my Nexus 5
Click to expand...
Click to collapse
I have tried several ROMs included Stock ROM, it all happens so...
I think it has no relation with ROM.
If it's happening on all roms, including stock, it's most likely a hardware issue. I'd warranty the device
Sent from my Nexus 5 using XDA Free mobile app

Categories

Resources