CPU Spy Gets an Android Lollipop Makeover

At some point in the distant past, you probably heard of CPU Spy for Android by XDARetired … more

Amazon Fire TV Stick vs Chromecast – XDA TV

There is no doubt that Amazon is a huge player in many markets, and they want to be a huge … more

Fight the Heat and Conserve Battery with EaseUS Coolphone

Memory hungry Android applications are often responsible for making our device … more

Battery Charged in 30 Seconds? Maybe in 2016

Phones and tablets are getting more and more power hungry with each passing generation. Their … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Nexus 5 stuck on Formatting cache for hours

OP BlueTemplar

1st June 2014, 10:04 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: Jun 2014
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.
1st June 2014, 11:46 PM   |  #2  
jd1639's Avatar
Recognized Contributor
Minnetonka, MN
Thanks Meter: 3,788
 
10,844 posts
Join Date:Joined: Sep 2012
It's not flashing if you've waited 10 hours. Stop the flash and try again. You might try flashing the whole factory image.
Last edited by jd1639; 1st June 2014 at 11:51 PM.
2nd June 2014, 04:26 AM   |  #3  
OP Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: 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?
2nd June 2014, 04:32 AM   |  #4  
simms22's Avatar
Recognized Contributor
BROOKLYN!
Thanks Meter: 22,484
 
26,784 posts
Join Date:Joined: Jun 2009
Quote:
Originally Posted by BlueTemplar

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.
2nd June 2014, 05:40 AM   |  #5  
OP Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: Jun 2014
Nothing. I also tried opening the phone, and disconnecting, then reconnecting the battery...
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes