yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] CWGSM3VO:
Uploading rebuilt 10-2 which is labeled as 10-2b.

This includes all recent kernel commits and I've modified vendor/cm to apply scheduler changes to mmcblk1 as well. This means BFQ+IOPS is applied to all storage media (mmcblk0/1). [MENTION=2218140]kabaldan[/MENTION] has by default enabled KSM deferred_timer and tied PCC into cmhw for LiveDisplay (I don't use Ambient Brightness, too slow). I've also modified init a tiny bit to disable entropy harvesting from mmcblk1 as well (defaults only to mmcblk0) but otherwise, it's stock.

EDIT: One thing I keep meaning to get around to is porting/modifying MSM89xx and work-a-likes power.c to 8960 so we get some of the cool stuff too. I had at one point imported a [MENTION=3857343]crpalmer[/MENTION] commit to disable CPU1 when screen off too but that was quite some time ago. Be nice too to squelch the noise from ThermalDaemon as well.

EDIT: Was concerned about int/cs earlier this morning and was even rebuilding w/o some changes. But I'm getting really decent performance for a small gain in activity, even battery is unaffected in the few hours worth of running so far. This build is perfectly fine in my opinion for the gains I'm noticing here and there.
[RAZR HD Android Development] lcc014:
Links to download ? :)
[RAZR HD Android Development] Zeljko1234:
+2 :D
[RAZR HD Android Development] Zeljko1234:
Flashed latest cm and applied bfq to both storage. DCT+FLAC+BT was still stuttering, then increasing scaling_min_freq for cpu0 step by step until reached 702000 (fourth step). No stuttering on that freq, everything else is stock, boost is 0 as well.

Will check which approach (boost or min freq) is more friendly for battery if is any.
[RAZR HD Android Development] CWGSM3VO:
Links? Like the one in my sig? ;)
[RAZR HD Android Development] Zeljko1234:
Btw, made a script with FX File explorer (has nice editor) and create shortcut on desktop. Now with single tap will open FX scrip executor, execute as root and that's it. Script attached :)

p.s.

Zip because cannot upload with sh extension on xda developers :D
[RAZR HD Android Development] lcc014:
Yes, something like that :D
[RAZR HD Android Development] Zeljko1234:
min_freq solution is not good, still stutter occasionally. Back to boost. New script is up, kind of optimized. Experiment if you like and please share values.
[RAZR HD Android Development] amedeh123:
On newer builds youtube isnt working at all anymore (screen flashes blue then black and needs a reset to come back)

I cant possibly be the only one having those kind of issues on newer builds, those sound like hardcore gpu crashes.

Show yourselves, anyone else?
[RAZR HD Android Development] Zeljko1234:
I had "calc" bug with few days older build. For now is fine with the latest but could be that will pop again if GPU is crashing again.
[RAZR HD Android Development] amedeh123:
Did it also happen with other apps?

Im having something similar to the calc bug on the calculator (lol), playstore and youtube, but the known workaround doesnt work. What build are you on?
[RAZR HD Android Development] Zeljko1234:
Yes, first I've noticed bug with business calendar, then with playstore, then checked calc. I'm using business calendar all the time and it is really annoying when freezes whole system, stays gray so long that screen goes off after one minute. With older build it was enough just to swipe bc from recent and start again. Interesting is that music player played in the background without problem.

I'm using latest build 10/03 and for now no problems.

Did you change animation, transition or window scale in developer options?
[RAZR HD Android Development] CWGSM3VO:
Works fine for me. Guessing either you've changed something or it's GApp related. Which GApp are you using? Any TiBU backup restoration?
[RAZR HD Android Development] lcc014:
Flashing blue screen when playing YouTube video using 0930 nightly too.
[RAZR HD Android Development] CWGSM3VO:
YouTube 10.37.58 on 10-3, videos are playing fine for me, no blue flashing.
[RAZR HD Android Development] lcc014:
So they fixed YouTube issue in 10-03. Thanks C.
[RAZR HD Android Development] CWGSM3VO:
Worked fine for me in 9-28+ ;)

