[Q] Nexus 4 stuck on starting apps Fix - Nexus 4 Q&A, Help & Troubleshooting

hello all my nexus 4 is stuck at the android is upgrading starting apps screen and I can't fix it I was on Franco I undervolted a little to low it rebooted and now it won't get off this screen I reflashed the rom 4 times is there anyway I can fix without losing my apps data and contacts

Flash a reset kernel
extremetempz said:
hello all my nexus 4 is stuck at the android is upgrading starting apps screen and I can't fix it I was on Franco I undervolted a little to low it rebooted and now it won't get off this screen I reflashed the rom 4 times is there anyway I can fix without losing my apps data and contacts
Click to expand...
Click to collapse
I think.. flash a reset kernel.. so it will allow to boot (and skill the uv settings as well) and try again whtvr you were working on
the link to reset kernel is in franco's post...

Wont work
tried that 3 times

My guess is that some of your files are corrupted due to too much undervolts.
What I would do is first make a Nandroid backup from the recovery. Do a full wipe and re-install your ROM. Then you can use titanium backup or other apps that can restore apps+data from a nandroid backup.

andyli1985 said:
My guess is that some of your files are corrupted due to too much undervolts.
What I would do is first make a Nandroid backup from the recovery. Do a full wipe and re-install your ROM. Then you can use titanium backup or other apps that can restore apps+data from a nandroid backup.
Click to expand...
Click to collapse
This is basically your only choice. It's happened to me a few times.

joshnichols189 said:
This is basically your only choice. It's happened to me a few times.
Click to expand...
Click to collapse
for the first time this just randomly started happening to me yesterday also... it just rebooted and then was stuck at the animated neon fish PA screen... after restarting it just sat at the android is upgrading, starting apps screen after running through the apps.
when you say "full wipe", which wipe option(s) is that from within TWRP? i've tried cache/dalvik cache, and system, and then reinstalled PA 3.60 (jun 11), but the same thing is happening.

Related

Some super-simple noob backup questions

