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.
Hi all!
I'm running CM11 24.06 nightly, along with Devil3 kernel on my n7100.
I've recently updated from 06.06 nightly (I believe), which was a fresh install (full wipe, no updates before), but I have had this issue before already. I think it starts to happen after I perform an update to the newest nightly. Rolling back to previous one doesn't help - another full wipe and fresh install is required to fix this or at least I didn't find a solution.
So, what's the issue? There are four issues that, to me, are connected:
1. Waking up - I'm experiencing serious lag when waking up the device. Sometimes the device doesn't want to wake up for half a minute, sometimes it doesn't wake up at all and it requires me to restart it by holding the power button
2. Lag after unlocking - Most of the time though, when device is actually successfully woken up and I want to fe. go straight to SMS app from lock screen and type something immediately, phone freezes for a second and when I'm able to type (touchscreen reacts, letter-press animation plays) - the letters aren't appearing. Sometimes it takes a while after I can type, sometimes I have to close the app. I've tried different SMS apps, deleting big conversations, different keyboard apps (I'm using SwiftKey, but stock app is the same - this one actually remembers what I type, recommends me something, but when I tap to use the recommendation, nothing is being typed into the text box) and some other things.
3. Application start up time and white status bar - Apps are starting to drop in performance as well. For example, when I run, let's say Play Store, the status bar on top of the screen is flashing white and it takes a bit longer to be able to use them (just like the SMS app).
4. % battery usage of certain (unexpected?) apps - Most battery hunger process is Android System. I've reset battery stats, for the last 1h and 45min used phone to type 2-3 messages, and it's usage is @27%, whereas 2nd process is screen with 18% and 3rd is Android OS with 11%.
Restarting the device seems to temporarily fix first three issues. They start to come back as soon as I start using the device, like opening apps, etc.
As I said before, it all happens after performing an update. Maybe I'm doing something wrong? I usually flash the update, restart device, go to recovery, flash kernel and restart. Since the issue happened again, I've tried to flash the new nightly and kernel together before, it didn't help. Clearing cache/dalvik is not helping (before, after).
I don't have any backups made (I know, I should've made one), so, I guess I'll prolly end up performing a full wipe again. But does anyone have some ideas what may be causing this? So I can prevent this for good next time, hopefully.
Ksenios said:
Hi all!
I'm running CM11 24.06 nightly, along with Devil3 kernel on my n7100.
I've recently updated from 06.06 nightly (I believe), which was a fresh install (full wipe, no updates before), but I have had this issue before already. I think it starts to happen after I perform an update to the newest nightly. Rolling back to previous one doesn't help - another full wipe and fresh install is required to fix this or at least I didn't find a solution.
So, what's the issue? There are four issues that, to me, are connected:
1. Waking up - I'm experiencing serious lag when waking up the device. Sometimes the device doesn't want to wake up for half a minute, sometimes it doesn't wake up at all and it requires me to restart it by holding the power button
2. Lag after unlocking - Most of the time though, when device is actually successfully woken up and I want to fe. go straight to SMS app from lock screen and type something immediately, phone freezes for a second and when I'm able to type (touchscreen reacts, letter-press animation plays) - the letters aren't appearing. Sometimes it takes a while after I can type, sometimes I have to close the app. I've tried different SMS apps, deleting big conversations, different keyboard apps (I'm using SwiftKey, but stock app is the same - this one actually remembers what I type, recommends me something, but when I tap to use the recommendation, nothing is being typed into the text box) and some other things.
3. Application start up time and white status bar - Apps are starting to drop in performance as well. For example, when I run, let's say Play Store, the status bar on top of the screen is flashing white and it takes a bit longer to be able to use them (just like the SMS app).
4. % battery usage of certain (unexpected?) apps - Most battery hunger process is Android System. I've reset battery stats, for the last 1h and 45min used phone to type 2-3 messages, and it's usage is @27%, whereas 2nd process is screen with 18% and 3rd is Android OS with 11%.
Restarting the device seems to temporarily fix first three issues. They start to come back as soon as I start using the device, like opening apps, etc.
As I said before, it all happens after performing an update. Maybe I'm doing something wrong? I usually flash the update, restart device, go to recovery, flash kernel and restart. Since the issue happened again, I've tried to flash the new nightly and kernel together before, it didn't help. Clearing cache/dalvik is not helping (before, after).
I don't have any backups made (I know, I should've made one), so, I guess I'll prolly end up performing a full wipe again. But does anyone have some ideas what may be causing this? So I can prevent this for good next time, hopefully.
Click to expand...
Click to collapse
i think this kernel issue..mybe u should stay with stock cm kernel..
Sent from my GT-N7100 using Tapatalk
Azhery said:
i think this kernel issue..mybe u should stay with stock cm kernel..
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Well, like I said, everything is working fine after a fresh install (with full wipe prior to it), is it possible for kernel to cause that after a nightly update?
Ksenios said:
Well, like I said, everything is working fine after a fresh install (with full wipe prior to it), is it possible for kernel to cause that after a nightly update?
Click to expand...
Click to collapse
mybe problem on nightly..do you hve try other cm based rom?
Sent from my GT-N7100 using Tapatalk
Azhery said:
mybe problem on nightly..do you hve try other cm based rom?
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Some time ago I had OmniRom and after few OTAs I actually started noticing similar issue if I recall correctly (that was the reason for me to switch back to CM).
mybe u try..full wipe..wipe data..wipe cache..wipe system..wipe internal storage..
Sent from my GT-N7100 using Tapatalk
But that's the point, I'll probably end up doing it since restarting my phone every 30-60 minutes is out of the question. But, then what? every few nightly/snapshot I'm gonna perform a full wipe?
Ksenios said:
But that's the point, I'll probably end up doing it since restarting my phone every 30-60 minutes is out of the question. But, then what? every few nightly/snapshot I'm gonna perform a full wipe?
Click to expand...
Click to collapse
mybe u can try other rom like cyanogenmodx..bcause i nver had this issue..
Sent from my GT-N7100 using Tapatalk
I was actually thinking about it, but as I said, when I used OmniRom few months ago, I recall that I had similar issues. Nevertheless thank you for your insight. Anyone have any slightest idea what might be causing such behavior?
I seem to have fixed the issue. Turns out the culprit was Business Calendar - Business Tasks to be more precise. I unistalled both and so far didn't experience those wake up lags.
Hi, im running AndroidNow 6.1 and since i installed ot for the first time(version 3.2) my launcher crushes every once n awhile.
It happens with stock,google,nova or any other launcher - i prefer stock.
What happens really is, when i press home/back to exit an app to the homescreen,there pops the recent apps screen(with no open apps visible)and when i press home again to exit this screen , i see blank home page and then the icons refresh and everything reload. Latet when i open the app drawer i experience a little lag that the icons are reloaded also.
What seems to be the problem? Im rooted and ive got clean master but i dont think its related.
Please help me, thanks.
Am i the only one who experience this?
Happened to me few times. You are using 3rd party launcher?
Ps. You dont need clean master
i use the stock one,but it happned with all . why shouldn't i use it?
Tell me why you should?
This devices does not need that. It does more harm then use.
I love the feature that it prevents apps from starting on boot up.
Do you know how to solve my problem with the launcher crash?
I have the exact same problem.
This happened with the stock ROM and any launcher I tried.
Then I flashed a custom ROM (based on stock though), progressively reinstalled applications and after some time, the problem came again. Then, I progressively froze some applications with Titanium Backup, and now it happens much less than before (2-3 times a day against everytime I press "home").
My conclusion is that, even though that's a launcher crash we see, the fault probably comes from a background application. I'm still searching which one. Did you find something interesting since you opened the topic?
Have you installed hotmail app from play store?
NOxplode said:
Have you installed hotmail app from play store?
Click to expand...
Click to collapse
No
Any news on this one guys ?
It's happening to me too :crying: (Stock + root)
szafran81 said:
Any news on this one guys ?
It's happening to me too :crying: (Stock + root)
Click to expand...
Click to collapse
What I did recently was to :
- Disable the application "LIA Informant"
- Disable the application "LIA MrGDBLogger"
- Disable the application "LIA S4URecommender"
- Clear the cache (click on Settings > Storage > Data in cache)
The problem happened several times in a day before, but only occured a few times in weeks since I did this trick. The workaround was probably clearing the cache. But since the problem gradually came back after the last time I reinitialized the phone, I'm still afraid it comes back sooner or later.
I did clear cache a few times now - it always comes back.
Would be great if someone could find a fix for that, because it's very annoying.
The bad thing is that there is no send error report option. At least there would be a starting point with an error info etc.
Have you tried disabling the applications mentionned above?
I (almost) chose them randomly, but it really made a difference for me and the problem doesn't seem to come back.
Done that just now.
Will post back with the results in some time.
Do you maybe know what those apps do ? (I like to know what I'm turning off in case of any other problems)
GDB (in the Unix world) is a debugger. I have no reason to think that this GDB is the same though, I just guessed the problem should come from a system application and this one may be one.
Turning off those apps made no difference.
Was thinking that it may be one of the widgets on the home screen.
Later today, or maybe tomorrow I'll make a list of what I'm using and post it here - maybe this way we'll get whats causing this.
The only widgets I have now are Zooper Widget and Shuttle+.
But honestly, since the problem makes any launcher crash (and I think any application left in foreground when the screen turns off), I believe the root of the problem a system app/optimization, and likely one from LG since not many people seem to complain.
I hope 5.1.1 will come soon to the G3.
Any news on any update ? (not necessarily to 5.1.1)
Udated to 20p yesterday - clean update (just to be sure I've wiped 3 times - 1 before and 2 after the update).
Had a couple of hours of peace, and then it started again.
szafran81 said:
Udated to 20p yesterday - clean update (just to be sure I've wiped 3 times - 1 before and 2 after the update).
Had a couple of hours of peace, and then it started again.
Click to expand...
Click to collapse
I updated to CM 12.1 two weeks ago and never encountered this problem since then.
Hello. I have an at&t edition M8. I decided to convert it to dev edition for a clean stock sense marshmallow upgrade. I used the oficial dev edition ruu, did a factory reset after, even though the ruu does it. But I seem to have way too much lag sometimes. I press the power button to activate the screen, sometimes the screen will turn on immeditaly, but other times it can take a couple seconds, long seconds. I have seen it take up to 5 seconds.
Sometimes when opening a conversation in whatsapp it will take about 5 seconds for the keyboard to start working. If I start to write before then, letters will be missing in the conversation I started to write.
In general for any app it can be laggy. But sometimes it can be very quick.
Aditional info:
Everything is stock except for root. I cant remember what kernel I installed to root it, is was in a guide here. Anyway I returned to stock kernel and still the same thing.
I have very little apps installed. Only basics like whatsapp, outlook and facebook, no twitter, instagram or any other social media.
I have everything I dont use turned off like NFC, bluetooth, voice controls.
I have tried clearing dalvik and cache, same issue. I have not tried factory reset since I dont want to reinstall and configure everything, plus this issue has happend since I installed the ruu on clean phone.
Any ideas?
Powersaver mode on?
Sent from my m8 using XDA-Developers mobile app
harihacker said:
Powersaver mode on?
Sent from my m8 using XDA-Developers mobile app
Click to expand...
Click to collapse
No power saving mode at all. I tried changing the kernel to elemental, at first it was quick, but now I am starting to get the power button wake lag.
liquidzorch said:
Hello. I have an at&t edition M8. I decided to convert it to dev edition for a clean stock sense marshmallow upgrade. I used the oficial dev edition ruu, did a factory reset after, even though the ruu does it. But I seem to have way too much lag sometimes. I press the power button to activate the screen, sometimes the screen will turn on immeditaly, but other times it can take a couple seconds, long seconds. I have seen it take up to 5 seconds.
Sometimes when opening a conversation in whatsapp it will take about 5 seconds for the keyboard to start working. If I start to write before then, letters will be missing in the conversation I started to write.
In general for any app it can be laggy. But sometimes it can be very quick
Aditional info:
Everything is stock except for root. I cant remember what kernel I installed to root it, is was in a guide here. Anyway I returned to stock kernel and still the same thing.
I have very little apps installed. Only basics like whatsapp, outlook and facebook, no twitter, instagram or any other social media.
I have everything I dont use turned off like NFC, bluetooth, voice controls.
I have tried clearing dalvik and cache, same issue. I have not tried factory reset since I dont want to reinstall and configure everything, plus this issue has happend since I installed the ruu on clean phone.
Any ideas?
Click to expand...
Click to collapse
I wonder, did you S-OFF to make the conversion.?
liquidzorch said:
Hello. I have an at&t edition M8. I decided to convert it to dev edition for a clean stock sense marshmallow upgrade. I used the oficial dev edition ruu, did a factory reset after, even though the ruu does it. But I seem to have way too much lag sometimes. I press the power button to activate the screen, sometimes the screen will turn on immeditaly, but other times it can take a couple seconds, long seconds. I have seen it take up to 5 seconds.
Sometimes when opening a conversation in whatsapp it will take about 5 seconds for the keyboard to start working. If I start to write before then, letters will be missing in the conversation I started to write.
In general for any app it can be laggy. But sometimes it can be very quick.
Aditional info:
Everything is stock except for root. I cant remember what kernel I installed to root it, is was in a guide here. Anyway I returned to stock kernel and still the same thing.
I have very little apps installed. Only basics like whatsapp, outlook and facebook, no twitter, instagram or any other social media.
I have everything I dont use turned off like NFC, bluetooth, voice controls.
I have tried clearing dalvik and cache, same issue. I have not tried factory reset since I dont want to reinstall and configure everything, plus this issue has happend since I installed the ruu on clean phone.
Any ideas?
Click to expand...
Click to collapse
+1 ... I am S-OFF, bluetooth on, NFC on and voice control on.
Kyuubi10 said:
I wonder, did you S-OFF to make the conversion.?
Click to expand...
Click to collapse
Yes. It is S-off. All I did was change SID and install dev RUU. After that, root.
liquidzorch said:
Yes. It is S-off. All I did was change SID and install dev RUU. After that, root.
Click to expand...
Click to collapse
It prob means something's wrong with your firmware.
But I'm not too experienced to give you a definitive answer.
But if you search along the lines of Faulty/wrong firmware you might find something.
Is there anything I can run to log what is using the cpu in the backround? It is annoying since the lag isnt everytime I go to use it, so it is hard to diagnose. But it is getting on my nerve. Even durng a call or opening a text I have to wait a couple seconds sometimes. I never got this on the stock M7 I had before.
Kyuubi10 said:
It prob means something's wrong with your firmware.
But I'm not too experienced to give you a definitive answer.
But if you search along the lines of Faulty/wrong firmware you might find something.
Click to expand...
Click to collapse
RUU re-writes all partitions to the proper software/firmware. So OP is on the correct firmware.
liquidzorch said:
Is there anything I can run to log what is using the cpu in the backround? It is annoying since the lag isnt everytime I go to use it, so it is hard to diagnose. But it is getting on my nerve. Even durng a call or opening a text I have to wait a couple seconds sometimes. I never got this on the stock M7 I had before.
Click to expand...
Click to collapse
Go to developer options and you should find a button called "running services"
Maybe that will help.
If not then check your RAM, see how full it is.
Kyuubi10 said:
Go to developer options and you should find a button called "running services"
Maybe that will help.
If not then check your RAM, see how full it is.
Click to expand...
Click to collapse
I can see the runing services, but I cant tell wich one is the one using the cpu when I get the lag. I just uninstalled htc dot view ( I noticed it was running), but I doubt that would cause this, all other running programs are my usual programs. The only ones that are not are: CIRmodule 1.4mb, SmartcardService 1.2mb, Peel smart remote 15mb (which I almost never use, but boots with system). I have 500mb free ram with all my usual apps running.
It has been awhile but I have not had time to update the thread. I decided to do a full restore. I reinstalled the ruu, and did 2 factory resets afterwards. The phone is still super laggy. Sometimes I have nothing running and I unlock the phone and it takes forever to enter any app. Especially whatsapp, which is the app I use the most, I hardly use the phone for facebook or any other apps. I have most other apps closed (not running in backround). I recieve a message and some time it takes forever to open it. I wanted to try and downgrade to lollipop, but if I go through all the trouble to downgrade and stays the same I might throw the phone against the wall. The HTC m7 never had any lag at all. And I have a desire 626 that I feel is even faster than this m8.
So far I never rooted or flash any rom manually. All OTA updates from Android 6. The phone is getting slow and laggy sometimes which really annoys me. Of course the number of apps installed might be an issue, but I don't have any games, no Facebook. All my apps are utilities like banks, smart homes, etc. I have hard reset a few times but it doesn't help. I believe the updates play some roles here as I didn't remember it being this laggy when I first bought the phone and it was on 6.0
So what should I do? I don't care if it's Android M or N, root or not. I just need a smooth phone. Does flashing back to 6.0 help? Or does rooting help? Thanks
Have you tried backing up your data and doing a factory reset?
Edit: Sorry, I guess that's the same thing as a hard reset. I don't have problems with my S7A being slow, and it's updated to almost the latest version (G1).
I am on BQH1 but I remember it happens in G1 as well. The most annoying thing is the fingerprint ready is not as responsive as before. A lot of time I can't unlock my phone with my finger.
yes , i have noticed after the new update take long time to wake etc , even after the factory reset , i am planning to go back marshmallow
but the interesting thing is that some times its OK no issues .
Slow Updates
Since upgrading to 7.0 Nougat my Play Store is slow as hell. Downloads are fast once it finally connects but it takes forever to start. I have factory reset phone.
Does anyone got a fix on this? The phone is just slow as hell, and I often find it's hard to unlock it, or just open an app...
lifehome said:
Does anyone got a fix on this? The phone is just slow as hell, and I often find it's hard to unlock it, or just open an app...
Click to expand...
Click to collapse
Disabling some system apps (AT&T and Samsung bloatware) should help, using Application Manager. Disable apps that have no business running in the background or connecting to the net. Also, run Device Manager from time to time.
To make the Home button significantly responsive, DO NOT map it's double-press action to anything. Make sure that S-Voice cannot use it: disable in S-Voice settings.
I am assuming that your device is non-rooted, just like mine.
I belive earlier updates of Nogat works much MUCH more smooth on this phone.
I'm gonna start over from the D4 verison- I was running stock D4 nogat and everything was amazing... I go to this latest L6 December security update... total trash.