EDIT: as Z puts it, y'all must be holdin' it wrong or something :D
[RAZR HD Android Development] lcc014:
Not me though. :(
[RAZR HD Android Development] CWGSM3VO:
Problems with ROMs is the infinite amount of changes a user can make. Could be GApps, could be some change, could be device. Did you change anything under Developer Options? TiBU involved at any point? Same version of YouTube? Xposed?
[RAZR HD Android Development] lcc014:
No, I changed nothing under Developer option.
[RAZR HD Android Development] CWGSM3VO:
Anything else like Xposed? Restored any backed up data with TiBU? Which GApps?
[RAZR HD Android Development] lcc014:
No Xposed, no data restoral with TiBU. I am using an rather old Gapps downloaded from this forum : gapps-lpmr1-20150504.

---------- Post added at 08:39 AM ---------- Previous post was at 08:38 AM ----------

I am using the same version of YouTube as you too.
[RAZR HD Android Development] tripaX8:
I was looking for an explorer like that, FX is very nice, thanks Zeljko

I made a shortcut in my girlfriend's desktop, to run the script "killall -HUP rild", so when she boots and the sim is not detected, she doesn't have to reboot the phone.

(don't know why, but she wasn't very happy with the idea of learning how to use a terminal :p)
[RAZR HD Android Development] CWGSM3VO:
If it's an official nightly, then let's try something. My next build, I'll include additional framebuffers (the only fix I've ever seen, problem is that dhacker reverted this fix a long time ago to fix this exact thing) and see if you can repro on that build?
[RAZR HD Android Development] lcc014:
C,

I was using official nightly and I just found your "download link" :) I am installing your 1002b ROM now. Hopefully, everything work fine. I also saw an unofficial 1004 build. Is that one good to try too ?

Thanks.
[RAZR HD Android Development] CWGSM3VO:
Yup, 10-4 is actually 10-3 built a day later.
[RAZR HD Android Development] lcc014:
Got it, thanks.
[RAZR HD Android Development] Zeljko1234:
Yeah and she probably booting desktop OS in GUI instead of terminal mode. Strange :D

FX is really powerful, in my opinion the best file manager for Android. Better than more popular ES. Have you figured out that FX offers split screen? Also very convenient. Like Total Commander (not successful on Android), only vertical.
[RAZR HD Android Development] lcc014:
Just tried Youtube with your 1002b build. It still had flashing blue screen and then blackout screen. :(
[RAZR HD Android Development] amedeh123:
I'm having the exact same issues as Z described + media playback issues (i tested further and doesnt seem to be only YT related)

Using the same setup as C, currently running his 2-10 build with dhackers gapps. Have tried delta gapps and cm gapps before too, with the same issues.

Ive changed a lot of settings by this point, but it still happens on a clean flash.

I will try to flash 3-10 and see if at least I can get rid of calc bug, like Z did.

and im GLAD im not the only one having this, was considering hardware issues. phew :D

Update: calc bug + blackscreen seems gone on 4-10 c's build. 60fps/720p videos still wont play. will use it for a couple of days and see if its gone for good.

Update2: nope, calc bug is still there.
[RAZR HD Android Development] CWGSM3VO:
Can you guys provide links to these videos? My next build, I'll increase the framebuffers (PM me)

EDIT: I tried "Catzilla 720p 60fps demo" -- it plays for about 1 second then stalls until I FF to another scene which repeats the same. No blue blinking but definitely problematic playback. Works fine on my PC.
[RAZR HD Android Development] Zeljko1234:
@ amedeh123 May I ask you again, did you change animation, transition or window scale in developer options?

Seems that lowering those options causing "calc" bug. Maybe... I tried to set them all to zero today and nothing happened. No calc bug. Also, do you use 3C toolbox or CPU Manager? Maybe that screw up GPU somehow. Just guessing of course and sharing my thoughts because last time I changed scale to half and used CPU manager.
[RAZR HD Android Development] amedeh123:
This is the issue. The blue flashes havent come back since I updated to 4-10 yet, so it may have been only in older builds.

All of those settings are stock. And im not using any kind of app that messes with the system until I can get the phone stable.

Hell, Im not even using a lot of third party apps, just a couple.
[RAZR HD Android Development] lcc014:
No sim card issue comes back in 10-2b build and I tried "killall -HUP rild" command (root access), no luck. Other than entering this command, do I need to do anything else to get the sim card to be detected ?

Also, I tried "setprop persist.log.aplogd.enable 1" and then "adb pull /data/log" from terminal. I got "remote object '/data/log' does not exist. Did I do something wrong ? I just wanted to capture a trace for member here to find out why "no sim card" issue keep coming back in different build.

Thanks.

Ching-Ho Cheng
[RAZR HD Android Development] CWGSM3VO:
As far as I can tell, it's a timing issue. Reboot and it should come back. I've logcat'd my device when this happens and all I can tell is it can't see the SIM even though it's there and perfectly fine. HUPing rild makes no difference in this case. All you can do is reboot, fortunately, this happens few and far between for me.

/data/log won't work as it doesn't exist :) Try: adb pull /data/aplogd

