[HELP] Reboot led to Force Closes! - Samsung Galaxy Nexus

Hi there guys,
I had an issue last night which seems to have "corrupted" data on my phone. I'll try to explain. I am running AOKP milestone 5 with Franco's 512GPU #191 and I was on the Play Store updating some apps. I remember that it was something like 10 apps being updated (I recall seeing Youtube, Google+, Maps, Instagram and Chrome in the list to update). While the apps were updating I went to the Franco Kernel updater app and changed the Power Mode to one of my customs, that is max CPU 15xx MHz, min CPU 12xx MHz, governor Performance. Went back to the Play Store to check how the updates were going and then the screen went black and the phone started to reboot. After that, it took more than the usual time to boot and when it finally did, I had everything "messed up". I had a dialog asking me what launcher I want to use, I choose Nova and all the widgets can't be loaded, followed with lots of Force Closes. Almost every app I try to enter leads to a force close, and I have noticed that when, for instance, I open Toshl or other apps in which I had info, before it force closes it behaves like it was the first time I open the app (asking for the login info, etc).
I tried going to recovery to clear Dalvik cache and cache partition, tried to Fix permissions, without any luck. Is there anything I should try to do before wiping everything? I have some app's data that I didn't want to lose... I could try to get some logs if someone leads me on how to do that.
I really don't think that this is directly related to Franco's kernel or AOKP, but would sure appreciate some help/guidance!
Thanks!

Also I have just tried to dirty flash AOKP M5 and gapps again (wiping cache partition and dalvik cache) without any luck... Anyone has other ideas I should try before performing a full wipe? I am leaving the full wipe to my last resource.
Thanks

Try running using fix permissions from your recovery, it sounds like they may have gotten messed up

Should I reflash ROM and gapps after fixing permissions in the recovery? Or just fix the permissions and reboot?
Thanks!

Also, how long should it take to run the Fix permissions? My recovery is showing me "Fixing permissions..." for almost 10 minutes. Is this expected?
Thanks!
EDIT - It seems like I had the same problem reported here: http://www.drewgreen.net/wordpress/tag/galaxy-nexus/
I followed the steps and am now waiting for the fix permissions to finish. Will let you know if it helped!
EDIT 2 - Although I don't think it is perfect (I'm still getting FC's on Swiftkey, for instance), it has recovered almost everything! Now it's maybe a good time to make some backups and do a clean install!
Thanks!!

Related

[Q] Apps Force Closing?

So I flashed the latest CM7 nightly on Sunday, installed from zip. Since then some of my apps have been force closing. Some are google apps like maps, and voice which I need day to day, others like facebook twitter, multiple browsers and engadget. I tried clearing cache, and battery stats as I use different batteries, and fixing permissions. Since then I have flashed CM7 RC 1 and two different MIUI builds, and have had the same problems with those. I haven't installed from titanium backup, just from the market. Any help would be greatly appreciated. EDIT: Now even XDA is force closing
I randomly started experiencing a similar problem recently with CM7 RC1... a lot of my apps were randomly force closing including the android core process...
Just now, I decided to wipe and reflash... now I'm having a new issue - the phone is not recognizing the radio.. it says "Baseband version: Unknown"
I can't activate the phone because the second I hit SEND, android.process.acore force closes.
Anyone have any insight?
EDIT: Just wiped and flashed CM7 Nightly build #8 - NO RADIO ISSUES OR FORCE CLOSES SO FAR
I am having similar issues. I am running CM 6.1.0, ClockworkMod 3.0.0.5, and radio 2.15.00.07.28.
I think just about every process has forced close at some point. Frequent offenders are messaging, youtube, and google framework.
Which caches and/or application data should I try clearing?
I am thinking of upgrading to CM7 RC1 but if the corrupted data remains cached will these problems follow me?
Did you wipe dalvik cache? Or possibly try different kernal.
It's back to working at %100 today after flashing CM7 which made my home button not work, then a sense rom.
I have an update on force closes as it pertains to my installation of CM7.
We need to follow the instructions accordingly. What I mean is we need to wipe everything that is suggested in the thread introducing the new ROM.
I couldn't load the new ROM from ROM manager. That is when all the force closes kept happening.
We must go into recovery and format the system, cache, and data from the Mounts and Storage Menu. Then, wipe Dalvik cache, battery stats, cache partition, and data/factory reset. Then install the new .zip from the root of your SD card (Both ROM and Gapps).
This is what worked for me. I have had no force closes since doing things this way.
Also, restore data only from Titanium Backup; else apps revert back to the previous ROM settings.
This may not be exactly the way things are intended by the wonderful developers here but it is what I have found to work.
Oldtymehockey said:
I have an update on force closes as it pertains to my installation of CM7.
We need to follow the instructions accordingly. What I mean is we need to wipe everything that is suggested in the thread introducing the new ROM.
I couldn't load the new ROM from ROM manager. That is when all the force closes kept happening.
We must go into recovery and format the system, cache, and data from the Mounts and Storage Menu. Then, wipe Dalvik cache, battery stats, cache partition, and data/factory reset. Then install the new .zip from the root of your SD card (Both ROM and Gapps).
This is what worked for me. I have had no force closes since doing things this way.
Also, restore data only from Titanium Backup; else apps revert back to the previous ROM settings.
This may not be exactly the way things are intended by the wonderful developers here but it is what I have found to work.
Click to expand...
Click to collapse
I read on cyanogen mod forums (thread here: http://forum.cyanogenmod.com/topic/15898-app-force-close-on-cm7-rc1/ )
And it was noted that its a known issue, and that re-installing the app worked, or running fix_permissions in terminal.
I installed fresh CM7 RC1, installed a few apps from market, ran fix_permissions and no force closes so far. Might try out the nightly

[Q] CM 7.1 -- Google Apps crash and/or not working

A few months ago, using ROM manager, I upgraded my ROM from Revolution to cyanogenmod 6. I then updated frequently, following all of the nightlies with great success. I jumped onto CM7 when it came out and it worked. When I tried to update past the first release candidate, however, I noticed my stock Browser, Gmail, Maps, Google Documents, and Google Reader now crash. I even cleared all caches and data upon updating.
BROWSER and MAPS problem description: Both programs begin to open up and refresh themselves and then almost immediately disappear--sending me back to the home screen of my phone.
GMAIL and DOCs let me see myheaders, but when I click on one, it starts to open, blinks and attempts to refresh a few times, then sends me back to the list of message headers (gmail) while Docs sends me to the phone home screen.
Again, I am not getting force close messages. I have tried using ROM manager to fix permissions w/ restart to no avail. I tried redownloading Google Apps from ROM manager for 2.3.4, reflashed the Gapps, still no go.
I am completely baffled. Does anyone know what is causing the problem?
Tried a complete wipe? As in wipe data/factory reset, format boot and system?
PonsAsinorem said:
Tried a complete wipe? As in wipe data/factory reset, format boot and system?
Click to expand...
Click to collapse
Thank you so much for your reply. I'm sweating over here.
I just wiped data/factory reset, format boot and format system, reinstalled ROM w/ Gapps from ROM Manager, fixed permissions.
(1) The stock Browser still closes itself w/o opening any pages (no force close message). Just has Google's web address in the bar at the top, looks like its going to open it and POOF. Gone. No force close.
(2) Maps - Opens, zooms in on my location, looks good and then POOF. Gone. No force close.
(3) Gmail - Shows me headers, seems stable, click on header, looks like it's opening, white screen swipes in, sends me back to headers.
Basically, not much changed after the wipes.
ADDITIONAL INFORMATION: I am using an Seiko(sp?) extended battery. Could this be a factor?
If you are using cm7.x.x, make sure you are installing the correct gapps. make sur you are installing the gb-gapps for cm7. Hopefully that wil work for you.
trickster2369 said:
If you are using cm7.x.x, make sure you are installing the correct gapps. make sur you are installing the gb-gapps for cm7. Hopefully that wil work for you.
Click to expand...
Click to collapse
I downloaded the newest gapps in Rom Manager and applied. Same issues.
Just to be sure, this is what I consider a full wipe:
In recovery:
Wipe data/factory reset
Wipe cache
Under Mounts and storage:
Format boot
Format system
Format cache
Format data
Under advanced:
Wipe dalvick
Back to recovery:
Install rom/gapps
Use cwm 3.0.0.7 for amoled
Use cwm 3.0.0.8 for slcd
Do all of this from recovery, not through rom manager.
That was some seriously detailed instructions. Wow - much appreciated. Followed to the detail in case I missed something that I didn't wipe. *FINGERS CROSSED*
Argh. When I booted, punched in my Google account, the Market installer came up, checked all, ended up in endless Market white-screen loop. Let it sit for quite a while, the beast never stopped, restarted. Got to the home screen and tried opening the browser... still not working.
Between this and last message, I restored my old 7.0 ROM and like I thought, it was still working. *MIND BLOWN*
Not sure what else to try at this point. I've never had a problem installing gapps on cm7. If I think of something more, I'll certainly repost.
Sent from my Optimized Shift using XDA App
trickster2369 said:
Not sure what else to try at this point. I've never had a problem installing gapps on cm7. If I think of something more, I'll certainly repost.
Sent from my Optimized Shift using XDA App
Click to expand...
Click to collapse
Thanks again for your time and advice. I just hope someone else sees this and has more suggestions now. Take care.

Android is Updating: Starting Applications - Every reboot

Any have this happen every time they reboot?
I saw this after I initially setup phone and it downloaded my market apps, on the following reboot it said this message.. But I just noticed it does it on every reboot. I thought maybe some app maybe half installed or something, so I cleared cache and delvik cache by booting CWR.img. Upon next boot, it rebuilt the cache for all my apps, but then all following reboots still give me this message:
Code:
Android is Updating: Starting Applications
I ran a logcat of the bootup process, and killed the logging after it was booted and past this message... but I don't really see anything that stands out (at least to me, I'm no expert at reading these logs or understanding the boot process).
Anyone have any ideas, or experience with logcats?
Attached is the logcat.
after i did my initial setup and then rebooted mine said the same then changed to 'optimizing applications' then counted through all the apps i installed,
id assume the message appears to prevent user interactions so when the launcher launches its fast rather than the lag present on older versions after the boot up, its a minor issue but when it comes to user experience this delay give the illusion of faster performance after boots.
it does happens all the time (every reboot).
however, if there is some actual update task, it will say
Android is Updating: 1 of XX
sort of thing.
i got this when i update to the volume bug fix.
Luxferro said:
Any have this happen every time they reboot?
Click to expand...
Click to collapse
Yes, it's normal.
Happens for me every time too. Seems to be a normal process for the GN.
Okay, thanks for the replies!
I guess I didn't notice it the first few times I rebooted it out of the box. Thought something got messed up.
edit: (Just found out there is a 5 per day thanks limit too )
case0 said:
Yes, it's normal.
Click to expand...
Click to collapse
Why ? I mean, what is the process doing ?
lambda30 said:
Why ? I mean, what is the process doing ?
Click to expand...
Click to collapse
Caching everything
Sent from my Galaxy Nexus using Tapatalk
BlackDino said:
Caching everything
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
So this is just a visual update for some underlying process that was already present, in Gingerbread ? Or what ? Waiting for a more technical explanation...
Just fixed that by
Code:
adb remount
adb shell rm /system/framework/com.google.widevine.software.drm.jar
Don't know why, it just works.
Doesn't happen to me, so I'd say it's not totally normal.
Sent from my i9250
that's totaly not normal. That mean that either your cache is removed at each reboot or that your cache is corrupt. I saw a solution a few post before mine and i think you should try it, if it does not work , wipe everything and start from a fresh install.
I've seen it happen when you wipe cache and take a backup from recovery. But only on the first reboot after that action, definetly not on every reboot.
my nexus did from the 1st start up NEW my vivid also does it its a ics thing
Only happens when updating a ROM or wiping caches here
Sent from my JellyBelly Gnex
Flash
Had same problem reflashed rom and fixed
I doubt that's normal. I only had to do it every single time I cleared the dalvik cache when I replaced the services.jar file or when I installed a new rom without clearing any previous data.. Never had to run that ever since.
That is fine OP. But if you are seeing "optimising applications" every reboot, then something is wrong.
Sent from my Galaxy Nexus using Tapatalk 2
Whenever you wipe the dalvik cache you will be prompted with this message on boot. It is normal. If it does not happen, then you should be worried.
Nexus S. (GSM i9020a)
Paranoid (1.991 - 4.1.1)
Air Kernel (Week 193 - Vodoo)
Ondemmand (1000/200)
Deep Idle (On - Deadline)
BLX (98 - Inverted. Apps)
Black Exodus (UnderVolted)
It will say Starting Applications on each normal boot, and Upgrading Application XXX of XXX when cache is cleared. Either way, the title of the window is "Android is Updating"

