yashsingh1/xdaforums huggingface dataset:
[X 2014 Original Android Development] endursa:
[MENTION=3857343]crpalmer[/MENTION]

reagarding sound issues i reported earlier:

i am now back on stock 5.1 (LPE23.32-25.1) and i did only root my phone for adaway (no build prop changes to qualcomm fluence, endfire/backfire, or any other options)

stock build.prop settings:

persist.audio.dualmic.config=endfire

ro.qc.sdk.audio.fluencetype=none

persist.audio.fluence.voicecall=true

persist.audio.fluence.voicerec=false

persist.audio.fluence.speaker=false

that is all that is set to the qc fluence noise cancellation settings.

I do not know the exact config which is needed for this to work in cm / pa (i tried with cm12, nexus experience and paranoid android) but this same settings did not work correct with the noise cancellation hardware (4 mics on the moto x) configuration that is present on the moto x 2014, but there is definitely something wrong.

Every time i am on the phone with someone while using pa/cm i get told that i am sounding very silently, or that my sentences are cut off and stuff like that, but now that i switched back to stock (did switch before and re flashed cm, did not make a difference) everything is fine

i even tried to call someone while my coffee machine was grinding and the other person said she could't hear any noise and understands me clearly. I also tried talking really silently, no cut off sentences.

So sadly i can no use cm12 / pa / any other custom rom i've tried until we (yes i am willing to help with whatever you need) can figure out how to properly configure the noise cancellation for this phone! besides that any other thing is working great! (gestures, ambient display and stuff :))

edit: I did try to shut off noise cancellation (fluence) all together via build prop tweak, which lead to the result off being able to make calls, in a non noise environment maybe someone can try that, and report if it at least fixes the issue with low/cut off voice for them?
[X 2014 Original Android Development] 0.0:
What's the build.prop tweak to try to enable noise cancellation?

edit: is it this?

media.a1026.enableA1026=1

sent from my Moto X Pure Edition
[X 2014 Original Android Development] gtriamy:
I've searched around and I couldn't find anyone else reporting this. After receiving or making a call via hangouts (to a google voice number) I can no longer listen to music on Google Music. The only way to bring the music back is to either reboot or make a call using my cell number--when I do either of those, Google Music works again. It's almost like hangouts is not handing back control of the audio until the dialer takes it.

Logs: https://drive.google.com/file/d/0B-9TY0ZyuQHAdk8wNWxXY2xxbEk/view?usp=sharing
[X 2014 Original Android Development] crpalmer:
Did you by any chance flash stock 5.1 in that time?

I started working on the 5.1 kernel source (!#$%@! moto rewrote history, again, which wastes a ton of my time). The changes to the stm401 sensor (the IR one) breaks the 5.0 vendor blobs we are using so it is possible that 5.1 firmware breaks on our 5.0 stm401 driver.
[X 2014 Original Android Development] benfiller:
Having the same issu, after every reboot the time resets and takes time (1 or 2 minutes) to get the right time. Not a huge problem though :)
[X 2014 Original Android Development] raptir:
I did, actually. Although I will say I clean flashed yesterday's build and it seems better today, so maybe it was just a bad flash.
[X 2014 Original Android Development] kokotron:
Does anybody else have problems downloading/applying cm12.1 themes? Once I download any theme from the play store, after installation is finished, I get a "failed to install" error and the theme is automatically uninstalled. At the same time, I get errors that "f-droid" and "humble bundle" apps crashed. I tried removing these apps and clearing the Theme cache but it didn't work.

EDIT: I just remembered, I have flashed the original MotoX camera/gallery over the CM12.1 ones, you think this could be the problem?

EDIT 2 [SOLUTION?]: Restoring the camera didn't work. BUT... Switching my default launcher from Nova to Trebuchet seemed to work. o.O Interesting.
[X 2014 Original Android Development] nithin1992:
Does the included kernel have kcal control?

EDIT:Also any news on the next nightly release?
[X 2014 Original Android Development] Noob Ant:
Is there a way to turn off the sound for disconnecting and connecting to a cell network? When I'm in an area with a spotty signal that phone keeps making a notification sound every time the phone disconnects and reconnects. It's annoying.
[X 2014 Original Android Development] crpalmer:
FYI, the next nightly will contain a merge of the proprietary blobs, kernel changes and device changes from Motorola's 5.1 release. Let me know if you have problems.
[X 2014 Original Android Development] chris150497:
I've had at least 10 reboots since I've installed 20150801 release, I don't know what is the problem but It's too anoying, I will go back to 20150731 release.

PD: I did a clean install with 20150801 release and also I installed Xposed v68, maybe this causes the problem.

PD 2: I've just checked Xposed's thread and v69 Is now avaliable, maybe the solution...
[X 2014 Original Android Development] dg4prez:
Build just finished... about to flash it once I get off this call.
[X 2014 Original Android Development] crpalmer:
FYI, xposed can cause any number.of problems which is the why I never investigate any bug report where xposed was installed...
[X 2014 Original Android Development] kokotron:
Has anybody tried to use MotoX on CM12.1 with a camera with wifi functionality? I got a Nikon aw120 and my moto is the only device out of 4 I tried it that it won't connect. Trying to figure out if this is a motoX matter or a CM issue specific to the motoX (since it works properly on another device on 12.1)
[X 2014 Original Android Development] chris150497:
Thanks for the answer, but I've just installed (clean install) 20150804 new version, and 3 reboots when I was typing on whatsapp, and when I was on the homescreen, the phone freezes and then reboot. It's to anoying. :(

pd: No xposed installed, so I will go back to stock and then install cyanogenmod. It's too strange but I really love the rom. I'm gonna try...
[X 2014 Original Android Development] Amisuta:
On 20150801 with xposed, undervolting, and no reboots.
[X 2014 Original Android Development] JuggaloDroid:
Seems to be a bug that stops the System Profile option to not ask for pin or password from working.
[X 2014 Original Android Development] nanca:
This nightly seems to be good, considering those new Motorola sources, except for two aspects. #1 device was running very very hot (never happened before) at the beginning (now it's not) #2 sound from the headset seems to be a little bit broken cutting some frequencies. (never used fx)
[X 2014 Original Android Development] chris150497:
[MENTION=3857343]crpalmer[/MENTION] here is a log when my phone freezes and then reboot, I returned to stock and then cyanogenmod, I was installing some apps and searching in google play, my phone freezes and then reboot and reboot, later other reboot when I was scrolling. I don't know but I think I am the only with this problem, this makes me feel upset. Maybe the log helps... :( http://gdurl.com/XbcK ( here is a direct download, because I can't attach a file :( Sorry...
[X 2014 Original Android Development] Amisuta:
Now on 20150804 with xposed; no reboots so far. Have u tried wiping everything (internal storage too) before flashing? It's what I do to keep a clean filesystem.
[X 2014 Original Android Development] nerotix:
[MENTION=3857343]crpalmer[/MENTION] Since the latest nightly, I noticed that the sensor doesn't seem to pick up the chop-chop gesture that easily, try it, it seems a lot harder.
[X 2014 Original Android Development] Semicuda:
[MENTION=3857343]crpalmer[/MENTION] Running 20150804 without any issues! :)

Edit: was a dirty flash, but without xposed
[X 2014 Original Android Development] FunkyMcBain:
Can you guys suggest a nightly which was really solid? In thinking about cm but Id like something pretty stable
[X 2014 Original Android Development] mcardielo:
the last one 20150804 is very stable for me, even using xposed framework.
[X 2014 Original Android Development] chris150497:
I will try it...

Thanks
[X 2014 Original Android Development] Amisuta:
Maybe it's your device. My gestures are the same as before.
[X 2014 Original Android Development] nerotix:
Yeah maybe it was just me.. dunno.. seem to respond better now.
[X 2014 Original Android Development] 0.0:
[MENTION=3857343]crpalmer[/MENTION] I saw a video about the new Moto G and one of its features is when the camera is open, double twisting it again switches to the front facing camera and doing again switches it back and so on. I assume it'll make its way to the new Moto X. Would that be possible to do in CM for victara?

sent from my Moto X Pure Edition
[X 2014 Original Android Development] ny-hardcore:
Stock behaviour in moto x 2014
[X 2014 Original Android Development] crpalmer:
After a hard crash, you need to get a copy.of /process/last_kmsg. The logcat gets reset on each boot.
[X 2014 Original Android Development] damccull:
I've been looking for this info forever. I knew the log resets.
[X 2014 Original Android Development] chris150497:
Thanks, but I found the problem, is an app that is called Kernel Audiutor. This app permits me change de CPU and I/O scheduler. I switched to Ondemand and Deadline as the scheduler and after some minutes freeze and reboot. I desinstalled the app and everything is great! No more reboots. Thanks for your help and for the other users too.

Finally, How can I change the CPU and the I/O scheduler? I saw an option in the configuration menu but is not here anymore. Can you suggest me an app?

Thanks in advance :)

Enviado desde mi victara mediante Tapatalk
[X 2014 Original Android Development] JuggaloDroid:
system profiles option "don't ask for PIN or password" still not working on 20150805. always asking me for pin.
[X 2014 Original Android Development] kokotron:
Some compass apps and apps based on phone rotation etc. can't function any more (for example Sun Surveyor).
[X 2014 Original Android Development] Semicuda:
Just tried the free version, it's working perfectly fine. Did you try switching sensors under Settings->Sensors?

Gesendet von meinem victara mit Tapatalk
[X 2014 Original Android Development] kokotron:
While testing the 3D Compass mode of Sun Surveyor, the default sensor option, Rotation Vector Sensor, both in paid and free versions (the free one is quite older and even has a rather different ui) doesn't work for me at all. If I switch to the other sensors it works, though with lag.

I also tried 2 simple compass apps, this one doesn't work, this one works (but sucks).

Bonus info: When I installed CM12.1 for the first time on my xt1092 a couple of weeks ago, it worked fine. After updating to the July 30th nightly, I encountered the above issues but the sensor would unfreeze if I moved my phone around a bit. Now, after updating to the August 5th nightly, it's permanently frozen.
[X 2014 Original Android Development] Amisuta:
Have u tried wiping everything including the internal storage (not just data)?
[X 2014 Original Android Development] kokotron:
To be honest, on each nighly update I did I haven't wiped anything except from cache/dalvik (I don't know why we still wipe dalvik btw, isn't it obsolete anyway?). I'm currently backing up some data in order to do a clean install of 6th August nightly.
[X 2014 Original Android Development] Amisuta:
Every once in a while I clean up leftover files and such by wiping internal storage; flashing only wipes the data, system, cache, and dalvik cache partitions. Also, my speculation is that ART just compiles everything into native code and stores it in the dalvik cache folder, though I'm not sure why they still call it dalvik.
[X 2014 Original Android Development] kokotron:
I deleted everything and installed today's nightly completely from scratch, Rotation Vector Sensor still doesn't work... I will have to try another rom, maybe an older CM version, to verify that there's not something wrong with my phone...

UPDATE: I installed Ressurection Remix build from 24th July since I couldn't find any cm nightlies old enough, and the Rotation Vector Sensor WORKS!
[X 2014 Original Android Development] Amisuta:
Strange, I just tried the sun surveyor thing, which worked.
[X 2014 Original Android Development] JuggaloDroid:
Not sure if anyone else is having this issue with lock settings in system profiles not working, specifically "don't ask for PIN or password" I've done some research and looked at a few logcats to see if I could find anything similar in mine (as I only know the bare minimum about logcat's).

I think that this is the culprit taken from my logcat, but I could be wrong:

08-06 18:35:09.754 E/JavaBinder(851): *** Uncaught remote exception! (Exceptions are not yet supported across processes.)

08-06 18:35:09.754 E/JavaBinder(851): java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()

08-06 18:35:09.754 E/JavaBinder(851):	at android.os.Handler.<init>(Handler.java:200)

08-06 18:35:09.754 E/JavaBinder(851):	at android.os.Handler.<init>(Handler.java:114)

08-06 18:35:09.754 E/JavaBinder(851):	at com.android.internal.policy.impl.BarController.<init>(BarController.java:71)

08-06 18:35:09.754 E/JavaBinder(851):	at com.android.internal.policy.impl.PhoneWindowManager.<init>(PhoneWindowManager.java:930)

08-06 18:35:09.754 E/JavaBinder(851):	at com.android.internal.policy.impl.Policy.makeNewWindowManager(Policy.java:68)

08-06 18:35:09.754 E/JavaBinder(851):	at com.android.internal.policy.PolicyManager.makeNewWindowManager(PolicyManager.java:65)

08-06 18:35:09.754 E/JavaBinder(851):	at cyanogenmod.profiles.LockSettings.processOverride(LockSettings.java:107)

08-06 18:35:09.754 E/JavaBinder(851):	at cyanogenmod.app.Profile.doSelect(Profile.java:1194)

08-06 18:35:09.754 E/JavaBinder(851):	at org.cyanogenmod.platform.internal.ProfileManagerService.setActiveProfileInternal(ProfileManagerService.java:591)

08-06 18:35:09.754 E/JavaBinder(851):	at org.cyanogenmod.platform.internal.ProfileManagerService.setActiveProfileInternal(ProfileManagerService.java:562)

08-06 18:35:09.754 E/JavaBinder(851):	at org.cyanogenmod.platform.internal.ProfileManagerService.access$600(ProfileManagerService.java:58)

08-06 18:35:09.754 E/JavaBinder(851):	at org.cyanogenmod.platform.internal.ProfileManagerService$2.setActiveProfile(ProfileManagerService.java:201)

08-06 18:35:09.754 E/JavaBinder(851):	at cyanogenmod.app.IProfileManager$Stub.onTransact(IProfileManager.java:56)

08-06 18:35:09.754 E/JavaBinder(851):	at android.os.Binder.execTransact(Binder.java:446)

It's been broken since 0801 and any help would be greatly appreciated. Thanks in advance :good:
[X 2014 Original Android Development] Gafanhotz:
Hello! This is a CM-code related bug, not device-code related so most likely you maybe not get anywhere in here, you should try to report this in the CyanogenMod's JIRA Bug Tracker attaching with it the logcat.

Link: https://jira.cyanogenmod.org/secure/Dashboard.jspa

Hope it helps!
[X 2014 Original Android Development] JuggaloDroid:
Thanks for the response. I saw it on jira, but was not sure about protocol. I'll just keep my eye posted. If this does get fixed in one of their builds, do you know what kind of line should I be looking for in a changelog? Thanks again :good:
[X 2014 Original Android Development] Shemploo:
Sensors don't seem to work right in latest built from 08/06/2015

- The flash light comes on, on it's own. (Seems to be super sensitive to motion)

- Ambient Display does not seem to work.

This is a fresh install from this morning, I am using [Kernel] Render Kernel [CM12] though - I will try to reflash without it.

After re-flashing without the custom Kernel, everything seems to be working.
[X 2014 Original Android Development] Amisuta:
Is it just my device or does on-body detection not work?
[X 2014 Original Android Development] Gafanhotz:
They will usually put something pretty obvious like "Fixed pin/pattern settings on profiles" or something along those lines.
[X 2014 Original Android Development] mikexd1:
Hey everyone! I really love Cyanogenmod and while I was playing with it on my Moto, I came up creating this flashable zip with some files that will make our Audio FX work!!! YES!!!! Without needing to do any weird process!!!. Just flash this zip and you're good to go!!!

I will leave the link over here (Hope that I don't break any rule)

https://mega.co.nz/#!LkAghZpB!GytNZJa1BRiSUxBTPD0fWB-xGTTrxOVnYYD6Qel00Mc
[X 2014 Original Android Development] craftyguy:
What is the "update-binary" file in this package and what does it do? I'm a bit wary of executing unknown binary files downloaded from random folks on the internets..
[X 2014 Original Android Development] kellerman40:
AudioFX isnt system-wide right?

Edit:yup it isnt

Ive been struggling by getting viper4android and got it working only in compatible mode so it isnt system wide.

Maybe there is another fine solution for a working system-wide audio processor? [emoji4]
[X 2014 Original Android Development] Gafanhotz:
If you don't know what this file is, then you probably never flashed anything that wasn't CM and GApps. The file "update-binary" is the old method that was used to flash files on a recovery, currently this method is mostly used to flash kernels, fixes, apps. It's like an Install file for a app on your PC.
[X 2014 Original Android Development] alexfiorani:
I cannot find a way to keep the active display blinking after receiving a notification, it stops a couple of times later. Is this the normal behavior?

Thanks.
[X 2014 Original Android Development] mikexd1:
Sadly the audioFX is not system-wide and the quality of the sound really sucks even after I installed V4A. At the end I decided to go back to stock and just debloated it manually and added some tweaks with xposed.

I will consider trying more custom ROMs when we can get a decent sound engine. I'm always listening to music with my SOL JAX and thru my car so I really miss a good audio quality.
[X 2014 Original Android Development] Amisuta:
What's the most notable release as of late? (New feature, etc.)
[X 2014 Original Android Development] Semicuda:
http://www.cmxlog.com/12.1/victara/
[X 2014 Original Android Development] raptir:
Ah hah, I'm glad it's not just me. I noticed that the speaker and headphone output were significantly lower quality (even in terms of volume) than on stock.

I do most of my listening through Bluetooth though (which doesn't seem to be affected) so I think the features of CM are worth it here.
[X 2014 Original Android Development] kellerman40:
Its definitely worth. After flashing that audiofx fix it works with some apps. Thats the only downside of using cm. Ofc you cant get moto assist and voice but thats kinda useless to me. I got a victara a week ago and im happy with it and cm works great.
[X 2014 Original Android Development] alexfiorani:
Suddenly I lost my mobile data icon (more specifically, the 3g and LTE ones). I have data connection (because I can access the Internet on any app) but there is only a ! at the mobile network icon, like if I didn't have a active connection. I tried everything, changing themes, flashing the newest CM version, wiping cache, and nothing helped. Any ideas, besides wiping data? Maybe clearing some specific system data?

Thanks.
[X 2014 Original Android Development] nanca:
I'm not sure, but I think this problem staterd after those new Motorola 5.1.1 blobs have been merged.

And yes. Absolutely true, cm features make it worth.
[X 2014 Original Android Development] serglex:
Looks like the video issue is back on latest nightlies. Could you please take a look again, maybe your code got overwritten or something? Thanks
[X 2014 Original Android Development] Gafanhotz:
Confirmed here, my device rebooted a lot recently during video playback (YouTube mostly) and DRMed audio playback (Deezer, Spotify) after the 5.1 kernel merge and also I noticed some weird behavior with the IR Blasters (mostly it doesn't unstow correctly which makes the screen not light up). Couldn't grab any logs yet due to being away from my PC.
[X 2014 Original Android Development] crpalmer:
Have you ever installed the official 5.1 release?
[X 2014 Original Android Development] Gafanhotz:
Back when soak tests were being made (May, I think?) because I was invited, but jumped ship soon after they released the final version for the Brazilian market.
[X 2014 Original Android Development] crpalmer:
Would you mind going back to stock and then accepting the ota and then reinstalling/restoring backup of cm?

I am guessing that we have a dependency on stock firmware.
[X 2014 Original Android Development] Gafanhotz:
Okay! I'll give it a shot and give some feedback in a few hours.
[X 2014 Original Android Development] felipevsw:
Has anyone tried Cyanogen recovery yet? It can only be installed using fastboot, rite? I couldn't find any relevant information about it.
[X 2014 Original Android Development] Jazznax:
Hey [MENTION=3857343]crpalmer[/MENTION]. Is it possible to add this to you're roms? In not a developer so I don't know if it's possible

http://xdaforums.com/showthread.php?t=2754997
[X 2014 Original Android Development] damccull:
Does anyone know why cm12.1 can't download moto apps? Is the system completely incompatible or is it just a setting in the build somewhere?

If a complete incompatibility, what is the issue? Just that we haven't figured out which files are required to use moto apps and hardware yet, or that the kernel has to support the hardware and apps with a specific api that isn't public? What's to prevent us from just copying the apps over and any libraries they need and running them?
[X 2014 Original Android Development] Gafanhotz:
Moto Apps are limited to Motorola's Custom Framework which is proprietary code (could end up in a lawsuit) and it probably wouldn't work with CM due to differences in the system's code.

-----------------

[MENTION=3857343]crpalmer[/MENTION] Sorry for the long delay in getting back! Did the upgrade as you asked, but I noticed that the stow sensor was working as it should on the last nightly before flashing stock, updating and going to CM again, but still did that and videos and DRMed content are still a no-go, rebooting the device like crazy. Merging the kernel couldn't have reverted the changes you made to disable compress offload?
[X 2014 Original Android Development] Munns86:
I can confirm i'm also seeing these reboots. I did come from official 5.1 and flashed cm about two weeks ago.
[X 2014 Original Android Development] crpalmer:
Nope, merge is just additive (I added changes made by Motorola between their last two releases to our existing code).

Can you give me exact steps that cause a problem (app / URL) and a logcat of video/DRM problems and a copy of /proc/last_kmsg after a reboot?

Thanks for trying the upgrade to check that out for me!
[X 2014 Original Android Development] Gafanhotz:
Sure thing. I'll get the logcat and kmsg asap I get my phone charged.

To reproduce it's rather easy, open up some app that might have youtube videos (Sync for Reddit is a good example, but there's others, I think any app with embedded videos except YouTube) then open that video using the embedded browser and it'll start to buffer like crazy in the middle of the video (not all videos causes this) and during one of those bufferings the OS will freeze up until it reboots. It happened with me with Deezer too, but this one is pretty rare. (I noticed that on videos the audio will continue and the video will be stuck before freezing.)

Edit:

Logs on attachment, I have no words for the amount of spamming the system did on those logcats... The amount of D/audio_hw_primary( 328): No space available in compress driver, post msg to cb thread is insane.
[X 2014 Original Android Development] invisiblek:
See if flashing this straightens out your issues: http://www.invisiblek.org/victara_widevine.zip

I was able to play google movies (which previously i had not been able to do) and tried a few videos in the embedded player in that reddit app without an issue.