See here: http://xdaforums.com/showpost.php?p=59620294&postcount=2327 (linked from OP)
[RAZR HD Android Development] lcc014:
C, thank you. I typed the wrong thing to retrieve the aplogd. You are correct about using reboot to fix the "no sim issue" I rebooted once and it worked fine. :)
[RAZR HD Android Development] CWGSM3VO:
[MENTION=4778915]amedeh123[/MENTION] can you do me a favor? Reboot to bootloader and note down all it says there and post it here?
[RAZR HD Android Development] amedeh123:
AP Fastboot Flash Mode (S)
10.9B(*) (sha-07671a2, 2014-07-29 10:41:50)
eMMC Info: Size 16GB

Device is UNLOCKED. Status Code: 3

Battery OK

Connect USB
Data Cable

Fastboot Reason: Reboot to bootloader
[RAZR HD Android Development] CWGSM3VO:
Here's mine:

AP Fastboot Flash Mode (S)
[B]10.9B(*) (sha-07671a2, 2014-10-15 04:59:29)[/B]
eMMC Info: Size 16GB
Device is UNLOCKED. Status Code: 3
Battery OK
Connect USB
Data Cable
Fastboot Reason: Reboot to bootloader

Did you use the proper retail SBF to flash yours back to stock? There's a 3 month difference between firmware here, just wondering if perhaps something went wrong or was missed (or wrong SBF) was flashed.
[RAZR HD Android Development] amedeh123:
Whenever I flash it back to stock I use this file:

Branding: Retail Brasil

Version: 9.8.2Q-50-XT925_VQLM-21 FULL

From this thread

Then I let it update to KK on its own.

Maybe something is different? That would explain a lot. Which is the one you use?

Edit: this is also the software that came stock on my device when I bought it.
[RAZR HD Android Development] lcc014:
10-05 nightly, Flashing Blue screen and then blackout happens in random

