Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,908 Members 53,931 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Nexus 5 stuck on Formatting cache for hours

Tip us?
 
BlueTemplar
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Jun 2014
Default [Q] Nexus 5 stuck on Formatting cache for hours

This morning my Nexus 5 that was charging suddenly showed the full screen charging battery icon.
(It wasn't due to an update since I haven't switched wifi on in a while. I have stock KOT49H Android, rooted.)

Then it was stuck loop-rebooting at the big Google logo.

Trying to clear cache gave this kind of error:
Code:
E:failed to mount /cache (Invalid argument)
E:can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:failed to mount /cache (Invalid argument)
failed closing /dev/block/platform/msm_sdcc ...
Now, quickly after the Google logo, a picture of an android on its back with its panel open and a red warning sign kept appearing (and the phone was still stuck in a boot loop, rebooting after awhile).

So, thanks to some guides, I downloaded the factory image for hammerheadkot49h from google developers.

Extracted cache.img from it and
Code:
fastboot flash cache cache.img
with the help of the command line function of Nexus Root Toolkit v1.8.2 from WugFresh.

Tried to reboot : red warning sign again
Tried to clear cache : same error
Tried to reboot... New Screen - Success! A picture of standing android with a web in its panel and some traits below with :
Code:
-- Wiping cache...
Formatting /cache...
Waiting for a couple minutes...
Start worrying and search the forums : the long formatting cache is normal, and DO NOT switch off the phone meanwhile if you don't want BAD THINGS to happen.
OK
Waiting 30 minutes.
An hour.
Giving up and going to go something else...

Now my Nexus 5 is stuck there for about TEN HOURS.

What should I do? I'd like to keep my personal data if possible... (would "e2fsck /dev/block/platform/msm_sdcc.1/by-name/userdata" help?)

Thank you in advance for your answer.
 
jd1639
Old
(Last edited by jd1639; 1st June 2014 at 10:51 PM.)
#2  
jd1639's Avatar
Recognized Contributor
Thanks Meter 3037
Posts: 9,043
Join Date: Sep 2012
Location: Minnetonka, MN
It's not flashing if you've waited 10 hours. Stop the flash and try again. You might try flashing the whole factory image.
 
BlueTemplar
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Jun 2014
Looks like I have a problem.

After shutting down the phone, it won't turn on anymore.
Nothing I tried works :
- Holding the power button
- Holding the power and volume up button
- Holding the power and volume down buttons
- Holding all the buttons
- Doing this while plugging/unplugging the charger...

Is my phone bricked?
 
simms22
Old
#4  
simms22's Avatar
Recognized Contributor
Thanks Meter 20643
Posts: 24,863
Join Date: Jun 2009
Location: BROOKLYN!
Quote:
Originally Posted by BlueTemplar View Post
Looks like I have a problem.

After shutting down the phone, it won't turn on anymore.
Nothing I tried works :
- Holding the power button
- Holding the power and volume up button
- Holding the power and volume down buttons
- Holding all the buttons
- Doing this while plugging/unplugging the charger...

Is my phone bricked?
be sure it shut down. hold down the power button for 25-30 seconds, then release and press again.
Google+ Profile
Twitter Simms22
DerKernel For Trinity kernels and more!
 
BlueTemplar
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Jun 2014
Nothing. I also tried opening the phone, and disconnecting, then reconnecting the battery...
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes