yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] madmonkey57:
Trebuchet has been acting funny lately.

Once every 2 or 3 days, for no reason, shortcuts start to behave really weird. Some app groups won't open any more. Some app shortcuts trigger a different app. The drawer icon triggers an app... Solved with a reboot...

Been experiencing this under C's 5/30 and 6/2 IIRC. I couldn't identify any recent trebuchet related commits addressing such issues...

Back to official 6/6 to see if it makes any difference.
[RAZR HD Android Development] lcc014:
Thank you, C. :)
[RAZR HD Android Development] CWGSM3VO:
cm-12.1-20150608-UNOFFICIAL-xt925.zip

READ ME

- current to commit "f2fs: fix wrong error hanlder in f2fs_follow_link"

- built with linaro 4.9.3, qualcomm snapdragon llvm 3.6 (where applicable)

- this...is...not...official...Cyanogenmod. I have changed things and as such, certain portions may be intrinsically changed. Make a backup, you have only yourself to blame.

- radio problems require radio logs otherwise I assume you have APN issues so please verify that first. Check gerrit to see any recent APN changes may affect you. any other issues also require logs, either kmsg or preferably, aplogd. Search the thread for how-to's, no logs, problem doesn't exist.

Use at own risk.

Z, it's all good now :D
[RAZR HD Android Development] Zeljko1234:
Just synced repo and started building :)
[RAZR HD Android Development] Thibault1171:
Hi, my phone was getting laggy (and crashed a couple of time today), so I've just dirty flashed C's last build (thanks btw).

I'm trying things to know if it may comes from here; I put my phone in English (UK).

Does anyone is using an alternative wallpaper for lockscreen? [I was using this method, but I just think that when my phone is waking up, it's maybe because of this]

In addition, is there a way to let the "Disable HW overlays"always active (blue glittering screen is not nice), because the option get disabled after every reboot (so HW overlays getting active)?
[RAZR HD Android Development] Zeljko1234:
I'm looking for the same but never had time to dig. I'm using it to avoid "calc" bug, actually business calendar 2.
[RAZR HD Android Development] Thibault1171:
Nice to know that I'm not the only one who get's it always enabled again.
[RAZR HD Android Development] marknoll:
Have u heard of a "performance settings helper" supersu request?
[RAZR HD Android Development] Zeljko1234:
Honestly no. Any more info?
[RAZR HD Android Development] marknoll:
I got it when I installed xblast tools. Upon reboot,I got that supersu request. I have gotten it before as well,but CNT remember when.
[RAZR HD Android Development] Zeljko1234:
New build for xt926 is up. Enjoy ;)
[RAZR HD Android Development] forserg:
nice :o
[RAZR HD Android Development] lcc014:
I used an alternative wallpaper for lockscreen. It is part of the theme feature. I used theme to pick different wallpaper for lockscreen and boot animation. So far so good, no wake up issue.
[RAZR HD Android Development] IronTechmonkey:
In CM11 (still on 2/16/15 8960 nightly) I see performancesettingshelper but it has never asked for permission. If it is a core system component I don't know that it should be asking for permission, but then maybe I've just never done anything to invoke it.
[RAZR HD Android Development] Thibault1171:
Yes but you can't use any image of your library with this method :crying:
[RAZR HD Android Development] madmonkey57:
Been 2 days and I can't reproduce the issue. I was wondering, maybe it isn't trebuchet, maybe it is CM's theming engine (I use THIS theme btw). Nothing stood out in logcat.

Am I the only one on this boat? If yes, well, something wrong with my apps / settings / theme / whatever...
[RAZR HD Android Development] lcc014:
That is correct for CM12. Unlike CM11, we could use our own image as lockscreen picture, much more flexible. Hopefully, CM12 team will add back this enhancement in future nightly. If not, just use whatever is available....
[RAZR HD Android Development] CWGSM3VO:
Change this in build.prop:

debug.composition.type=dyn to

debug.composition.type=gpu

Although as mentioned, I would recommend against this:

"Without a hardware overlay every application that is displaying things on the screen will share video memory and will have to constantly check for collision and clipping to render a proper image, this can cost a lot of processing power. With a hardware overlay each application gets its own portion of video memory, getting rid of the need to check for collision and clipping. Disable it and the latency period for applications and the OS (any OS, not just Android) itself to render things will go way way up because it has to check to make sure it's not screwing with memory that is supposed to be dedicated to another task than its own. Hardware overlay ensures everyone has their own partition of memory so they don't have to do those checks and so latency to render things on the screen decreases dramatically."