[Q] Reboot woes: disappearing/FC apps

Hi, everyone; adding to the flood of questions...
I've been having some issues after a reboot lately:
- a couple of my apps will disappear. Namely Line Runner and the Merriam Webster Dictionary. I did some searching on this earlier and people who have had similar problems said it was due to the apps being installed on SD. I moved them to the phone, which seemed to solve the problem, but:
- rebooting also seems to make me lose my latest Google Search and Maps updates. The market will prompt me to update these. These apps are already on the phone, so no clue how to fix that one. But the most annoying thing is:
- after reboot, several of my game apps will force close when I try to open them. It seems like it's the more processor-intense ones: Pew Pew, Osmos, Anomaly, World of Goo. I thought maybe it was because of the undervolting/underclocking settings I have (from GideonX), but the apps work fine (running quite smoothly) after I install them, as long as I don't reboot. As soon as I reboot, if I try to open them again I get FC. If I uninstall then reinstall, they run fine again.
Any ideas? I'm running Juggernaut 4.1 with faux's 009u kernel and, as I said above, Gideon's script. I tried one reboot back to faux's stock clock/voltage settings, but I still got FCs on the apps. Granted, I didn't try it again or give it time to settle in or anything.
Any thoughts, folks? Thanks!
fix permissions? fresh wipe and install? clear cache? fiddle around
Ah, forgot to mention. Tried all of the above (fix permissions, clear cache, reflashed ROM, even recovered to my pre-custom ROM backup and reflashed from there).
I did some more testing on this, and I think I've narrowed down the problem. I flashed back to stock voltage/clock settings under faux's kernel, then reinstalled one of the apps I had issues with (Osmos). Upon reboot it still ran okay. So it seems I won't get force closes after reboot IF the app was installed under stock settings.
Does anyone know why undervolting and/or underclocking would cause apps to force close only after reboot?
EDIT:
Well, never mind. I did some more testing, and what I thought worked last time didn't work again. Must have just gotten lucky that time. Sigh.
Try wiping your phone with darksides super wipe and clean flash a rom. Check the md5 sums to make sure youre not installing a bad download
Sent from my SGH-T989 using Tapatalk
Oh, wow, didn't even know about the existence of that tool. Will definitely give that a try when I have some free time this weekend. Hopefully I can report back with positive news.
Thanks!
Don't want to count my chickens, but using super wipe seems to have done the trick so far! Using super wipe before flashing Jugg 5.0 seems to have gotten rid of my problem of FC apps.
Thanks again!

