Related
This discussion started in this development thread: http://forum.xda-developers.com/showthread.php?t=1623430
First off there are 2 different issues related to app hangs.
1) An issue with root apps hanging. This has been fixed with an updated superuser (@wraithdu v3.1) and Busybox (@wraithdu v1.19.4). This is not the issue being discussed in this thread.
2) An issue with non-root apps failing to launch. This includes random apps failing to launch from the app drawer and home screens (of various launchers, TW, Apex, GO, Nova). This includes the Phone app opening and displaying mostly a black screen. Existing apps that are open in the background still function and can be opened.
Issue #2 has been seen since Darkside released the first ICS ROMs. Specifically I have reproduced it in Evolution.3 Beta03, v1, v2, v4, v5.
Here are some of the relevant posts in chronological order:
Here is the first report that I found via search:
http://forum.xda-developers.com/showthread.php?p=26006665&highlight=app+hang#post26006665
expl0it4 said:
The launcher freezing and apps not opening along with su not granting permissions and/or freezing have been my only complaints. I'm running aokp now but really want to come back but I can't stand rebooting once or twice a day because of these lockups.
Click to expand...
Click to collapse
Another report with little info:
dajakil said:
Is anyone else having an issue that every once in a while, all the apps stop working and/or the apex launcher hangs? This has been common for me at least once a day...if so, how can i fix it? I'm new here so please go easy
Click to expand...
Click to collapse
I posted here thinking that I might have fixed it (turned out I spoke too soon):
http://forum.xda-developers.com/showthread.php?p=26170760&highlight=app+hang#post26170760
Another update from me:
Splaktar said:
Got a couple lock ups, hangs, reboots, etc tonight while on wifi. Was either using Go Launcher to open Gmail or posting in Facebook app with SwiftKey X. Reboot resolved the issue and I could not reproduce.
I was just about to install this on the wife's phone, but can't really make it through 2 days without a forced reboot or freeze. Hopefully TMO gives us another leak or the real thing soon.
Click to expand...
Click to collapse
And another:
Splaktar said:
I'm still needing to reboot at least once per 48 hours due to apps hanging or not starting.
Click to expand...
Click to collapse
A good post with some helpful information:
PrjmeTjme said:
I too am experiencing the unresponsiveness. I'll be using it and then all of a sudden nothing works and I have to reboot. I didn't do a Darkside Super Cache Wipe prior to installing and I think the rom does a Darkside Super Wipe for you before it installs itself.
BTW, I wasn't closing any apps via task manager and I only restored DATA to the apps that automatically downloaded from the Play Store. Not really sure if that matters at all or not in the issue of unresponsiveness.
Click to expand...
Click to collapse
Reports from v4 start coming in:
safeplayer22 said:
Ok, running ADW launcher and was running fine until this morning. It seems like it happens if you leave the phone untouched for a certain period of time (overnight). Then the touch to launch an app becomes unresponsive.
I am not using TW because I would need to re-do the whole home screen setting if I ever update to another version. btw, i'm running V4 right now and so far no other problems.
Edit: just got a reboot hang even after using the darkside wipe.
Click to expand...
Click to collapse
The first suggestion that this is likely an app problem and that the ROM is fine:
pyraxiate said:
Using Apex here. Installed and running since release with zero issues. When I was on v2, I had this happen while using apex, and narrowed it down to an application hanging. Once I was finally able to get into settings and forced closed it, the launcher began working properly again. The only way I was able to get into settings was by having it up prior to the hanging, and held the home button to bring up task manager. Give that a shot and let us know.
I don't use TI , scripts, or change cpu settings. Always a 2x darkside wipe, flash, wait 10 minutes, then set up from scratch. Battery life is excellent ( 4 + hours screen on time ). Everyone with all these problems really should just run this ROM Naked.... its beautiful
Click to expand...
Click to collapse
A response to this being an app issue:
safeplayer22 said:
Had to pull the battery went into recovery to wipe caches and fix permissions again. Now it's running good again. I'll try to FC in the task manager next time I get an unresponsive screen. I think you are right about an unresponsive app causing the unresponsive screen because it was working fine. the only thing I did prior to the screen hanging was turning of wifi tethering from the toggles.
Click to expand...
Click to collapse
A claim that widgets that need root might be causing this. The only root needing widget that I use is Multi-mount lite and it has been enabled/installed during every app launch hang that I've seen.
pyraxiate said:
I think it might be an issue with the half root TDJ was taking about. I've noticed certain Widgets require root to be added to the homescreen. Maybe the widget is hanging because of improper permissions? Come to think of it, I was trying a wifi sharing toggle which caused my hangup
Click to expand...
Click to collapse
Another report with very little information:
hpaulus said:
TDJ sometimes when i touch some app to open it.... Dont response and hang i have to restart....for the next build.....
Click to expand...
Click to collapse
A response with a supposed quote that I don't see in the thread. I also late went on to test this and verify that this occurs even if you do not restore a single piece of data.
darkness122 said:
I believe he said this happens when you use a task killer or restored an app w data from GB
Click to expand...
Click to collapse
I finally start attacking the issue scientifically:
Splaktar said:
Happened to me with Darkside beta03, v1, and v2 running Apex Launcher and Go Launcher EX.
I just flashed Darkside v4 and I'm in the middle of re-installing all apps and re-adding every account and configuration manually. Previous flashes involved restoring user apps w/ data so I'm trying to figure out if that has something to do with it.
Recovery is CWM 5.0.2.7 non-Touch as recommended in OP. Also I used none of the wiping options in the recovery and let the wipe scripts do it all.
Click to expand...
Click to collapse
TDJ asks me to report back on my findings:
thederekjay said:
thanks. please report back and also what recovery are you using?
Click to expand...
Click to collapse
I start working on repeatable reproduction steps for the issue:
Splaktar said:
CWM 5.0.2.7 non-Touch recovery as recommended in the OP. I let the super wipe script do all of the wiping and don't wipe with CWM.
OK, I just hit this with a fresh v4 install. Absolutely no data has been restored to my device from backups. I did let Google restore apps and I went into a number of them to login/configure.
Here are the steps leading up to hitting it and (whether or not they have been involved in previous reproductions):
0) Connect to WiFi. WiFi-Calling enabled. (always)
1) Play some music via Google Music or some other streaming source. (always)
2) Stream the music over BT (most always)
3) Have the phone plugged into USB charging on a desktop w/ usb storage off (most always)
4) Browse around my home screens which contain about 13 widgets on 8 screens (always)
5) Add remove and re-add widgets to a screen (sometimes)
6) Launch a previously unopened app (since reboot) from a shortcut on one of the home screens or from the app drawer (always)
7) Re-use an app that has recently been opened (always)
It is not as if following these steps one by one will reproduce this within 5 minutes. But this clean install lasted me only 1 hour 5 minutes before this app launch hang occurred.
This last reproduction I had just restarted my Launcher (Go Launcher EX) and was in the middle of re-adding a widget, but when I clicked on the widgets icon to open the list, nothing happened. So I gave up on that and backed out.
Then I opened an app on one of my home screens and it highlighted, but did not launch or open. Then I went to try some other apps with the same result. I also tried some in the app drawer, same result.
So then I long pressed home and selected an already open app. It came up just fine. I was able to use the app and then finally go back Home without any issues.
I also got the task manager open. I'm at 667/769 MB RAM. System storage is at 0.93 GB / 1.97 GB. USB and SD card storage are not close to full either. There is only one active app (the one that I just had opened). I did 'Exit All' and then closed task manager and tried to open an app. Same hang.
Try to access settings via widgets, nothing. Try to do Menu->Settings, nothing.
Try to open another hanging app, highlights, then nothing. Wait 5 minutes or so and the app, sort of opens... I get the title bar at top and the rest of the app is all black. Wait 5 more minutes, nothing changes. Can't go back to get out of it. But home takes me back to the home screen.
Open Phone app, it opens, but the back button from the app lags and does nothing, then finally instead of taking me back home, it takes me the last hung app w/ just the title and black screen.
Home again takes me out and back to the home screen. Menu works, so I do Restart of the Launcher. This results in the wallpaper displaying but the launcher does not ever redraw the screens (hung). Only the notification bar works at this point.
I guess I'll try to grab a logcat now since it's basically completely hosed now... no luck with a logcat. Can't get the device to show up in adb. Maybe USB debugging is still off since this is a completely fresh install w/o any data restored.
Edit: Rebooted, USB Debugging was turned on, but I guess it just couldn't launch it when it was connected. Device shows up fine now in adb.
Click to expand...
Click to collapse
A theory about Busybox contributing to the issue emerges:
pyraxiate said:
I did notice something odd. Why are we using busybox for CM9? I know CM9 uses a different kernel layout. Could that be causing an issue ?
Click to expand...
Click to collapse
I look into it:
Splaktar said:
Interesting find. I just upgraded my BusyBox to 1.20.1-Stericson. I will report back if I run into the app launching hang with this BusyBox. I did a full darkside cache wipe and reboot after upgrading just to try and make sure that everything would play nicely together.
Click to expand...
Click to collapse
I report back on the status and respond to another theory that Superuser has something to do with the app launch hangs. I later reproduce the hangs on this same version that made it over 18 hours.
Splaktar said:
I had the same issues with v1 and beta03! apps would not launch, etc.
So Super SU fixes this or just the latest binary of Superuser? I'm currently running Superuser with su binary of v3.0.3.2.
I'm going on 18 hours without an app launch issue/reboot now that I have the new Busybox (1.20.1-Stericson). But I've made it this far before only to have apps hang after 22 hours or so. I'll be convinced once it makes it 5 days.
Click to expand...
Click to collapse
A good point is brought up about the lack of ALPHA kernel being in the OP subject line and that app launch hangs are not listed in the known issues section even after 10+ reports by users:
thatlaoboi said:
I don't like stock though... And I really, REALLY like TDJ's work. But it just gets irritating sometimes. But just curious, why is not marked in the title that is using an alpha kernel. I mean, I know that it says in the changelog thingy, but that isn't really making it known. And maybe the reason why it been posted several times is that people don't want to/have the time to read through 600 pages of posts. And it isn't listed in the known problems, there it only says "Reboot/Shutdown Hangs", that's it. Nothing on no being able to open apps.
Click to expand...
Click to collapse
Reports start coming in about the issue happening in v5:
rfail1988 said:
I just got the app opening freeze/hang on v5 now :-(
Click to expand...
Click to collapse
I report on my testing in v5 and post a set of fairly quickly reproducible steps:
Splaktar said:
I'm still seeing the app launch hangs in v5. I had been running for almost 48 hours (my best yet) on v4 after upgrading to Busybox 1.20.10-Stericson and staying with Superuser and the su binary v3.0.3.2. I only stopped using that to upgrade to v5 this morning.
I tried v5 using just the Busybox 1.20.10-Stericson along with SU binary v3.1 and still had a hang.
I also tried v5 with Busybox 1.20.10-Stericson and Superuser with the su binary v3.0.3.2 and still had a hang.
I've been able to reproduce the problem fairly quickly by opening a lot of apps and processes that run in the background. After about 15 minutes, I can get it down to 90-150 MB of free RAM. Then turn off the screen and let the phone idle for about 10 minutes. Then within a bit more usage it will finally hang.
Sorry to be the bearer of bad news, but I'm trying to at least do what I can to get this figured out. I'm nandroid'ing my v5 install now and going back to my last v4 that ran for almost 48 hours to see if that was a fluke and if I can get it to hang on app launching.
Click to expand...
Click to collapse
I throw out the theory that this is an issue with the stock/ROM kernel:
Splaktar said:
The goal is to get to the bottom of this issue and verify that a fix to the problem was successful or not. The goal is to eliminate all app launch hangs from this ROM.
I'm starting to think that it may be an issue with ICS or at least Samsung's version of it for the T989.
Click to expand...
Click to collapse
I report back on my 100% clean v4 install and how it still hung. I talk about how the RAM is handled and that I don't ever seem to run out of RAM. The OS is freeing RAM from old apps and keeping my free RAM over 90 MBs all of the time. Also suggest that I will try to reproduce the issue on the stock rooted ROM.
Splaktar said:
Just got done nandroid'ing back to my v4 w/ Busybox 1.20.10-Stericson and Superuser and the su binary v3.0.3.2. I performed the same repro steps (it isn't anything close to trying to kill it) by just opening up some apps. Then letting the phone rest 10 minutes. Then opening up a few more apps. It still hung, so that combination of factors didn't fix anything and I was just lucky to get almost 48 hours out of it without a reboot.
I guess the next step it to load up Mr. X's stock ROM and see if I can reproduce the issue with the same steps there. It is nice to be able to reproduce it in 30 minutes now and not need to wait 6-40 hours for it to 'just happen'.
I'm really starting to think that it is an issue with Samsung/TMO's code. I did count the number of apps in ICS's task history view. It was 19. I'm not sure if 19 or 20 is the limit? It might be an issue with how that feature is implemented.
It doesn't seem to be a RAM issue because I am seeing Android clear up more RAM every time I get down below 100 MBs free and open a new app.
Click to expand...
Click to collapse
A question about task killers and a claim that it might help manage the issue:
sinfulgray said:
Anyone that has app and/or launcher hangs do you ever clear your ram with the built in task manager? Are you leaving all your background app running? I'm a little ocd when it comes to my phone so I'm always clearing background apps and freeing up my ram. Just a thought
Click to expand...
Click to collapse
My response:
Splaktar said:
I don't clear / kill any apps or use a task killer.
Click to expand...
Click to collapse
A confirmation that you can't open the Task Manager unless it is already running (and hasn't been freed) if you see app launch hangs:
algorhythm said:
I can't even get into the task manager, I click on "Task Manager" and it just doesn't open, just like every other app.
Click to expand...
Click to collapse
OK, there might have been some posts missed that didn't include "app" or "hang" but that it all that I've gathered up for now.
Added a post to redirect people with this issue to this new thread:
Splaktar said:
I've created a thread to investigate/debug the app launch hang issue. You can find it here: http://forum.xda-developers.com/showthread.php?p=27754152#post27754152
If you have issues with apps not launching from the app drawer, home screen, or widget, then please post your issues in that thread which is focused on this issue and not here.
It looks like this might be related to a certain app or set of apps being installed on top of this ROM that causes the issue.
Click to expand...
Click to collapse
Additionally, I have been running the Stock Rooted ROM from 6/13 (with camera fixed) along with the modified Radio from the Darkside Evolution.3 thread for the last 3 hours.
I have tried to reproduce the issue which I have been able to reproduce in under 30 minutes on v4 and v5. But so far I have not been able to reproduce it. This is with only an extreme bare minimum of apps installed on top of the stock ROM (that I can't live without).
I am going to start restoring apps and widgets to the phone and then running the reproduction steps until I hit a hang. Then I will work on isolating the exact app or widget that is causing this problem.
Installed in initial version (my must have apps, no widgets).
Unable to reproduce an app launch hang.
SWTOR security key
Google Authenticator
TB
WeatherBug
Amazon Appstore
Google Drive
Gentle Alarm
SwiftKey X
Tapatalk
VIP Access
Google Voice
Installed in second version (my most suspect apps, but still no widgets).
Unable to reproduce an app launch hang.
Facebook
WhatsApp
Unlock With WiFi
Skype
Scorecenter
SetCPU
QuickBoot
ROM Manager
Multi Mount SD-Card Lite
Well I haven't gotten a hang yet on the Stock ROM but I did get it to soft boot TW and disconnect my WiFi and BT while streaming music on Google Music and setting up Sync on Facebook. So Facebook is looking quite suspicious. Has anyone reproduced the app hangs without Facebook installed?
This soft reboot of TW also caused the time to be switched to GMT which has been reported on the TMO support forums with the stock ROM.
I ran test #2 here for well over an hour and I could not get another soft reboot or a single app launch hang. I did get some stuttering of music and slowdowns due to overloading the CPU and/or RAM and garbage collection. But nothing was unrecoverable or did not resolve itself with some time to let the CPU catch up. No reboots were needed.
Installed in third version (my most suspect apps AND widgets).
Unable to reproduce an app launch hang.
All apps from tests 1 and 2.
Scorecenter widget
Scorecenter video widget
Agenda widget
News and weather widget
Multi Mount SD-card lite widget
Google Voice widget
Digital Clock widget
I ran test #3 here for about another 45 minutes and saw no difference in performance or behavior. I did note that while the Multi Mount SD-card lite widget does show up in TW. Clicking on it does not appear to work (it delays a while and then gets su access, but never displays its dialog confirmaton). But it never caused a soft reboot or any app launch hangs.
Installed in fourth version (all of my apps, widgets, GO Launcher and Apex).
Unable to reproduce an app launch hang.
I've been banging on the stock ROM with all of my apps and widgets installed for over an hour now. I've seen 2 soft reboots, usually when RAM/CPU usage gets high and the OS can't handle things. It is possible that this bug triggers a soft reboot in the stock ROM but instead triggers the app launch hang bug in darkside ROMs. But I haven't generally noticed the phone slowing down and music stuttering when I've had the app launch hang issue, but I do very much notice it on the stock ROM right before a soft reboot.
I'm going to run this stock ROM w/ all apps/widgets over night and see if I can make it through. So far I've only been using TW. But in another hour or so I'll enable Go Launcher and Apex for a couple hours each.
Overnight update:
I ran Apex for about 30 minutes, no issues. Ran Go Launcher for about 2 hours of use plus overnight time. Everything is still working just fine this morning. Already put in about an hour worth of use this morning with no issues yet.
So far after over a full day or testing and following reproduction steps for hours (that I can cause an app launch hang with on Darkside v5 in ~20 minutes), I am not able to cause an app launch hang on the stock ROM.
Here are the stock issues that I did find, which if seen on Darkside should not be reported against the ROM or to TDJ:
1) soft reboots when OS gets overloaded, disconnects wifi, BT, etc shuts down all apps.
2) Soft reboots cause timezone to get set to GMT
Edit 06/27: I've now been running the Stock rooted ROM from Mr.X for at least 3 full days of regular usage without a single app launch hang. During regular usage, I haven't seen any of the soft reboots or timezone issues either. I have run into issues with uninstalling bloatware though. I keep getting Delete Failed when trying to remove it from /system/app.
Yeah I spoke too soon as well. Not getting the app not opening up issue. I'm currently on v5. For me, I noticed that the times it has happened. It's been on the lower quadrant of battery drain. So when my battery gets lower than 25%. Not sure if that makes a significance on how the ram is handled. I noticed also my battery will start to get hot after the issue occurs before I end up rebooting my device.
I have also tried fresh installing the ROM and installing my apps manually without using any app for restoring just in case that was the issue which it turns out not to be the case for me since it still happens.
I hope we get this thing squashed. Or I may finally switch to a different ROM or back to stock for me with bloat removed.
Sent from my SGH-T989 using XDA
I really don't think the launcher is (solely?) to blame. When you open the Phone app, it opens (unlike everything else) but opens to a black screen with a blue gradient bar on top. You can also swipe away running apps via long-press home. It sounds like it may be a kernel issue?
For me, Skype randomly hangs on Darkside ROMs. It takes 4-5 force-stops to get one running properly.
tsuda said:
For me, Skype randomly hangs on Darkside ROMs. It takes 4-5 force-stops to get one running properly.
Click to expand...
Click to collapse
I've noticed some issues with Skype too. That's why it made my list of most suspect apps. Many of my app launch hangs occurred while I had Skype open and running in the background. It eats up quite a lot of memory.
But so far while testing on the stock ROM, I haven't had any issues with Skype at all.
ive had the app hangs on all the ics roms i have tried ,darkside cache wipe and clearing launcher cache helps,but still there everyone once in awhile not with any specific app but with several.also when this happens i looke at the task manager and the ram is almost maxed out maybe ics is not handling the ram very well.just my observation.
Thanks for this thread, i wanted to comment in the Darkside Evo. v5 but i couldnt as i'm new.
I experienced the hang the last time when i tried to open the facebook chat, that was on version 5, i really liked v4 for all the features but there i got a lot of hangs several times a day doing random tasks, i had like 50 apps installed but i was removing them every time more and more.
Finally i decided to format both SD cards, internal and external and everything got better, but i have only had one hang in v5 several days ago, recently i've been messing with the phone trying several ROMS but now i'm back with v5 and im going to treat the phone like a b*tch to see if i can reproduce the hang with a clean clean installation, by the way im using the phoenix69 AOSP theme lockscreen, the aosp theme pack and some other stuff that is compatible...
I'll try to post if i get a new hang, i suspected of the powerful control widget, as the cause of the hang.
By the way, thanks for this extensive investigation Splaktar, i really wanted to be part of it.
Got another app hang.
I was configuring the phone after a clean installation, configuring options, putting some shortcuts, adding some widgets in Tw launcher, i installed apex and go launcher and used them a bit then returned to TW, i have the widgets: picture frame, accuweather, google search, power saving, and ICS clock, 3g watchdog small...
the case is i was messing around with some voice search on Dolphin Browser, when it happened, i minimezed the screen or don't remember exactly what happened but i wasn't able to open some apps, other do, but not all of them, which i found strange... system apps won't open, it really sucks this hang apps thing... i dont remember this happened on the darkside evo. 2 betas.
i can say that this happened in the exact moment i reached 65% battery.
Could it be something battery related? IDK.
Splaktar said:
I've noticed some issues with Skype too. That's why it made my list of most suspect apps. Many of my app launch hangs occurred while I had Skype open and running in the background. It eats up quite a lot of memory.
But so far while testing on the stock ROM, I haven't had any issues with Skype at all.
Click to expand...
Click to collapse
Same here, no issue with Skype on stock ROMs.
But I got the same hanging issues on CM9 Alpha.
Updated 2nd post with results from testing last night and this morning.
Going to flash the stock ROM on a 2nd phone for further testing. Then go to a clean Darkside v5 ROM with no apps installed to see if I can reproduce.
So annoying that this issue doesn't leave any useful logcat information. There are 2 sets of logcats in the Darkside Evolution.3 thread that I haven't linked/posted here yet.
Doubt it helps but this just happened to me again on v5 but since I use Tasker and iseeyou and since they are ongoing tasks, I could actually open Tasker and iseeyou from the notification tray. Still had to reboot to use anything else, though.
Sent from my SGH-T989 using Tapatalk 2
rdsugs mer.
Got another hang, this time opening the picture frame widget, the one that comes with the rom.
AT 64% OF MY BATTERY AGAIN.
Yesterday it was at 65%, it happened doing stuff in Dolphin browser which i uninstalled, then i restarted and continued using the phone until the battery drained, but no hang this time, i fully charged the battery, and got another hang at 64% exactly the moment i tried to open the picture frame widget.
This time i had 4 apps running in the background, google search, XDA devs pro, and i forgot the other two. I may be a noob or whatever, but my battery is my principal suspect or something power related, or the way how interacts power management and apps. i will try again.
I doubt its battery related as I just got my lockup while sitting at 100% on a charger.
Sent from my SGH-T989 using Tapatalk 2
algorhythm said:
I doubt its battery related as I just got my lockup while sitting at 100% on a charger.
Click to expand...
Click to collapse
Right, most/many of my app launch hangs have occurred while at 80-100% and connected to the charger.
Splaktar said:
Right, most/many of my app launch hangs have occurred while at 80-100% and connected to the charger.
Click to expand...
Click to collapse
I can possibly agree with the battery level one but not the charger one. Seems independent of the status.
Sent from my SGH-T989 using Tapatalk 2
algorhythm said:
I can possibly agree with the battery level one but not the charger one. Seems independent of the status.
Click to expand...
Click to collapse
Not sure if you read that right. I wasn't trying to say that the charging status has anything to do with the app hangs.
Splaktar said:
Not sure if you read that right. I wasn't trying to say that the charging status has anything to do with the app hangs.
Click to expand...
Click to collapse
Never said you were, I was just saying for me it seems independent.
Sent from my SGH-T989 using Tapatalk 2
Hi again.
As i read the last replies, i connected my charger at 71% of my battery, after restarting and this time i really tried to get the hang, and i got it again with the picture frame widget, after i tried to open it the freezing started.
Other apps that i opened while doing thisalways hitting the home button to try to have them in background)
gmail
task manager (killed some apps and ram before)
talk (chatted with the guru a little)
chrome beta (opening some of my computer's tabs)
dialer
playstore
youtube (watched some videos then returned home)
speedtest (did some tests and aborted)
Google reader
the gallery who caused the crash
twitter
calculator
messaging
power saving
Those were the last things i triied with the charger connected, i was at 71%
activated all that can be activated (3g, wifi, gps, autosync, even the flashlight, everything, then the battery dropped to 70% charging and finally got the freezing. I think i will return to stock... until the problem is fixed... i really love TDJ Rom, and i hope to be back soon. I will try Mr.x stock rooted slightly modified ROM and Try to reproduce the hang.
Thanks for this Thread again, this app hang is really bad i wonder what causes it.
Arturo777 said:
Hi again.
As i read the last replies, i connected my charger at 71% of my battery, after restarting and this time i really tried to get the hang, and i got it again with the picture frame widget, after i tried to open it the freezing started.
Other apps that i opened while doing thisalways hitting the home button to try to have them in background)
gmail
task manager (killed some apps and ram before)
talk (chatted with the guru a little)
chrome beta (opening some of my computer's tabs)
dialer
playstore
youtube (watched some videos then returned home)
speedtest (did some tests and aborted)
Google reader
the gallery who caused the crash
twitter
calculator
messaging
power saving
Those were the last things i triied with the charger connected, i was at 71%
activated all that can be activated (3g, wifi, gps, autosync, even the flashlight, everything, then the battery dropped to 70% charging and finally got the freezing. I think i will return to stock... until the problem is fixed... i really love TDJ Rom, and i hope to be back soon. I will try Mr.x stock rooted slightly modified ROM and Try to reproduce the hang.
Thanks for this Thread again, this app hang is really bad i wonder what causes it.
Click to expand...
Click to collapse
This testing is being done with Mr. X's Stock Rooted ROM. It does not appear to have the app launch hang.
Your apps are quite different from mine and we both have the issue. Plus my own testing appears to have shown that apps are not causing this behavior. So I'm fairly sure that this is an issue with the Darkside ROM base. There were some posts that said CM9 has some app launch hangs as well so there might be parts that TDJ got from CM9 that are causing the app launch hangs.
I agree that the Darkside ROM is amazing. I really find it hard to live without the notification bar toggles and the notification bar slide for brightness. Plus the wallpapers and other customizations are awesome. But having to reboot once or twice a day at random (often inopportune) times can be quite annoying or worse.
I've had this problem sometime over a month now, can't remember if I did anything to make it like this. I made a post somewhere about it happening the 17th of May, so it started somewhere before that.
My phone will freeze for 2 seconds and then reboot itself.
It started while I was on stock 4.0.2 and now I'm on stock 4.0.4 IMM761. I have a GSM Galaxy Nexus.
It only happens just after the phone has been woken up and something is started. The most common (as it's my go-to-way of forcing it, to see if it's still there) is after waking up the phone, sliding down the notification bar and pressing "settings", which doesn't open but the phone freezes and reboots itself. I first discovered this when I wanted to go in there to change screen brightness. It's also happened when I went into the notification bar and pressed a battery app there. It doesn't matter if I'm doing it in the lock screen or after the lock screen.
It's also happened when I wake up the phone and enter the camera through the lock screen.
It also regularly happen if I set an alarm in the morning. When my alarm is suppose to play it freezes and reboots, and when it's rebooted, the alarm has been cancelled without ever playing.
It doesn't need to wake from deep sleep to do this, I've had it happen mere minutes after trying to see if it's there.
I don't know if it has something to do with this, but the 21st of April I tried to do the "clear google services framework" trick to force 4.0.4 ( I was on yakjuxw), but it did not work and I remember my phone acting janky and I was scared it messed something up, but I seem to remember it getting better. I can't remember what exactly it did though.
I've read that 4.0.4 would fix the reboots that a lot of people were having (don't know if it was the exact same kind of reboots as mine) so I did this to make my phone a yakju (translated from Danish):
http://translate.google.dk/translat...at-modtage-opdateringer-til-din-galaxy-nexus/
I did that the 8th of June, and it worked flawlessly and I was on 4.0.4 IMM761 in no time. Unfortunately it did nothing to stop these reboots.
As part of the process of making my phone a yakju I, of course, did a complete factory reset, although I did make a copy of my entire SD and transferred everything over again after the process.
These past two weeks I've tried the following to fix it:
Clear cache partition in recovery.
Clear google services framework.
Clear media storage.
Tried to uninstall many apps, 2-3 a day, to see if they were causing it, re-installing them when I still had the same problem. If it's an app causing this I've yet to find it, but I find it weird that an app could be causing this.
It happens once a day, but never close to each other. It seems that some time has to pass before it can happen, and it only ever happens just after the phone is woken up, either by my alarm or by me opening the notification bar and pressing something there.
Please help me, this is unbearable.
Another thing, yesterday I tried to let it run without me pulling down the notification bar and pressing "settings", which would set off the freeze-reboot. I found that my phone would not freeze-reboot but very often it would "reload" app icons and widgets when I went around my homescreens. Where I can only see my wallpaper for half a second and then the icons/widgets appear. It would do this very often throughout my 1day 5hour uptime, and a couple of times I would try to force the reboot (by pressing "settings" in the notification bar), after the icons/widgets did the invisible/load thing and it didn't reboot. This must have something to do with it?
hi,
experienced this on my nexus s back then what i did is from recovery>mount and storages>formatted system, boot, and everything else except sd card.then it was all gone.btw you will have to flash your rom and kernel again as this is a full wipe.hope i helped and do this on your own risk
daff
bump
did it cure your reboots?
daff
dark06 said:
did it cure your reboots?
daff
Click to expand...
Click to collapse
I haven't tried that yet. I'm trying a "RAM booster" app to see if that helps, but that doesn't sound too stable even if it does.
I'm going to do a full factory reset and installing nothing, or moving anything to the SD, and just let it run like that to see if it works.
Just writing an update for anyone googling themselves here with the same problem, I had it resolved.
I found out that if I didn't force the reboot (by turning on the phone and quickly pulling down the tray and pressing something there) it could last a long time with just the launcher resetting, but it would lead to complete freezes (anywhere I was on the phone) and would require a battery-pull.
My plan was to wait for jelly-bean before doing another factory reset, I got the JB update and it completely removed the problem. I still don't know why the problem suddenly started or what caused it, all I know is that the JB update fixed it, and the update is fantastic, my phone's never been better.
got an issue with the google nav app crashing on me.
a little background first though.
had this issue on the std rom, and tried flashing the current ARHD 31.3 rom in the hope of fixing it, it hasnt!
from a fresh boot, i can go into the google maps app, choose a location and then use the nav app go to there, no issues at all.
next time, i open maps, no issues at all, choose my location, and as soon as i hit start navigation, the nav screen opens, showing the next turn to make at the top, the voice is telling me where to go, but the main map screen, is flashing black and white.
it flashes like that for 5 or 10 seconds before crashing, the only way to restore navigation to a working state is to reboot the phone.
its getting rather annoying now, as i dont use the nav very often, i tend to need it occasionally, and its irritating to have to reboot the phone just to get the nav working.
as far as i am aware, the GPS works fine in everything else, (Maps, strava, gps test) it just seems to be nav thats causing the issue.
i've already tried clearing the cache from settings, apps, clear data, but i still get the same issue
any ideas on what might be causing this
cheers
sning said:
got an issue with the google nav app crashing on me.
a little background first though.
had this issue on the std rom, and tried flashing the current ARHD 31.3 rom in the hope of fixing it, it hasnt!
from a fresh boot, i can go into the google maps app, choose a location and then use the nav app go to there, no issues at all.
next time, i open maps, no issues at all, choose my location, and as soon as i hit start navigation, the nav screen opens, showing the next turn to make at the top, the voice is telling me where to go, but the main map screen, is flashing black and white.
it flashes like that for 5 or 10 seconds before crashing, the only way to restore navigation to a working state is to reboot the phone.
its getting rather annoying now, as i dont use the nav very often, i tend to need it occasionally, and its irritating to have to reboot the phone just to get the nav working.
as far as i am aware, the GPS works fine in everything else, (Maps, strava, gps test) it just seems to be nav thats causing the issue.
i've already tried clearing the cache from settings, apps, clear data, but i still get the same issue
any ideas on what might be causing this
cheers
Click to expand...
Click to collapse
Had this too on CM, thought it had something to do with the ROM but after reverting to stock exactly the same issue. You're not alone
http://forum.xda-developers.com/showpost.php?p=46517908&postcount=15438
Any update on this issue? I have exactly same issue on stocked One X with Sense 5.0, Android 4.2.2.
I have exactly the same problem. I'm wondering if it's a Sense or app issue. Either way, I submitted a bug report.
Sent from my HTC One X using Tapatalk
I turned off the hardware overlay in the Developer section, and it seems no problem anymore... Not thoughtfully tested yet, tho...
Still flashing and crashing HTC One X+
Google maps to navigation is still flashing and crashing - even after turning off hardware overlays.
Works 1st time after reboot. If I swipe the app away from recent apps screen, then it starts failing.
3rd time I start it, working again, but I figure it's going to happen again.
AT&T HTC One X+ phone,
Android 4.2.2, Sense 5.0,
SW number 2.15.502.1,
HTC SDK API level 5.41,
Kernel 3.1-10-gf4d5f91
build number 2.15.502.1 CL280456
Anyone ever get an answer to this? Last post I found was December 2013 and still nothing.
delete this
I think I've found a kind of workaround to prevent this problem.
When you search the location you want to reach, and you are faced to the tile with these info:
8 min (3,1 km)
some info about trip
[MAP]
Start navigation
Instead of click on "Start navigation", click on "8 min (3,1 km)", then when the map is open, click on "Departure" and maps should not crash.
I hope the explanation is enough clear, I've translated texts from the italian app so I'm not sure if I've did it in the right way.
fez vrasta said:
I think I've found a kind of workaround to prevent this problem.
When you search the location you want to reach, and you are faced to the tile with these info:
8 min (3,1 km)
some info about trip
[MAP]
Start navigation
Instead of click on "Start navigation", click on "8 min (3,1 km)", then when the map is open, click on "Departure" and maps should not crash.
I hope the explanation is enough clear, I've translated texts from the italian app so I'm not sure if I've did it in the right way.
Click to expand...
Click to collapse
Totally works! Thanks!
HTC One X
Cyanogen 10.2.1
I was so annoyed with this...
I have had this problem for the last year using the stock, rooted AT&T Rom for my HTC One X + My wifes phone that is an HTC One X does not seem to do this. I found when I removed the maps update it worked well. When it updated it seemed to work a few times then the flickering and crashing started up again.
I tried the other suggestion above.
Finally I noted that when I clicked on start nav and as soon as it tried to open the map if I hit the power button and waited a second and turned it back on the image was stable. Sometimes I couldn't catch it before it crashed but if I did it would do the trick.
Why doesn't google fix this?
Same here. One X with rooted stock ROM.
When the flickering starts, i turn off the screen and then back on. This works for me in most situations. Still really annoying.
Hello there,
I am posting this thread with a problem. Roughly a year ago I purchased the HTC M9 (after 2 very satisfied years using the M7). Up untill about a week ago everything was working fine for me, the only small issue I've had so far is the lack of memory space. Although this issue was easily solved by simply upgrading my device using a Sandisk SD card.
However, since a couple of days my device started overheating very quickly and lagging. Again, I tried to fix this by rebooting the phone and using CCleaner to clean up some of the junk on the device. Now here comes the actual problem: this morning I was simply using the Youtube app to watch a video when my device suddenly crashed (with 50% battery life). I plugged my phone into a charger and booted up the device again but I get a an error report saying "Sense Home stopped working", which means I'm currently unable to use my device. For some reason the HTC report function is bugged aswell, as I cannot seem to send an error report to HTC.
Can anybody tell me what is going on here and how I could solve this problem? I'm very dependent on my phone because of university and work and would like to fix this as soon as possible and preferably not with a hard reset.
Thanks in advance.
Okay I went ahead and tried out something myself based on the following on a thread on androidcentral com titled ""Unfortunately, HTC Sense has stopped" loop" (I'm not allowed to post links yet)
So I went to Apps and cleared the cache of the Sense Home app (without being in safe mode). My phone started working again, but I lost alot of information as apps like Whatsapp and Google Chrome are completely reset and I lost my contacts. Is there any way I can fix this process?
I cleared my cache but my device is still keeping me in that damned Loop. I don't want to lose my pictures or videos. What else can I do? I have an HTC One M9.
Solution to Sense Home crash loop
Kamir Tyree said:
I cleared my cache but my device is still keeping me in that damned Loop. I don't want to lose my pictures or videos. What else can I do? I have an HTC One M9.
Click to expand...
Click to collapse
Quoting the page: crowdsupport.telstra dot com dot au/t5/Device-Updates/HTC-M9-Marshmallow-6-0-update-causes-problems/td-p/577965
"Boot the phone as per normal, ignore the "Sense Home has stopped" message for now.
Pull down the notification drawer,
Tap on the cog to get into settings (once in settings clicking ok on the "Sense home has stopped" message should make it dissapear so you can see what you are doing),
Go into Apps,
Go into Sense Home,
Tap on storage,
Tap on "Clear Data".
This will delete all the data stored with the Sense Home app, not your photos or messages of contacts or anything like that.
You will have to re-configure your home screen(s) though :-/
Once you've done that you should be good to go.....You may need to reboot."
I have the same problem which started at the same time.
Tried everything, clearing Sense cache, system cache from recovery, installed custom recovery and Revolution HD rom its all the same... Everytime after few minutes or hours same problem occurs! Loop Sense crashing, rebooting, wifi turning on and off by itself...
Please someone help
Hi guys, I had the same problem just two weeks ago. Tried cache clearing, factory reset, yada yada yada. Despite all the error report pop ups I managed to use Google app to get to play store, and updated sense home from there. That did the trick. I lost all my contacts and apps but still the phone works again.
devinbost said:
Quoting the page: crowdsupport.telstra dot com dot au/t5/Device-Updates/HTC-M9-Marshmallow-6-0-update-causes-problems/td-p/577965
"Boot the phone as per normal, ignore the "Sense Home has stopped" message for now.
Pull down the notification drawer,
Tap on the cog to get into settings (once in settings clicking ok on the "Sense home has stopped" message should make it dissapear so you can see what you are doing),
Go into Apps,
Go into Sense Home,
Tap on storage,
Tap on "Clear Data".
This will delete all the data stored with the Sense Home app, not your photos or messages of contacts or anything like that.
You will have to re-configure your home screen(s) though :-/
Once you've done that you should be good to go.....You may need to reboot."
Click to expand...
Click to collapse
Thanks, great solution, apps and everything still there - I was so worried. For me this problem was a show stopper, do I even consider getting another HTC phone?? Why can't HTC modify Home Sense to disable the alert, once initiated, when the battery is fully charged, then this very annoying, irritating and phone disabling problem would just go away?
A very strange thing happens to me today.
My Pixel XL 128 (never rooted, with bootloader locked and running the lastest official Oreo) suffered a soft reboot when I clicked a YouTube link in the notification shade. After that, I ended up with home and recent buttons, not performing their actions. They still vibrated and the Home button kept the animation. The status bar did not showed notifications, even when they arrived (notification sounds continue to ring), and notification shade pulldown stops working. No mobile network either.
Has anyone else faced this thing?
I had to factory reset (through settings) to use my phone again.
The exact same thing happened to me today. I too am not rooted, all oem, 128gb too, have phone since January, upgraded to oreo several days ago.
Today, I was about to open an email from the notification shade, then the phone rebooted itself on its own, now after the reboot I am limited and can only use the back button. Home and Recents buttons are registering my touch (they both vibrate when I press them) but they don't do their jobs. And what's also strange is that before this happening I had 'vibrate on touch' off. Furthermore, I also can't bring down the notification shade past the first step where it shows the quick settings icons,and notifications no longer show up in the notification shade - it's always clear at the top. When I go into settings>developer options, it says 'this user has no developer options (something like that).
I went to Google's support chat via phone and they couldn't help me either, the same behavior in safe mode, only back button works. I asked support if they could help me troubleshoot the problem without having to do a factory reset and they ended up going down that street and said it's the only thing they could recommend to do.
Any recommendations?
Yep same thing has happened with me as well. I didn't factory reset but I did have to do a reboot for my buttons to work again. Also I get a lot of reboots when I'm using PiP for about 5 mins.
Green_Laser said:
The exact same thing happened to me today. I too am not rooted, all oem, 128gb too, have phone since January, upgraded to oreo several days ago.
Today, I was about to open an email from the notification shade, then the phone rebooted itself on its own, now after the reboot I am limited and can only use the back button. Home and Recents buttons are registering my touch (they both vibrate when I press them) but they don't do their jobs. And what's also strange is that before this happening I had 'vibrate on touch' off. Furthermore, I also can't bring down the notification shade past the first step where it shows the quick settings icons,and notifications no longer show up in the notification shade - it's always clear at the top. When I go into settings>developer options, it says 'this user has no developer options (something like that).
I went to Google's support chat via phone and they couldn't help me either, the same behavior in safe mode, only back button works. I asked support if they could help me troubleshoot the problem without having to do a factory reset and they ended up going down that street and said it's the only thing they could recommend to do.
Any recommendations?
Click to expand...
Click to collapse
Exact same symptoms for me on a Nexus 6P with Oreo.
Same happened to me. Stock Pixel XL, 128GB, Oreo. Even applied the latest September update but no dice.
Do the "Nova Launcher" fix.
1. Install Nova Launcer. nb. Play Store not installing anything for me, so downloaded the apk with Chrome (google for Nova Launcher.apk).
2. Allowed from unknown Sources
3. Opened Nova from App drawer (or can set as default launcher).
4. Hold down on empty space -> Widgets -> scroll the bar across to Activities. Hold down and drag onto home screen somewhere.
5. Scroll down to Setup Wizard and hold down on "SetupWizardUpgradeActivity".
6. Complete the setup options and candy!
ozvic said:
Same happened to me. Stock Pixel XL, 128GB, Oreo. Even applied the latest September update but no dice.
Do the "Nova Launcher" fix.
1. Install Nova Launcer. nb. Play Store not installing anything for me, so downloaded the apk with Chrome (google for Nova Launcher.apk).
2. Allowed from unknown Sources
3. Opened Nova from App drawer (or can set as default launcher).
4. Hold down on empty space -> Widgets -> scroll the bar across to Activities. Hold down and drag onto home screen somewhere.
5. Scroll down to Setup Wizard and hold down on "SetupWizardUpgradeActivity".
6. Complete the setup options and candy!
Click to expand...
Click to collapse
Wowzers. That worked! :good: Thank-you! What led you to finding that solution?
WillyBorgChuck said:
Wowzers. That worked! :good: Thank-you! What led you to finding that solution?
Click to expand...
Click to collapse
Lots of Googling! I did not want to factory reset!!
Sent from my Pixel XL using Tapatalk
ozvic said:
Lots of Googling! I did not want to factory reset!!
Click to expand...
Click to collapse
Interesting. That's fixed the UI issues in their entirety, and Developer Options are now available again too. And apps are once again downloading and installing/updating from Google Play. I wonder what on Earth got wedged and how? Bizarre.
Thanks again.
I got the same with my stock XL 128 seemed to just happen for no reason, after messing around with none of the bottom buttons working the square changed to two rectangles on top of each other as the screen went split screen again for no reason after that I could press the "recent" now split screen button to get the options up to select what I wanted on the second half of the screen when I canceled out of that everything was normal.
seems to be a problem with the picture in picture or the split screen, I don't know how I got into it or out of it but just messing around eventually did it for me. it did have me worried at first as at the time I was in google maps and couldn't get out or even use google maps, the bottom buttons reacted as if they worked but ultimately did nothing until the recent button changed.
WillyBorgChuck said:
Interesting. That's fixed the UI issues in their entirety, and Developer Options are now available again too. And apps are once again downloading and installing/updating from Google Play. I wonder what on Earth got wedged and how? Bizarre.
Thanks again.
Click to expand...
Click to collapse
Apparently it thinks initial setup is running (or maybe it is in background). During setup it stops you from pressing home, or switching apps, or doing anything of significance. I guess running the setup to completion clears that flag.
Sent from my Pixel XL using Tapatalk
Same here: Needed reboot to get "recent apps" button working (although it did "light up" when i used it).
THANK YOU!
I've had a lot of Google phones issues lately and woke up to this and was getting ready to be annoyed all day. Super easy fix as I run Nova Full anyway!
Saviour
You my friend are amazing. Google were absolutely useless, this fixed the problem and introduced me to Nova, double bonus
Thank you - Just the solution that I was looking for.
Thank you! I registered at xdadevelopers just to say that. I too did not want to do a factory reset and the change User to Guest option was not available. I also tried the enable screen lock to Pattern and rebooted.
Going to Nova Launcher and following your instructions to a T fixed the issue.
Grateful for your effort and time.
ozvic said:
Same happened to me. Stock Pixel XL, 128GB, Oreo. Even applied the latest September update but no dice.
Do the "Nova Launcher" fix.
1. Install Nova Launcer. nb. Play Store not installing anything for me, so downloaded the apk with Chrome (google for Nova Launcher.apk).
2. Allowed from unknown Sources
3. Opened Nova from App drawer (or can set as default launcher).
4. Hold down on empty space -> Widgets -> scroll the bar across to Activities. Hold down and drag onto home screen somewhere.
5. Scroll down to Setup Wizard and hold down on "SetupWizardUpgradeActivity".
6. Complete the setup options and candy!
Click to expand...
Click to collapse
Thank you soooooooo much for your solution which worked flawlessly and saved me a lot of hassles!!!
Same story, pixel xl 128 GB , stock, no rooted, just reboot , talk with Google , did reset, and yesterday reboot again just laid on my chair.... I don't now what is the problem ....
Pixel XL home button
WillyBorgChuck said:
Wowzers. That worked! :good: Thank-you! What led you to finding that solution?
Click to expand...
Click to collapse
Hi, I've tried downloading Nova and Nova Prime, so desperate with this issue, I paid for it. Of course, it won't download, when I hit install, I get "install pending" or "downloading" this is going on for 4 days now. Please help!!!!
had my screen freeze again today with it being non responsive, it seems to be every time I leave chrome open and chuck it in my pocket, forcing the phone off and turning it back on fixed the problem this time, no clue what is going on with it as it only seems to happen with chrome.
You need to download the apk file through chrome, not through the google play store.
I have to say, thank you for posting that solution! I had this exact thing happen to my phone today, no idea why, but it sure was annoying!
All the same stuff happened to my Pixel XL original. Even lost "ok Google" spoken activation of assistant, and the night light failed to operate even though turned on in settings. Followed Google's advise and did the factory reset. Worked for about 3 days then bang, soft rebooted on its own while switching apps, and then all problems returned. Had the phone for just 6 months so Verizon sent me a replacement. Will see if it holds up. I told Verizon that if it fails again I want a Pixel 2!!!