I just installed 10-05 official nightly. It still has flashing blue screen and then blackout but happens in random. It is not in YouTube playback but happens in making a call, or other operation. :(
[RAZR HD Android Development] CWGSM3VO:
This happened to me on 10-3 as well, in fact, it happened to me today as I haven't upgraded yet. Was able to trigger it by adjusting volume each time. I saw this while YouTubing messing with Stopwatch (was trying to ensure alarm volume was loud enough).

EDIT: This morning I couldn't turn the display on, would flash slightly and go black. Once I plugged it into USB, phone rebooted. I've since disabled LiveDisplay.

EDIT: Interestingly enough, disabling LiveDisplay (and thus, PCC) brought down interrupts/context-switching to pre-cmhw/pcc values

EDIT: Btw, we're at 5.1.1_r24 since around 4am today and I see 6.0_r1 in the tags now :)

EDIT: After disabling LiveDisplay, using the volume adjuster I no longer see blue flashes + screen blanking when messing with Stopwatch.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20151006-UNOFFICIAL-xt925
TARGET_PRODUCT=cm_xt925
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-65-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
[B]BUILD_ID=LMY48W[/B]
OUT_DIR=/home/flatline/android/system/out
============================================
[RAZR HD Android Development] lcc014:
That's s... :( Do we know the cause of this issue ?
[RAZR HD Android Development] CWGSM3VO:
My guess is the PCC stuff tied to LiveDisplay recently committed as I've had it on for quite some time and never had this problem:

http://review.cyanogenmod.org/#/c/110367/

http://review.cyanogenmod.org/#/c/110368/

http://review.cyanogenmod.org/#/c/110406/

http://review.cyanogenmod.org/#/c/110681/
[RAZR HD Android Development] CWGSM3VO:
http://www.cyanogenmod.org/blog/cve-2015-3833-and-you

Relevant to previous discussions regarding Greenify and such apps. Also, I've noticed the logcat reference in this post so I need to see which app is triggering this on my end.
[RAZR HD Android Development] rahimali:
I believe Greenify has been patched for this, i.e. unaffected in the latest version(s)
[RAZR HD Android Development] CWGSM3VO:
Yeah I read that too in the comments. Apps like Greenify (and workalikes) are unnecessary in this day and age, imo.
[RAZR HD Android Development] CWGSM3VO:
On the off-chance that I have bunk data from previous flashes, I'm going to clean install 10-6 w/newer Gapps (from OP) today and re-enable LiveDisplay and see if it still misbehaves.
[RAZR HD Android Development] lcc014:
C, please keep us posted. Also, where can I get your "Newer Gapps" ?

Thanks.
[RAZR HD Android Development] CWGSM3VO:
See OP, someone posted up a link a few pages back, forgot who it was but I updated the OP with it.
[RAZR HD Android Development] omnied:
sorry guys, but i have some offtopic for you.

google has pushed some 6.0.0.r1 bytes, any experimental builds? or new thread about 6.0.0?
[RAZR HD Android Development] CWGSM3VO:
CM13 branch is now visible from github :)
[RAZR HD Android Development] CWGSM3VO:
Think I discovered something, maybe nothing, but worth noting in my opinion. Just flashed a 10-7 build I did, and noticed some interesting sensor + RTC messages on boot, mostly that it was denied access. Also noticed that my RTC thinks it's 9-7-2015 instead of 10-7-2015. Will wait for complete boot and reboot to see if thinks the same thing (as I have automatic date & time disabled to allow alarms to function) -- The sensor part interests me because it seems the proximity/acclerometer sensor doesn't work for ActiveDisplay (the notification deal from lock screen). Not sure it's related, but interesting (to me) nonetheless.
[RAZR HD Android Development] Zeljko1234:
Finally! :D
[RAZR HD Android Development] CWGSM3VO:
Didn't look much further than android_build but I suppose I could do the same thing I did with CM12 where I pull down the CM12 bits and shoe-horn the CM11 device bits and see if it builds :) (but in this case, CM12+13)

Unfortunately, I don't have too much time to invest into this right now as I'm currently swamped at the lab rebuilding our entire PKI infrastructure :(
[RAZR HD Android Development] Zeljko1234:
Busy at work, having private life or sleeping over night is not excuse! :D
[RAZR HD Android Development] CWGSM3VO:
In this case, I inherited someone else's shoddy work and of course I was brought into it a week before everything expires and our Lab falls over. Lot of visibility on this from up on high (director level) so unfortunately, this has to take priority :)

But yes, it's not a good excuse :D
[RAZR HD Android Development] Zeljko1234:
C'mon, long distance flight is in front of me. I need something to play with :D
[RAZR HD Android Development] kabaldan:
The blue screen flickering (=MDP underruns) should be fixed by http://review.cyanogenmod.org/111372 .

Well, at least on my xt925, I can't get any flicker anymore since running with it.

Ideally, the lowest values that fix it for every xt92x device out there should be found and used, but... I'm going to merge these ones, for now at least.

(higher values -> more energy potentially used by mdp, lower values -> underruns happening more likely)
[RAZR HD Android Development] CWGSM3VO:
Nice fix :) I certainly was wrong here as I kept assuming it was related to framebuffers (or lack thereof)

By any chance does this also resolve or address the LiveDisplay (via PCC) issue where it flashes & blanks out as well?
[RAZR HD Android Development] flying_dutchman:
Hi,

Would the blue flickering fix be in the version 0810, or later please?

txs,
[RAZR HD Android Development] madmonkey57:
Yes, fix was merged already, but no build yet. 0810+ will have the fix.
[RAZR HD Android Development] flying_dutchman:
ok, cool. txs!

cheers
[RAZR HD Android Development] CWGSM3VO:
Uploading 10-8 build now ;) It's current with cmxlog at this writing (last commit is [MENTION=2218140]kabaldan[/MENTION]'s MDP patch)
[RAZR HD Android Development] lcc014:
Just downloaded it, thank you. :)
[RAZR HD Android Development] madmonkey57:
Heads up

New official CM snapshot available (only for xt925): cm-12.1-20151007-SNAPSHOT-YOG4PAO339-xt925.zip

Dunno whether it has the MDP patch or not...
[RAZR HD Android Development] CWGSM3VO:
If it's dated 10-7 I'm guessing it won't.
[RAZR HD Android Development] CWGSM3VO:
Just tested [MENTION=2218140]kabaldan[/MENTION]'s patch with stopwatch + volume adjustment, no blue flickering. Turned on LiveDisplay and repeated test, no flickering or screen blanking. Looks good to me :)
[RAZR HD Android Development] Zeljko1234:
It's easy to check here. As you can see MDP patch will to be included in next nightly.
[RAZR HD Android Development] madmonkey57:
Except that I was referring to a snapshot, built almost 9 hours after 10/7 nightly.

So there's still a chance that the MDP patch was included.;)
[RAZR HD Android Development] Zeljko1234:
I think doesn't it really matter when is built, more when is sync with the repo.
[RAZR HD Android Development] Thibault1171:
Hi guys, I wasn't not really active here for a while.

It's good to know there is still bugfixes, and all of you guys are still here trying to improve everything.

I'm still running an old 09/21 build, maybe I'll upgrade in a week or two.

Is the WiFi/Bluetooth incompatibility fixed, or must our WiFi still have a different frenquency than 2.4GHz?
[RAZR HD Android Development] CWGSM3VO:
Easiest thing to do would be to check jenkins and marry up the build ID# and check oss-reflected for changes.txt

EDIT:

http://oss.reflected.net/jenkins/129288/

http://jenkins.cyanogenmod.com/job/android/129288/

Unfortunately, changes.txt isn't useful in this case.
[RAZR HD Android Development] lcc014:
C, I am using your unofficial build 10-08. I got a freeze when trying to user camera. After phone was reboot, I tried to use camera again and I got blue flashing screen and then black screen. I an going to try the official 10-08 nightly and try again.
[RAZR HD Android Development] CWGSM3VO:
I just tested this after reading you post, it works perfectly fine for me *shrug* Dunno what to say.

EDIT: And I have LiveDisplay enabled again. Before 10-8 I would get similar issues with adjusting volume while in stopwatch (via clock); screen would flash blue and then go dark and I'd have to press the power+unlock to get the display on again :)

EDIT: This might align with what [MENTION=2218140]kabaldan[/MENTION] mentioned with devices having different timings perhaps?
[RAZR HD Android Development] danfeng:
Anyone using WCDMA network here ? When I turn on mobile data , then open some battery heavy app like google maps or games, the system get a reboot, if I plug a USB on computer(battery is in charge),everything is working fine, how can I get a logcat ? The bug only happened when system is not in charge, the system force to reboot if I trigger the bug.
[RAZR HD Android Development] lcc014:
That is a possibility. [emoji17]
[RAZR HD Android Development] CWGSM3VO:
Lemme know how an official nightly works out for you.
[RAZR HD Android Development] lcc014:
So far so good since this morning. I tried camera and YouTube, both were good.
[RAZR HD Android Development] CWGSM3VO:
See OP on enabling aplogd.
[RAZR HD Android Development] CWGSM3VO:
Interesting. The only difference between my builds and official CM (other than time) is Java and a few init changes. I'm currently building 10-9, feel free to try it.
[RAZR HD Android Development] derpyherp:
may have found the service issue :D :D :D

our problem may have been simple.... i messed up my hd had to completely wipe it installed the lastest nightly.. no service...BUTTTT I CHECKED THE POWER MENU ITS IN AIRPLANE MODE THE PULL DOWN MENU SAID ITS NOT!!! i turned airplane mode off and rebooted ..... GOT SERVICE IMEDIATELY!!!!

edit: i flashed super su, installed scripts and also noticed that after each reboot that it sets it self in airplane mode!! after another reboot..... AIRPLANE MODE WAS OFF AND SERVICE STAYS!! on boot up after a sec it turns off airplane mode... odd

another edit: why does it fix itself after 2 reboots?? and more i think super su fixed it!!
[RAZR HD Android Development] lcc014:
So KK Tracking thread in this forum or other sub-forums ?

Thanks.
[RAZR HD Android Development] JoseBerga:
here is the link http://xdaforums.com/showthread.php?t=2760840&page=79
[RAZR HD Android Development] Zeljko1234:
In xxx-developers sub-forum :D

New build from kitstalk is up. Previous works so great that I'm thinking flash it or not. Well what a hell... :)
[RAZR HD Android Development] RMarques:
...sup Zel? What about the radio?
[RAZR HD Android Development] Zeljko1234:
Usually I do not listen radio but recently I've found good one, 89.7 FM, KFJC. Maybe was just coincidence that they played good music.

If you're asking about mobile network, yes it works as you can see on screenshot. Took longer to attach but without reboot. Actually I tried trick with airplane mode, it was off, turned on/off and got signal. Again maybe will got signal anyway. Need more testing.
[RAZR HD Android Development] iBolski:
I can't seem to get a GPS lock on this. I know it's still "Alpha" and I'm on the latest (12/02), but even on 11/30, I had issues. It seems on earlier builds, it worked, but maybe I'm wrong?

I've even gone back, flashed back to stock, ensured GPS got a lock and then clean flashed back to 12/02 and still nothing. CoPilot app can never get a lock, and Google Maps seems to think it has a signal, but it's always off. When I'm driving down the road, Google Maps thinks I'm in off the road in the grass! :p

Also, it's always pointing to the 10-11 o'clock direction (my little dot that represents me).

Anyone else have this problem or are there some that have GPS fully working?
[RAZR HD Android Development] Fr3d_:
No problem here on 12/02. Gps is locking in few seconds.
[RAZR HD Android Development] Zeljko1234:
[MENTION=3250093]iBolski[/MENTION] Have you tried to fastboot erase modemst1 fastboot erase modemst2? With GPS status, are you getting small yellow lines and number of sats before lock or nothing at all? Try to reset A-GPS data and download again.

Look almost straight line for battery stats over night :)