As [MENTION=2218140]kabaldan[/MENTION] noted, it shouldn't be turned on but to each their own :)

To make it permanent in your source Z, edit this file:

~/android/system/device/motorola/qcom-common/qcom-common.mk

And change the "dyn" to "gpu" to force the setting enabled for the build.

---------- Post added at 07:16 AM ---------- Previous post was at 07:12 AM ----------

I used to use that theme, I have another black theme I used to use as well. Now I just use System. But I noticed this on the GPlay page:

"ATTENTION: THIS UPDATE COMES WITH NEW ANIMATIONS. If you want no animations, speed up your animations in developer options or revert to regression+!!!!!!!!!!!!!!!!"

Try reverting your animation changes in devoptions (if you have decreased/disabled them) and see if that helps. The fact it's hard to repro doesn't help either.
[RAZR HD Android Development] Thibault1171:
Hi guys, so I'm running latest C's build for almost 19hours now. But I experienced again the "black screen of death" 3hours ago (can't unlock phone, even 5 minutes later, have to force shutdown it). Does any of you have an idea about this problem? I'll try to pull aplogd after work, and if I can't find anything I'll may share it with you.
[RAZR HD Android Development] CWGSM3VO:
Without knowing if you changed anything, what you're running and no logs, I can only guess. Have you changed anything under Developer Options? Are you running Xposed? Using System Theme or a custom theme?

EDIT: If possible, the next time this happens, hook up to a PC with USB cable and see what the phone is doing via logcat.
[RAZR HD Android Development] Thibault1171:
Hi. No, I'm done with theme, Xposed or anything else. The only thing I've touched in Dev options is enabling root access, disable HW, and disable all animations.

I've clean flash your 05/30 build a week ago and your 06/09 build less than a day ago.

EDIT: I've tried a bunch of theme (featured on xda portal) last weekend, but I came back to system and uninstall it all. I haven't re disable HW yet, waiting if my phone crash again or not.
[RAZR HD Android Development] madmonkey57:
Yep, I saw the warning when I updated the theme app earlier today. Yet, I didn't change anything regarding animation and speed and so in the dev options...

I'll wait another bit...
[RAZR HD Android Development] Thibault1171:
[MENTION=4418762]CWGSM3VO[/MENTION] I saw your edit too late.

Am I supposed to use logcat when the phone have black screen and isn't responding or right after I've rebooted it?

(sorry if it's a dumb question, but I've never used logcat before)

__________

EDIT: So Is it better to don't touch the value you dropped in build.prop? I don't really understand, if we used this two lines, does our phone will have to "work harder"?
[RAZR HD Android Development] Zeljko1234:
Thanks for the tip. I understand consequences but this the only way to avoid business calendar 2 (and some other apps) to stuck at gray state for few minutes before crash.
[RAZR HD Android Development] CWGSM3VO:
Couple of things, just going on what you said here:

- disable h/w overlays; I know it fixes issues for Z but it's not recommended to disable this

- animations; do not disable animator scale; you can drop it down to 0.25/0.5x but do not disable it. the other animation options are safe to disable.

---------- Post added at 08:54 AM ---------- Previous post was at 08:53 AM ----------

When it's "stuck" try to grab a logcat capture to see what it's doing. Doing so after reboot doesn't provide any insight to the issue. Search this thread, Z has dropped a link a few times on getting it setup on a PC.

The lines I posted above are a before/after. By default, the value is "dyn" and when changing it to "gpu" it disables h/w overlays.
[RAZR HD Android Development] CWGSM3VO:
Interestingly enough, I get more consistent performance results with h/w overlays disabled (I would not say an INCREASE in performance) however, at times, memory throughput suffers as a result. Definitely requires more testing and validation and could be a one off, but interesting nevertheless.
[RAZR HD Android Development] Zeljko1234:
Honestly I don't know why my phone is suffering of the "calc" bug. Almost nobody else is reporting that anymore.
[RAZR HD Android Development] CWGSM3VO:
I actually am wrong here. I rebooted with the options enabled to give it a "good chance" not realizing it would be reset (as it should be); I re-tested with it enabled on reboot (build.prop) and it definitely suffers in performance.

Not sure what else to look at. However, reading [MENTION=5119654]IronTechmonkey[/MENTION]'s comment about not modifying animations and his suggestion about the theme engine may explain it in the long-term. It wouldn't be the first time it's hooped CM builds. The GPlay comment from the theme designer also mentioning it's hard to repro lends some credence to it (however, as we know, the issue is a GPU fault iirc that [MENTION=2218140]kabaldan[/MENTION] managed to capture and also mentioned it'd be tough to fix).

Have you been able to repro the issue on your own builds lately with the devoptions reverted to default?

EDIT: And just so I'm clear here, you're enabling "Disable H/W Overlays" and not "Force GPU rendering" ?
[RAZR HD Android Development] niksy+:
I have it as well, on both of the HD's that are on CM12(.1). One is on a late 20-something May build and the other on 06/04. I just thought you guys don't have it on the optimised builds and, since most seem to be using those now, I was reluctant about posting...

Anyhow, yes. The calc bug is still there. For me it happens with Calculator, the same as before. I could swear that it was NOT happening anymore when CM12.1 nightlies first started, but I really don't know at which point it was introduced. :rolleyes:

What can be done? Should I keep my phone on a cable with adb logging running and catch it happening or are the causes already known? Could that C's patch script come in handy once again? :confused:
[RAZR HD Android Development] Thibault1171:
[MENTION=4418762]CWGSM3VO[/MENTION] : So I put all animation scale 1x

I was disabling HW to avoid the blue screen while changing volume

I'll try to get logcat, but it happened to me almost only when I'm away from my computer.
[RAZR HD Android Development] Zeljko1234:
kabaldan explained once that is related to the GPU crash and that's gonna be hard to fix it. Anyway, I agree with you that bug didn't existed at begging of CM12 or at least I haven't noticed it then.
[RAZR HD Android Development] niksy+:
I didn't jump the CM12 train straight away... What I mentioned was that it seemed to not happen for me once CM12.1 rolled out :) But I'm really not sure anymore at this point...

Strange that a GPU (driver) crash happens with such a basic application and nothing else (at least I don't notice it any of the other apps I use, I know you've mentioned business calendar) :rolleyes:
[RAZR HD Android Development] CWGSM3VO:
Be interesting if there was a way to find out if it ever happened or is happening on other devices too or it's strictly tied to the HD.
[RAZR HD Android Development] ermito:
I told that I was having calc bug again since 6th May (http://xdaforums.com/showpost.php?p=60575052&postcount=3140), but this may be going on even earlier. Disabling h/w overlays and Force GPU rendering seems to solve the problem. Yes, I know how inappropriate is to mess with those options, but at the moment they are our only way to stop this awful bug.
[RAZR HD Android Development] Zeljko1234:
Interesting, if someone have time and knowledge to find what's changed around that date.

Unfortunately debug.composition.type=gpu doesn't work. Disable HW overlays switched to off after reboot.
[RAZR HD Android Development] IronTechmonkey:
I think this credit was meant [MENTION=485630]madmonkey[/MENTION]5.
[RAZR HD Android Development] marknoll:
Running good
[RAZR HD Android Development] d5grvty:
Just taking CM12 for a spin, and I've got quick question. It seems a bit laggy when switching or launching apps. Once an app is up and running it seems to work okay, its just that I can tap on something and count to 3 before it launches. Is this normal for CM12?

Clean install and the stock Gapps package from here; http://wiki.cyanogenmod.org/w/Google_Apps

Did I do anything wrong?
[RAZR HD Android Development] technoid1964:
BSOD (Black Screen of Death)

I didn't want to post until I had a chance to get something to send beyond "I had a BSOD".

In the beginning... I only had a BSOD maybe once a week,

So... when I ungraded to 6/02, I started getting BSOD's every hour on the hourish, I reverted to 5/30 and the BSOD's continued. After upgrading to 6/08, the BSOD's almost disappeared, only had two today, went about 20 hours without one. My Ext SDCARD shows as blank for some reason, thinking that maybe it was the cause, I removed it around 2 this afternoon. Just got home and 7 hours later had a BSOD. When I had the first BSOD this morning, I plugged it into the computer, no ADB, no USB connection at all, phone totally hung. Had to hard reset using the Power & - vol buttons. Phone comes up like nothing happened. Same thing this evening when I tried to plug the phone in, no ADB or data connection.

Of note, I do not get any BSOD's, even when it was doing it every hour, if the phone is plugged in, on or off, it will always turn on. It only BSOD's when it's on battery power.

I have disabled gestures. No other mods from stock. Thought it was a HANGOUTS update, nope, uninstalled, no difference.

Last_ksmg attached...

Anything I can do to help troubleshoot?

TK
[RAZR HD Android Development] technoid1964:
Try CM12.1, CM12 no long supported and CM12.1 is faster and smother in my opinion.
[RAZR HD Android Development] d5grvty:
Sorry meant 12.1, running CWG's latest build.
[RAZR HD Android Development] Zeljko1234:
[MENTION=5166526]technoid1964[/MENTION] Looks like that something happened to your phone, similar to mine month(s) ago. Only solution was to rsd stock, boot, reboot to fastboot, flash recovery, cm... I also wiped internal, not sure that is needed but make backup just in case.
[RAZR HD Android Development] technoid1964:
Thanks for the reply, already did that a couple months ago as I couldn't install 12.1 and had to RSD to stock, then finally got 12 working, then 12.1, ran very well till 6/02. I'll try to go back to ground zero (or is that ground Zeljko as we should call it?) and start again.

Darn, was going so well, I'll run it for a few days like this to see if it settles down, I can handle a one or two BSOD's a week, daily gets to be a pain as it doesn't ring, receive texts, or makes a noise no matter what.

Appreciate the help,

Tim
[RAZR HD Android Development] CWGSM3VO:
That looks like the CM12 LMK issue to me.
[RAZR HD Android Development] marknoll:
Is your bsod meaning black screen of death..or is it just the nav bars show and nothing else?
[RAZR HD Android Development] Thibault1171:
Hi guys, so my black screen of death happened again a couple of hours ago, my LED is blinking because I've received a text message.

I can't unlock my phone, . When I plugged my phone to my computer (Windows 7), LED is still blinking (in cyan like I've got a message, not the green like it's charging), no "connection noise" on my computer, my screen doesn't woke up, no pop-up of the explorer (for µSD or Storage). I've tried to unplugged and plug it again, no changes.

As [MENTION=4418762]CWGSM3VO[/MENTION] asked me, I'm trying to get logcat. To do so, I've used those 3 methods :

- Method 1, using this command : adb logcat -v long > name of problem.txt

- Method 2, with the .bat that can be downloaded

- Method 3, using a script someone made, I took the link from the post of Method 1.

I've also tried to just use adb logcat, but I get the same thing. I've opened the 3 methods together (only for the screenshot, but I've obtained the same result when I used them one at a time). As you can see, it seems that my phone isn't recognized. May I try to reboot it?

Thanks !

EDIT (1h after): I wanted to reboot my phone because I need it. I noticed that the LED is green, like when my phone is charging. I've longpressed Power+VolumeDown, so the LED turned off, then on, then off, ... I've unplugged my phone, can't boot it. I've plugged it to the wall, and now I've make it booting (only with the Green Battery, not to launcher). Did I try to get aplogd/logcat now, and while booting? [battery was 51%, so it haven't totally get discharged]

EDIT 2 (some minutes after first edit): here are some logcat I've captured (in the last 30min, maybe while booting) : http://pastebin.com/eXCCZmXt or http://pastebin.fr/40002
[RAZR HD Android Development] CWGSM3VO:
Nothing really jumps out at me, looks like a phone booting and the usual noise seen there. Instead of using the logcat method which in this case, doesn't seem reliable enough, enable aplogd so that when you reboot the phone, the logging during the period can be captured. I know I originally said to use logcat (I'm almost always by a PC, so that works for me) but it may require a bit more digging.

There was a commit today for telephony that fixes up specific race-conditions; perhaps next build will resolve this for you. Can only wait and see.
[RAZR HD Android Development] Thibault1171:
Ok. Anyway, I need my computer to get aplogd, isn't it? And which aplogd file must I share? Because it always gave me dozens of zips file. (I have aplogd from 06/08, but I'm not sure if it was also for this issue or not?)

Maybe I can get my logcat directly on my µSD (with auto-erasing every x hours to not use 32GO of space)?

(Thanks for all your support)
[RAZR HD Android Development] CWGSM3VO:
It logs to the /data partition. You just need to enable it from a root (elevated) shell or via adb. See here:

http://xdaforums.com/showpost.php?p=59620294&postcount=2327

Just reboot as normal or whatever recovery process you're using. Hopefully, the persistent logger will have caught it.
[RAZR HD Android Development] Thibault1171:
I've already done it, but it seems that I've edited my post too late x)

Which generated file must I share? Because it's sorted by boot number, but there is different file per boot :eek:
[RAZR HD Android Development] technoid1964:
The phone boots up, runs ok for hours, then won't turn on until a hard reset.
[RAZR HD Android Development] marknoll:
I had that issue with my one x...come to find out it was a flex cable that was ajar from the board. Hope this isn't your issue. ?
[RAZR HD Android Development] CWGSM3VO:
Look for logs which have datestamps that match?
[RAZR HD Android Development] Zeljko1234:
Reverted today to the earlier build, the one (04/08) I had the longest uptime. Works much smoother then the latest I built from C's repo. Notice, I restored backup with all apps I'm was using with the latest build and the old.
[RAZR HD Android Development] CWGSM3VO:
No problems here :)
[RAZR HD Android Development] Zeljko1234:
Very useful post indeed :D
[RAZR HD Android Development] Thibault1171:
Yep. So I've copied it all to my computer, I'll remove it from my phone to have only log from today.
[RAZR HD Android Development] lcc014:
Phone Freeze and reboot again!

Phone with 20150606 nightly frozen again soon after powerup. It then reset and went into Apps optimization again. This was second time :( Any way to get a logcat under this kind of situation ?

I just updated phone to 20150610 nightly. Will see whether this freeze/reset bug pops up again or not ...

Thanks,

Ching-Ho Cheng
[RAZR HD Android Development] CWGSM3VO:
http://xdaforums.com/showpost.php?p=59620294&postcount=2327
[RAZR HD Android Development] lcc014:
C, thank you. I will give it a try. :)
[RAZR HD Android Development] CWGSM3VO:
I'm actually having Zero problems :)