Quick and to the point:
1. Is a clockwork backup a full image of the system, such that if I restore from it no matter what kernel, rom, mod, etc. I've installed, I get exactly the completely system and state that I had when I made the backup? I.e., it is a true failsafe against messing up the phone, so long as CWR will boot and the SD card is intact?
2. A complete backup with Titanium, backing up all apps and system data, is a migration path for trying a new ROM? IOW, I can simply do a complete backup with Titanium, wipe wipe wipe, install the target ROM, then restore "missing apps and data" from Titanium and -- voila! I'm on the new ROM, but with all my apps, configuration, etc. I had before?
I'm getting ready to try out the Syndicate ROM...
dwallersv said:
Quick and to the point:
1. Is a clockwork backup a full image of the system, such that if I restore from it no matter what kernel, rom, mod, etc. I've installed, I get exactly the completely system and state that I had when I made the backup? I.e., it is a true failsafe against messing up the phone, so long as CWR will boot and the SD card is intact?
2. A complete backup with Titanium, backing up all apps and system data, is a migration path for trying a new ROM? IOW, I can simply do a complete backup with Titanium, wipe wipe wipe, install the target ROM, then restore "missing apps and data" from Titanium and -- voila! I'm on the new ROM, but with all my apps, configuration, etc. I had before?
I'm getting ready to try out the Syndicate ROM...
Click to expand...
Click to collapse
Ha! I am searching now for the exact same question! I am looking to try the Epic Experience. I will follow this thread to see what the answer is.
Thanks.
First off might I comment that Syndicate Rom is a great choice. Not just saying that cause any of them are my buddies either, cause IDK Any of them... so far though Running Syndicate Rom/Kernel with SetCPU at 200-1200 has been the smoothest Rom experience I have had up to date.
1. Is a clockwork backup a full image of the system, such that if I restore from it no matter what kernel, rom, mod, etc. I've installed, I get exactly the completely system and state that I had when I made the backup? I.e., it is a true failsafe against messing up the phone, so long as CWR will boot and the SD card is intact?
Click to expand...
Click to collapse
Yes in theory it is a backup of everything, data, apps installed, boot, system, literally the entire phone is backed up. Is it a failsafe though? I would rather say not. On some phones we can restore a clockwork recovery and have no issues, but since I've had my epic and switched around with different Roms, I've noticed that restore dosen't work quite as it should, probably because Roms are so much different, and you run into FC's, boot loops, and other issues... Restoring peices in advanced restore works well but a complete restore almost always has bugs.
True statement though that even if you screw up and get a boot loop, or constant force closes/phone restarts, as long as you can get back into clockwork your phone is not screwed. You were right on that one. So no worries if you wanna test and play.
2. A complete backup with Titanium, backing up all apps and system data, is a migration path for trying a new ROM? IOW, I can simply do a complete backup with Titanium, wipe wipe wipe, install the target ROM, then restore "missing apps and data" from Titanium and -- voila! I'm on the new ROM, but with all my apps, configuration, etc. I had before?
Click to expand...
Click to collapse
You have the idea right. You really don't even need to back all your apps up with titanium anymore these days, though, it too is plagued with FC's and problems. If you are using clockwork recovery, and you have made a backup already... all you have to do when installing a NEW rom is first wipe-fest, then let it boot once, then restart, go to clockwork, go to Advanced Restore, and ONLY restore the DATA part. (Reason for this is if you restore Boot, System, etc it will try to restore the Rom you just installed... Data is where all your apps/settings are at) This will do exactly the same thing as titanium backup will do, only with less bugs and alot easier.
Cool... thanks for the great response.
It's too bad there isn't an iron-clad, 100% reliable means to take a snapshot of the phone that can be restored reliably.
On WM it was simply a matter of using one of the various backup utilities (I used SPB Backup 2) to make an image of the system. No matter what I did to the phone, I could always wipe it back to factory clean, then restore from backup and have my phone back exactly as it was, with no issues.
I'm trying a CW backup, factory reset, restore cycle right now to see what happens. I'll report back on my experience.
EDIT: Okay, one deviation from the WM experience: The factory reset did NOT reset the kernel -- MixUp is still showing as the running kernel. Is Odin the only way to get the factory kernel back?​No matter what, I'm on my way after that to the Syndicate ROM!
EDIT: Okay, the CW restore seems to have restored everything back to the way it was, without problems after some brief playing around. No FCs (so far). On to wiping again, installing Syndicate Standard, then restoring data from CW as recommended here.​
OperationMove said:
You have the idea right. You really don't even need to back all your apps up with titanium anymore these days, though, it too is plagued with FC's and problems. If you are using clockwork recovery, and you have made a backup already... all you have to do when installing a NEW rom is first wipe-fest, then let it boot once, then restart, go to clockwork, go to Advanced Restore, and ONLY restore the DATA part. (Reason for this is if you restore Boot, System, etc it will try to restore the Rom you just installed... Data is where all your apps/settings are at) This will do exactly the same thing as titanium backup will do, only with less bugs and alot easier.
Click to expand...
Click to collapse
Alright I took the plunge and it seemed to work well. Some things that I noticed was that on first boot (before I did the restore), all of the preinstalled apps showed up (for instance, wireless tether, wired tether, launcher pro, etc...). Since I did a restore of the data, all of MY apps are there, but some of the apps that were preinstalled disappeared. Not all of them, though. For example, Launcher Pro and Wired and wireless tether disappeared, but Car Home is still there.
Another thing to note is that my widgets on the home screen don't seem to function correctly at first. I had to remove them and readd them to the home screen for them to work.
Other than that, everything is as it should be.
hotwired34 said:
Alright I took the plunge and it seemed to work well. Some things that I noticed was that on first boot (before I did the restore), all of the preinstalled apps showed up (for instance, wireless tether, wired tether, launcher pro, etc...). Since I did a restore of the data, all of MY apps are there, but some of the apps that were preinstalled disappeared. Not all of them, though. For example, Launcher Pro and Wired and wireless tether disappeared, but Car Home is still there.
Another thing to note is that my widgets on the home screen don't seem to function correctly at first. I had to remove them and readd them to the home screen for them to work.
Other than that, everything is as it should be.
Click to expand...
Click to collapse
Hmmm... okay. So just to provide a different datapoint, I'll go the Titanium route to get my own apps and settings back, and report. I'm guessing CW wiped the DATA partition before the restore, wiping out the pre-installed stuff from the ROM.
dwallersv said:
Hmmm... okay. So just to provide a different datapoint, I'll go the Titanium route to get my own apps and settings back, and report. I'm guessing CW wiped the DATA partition before the restore, wiping out the pre-installed stuff from the ROM.
Click to expand...
Click to collapse
Ok, since yesterday, I tried both ways. I did a wipe back to the default Syndicate Rom and installed Titanium Backup. While restoring, I noticed that not all apps would restore (seemed to be ones that were in the stock ROM so it's understandable). I did a restore of apps + data. Now, I had most of my apps back, however, I noticed that some of the data was missing. For me, most importantly was the SMS Messages. I also wanted to note that doing an application by application restore of the backup was very time consuming! I had to basically reinstall every app (and then Titanium restored the data)
Nandroid doesnt seem to touch the kernel on our phones ether I noticed. I had a problem yesterday after I flashed a new rom and when I went to do a restore through nandroid I got a bootloop. Once I reflashed the kernel it fixed the bootlooping problem. I have noticed this in other instances to with kernels not being backed up since I did one after I rooted my phone so I would have a stock image.
Thanks guys on your experience and feedback on the backup thing that I'm wondering what to do after stock root.
dito33
Sent from my SPH-D700 using XDA App
pyroswithoutfire said:
Nandroid doesnt seem to touch the kernel on our phones ether I noticed. I had a problem yesterday after I flashed a new rom and when I went to do a restore through nandroid I got a bootloop. Once I reflashed the kernel it fixed the bootlooping problem. I have noticed this in other instances to with kernels not being backed up since I did one after I rooted my phone so I would have a stock image.
Click to expand...
Click to collapse
This is what I have been told in the past- a nandroid restore does not replace the kernel

Cant boot anymore...

Hey fellows,
I got a little problem with my phone. I tried to run some benchmarks on it and wanted to reboot, but then it stuck on 'Starting apps'.
To my phone:
I run the latest P.A.C. Rom with Faux Custom Kernel. So I tried to clear Cache and Dalvik to get it to run, doesnt fix anything. I tried to flash the Rom again, once without Faux Kernel, the other time with, doesnt fix the problem. Then I restored the system partition from a very old backup of the same Rom version, the same...
Finally I restored the old data partition of my backup and it works, BUT the status of this backup is too old.
So I did a logcat and it says: WifiStateMachine ... NOT_HANDLED and this goes on and on. I can see that all functions have been loaded in the background, but it doesnt go further than this screen.
Hope u guys are enjoying your holidays and can help me.
Thanks very much
Logcat??
Dont worry!
Just dirty flash the same version of rom and kernel again. You wont lose your data or apps.
sivabommakanti said:
Just dirty flash the same version of rom and kernel again. You wont lose your data or apps.
Click to expand...
Click to collapse
I tried that a hundred times buddy, didnt work..
I restored my old backup and Im trying to restore all my apps + data from the broken data & system backup with Nandroid Manager. He finds the apps to restore out of the nandroid backup and tries to load the information of the apps, but after a while he says that no apps can be found...
Android gets stuck at starting apps when you undervolt too much and it corrupts your data only fix was a data wipe and reflash rom for me
Sent from my Nexus 4 using xda premium

Nandroid - apps crashing after restore

I I have a Galaxy S4 with KitKat 4.4.2 and TWRP installed. I have been using Nandroid for backups.
Today I (stupidly) deleted the CSC.apk file with Uninstall and the phone started acting really strangely. I tried restoring the CSC app but it wouldn't do it (I tried multiple times). So I booted into TWRP recovery mode and did a full restore which worked fine...until I rebooted the phone.
I have quite a few apps that continually crash with:
Unfortunately, (App Name) has stopped
and then all I can do is tap the OK button. After tapping OK the errors popup continuously.
Is this normal? How can I fix this without reflashing the phone? This is my first restore ever done with Nandroid Any ideas? Annoyingly I also lost the activation for my GPS app (CoPilot). I thought Nandroid was an exact clone/backup so when you screw the phone up you can restore back to EXACTLY how the phone was when the backup was done?
Anyway, appreciate any help or thoughts on how I can get my apps to work without the constant stopping popups!
Thank you!
Can anyone help please?
Go back into recovery and wipe both the regular cache and dalvik cache.
As to the lost CoPilot activation, you'll need to contact CoPilot, then explain the situation to them, and they should be able to help you.
Strephon Alkhalikoi said:
Go back into recovery and wipe both the regular cache and dalvik cache.
As to the lost CoPilot activation, you'll need to contact CoPilot, then explain the situation to them, and they should be able to help you.
Click to expand...
Click to collapse
Thanks! I tried that but after wiping both caches and rebooting the phone and entering my SIM PIN, I am still constantly getting the "Unfortunately, (App Name) has stopped".
Is there anything else I can try? I'm a but confused by this as I thought Nandroid was an exect image of the phone! I'm not worried about CoPilot at all but the rest is important
Do a factory reset from within TWRP, then restore from the nandroid backup. How old is this nandroid?
Strephon Alkhalikoi said:
Do a factory reset from within TWRP, then restore from the nandroid backup. How old is this nandroid?
Click to expand...
Click to collapse
I'll give that a try tonight. I am running Nandroid 4.4.5 and the backups were created about a week ago.
Many thanks for your help!
BB007BB said:
I'll give that a try tonight. I am running Nandroid 4.4.5 and the backups were created about a week ago.
Many thanks for your help!
Click to expand...
Click to collapse
So I tried doing a factory reset from TWRP and then doing a Nandroid restrore but after rebooting the phone I was still getting LOTS of errors with applications not working. Even the firewall wouldn't work as it couldn't find the config file.
I don't get it, I thought Nandroid made an EXACT image of your phone so if something went wrong and you performed a restore, your phone would be back to a working state?
BB007BB said:
So I tried doing a factory reset from TWRP and then doing a Nandroid restrore but after rebooting the phone I was still getting LOTS of errors with applications not working. Even the firewall wouldn't work as it couldn't find the config file.
I don't get it, I thought Nandroid made an EXACT image of your phone so if something went wrong and you performed a restore, your phone would be back to a working state?
Click to expand...
Click to collapse
It does, but your backup can get corrupted.

wipe cashe and dalvik

Hi all,
I think I might have a problem, after I flashed xposed framework on my nexus 6p and got the modules that I wanted up and running no problem, during 4 or 5 days all worked fine but had constant reboots,
I decided to go back before I flashed xposed with twrp and restored a full backup, it failed to restore all selected at the same time, so did one a time and restored but phone would just not boot, so
Having data partition restored and then dirty flash stock without wipe data I was able to get my phone back and running, and re-root fine and flashed twrp no problems
Went to twrp to wipe cashe and dalvik but it just takes like 2 seconds optimizing apps and boots to desktop right up, now my question is
Shouldn't it take a very long time to optimize all my apps after the wipe????
all seems to be working fine but kind of bothers me that I might have something in not working right that might develop into something worst in the future
It is at this point I usually full-wipe and reflash. =) Setting things up again can suck, but it's better than wondering what unknown thing is broken and will rear it's ugly head later.
Elnrik said:
It is at this point I usually full-wipe and reflash. =) Setting things up again can suck, but it's better than wondering what unknown thing is broken and will rear it's ugly head later.
Click to expand...
Click to collapse
full wipe and reflash, want to avoid that, any other commands perhaps?
OK so I did a full re flash, back to stock, re root, installed my apps, used for a while, log in on all, went to twrp to test wipe cache and dalvik, same thing, optimizing apps at first boot took like one second and boot to desktop, is this normal or should take longer to optimize all apps?? Anyone??
is my understanding that only apps that havent already been optimized will upon boot... (new installs from like a zip)
chaco81 said:
is my understanding that only apps that havent already been optimized will upon boot... (new installs from like a zip)
Click to expand...
Click to collapse
thats what i am thinking too now that you mention it, like when I installed xposed initially and did whipe cache/dalvik thing after it took long time to boot because was on something like optimizing app 3 out 78, same thing I have seen on my old nexus 5 when dirty flash a new firmware, but not sure if I have something broken or is normal