[Q] [URGENT HELP] Nothing is working!

I have a HTC Wildfire S, rooted, with an AOKP rom.
One day, my phone was running slow, so I rebooted into recovery and cleared dalvik cache and system cache. I rebooted the system and absolutely NOTHING is working. after I unlock the phone, a bunch of processes stop working. Pressing the home button makes Nova Launcher crash. I have since uninstalled it, and still nothing is working.
I can't even turn the phone off using the power button. The only way I can shut the screen off is by removing the battery manually.
EDIT: I tried a factory reset, and it's still the same as before. NOTHING is working. I can go into Settings, that's about it.
A list of apps that stop working:
Link2sd
facebook
outlook
yahoo weather
google.process.gapps
nova launcher
swiftkey
superuser
ETC..
I have attached pictures so you guys can have a sense of what my problem is. Sorry if the pictures are blurry, I had to use my Ipod touch to take them.
Sorry If i have made any errors in this thread. I am new here, I just created an account right now so I can find some help to solve my issue.
HughGRection said:
I have a HTC Wildfire S, rooted, with an AOKP rom.
One day, my phone was running slow, so I rebooted into recovery and cleared dalvik cache and system cache. I rebooted the system and absolutely NOTHING is working. after I unlock the phone, a bunch of processes stop working. Pressing the home button makes Nova Launcher crash. I have since uninstalled it, and still nothing is working.
I can't even turn the phone off using the power button. The only way I can shut the screen off is by removing the battery manually.
EDIT: I tried a factory reset, and it's still the same as before. NOTHING is working. I can go into Settings, that's about it.
A list of apps that stop working:
Link2sd
facebook
outlook
yahoo weather
google.process.gapps
nova launcher
swiftkey
superuser
ETC..
I have attached pictures so you guys can have a sense of what my problem is. Sorry if the pictures are blurry, I had to use my Ipod touch to take them.
Sorry If i have made any errors in this thread. I am new here, I just created an account right now so I can find some help to solve my issue.
Click to expand...
Click to collapse
just reflash the rom. boot into recovery wipe data and flash the rom
Reflash or flash another rom.
Sent from my Samsung Galaxy S4 using Tapatalk
Thanks @Guitarfreak12 and @aWFSuser
I did what you guys said, and I reflashed the same ROM and everything is working fine. The only downside, although, is that I have had to re-install all my apps again.
Also, would you guys know what caused the problem? I'd like to know so that I can ensure it doesn't happen again in the future.
HughGRection said:
Thanks @Guitarfreak12 and @aWFSuser
I did what you guys said, and I reflashed the same ROM and everything is working fine. The only downside, although, is that I have had to re-install all my apps again.
Also, would you guys know what caused the problem? I'd like to know so that I can ensure it doesn't happen again in the future.
Click to expand...
Click to collapse
Did you had a lot of applications installed and linked along with dalvik to sd-ext?
Then after clearing the cache on reboot the dalvik files will regenerate in the /data partition if there are a lot of apps and the /data overflows then your apps will stop working without the dex files. And clearing the dalvik cache usually doesn't help in increasing speed.........next time you should go into link2sd and use the "clean dalvik cache" option there.........
HughGRection said:
Thanks @Guitarfreak12 and @aWFSuser
I did what you guys said, and I reflashed the same ROM and everything is working fine. The only downside, although, is that I have had to re-install all my apps again.
Also, would you guys know what caused the problem? I'd like to know so that I can ensure it doesn't happen again in the future.
Click to expand...
Click to collapse
This actually happens because Link2SD can also link dalvik cache files as well, what the recovery must have deleted would be the symbolic links that the Link2SD script creates, so next time if you want to clear the dalvik cache, use the option found in the Link2sd app
Alright so it seems, instead of using the dalvik cache cleaner on recovery, I should just use the one located in Link2sd. I'll be sure to do that next time to ensure that no problems persist.
Thanks for all the help!

Categories

Resources