EDIT: This *might* be the fix for the BSOD: http://review.cyanogenmod.org/#/c/99055/
[RAZR HD Android Development] douglasvbarone:
Hey!

Are you guys having trouble with Facebook and Facebook Massenger Apps with this ROM (Officials and C's)?

My phone was freezing and becoming too slow some times during the day. I figure out that it always happened when I open the Facebook app or when I open some app that uses Facebook authentication.

Now I have these apps uninstalled and the phone is faster like hell...
[RAZR HD Android Development] CWGSM3VO:
FB Messenger was crushing my wife's Xperia T with the IMS service. Once I disabled the IMS framework, her battery usage went back to normal. But the Xperia T's official 4.3 ROM is a joke, a big fat joke. Worst put-together OEM ROM I've ever seen. Just waiting for her to let me unlock it so I can put CM on it :)
[RAZR HD Android Development] rahimali:
Instead of using the facebook messenger app, why not use the facebook chat enabler that enables using chat in the facebook app only...
[RAZR HD Android Development] douglasvbarone:
I hate Sony's customization too. In fact, I hate all OEM customizations... Why they don't keep the ROM as clean as possible?! That's why I like Motorola phones.
[RAZR HD Android Development] CWGSM3VO:
Because it's my wife and not me? ;) She doesn't care too much. To her, the phone is a tool not a toy like it is for me :D
[RAZR HD Android Development] rahimali:
I mean to say if you were to do the swap on her phone, she wouldn't be able to tell the difference except say the damn phone feels much snappier :D
[RAZR HD Android Development] CWGSM3VO:
Disabling IMS gave the same result without having to install yet another app. I'm not entirely sure our provider (Rogers) even supports it. My wife has this fear when I "work on her phone" that things don't go so well afterwards due to a semi-botched JB->KK upgrade (SkyFall Edition--The James Bond phone) I did for the device (forgot to save her sms, oops...).

I also had to disable fastdormancy (Rogers doesn't support it) as well for this device. CM seems to know this, I never see IMS messages in my logs (or it's not supported, either way, pretty sure neither of us use it) and last I checked, fastdormancy was disabled.

This gave the result I wanted (hearing less about how her phone is a POS and she needs a new one; it's actually a very nice device just crappy ROM) and she's happier as a result as she can now go a day on one charge vs 4-5 hours and feels much more secure in my purported Android skills ;)

Works for me :)

But I get what you're saying :D
[RAZR HD Android Development] Zeljko1234:
Well, believe or not but your older build I'm using now is clean of problems and definitely works smoother. I don't know why recent one is much worse, because of you or because of CM.
[RAZR HD Android Development] rahimali:
She can only do so much to stop me... I still have my superpowers sometimes :D
[RAZR HD Android Development] CWGSM3VO:
I had some problems too (nothing severe) but with the commits over the last two days, I can see improvements. Just bumps in the rug to me :)

I personally have only merged in commits to my tree from each respective head. I haven't had time to do any more work myself other than that (meaning, I haven't added anything new that wouldn't be in the official CM trees where applicable).

Give it a sync and try :)

---------- Post added at 09:39 AM ---------- Previous post was at 09:37 AM ----------

I laughed when I read this.