N910G boot loop

First thread here
I used cf auto root specifically for my device from the autoroot chainfire website just to delete bloatware like galaxy apps, S health. I didn't delete Touchwiz
Everything was fine and dandy for a few days until my phone starts crashing when browsing youtube, facebook etc.
recovery screen said it was due to 'dm-verity verification failed'
Browsing the forums, apparently flashing it with the stock rom should solve the issue. It didn't though
I flashed it and rooted it again and the problems persist
I'm lucky I backed up my data. It's just annoying having to restore everything once my phone boot loops.
What seems to cause it?
Because it's not clear from your thread, I've got a question:
After you flashed the ROM and rooted it again, did you remove the bloatware again, just as before?
Vygravlil said:
Because it's not clear from your thread, I've got a question:
After you flashed the ROM and rooted it again, did you remove the bloatware again, just as before?
Click to expand...
Click to collapse
Yes
I deleted Galaxy apps, penup, s health etc.
muaddibzero said:
Yes
I deleted Galaxy apps, penup, s health etc.
Click to expand...
Click to collapse
So the problem is caused by removing the bloatware. Because of the programming of the bloatware and the ROM itself (they are kinda "linked" to each other), it can brake your system, just as in your case.
How did you remove the bloatware? Did you use an app? Maybe we can find a way removing it without killing your system.
Vygravlil said:
So the problem is caused by removing the bloatware. Because of the programming of the bloatware and the ROM itself (they are kinda "linked" to each other), it can brake your system, just as in your case.
How did you remove the bloatware? Did you use an app? Maybe we can find a way removing it without killing your system.
Click to expand...
Click to collapse
I used titanium backup to delete it
Update
Bloatware doesn't matter now though
I reflashed my phone with stock rom again, this time without rooting. My phone still suffered from boot loops. What's happening here? Do I have to do a factory reset?
muaddibzero said:
I used titanium backup to delete it
Update
Bloatware doesn't matter now though
I reflashed my phone with stock rom again, this time without rooting. My phone still suffered from boot loops. What's happening here? Do I have to do a factory reset?
Click to expand...
Click to collapse
Did you flash the proper stock ROM for you device? Where did you get it from? I guess that something went wrong while flashing. A factory reset could solve it, but flashing the stock ROM should have resolved the issue already if the bootloop was caused by removing the bloatware - that's what surprises me.
Vygravlil said:
Did you flash the proper stock ROM for you device? Where did you get it from? I guess that something went wrong while flashing. A factory reset could solve it, but flashing the stock ROM should have resolved the issue already if the bootloop was caused by removing the bloatware - that's what surprises me.
Click to expand...
Click to collapse
Hi sorry for necroing and leaving a late reply
I used the Singapore starhub android 6.0.1 rom the device came with
I reflashed it and did a factory reset 3 weeks ago
Replaced battery as well
Worked fine for the time being
Then out of a sudden a boot loop occurred while I was on data
What's the cause of this?
I'm frankly tired of having to reflash the rom over and over again as well as restoring backups
I'd go for a full, clean install of stock (format /data from TWRP. Yes, a full format! Make sure you backup your media as this will erase absolutely everything.) and then flash stock with Odin.
Test it out see if it still has problems or if it's stable.
DO NOT RESTORE APPS FROM TITANIUM BACKUP
Re-download them from scratch.
I've noticed that I used to get random re-boots after restoring backed up apps from Titanium Backup.
Went ahead and started the phone over from absolute 0 and it seems my problem went away.

Categories

Resources