moto g 2015 with stock rom goes into boot loop after "optimizing apps" phase - Moto G 2015 Q&A, Help & Troubleshooting

moto g 2015 with stock rom goes into boot loop after "optimizing apps" phase
I rebooted my Moto G 2015 after an app began behaving erratically. The device then went into a boot loop. The first thing wrong with the boot is that it goes through the "Optimizing apps" stage, but as I had not wiped cache I wouldn't expect it to do that. After it gets through my 117 apps it says "Starting apps" and then reboots - I get the spool of thread and the stitching animation and the whole process starts over.
I've tried going into recovery mode and telling it to wipe cache there - I would expect cache wipe to take just several seconds like on other phones I've used (haven't ever done it with this one), but here it prints "formatting /cache..." and sits there, and sits there, and every 10 minutes, is still sitting there.
Is there any way from the recovery mode to get data copied off the device's internal memory? I have a few things there that weren't backed up. I tried running "Apply update from ADB" in recovery mode, then trying the "adb backup" command, but I got the error "adb: unable to connect for backup: closed".
My guess is that this phone has bad memory and I'll have to eat my lost data and send the phone back to Lenovo for warranty service. But if anyone has any ideas for things to try, let me know!

droidlesswonder said:
I rebooted my Moto G 2015 after an app began behaving erratically. The device then went into a boot loop. The first thing wrong with the boot is that it goes through the "Optimizing apps" stage, but as I had not wiped cache I wouldn't expect it to do that. After it gets through my 117 apps it says "Starting apps" and then reboots - I get the spool of thread and the stitching animation and the whole process starts over.
I've tried going into recovery mode and telling it to wipe cache there - I would expect cache wipe to take just several seconds like on other phones I've used (haven't ever done it with this one), but here it prints "formatting /cache..." and sits there, and sits there, and every 10 minutes, is still sitting there.
Is there any way from the recovery mode to get data copied off the device's internal memory? I have a few things there that weren't backed up. I tried running "Apply update from ADB" in recovery mode, then trying the "adb backup" command, but I got the error "adb: unable to connect for backup: closed".
My guess is that this phone has bad memory and I'll have to eat my lost data and send the phone back to Lenovo for warranty service. But if anyone has any ideas for things to try, let me know!
Click to expand...
Click to collapse
Wiping cache in recovery takes a long time on this device... really long, maybe even 20-30 minutes sometimes. Try the cache wipe again. If that fails do a full factory reset and give it time to finish. I don't know why recovery wipes take so long in this device, but they take a ridiculously huge amount of time. (Cache wipe in my Moto X Pure Edition takes about 30 seconds, which is also a 3rd gen Moto device).
You cannot access the files via stock recovery or fastboot unless you have an unlocked bootloader and boot a third party recovery like TWRP.

cache wipe successful but no joy
After my post above I tried wiping the cache and waited patiently, and as you predicted it did eventually complete. But the phone still goes into the boot loop.
I am kicking myself for not rooting this thing on day 1 and installing TWRP. I need to have a solemn moment alone with the phone to say goodbye to my data and I'll try full factory reset, if that doesn't work it's off to warranty service.
Thanks for the response!

droidlesswonder said:
After my post above I tried wiping the cache and waited patiently, and as you predicted it did eventually complete. But the phone still goes into the boot loop.
I am kicking myself for not rooting this thing on day 1 and installing TWRP. I need to have a solemn moment alone with the phone to say goodbye to my data and I'll try full factory reset, if that doesn't work it's off to warranty service.
Thanks for the response!
Click to expand...
Click to collapse
Well... On a good note, since your not rooted then system is still intact, a factory reset will likely work.
Sent from my Motorola XT1575 using XDA Labs

acejavelin said:
Well... On a good note, since your not rooted then system is still intact, a factory reset will likely work.
Sent from my Motorola XT1575 using XDA Labs
Click to expand...
Click to collapse
Yes, it did work, phone is back to where is was six months ago. Since the data has been wiped, I'm going to unlock and install TWRP so I'll be in a better place when this happens again. Thanks again for your help!

Related

Both recoveries having issues wiping cache causing major issues

Nexus 5 here and tried both CWM and TWRP and each have the same issue. It just sits there and does nothing when doing a wipe cache. I have seen others having the same thing and the answers are it much be your device. Then if you power it off it loses the IMEI and anything network related and has to be reverted all the way back to stock. Very annoying really and more that this gets ignored and the threads closed.
GrandMstrBud said:
Nexus 5 here and tried both CWM and TWRP and each have the same issue. It just sits there and does nothing when doing a wipe cache. I have seen others having the same thing and the answers are it much be your device. Then if you power it off it loses the IMEI and anything network related and has to be reverted all the way back to stock. Very annoying really and more that this gets ignored and the threads closed.
Click to expand...
Click to collapse
It takes around 5min to wipe cache, dont interrupt it.
Sent from my Nexus 5
I've noticed that now, should be a sticky or something. I myself am not used to it taking more than a few seconds on any other device.
Anyone know why it takes so long to wipe cache on this? I'm like Grand and seeing it only take a few seconds.
Sent from the jaws of my Hammerhead!
Yup, this should be in the sticky guide. I am on android since the days of G1, and even I was stumped for a bit. Thankfully I did not loose anything. But yes, I did not boot into Android. I just rebooted into bootloader by long pressing power to reset and again wiped cache. This time I decided to wait it out, and there it was. Took much longer than usual to wipe cache with CWM.
Oh crap, I tried wiping the cache from the stock recovery and it just sat there forever, so I powered it down and rebooted it before reading this thread (I've done this on many Android devices and it never took this long...). I encountered problems with Google Play Services when it started back up so I decided to do a factory reset, but it didn't seem to start when doing it through the settings so I started it in recovery (format data/cache). And now it is just sitting here, as it has for the last 10 minutes... I'm starting to get worried. What should I do?
EDIT: right after I wrote this, the factory reset finished. Am rebooting now.
EDIT 2: booted up fine, with everything working. Wiping took an ungodly amount of time compared to previous versions of Android.
I had the same problem.
The wipe cache procedure (from stock recovery) took forever and I powered off my phone (big error).
Since then it has started behaving in a crazy way.
I re-entered the stock recovery mode and selected the factory reset option, but it didn't succeed signalling "can't access /cache partition".
Evrything followed by eternal bootloops.
I repeated the procedure many times and at last everything was OK (after many attempts, the factory reset procedure worked, even if it took SO long)
Remember: be patient. Or you will screw your phone.
Indeed, patience is the key
TeoLinuX said:
I had the same problem.
The wipe cache procedure (from stock recovery) took forever and I powered off my phone (big error).
Since then it has started behaving in a crazy way.
I re-entered the stock recovery mode and selected the factory reset option, but it didn't succeed signalling "can't access /cache partition".
Evrything followed by eternal bootloops.
I repeated the procedure many times and at last everything was OK (after many attempts, the factory reset procedure worked, even if it took SO long)
Remember: be patient. Or you will screw your phone.
Click to expand...
Click to collapse
I started the cache wipe, thought the phone got hung up, and powered it off. Powered on and all network-related settings were missing, /sdcard partition was empty. Then I went searching and found this thread. Based on what I read, I decided to try the wipe cache again and this time I waited for it to finish. Rebooted the phone and all is back to normal.
For me it's takes on wiping cache only few seconds on CWM touch latest version recovery.
i was frightened when i found this thread, after my n5 seemed to be stuck flashing cache....but after a very long time (about 10 minutes, not sure) phone finished wiping....i was so relieved!!phewwwww
TeoLinuX said:
I had the same problem.
The wipe cache procedure (from stock recovery) took forever and I powered off my phone (big error).
Since then it has started behaving in a crazy way.
I re-entered the stock recovery mode and selected the factory reset option, but it didn't succeed signalling "can't access /cache partition".
Evrything followed by eternal bootloops.
I repeated the procedure many times and at last everything was OK (after many attempts, the factory reset procedure worked, even if it took SO long)
Remember: be patient. Or you will screw your phone.
Click to expand...
Click to collapse
In future if you face the same issue kindly,don't powered it off, then it will take more time in factory settings. I tried without switching it off and its all done in flash of time. might be i was luckey:fingers-crossed:
joannn said:
In future if you face the same issue kindly,don't powered it off, then it will take more time in factory settings. I tried without switching it off and its all done in flash of time. might be i was luckey:fingers-crossed:
Click to expand...
Click to collapse
This is the worst thing I have ever heard. I have had plenty of devices and for some reason the nexus line have the weirdest issues.
But I do love this devices. Well will wait and see if my stuff works again.
Waited like 4 minutes on second attempt and yes it came back. Wow!!!
TeoLinuX said:
The wipe cache procedure (from stock recovery) took forever
.....
Remember: be patient. Or you will screw your phone.
Click to expand...
Click to collapse
Agreed! It took mine about 7-10 minutes (much longer than I expected) -- those who are waiting hours must have some other problem.
dangerzone said:
Agreed! It took mine about 7-10 minutes (much longer than I expected) -- those who are waiting hours must have some other problem.
Click to expand...
Click to collapse
I ran into the same problem today - gave up after 20 minutes and rebooted the phone. Now /cache could not be mounted and thus no sdcard either.
Unzipped the latest factory image (KTU84P) and did a
Code:
fastboot flash cache cache.img
which was successful.
rebooted into recovery and now wipe cache took seconds.
So the cache partition can become corrupt, but this seems to fix it.
Luckily I had an unlocked bootloader - otherwise factory reset would have been the only option.
It can take up to half an hour (maybe more)
gian569 said:
i was frightened when i found this thread, after my n5 seemed to be stuck flashing cache....but after a very long time (about 10 minutes, not sure) phone finished wiping....i was so relieved!!phewwwww
Click to expand...
Click to collapse
On my phone, it took nearly half an hour. Plug it in, and be very very very patient.
Ha! Well I'm glad I found this thread. Was stuck on it for 10 min and almost powered down. Waited another 5 min and it finished.
Soooooo looooooong
My /cache wiping took about 30 mintues. Luckyly, i found this post and wait until it ended.
I just experience the same thing, only then with my Note 3. I was waiting for about 15 minutes and I thought it was stuck at formatting the cache CWM. Luckily I found this thread and I waited before I rebooted. It finished in about 20 to 30 minutes.
I just had to thank you.
GrandMstrBud said:
Nexus 5 here and tried both CWM and TWRP and each have the same issue. It just sits there and does nothing when doing a wipe cache. I have seen others having the same thing and the answers are it much be your device. Then if you power it off it loses the IMEI and anything network related and has to be reverted all the way back to stock. Very annoying really and more that this gets ignored and the threads closed.
Click to expand...
Click to collapse
I just had to thank you for even making this thread. LOL. My HTC One M7 took so long when I was wiping cache. So i rebooted and went into all sorts of bootloops. Tried it again after reading this thread and after about 20-25 mins it finished. Thanks once again. :good::good::good::good:

Stuck at "erasing" when doing a factory reset?

Anyone else had issues performing factory resets? My Nexus 5 seems incapable of completing it. So far I have tried doing a factory reset from the settings menu 4 times. Every single time it locks up on the erasing step. I don't mean it takes a little longer. I have let it sit for almost half an hour and the little android robot sits there taunting me.
Every time I have had to manually go into the bootloader and sideload a factory image, which works fine.
Any ideas why this problem is occurring? Faulty memory maybe?
Same issue here, phone is getting nice and warm but the little robot just sits there twiddling his antennae. Forced restart either normally or into recovery mode lands me right back on the erasing screen, looks like nothings going to happen unless I intervene another way. Any ideas?
Try pushing the system.img using fastboot. Might be best to start over and do a clean install.
Have you tried doing a factory reset in recovery instead?
Sent from my Nexus 5 using Tapatalk
Same problem
I have the same problem with the loop at the erasing screen. It will not go into recovery so that I can fix it. I tried flashing the Stock Rom again but no use. Please help me or at least give me some pointers what to try next.
jizkidjnr said:
Same issue here, phone is getting nice and warm but the little robot just sits there twiddling his antennae. Forced restart either normally or into recovery mode lands me right back on the erasing screen, looks like nothings going to happen unless I intervene another way. Any ideas?
Click to expand...
Click to collapse
martinancevski said:
I have the same problem with the loop at the erasing screen. It will not go into recovery so that I can fix it. I tried flashing the Stock Rom again but no use. Please help me or at least give me some pointers what to try next.
Click to expand...
Click to collapse
I have the same problem
I'm sure you wait a long time...but if not, mine probably took 10-15 minutes to finish...
Sent from my Nexus 5 using xda app-developers app
i have the same problem
What is your recovery? Version # also? How did you root? <--- this goes to the rest of you guys too because it seems like its happening to more than one person.
Follow this: Maybe flash the stock recovery found in here http://forum.xda-developers.com/showthread.php?t=2513701
fastboot flash recovery C:/image-hammerhead-krt16m/recovery.img
^^ the command
edit: on second thought start over.
lpforte said:
Anyone else had issues performing factory resets? My Nexus 5 seems incapable of completing it. So far I have tried doing a factory reset from the settings menu 4 times. Every single time it locks up on the erasing step. I don't mean it takes a little longer. I have let it sit for almost half an hour and the little android robot sits there taunting me.
Every time I have had to manually go into the bootloader and sideload a factory image, which works fine.
Any ideas why this problem is occurring? Faulty memory maybe?
Click to expand...
Click to collapse
hello
I have the same exact problem
I'm completely stock and I want to reset all so I do factory reset from menu setting, backup & reset
And since, my nexus stucked in "erasing...."
I have tried flashing factory image according to this guide, succeeded, but then still stucked in android logo with endless progress bar (but this time without "erasing....")
Need help how to restore it
All I want is to factory reset
How did you actually sideload factory image?
thanks
iori said:
hello
I have the same exact problem
I'm completely stock and I want to reset all so I do factory reset from menu setting, backup & reset
And since, my nexus stucked in "erasing...."
I have tried flashing factory image according to this guide, succeeded, but then still stucked in android logo with endless progress bar (but this time without "erasing....")
Need help how to restore it
All I want is to factory reset
How did you actually sideload factory image?
thanks
Click to expand...
Click to collapse
ADB sideload: place the rom you want to flash in the fastboot folder and in the phones recovery select adb sideload, then on the pc in cmd type: adb sideload namerom.zip and it will start flashing.
gee2012 said:
ADB sideload: place the rom you want to flash in the fastboot folder and in the phones recovery select adb sideload, then on the pc in cmd type: adb sideload namerom.zip and it will start flashing.
Click to expand...
Click to collapse
thanks
but i finally found out that the stock recovery was somehow corrupted after factory reset
then I unlocked the bootloader and flashed TWRP recovery, and voila! my device booted normally
Nexus 5 hung at reset
iori said:
hello
I have the same exact problem
I'm completely stock and I want to reset all so I do factory reset from menu setting, backup & reset
And since, my nexus stucked in "erasing...."
I have tried flashing factory image according to this guide, succeeded, but then still stucked in android logo with endless progress bar (but this time without "erasing....")
Need help how to restore it
All I want is to factory reset
How did you actually sideload factory image?
thanks
Click to expand...
Click to collapse
Exactly the same problem here. Nexus 5 running 4.4.2 kept powering off randomly roughly once a day. Attempted a factory reset and it got stuck at erasing. Having unlocked the bootloader and following the steps to unlock and reboot, I have a progress bar with the animated android icon, apparently stuck at the same stage, but without the "erasing" caption.
As far as I'm concerned, I can nothing with the phone at present short of taking it back, though they'll likely take issue with my attempts to rectify myself
mannschaftpag said:
Exactly the same problem here. Nexus 5 running 4.4.2 kept powering off randomly roughly once a day. Attempted a factory reset and it got stuck at erasing. Having unlocked the bootloader and following the steps to unlock and reboot, I have a progress bar with the animated android icon, apparently stuck at the same stage, but without the "erasing" caption.
As far as I'm concerned, I can nothing with the phone at present short of taking it back, though they'll likely take issue with my attempts to rectify myself
Click to expand...
Click to collapse
I'll add that I've also tried the Nexus Root Toolkit v1.8.0 to flash stock. Appears to go fine, recreating the file system and loading software, then as soon as it gets to the "erasing cache" step it just sits there for hours and makes no progress.
I know I probably shouldn't promote toolkits but you can always try this. Seems to have worked for a lot of people.
http://forum.xda-developers.com/showthread.php?t=2513937
Sent from The Deathstar
Same thing happened to me yesterday. My N5 is rooted, running stock rom and recovery. I had some corrupted app date showing in Titanium that I could not remove that were causing a Play store issue for me. I backed up my phone with TB and ran a factory reset in settings. The phone was stuck on the 'erasing' screen for maybe 20 minutes, so I put the phone in fastboot and from there back into recovery. This took me back to the 'erasing' screen to my dismay. I put the phone down and started searching for a solution online, but then I noticed after about 7 minutes the erase process had finally finished on its own and the phone rebooted normally again.
Based on what others are saying in this thread it appears the factory reset process via settings or stock recovery can hang sometimes. If you power off, start the phone in fastboot and select recovery again, I'm guessing the factory reset process restarts and hopefully it will then work properly the next time, like it did for me.
Well when I did a factory reset from settings, it took nearly 20-25 minutes to finish. The next time I did a reset, it completed within 10 minutes
I guess this problem occurs randomly.
Be patient
My guess is that you just need to be patient -- my device took nearly 45 minutes to reset. It seems to me that the time required is proportional to either the amount of data or the number of files you have on the device. My device had a mix of large files (such as musics and photos) and many many small files (sensor data log files), so it's hard for me to say which of those contributed more to the long reset time.
Based on what others are saying in this thread it appears the factory reset process via settings or stock recovery can hang sometimes. If you power off, start the phone in fastboot and select recovery again, I'm guessing the factory reset process restarts and hopefully it will then work properly the next time, like it did for me.
Click to expand...
Click to collapse
This worked for me too. On the initial 'Return to factory defaults' it got stuck for about 45 minutes. I then follow the advice above:
- Put the N5 in Fastboot by pressing: Vol. Up + Vol. Down + Power
- Select: Recovery and press on Power to proceed
- Phone reboots, still into the 'Androidman' but it seems that the 'Return to factory defaults' also restarts.
- Wait about 10 minutes and the Phone powers down automatically. Upon startup you enter the 'Initial configuration menu' so the factory reset has been completed.
Still stuck on Erasing screen, running out of options
Hello,
I am a newbie with zero developer knowledge and received my Nexus 5 in the mail yesterday. I liked the phone specs and that is the only reason I got it. I left it alone while it charged up and the first thing I did once it was finished was perform a Factory Reset (it was a "like new" phone so I just wanted to be safe) and have been stuck on the Erasing screen ever since. Pressing Vol- and Power button does take me to the bootloader screen, however, any option I choose by pushing the power button, such as Recovery Mode, sends me back to the Erasing screen. Pushing Vol+, Vol-, and Power shuts the phone off completely. Holding the Power button down does nothing more than restart the phone into the Erasing screen. I have also let the phone die twice and as soon as it has enough juice to come back on, it goes straight to the Erasing screen. Everything on the phone is stock and it is completely unrooted. The bootloader screen also indicates it is unlocked. I have attempted to flash it as per instructions I have found on here but I am unable to download the stock factory images. It gets to about 90% before the install fails and I have tried to install three times already. I do have the 15 Second ADB installed, however. I assumed the install of the factory images failed because I don't have WiFi and I'm running completely off of limited 3G data (I live in the middle of no where with no high speed internet to speak of). So in lieu of all that I have attempted, is there ANYTHING at all that can be done to get the phone off of this Erasing screen? Or do I just need to try and return it because it's useless at this point? I did at first let the process run but it's now been 24 hours stuck on this Erasing screen with no improvement. I'm fairly certain it runs KitKat 4.4.0.

Nexus 5 not working after 4.4.2 update

So, got the 4.4.2 update , downloaded it and then it asked for a reboot. I did reboot. I am completely stock , no root nothing. Now the update was installing but in the end I got error :/ the image was robot kinda looking like he had heart attack... anyways, it gave me 4 options, so i cliked volume button .. I don't know all the options but from the 2 of them, one was reboot and other was clear cache or something. I thought clearing cache may **** up something on phone so I tried scrolling back on the top.. but to my surprise from volume buttons phone didn't let me go up at all :/
I didn't had any choice but to choose clear cache.. I thought it may help. But it didn't... so I forced reboot it with power button hold for 10 seconds.. Now phone is working but no sim on it starts.. no signal whatsoever. If I try to open my gallery, it doesn't open. says "No storage, no external storage available" .. when I try to connect usb to phone and try to backup my pics and stuff from pc it doesn't open anything. PC does show "Internal memory" but there's nothing in it. My phone doesn't let me even use wifi. So I thought it was time to factory reset, but to my surprise when I click erase everything, it does nothing. So, I thought of rebooting and clicking "power+volume down" , still nothing.. it shows the same robot pic having heart attack... I doesn't have knowledge of root and stuff for now, I am a simple user of nexus 5 who is still on stock. Any help please? I am worried here now
Think you're gonna need to follow one of the guides to flash stock system again
Sent from my Nexus 5 using Tapatalk
nevermind. Working again.
What did you do to get it Woking I got mine in a box ready to RMA if you got a suggestions I'm open to try one more time beforrv I be without my phone for s long time
Sent from my Inspire 4G using Xparent Green Tapatalk 2
How did you get it working?? F**k mine has no signal at all too! Damn I am really pissed!
---------- Post added at 04:09 AM ---------- Previous post was at 03:59 AM ----------
I did a factory reset and its working now. What a headache Google!
Mistake 1: not allowing the phone adequate time to clear the cache when finished installing the ota. If you force the phone to restart during this process, it will corrupt your cache which causes all of those issues listed above (loss of signal, no baseband info, loss of access to mountable storage, etc).
Cache clearing takes considerably longer than on any other device I've owned prior to this phone, so messing with the phone during that important cache clearing process is the issue.
Mistake 2: reflashing the entire phone to stock. In the event you become impatient and decide to force your device to restart, you DONT HAVE TO revert to stock to get the phone working. What you have to do is restore functionality to the cache portion of the phone. All of your files are in fact still on the phone and accessible, you just have to unbreak your phone. You do this by procuring cache.IMG from the stock image of the phone (available on googles websites), and then you fastboot flash the file in the boot loader (look up adb commands to do this). Once this is done, reboot the phone and everything should be hunky dory after your applications cache is rebuilt and android boots.
Note: you might need to check for root again. Also if you corrupted your cache you will have to set all of your ringtones and notifications again because this cache corruption process unlinked the ability of yours apps that use notifications to "see" the sound files you have on your SD card.
Sent from my Nexus 5 using xda app-developers app
delete
What a savior ... wiped the cache again , gave adequate time this time and it booted again fine
I had the exact same problem! Cleared cache in recovery mode in 4.4.4 and then thought it stalled because it was running for 1 minute (which normally took 2 seconds in previous devices) so I forced a restart. Then I had all sorts of errors: couldn't connect with my SIM card, couldn't download our see my pictures, screen rotation but working, constant Google Playstore crash popups, and more.. I thought I'd bricked it. A few more attempts to clear cache in recovery mode, still took longer than 1 minute (also the same errors in my recovery mode like stated above: "E: failed to mount /cache" ... that sort of things)
A few days later I'd had it. My steps for the SOLUTION:
1. Cleared cache in my settings: settings -> storage -> cache (don't know if this has influenced the outcome but I did it).
2. Went back to recovery mode, errors still displaying, but tried again to clear cache. The only difference now was that I left it running without touching my Nexus 5 for about 10 MINUTES(!).
..........To my surprise it ended with "clearing cash complete" WOW! So I rebooted and everything worked fine again! The only thing was that I had to set some notification sound again. That wasn't too hard
Let me know if it helped in your case
xybur said:
Mistake 1: not allowing the phone adequate time to clear the cache when finished installing the ota. If you force the phone to restart during this process, it will corrupt your cache which causes all of those issues listed above (loss of signal, no baseband info, loss of access to mountable storage, etc).
Cache clearing takes considerably longer than on any other device I've owned prior to this phone, so messing with the phone during that important cache clearing process is the issue.
Mistake 2: reflashing the entire phone to stock. In the event you become impatient and decide to force your device to restart, you DONT HAVE TO revert to stock to get the phone working. What you have to do is restore functionality to the cache portion of the phone. All of your files are in fact still on the phone and accessible, you just have to unbreak your phone. You do this by procuring cache.IMG from the stock image of the phone (available on googles websites), and then you fastboot flash the file in the boot loader (look up adb commands to do this). Once this is done, reboot the phone and everything should be hunky dory after your applications cache is rebuilt and android boots.
Note: you might need to check for root again. Also if you corrupted your cache you will have to set all of your ringtones and notifications again because this cache corruption process unlinked the ability of yours apps that use notifications to "see" the sound files you have on your SD card.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
I did that. The fastboot flash cache.img and still have the error...
Try flashing a stock rom, including the userdata.img file. Flash the userdata file last, right after flashing, boot into recovery and perform a factory reset.
. You do this by procuring cache.IMG from the stock image of the phone (available on googles websites),
where to get the cache.img from.
i have searched the folder of the stock rom after extraction,couldn't find one.
and my phone is soft bricked.
also its a asus zenfone 5(501 cg) with 4.4.2 not a nexus but with similar problem(rebooted phone without waiting for cache wipe to finish )
please reply asap
thanks

OPO Stuck in "Formatting Data" after Factory Reset via stock recovery

I decided to restore my OPO to factory settings after well all the time since I bought it (more than a year ago). I was on CyanogeOS 13.1 last build (the one with Mods). I decided to restore it, I went to stock recovery, press "Factory Reset", I press to wipe also my datas, and now it's more than 30m "Wiping data - formatting data..." . The logo on the droid belly is still rotating, it's not frozen. I have OPO 64 gb. Is it normal to take all this time?
Edit: it appears to have performed the reset, now it's booting. Sorry to have opened a new thread for nothing, feel free to delete this, thanks!
amoutie said:
I decided to restore my OPO to factory settings after well all the time since I bought it (more than a year ago). I was on CyanogeOS 13.1 last build (the one with Mods). I decided to restore it, I went to stock recovery, press "Factory Reset", I press to wipe also my datas, and now it's more than 30m "Wiping data - formatting data..." . The logo on the droid belly is still rotating, it's not frozen. I have OPO 64 gb. Is it normal to take all this time?
Edit: it appears to have performed the reset, now it's booting. Sorry to have opened a new thread for nothing, feel free to delete this, thanks!
Click to expand...
Click to collapse
Dont be sorry... It helped me... I am having the same problem and your post was the light at the end of the tunnel..
I had similar issues in the past, no idea what causes this, but the boot sometimes can take a lot after a dalvik/cache wipe or a factory reset even through TWRP
Try it out..
The best way to resolve your problem is to return to Original Stock ROM via FASTBOOT MODE.
In case, if the won't play. Then search for " Return your OPO to 100% Stock ROM " in google and open xda link.

Wokeup to my phone stuck in a bootloop... [SOLVED]

UPDATE: I have finally managed to get my phone working again! Am now currently re-downloading all my apps and transferring all my files back to my phone, running AOSPExtended (https://forum.xda-developers.com/oneplus-one/development/rom-aospextended-rom-t3732194) with OpenGApps. I'll write the steps I took to figure this mess out at the end of this post for anyone who might encounter the same problem in the future. :good:
So last night I left my phone charging overnight from 54% as I was downloading a couple of files (my internet is 1Mbps or 125KB/s). I've done this a couple of times before with no problems what so ever. But this morning I woke up and my phone was in a boot loop. I've tried everything I can think of and everything I could find on these forums, but to no luck. I am at my wits end and I have no clue what to do except to do a full factory reset, which I'd rather not do as its been a while since my last backup and I would lose a lot of precious files...
My Phone: OnePlus One 64GB Sandstone Black, purchased in August 2014.
ROM: cm-13.0-ZNH5Y-20161105-STABLE-Sultan-bacon
Recovery: TWRP+3.0.3-2-TugaPower
Firmware: bacon_firmware_update_2016_1-25_.4.0.1.c7-00011
The boot loop itself is odd, I'll describe them separately here.
-I can boot into fastboot, but not while the USB is plugged into my PC. I have to boot into fastboot, followed by plugging it into my PC. If I try to boot into fastboot while it is plugged in, the screen goes completely black and goes back into the bootloop. However, the phone shows up in Device Manager during the black screen.
- I can boot into Recovery, but the phone automatically reboots and goes back into the bootloop after a few minutes. One thing I have noticed is that if I let it reboot by itself, all the settings reset (including the confirmation to allow modifying of files when you first boot into recovery). But if I manually reboot back into recovery, the settings remain the same; atleast until it reboots automatically again.
Here, I'll list the things that I have tried to no avail:
1. Following this post - https://www.reddit.com/r/oneplus/comments/3izejg/so_youve_just_bricked_your_oneplus/, when I try to wipe Dalvik cache and cache from recovery, the phone goes right back into the bootloop
2. I tried flashing a newer version of TWRP (3.2.1-0 and 3.2.1-K2). After flashing I try to boot into recovery but the TWRP loading screen displays, and then goes right back into the bootloop. It wont even let me into the main menu.
3. I tried flashing a ROM through fastboot (via this post, https://forums.oneplus.net/threads/guide-oneplus-one-flashing-fastboot-recovery.301131/). The phone still remains in a bootloop.
HOWEVER, if I flash my previous recovery (TWRP+3.0.3-2-TugaPower replacing the stock cyanogen recovery from this method), my phone manages to get past the 1+ screen, and goes through my custom power on screen, and reaches the "Android is starting... Optimizing app 1 of 67." But it never gets past app 1, freezes, and then reboots. So now it's stuck in this "extended" bootloop thing.
What I want to know: is there anyway to fix my phone, or will I have to lose all my data and do a full factory reset through the ColorOS method? If anyone has any experience with this or knows a way to help, please don't hesitate!
Thank you in advance.
WHAT WORKED FOR ME:
After following the steps in this post (https://forums.oneplus.net/threads/guide-oneplus-one-flashing-fastboot-recovery.301131/) my phone was booting up, but was kicked back into a boot loop after freezing at the "Android is starting.. Optimizing app 1 of 67" screen. However, the recovery was now the default CyanogenMod recovery. I then re-flashed my previous recovery (TWRP+3.0.3-2-TugaPower) from fast boot, and it was now stable (no more auto-reboots). From there I made a backup off all my files onto my PC before proceeding. After that, I did what this post said (https://www.reddit.com/r/oneplus/comments/3izejg/so_youve_just_bricked_your_oneplus/) and wiped Cache + Dalvik cache. This allowed me to boot all the way past the "Android is starting" screen. However, the phone was still rendered unusable as there were non-stop notifications saying various apps had stopped working. I then booted back into recovery, downloaded and pushed a new ROM and GApps package on to my phone, wiped system, data, cache, dalvik cache, and installed the ROM and GApps pacakge, clearing the cache one more time before rebooting. Everything is working beautifully so far and I could not be happier! I hope this helps anyone else who encounters this problem, Cheers!

Categories

Resources