yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] Sundar1995:
If it was fixed he would have mentioned it in the log. So I guess not.

Can't clean flash the build...I am busy till month end. I will try flashing latest build and give updates soon.
[OnePlus X Original Android Development] rhd-android:
Just a heads up that "ok Google" voice recognition is broken. I realize that probably comes in via GAPPS, but I know that the GAPPS package I used has working "ok Google" recognition on other phones/ROMs, so it must be a bug in this ROM (and it's not mentioned in the OP, hence me mentioning it now).
[OnePlus X Original Android Development] sgroimax:
I'm gonna stay V6 with no issue so far. No echoes. Nothing. All runs good. Carrier TIM Italy
[OnePlus X Original Android Development] dtosun:
When i try V3, there is no echo. But when i try v6 an v7 there is echo :( What is the problem i dont understand? Somebody says it is ok, Me and others say not ok.

---------- Post added at 09:33 AM ---------- Previous post was at 09:24 AM ----------

when I try to connect to a wifi network with 802.1x EAP mode then settings get FC.
[OnePlus X Original Android Development] Wind07:
He doesn't mean blu_spark. He just means eng.stk's TWRP recovery r5. His TWRP recovery ≠ blu_spark.
[OnePlus X Original Android Development] rhd-android:
FYI - I tested two other GAPPS packages, and neither of them resolve Google Now's inability to hear me say "ok Google" (even in training mode), so I think there is a bug in the ROM.
[OnePlus X Original Android Development] saurabh40629:
This is known issue. It's already reported earlier. And OP is aware of this.
[OnePlus X Original Android Development] lge73:
Strange, V7.0s no sound at all in phone calling. Tried dirty and fresh install!

After answering the call, will be completely silent.

Me and the called party can not hear anything!!
[OnePlus X Original Android Development] Yeldar:
Ambient display doesn't work on my OPX. Tried 4, 5s, 6s. Anyone has same issue? Maybe any other ways to enable it besides tricking it in settings/display?
[OnePlus X Original Android Development] rhd-android:
Apologies, I missed that.

It would be worth adding that to the "what's not working" list so that other people don't report it (or waste a couple hours trying different GAPPS packages, without realizing that it's a known ROM issue)
[OnePlus X Original Android Development] saurabh40629:
The reason it is not added is, it is specific to google app. Sound recorder is working fine., hence it is not added in ROM issue. I already provided logs for that. Also with other issues out there, its fine if this is not priority.
[OnePlus X Original Android Development] ravinder0003:
+1 no sound on calls on sim2...

Sim1 working fine but...
[OnePlus X Original Android Development] MasterAwesome:
I don't know if its already posted but I need the logs from stock when doing a voice call on speakers.

adb logcat | grep -i acdb

AND

adb logcat | grep -i audio
[OnePlus X Original Android Development] lge73:
Thx for info! ... using SIM2 for calls, and SIM1 for data
[OnePlus X Original Android Development] Krsnik:
[MENTION=5321417]MasterAwesome[/MENTION]: Here you go. Stock 2.1.3-X with blu_spark r68.

acdb:

audio log at pastebin as its a bit longer

http://pastebin.com/5S2XdsiQ
[OnePlus X Original Android Development] Wouter06:
May I name 2 issues I encountered using the last version(7.0s) of your rom?

Incorrect carrier name

It's possible to select 5GHz-band (nothing happens) while only 2.4GHz is supported by the device (Wifi)

Regarding the carrier name issue. This is also happening with the stock rom, so maybe not rom related but radio(-firmware) related?

(I tried to donate, but only payments from within India are allowed?)
[OnePlus X Original Android Development] dtosun:
For carrier name, use "carrier changer" program to correct it.
[OnePlus X Original Android Development] Wouter06:
Are you referring to an app in the playstore?
[OnePlus X Original Android Development] yvessparks:
Yes he is.

I don't see 5Ghz networks...not on stock and not on this ROM...so that's strange.
[OnePlus X Original Android Development] SpiritBreak3r:
There's no 5Ghz antenna in Oneplus X, even though chip supports it. So there are no hopes of getting 5Ghz support on this phone.
[OnePlus X Original Android Development] Wouter06:
I know, that's why I suggested that the option to select 5GHz shouldn't be there :)

When selecting 5GHz, it just keeps working on 2.4GHz. More like an aesthetical bug than a functional bug.

Ive added a screenshot to clear up my comment
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Just wanted to say thanks for your work. This is by far the best ROM out tight now. If you need any help perfecting it, I can help. The faster CM 13 development starts, the better. I have yet to encounter any bugs
[OnePlus X Original Android Development] NightMean:
I'm not able to hear the other side,also microphone is not working for me when calling on v7.0.. Can it be because I dirty flashed..?

Edit:Microphone is not working in any app..
[OnePlus X Original Android Development] gracemillian:
Using one sim, one SD card slot, the person on the receiving end of the call still hears the echo. Problem persists :( in v7.0

Battery bug still present (workaround is to reboot at 100% charge).

Otherwise a solid Cyanogenmod experience, much better than the stock **** it comes with. Performance is rock solid too.
[OnePlus X Original Android Development] bs android:
Getting my oneplus x Friday so can't test it myself but could following help echo problem?

su

setprop persist.audio.fluence.mode false

setprop persist.audio.handset.mic analog

Reboot device
[OnePlus X Original Android Development] gracemillian:
Noob here, but where do I type this? What do I do with this? lol
[OnePlus X Original Android Development] koolviks:
First enable terminal from Developer Options and the type in the commands one be one.
[OnePlus X Original Android Development] Xyam:
confirmed SIM2 has no voice in V7, but working properly in V6
[OnePlus X Original Android Development] ravinder0003:
Agree... So I'm back to v6...

Tri state keys gestures also working as defined...
[OnePlus X Original Android Development] dtosun:
When i try it, it does not solve echo problem :(
[OnePlus X Original Android Development] MasterAwesome:
If 3.0s solves your problem, can you create a zip of the etc folder and send it to me?
[OnePlus X Original Android Development] dtosun:
Here you go. Please solve Wifi EAP security get settings FC.
[OnePlus X Original Android Development] gladiac:
Hi,

I had a dive into the EAP problem here. WPA-Enterprise-connections itself work fine if you manage to configure them somehow. In my case I was able to restore my wifi settings via Titanium Backup which had my work wifi connection already configured. However, the Settings app is bogus. More precisely, WifiConfigController.java:checkEapSimInfo() does not check if mWifiEapSimInfo is null. For some reason mWifiEapSimInfo is null on our device which is why the application crashes. A simple check for that null-reference would fix that problem. (It should be there anyways!!) However, other devices have pretty much the same Settings app and do not crash here so there could be some other solution (like a missing configuration option) too.

Have a nice day,

glad
[OnePlus X Original Android Development] bs android:
What if you change the following in build.prop

From

persist.audio.fluence.voicecall=true

To

persist.audio.fluence.voicecall=false
[OnePlus X Original Android Development] dtosun:
Sorry, come back to v3 because of echo problem:(
[OnePlus X Original Android Development] bs android:
Any differences from version 3 to 7 in the following ?

Mixer_paths.xml

Located in /etc
[OnePlus X Original Android Development] dtosun:
I shared my etc folder with [MENTION=5321417]MasterAwesome[/MENTION]. I m waiting good news.
[OnePlus X Original Android Development] dtosun:
When i compare two files, there is no difference between them. Exactly same content.
[OnePlus X Original Android Development] gladiac:
And here is the proper fix for the EAP-SIM problem. It's rather easy actually.

There is a configuration option for the Settings app that disables looking for EAP-SIM capable sims. It is being read in WifiConfigController.java in line 751. The configuration option R.bool.config_eap_sim_function is a resource inside the overlay of the Settings app. Now if you look HERE you can see that this option is set to true. Since our device is currently not capable of doing EAP-SIM (maybe a firmware/baseband thing, dunno) it should be set to false. Even better, since the default value is false the whole file can just be deleted since nothing else is defined in it. And that's it.

EDIT: And here is my change commit.
[OnePlus X Original Android Development] MasterAwesome:
Good job.
[OnePlus X Original Android Development] gladiac:
Thanks :)
[OnePlus X Original Android Development] MasterAwesome:
D/audio_hw_primary( 295): in_standby: enter: stream (0xb1864980) usecase(7: audio-record)
V/audio_hw_primary( 295): in_standby: exit: status(0)
D/audio_hw_primary( 295): in_standby: enter: stream (0xb1864980) usecase(7: audio-record)
V/audio_hw_primary( 295): in_standby: exit: status(0)
V/audio_hw_primary( 295): start_output_stream: exit
[B][COLOR="Red"]W/SpeechLevelGenerator( 2365): Really low audio levels detected. The audio input may have issues.[/COLOR][/B]

I think I've found the problem. I'm busy, I can't really look into it for a while but the mic gain is low and needs to be fixed.
[OnePlus X Original Android Development] stevew84:
So wait, this fixes the SIM not being read? I've installed Res Remix and my SIM wasn't being read...but on stock my SIM works fine.
[OnePlus X Original Android Development] gladiac:
Hi,

no, this fixes a bug in this rom where the Settings app would crash if you tried to set up a wireless network which uses WPA/WPA2-Enterprise (using 802.1x authentication like EAP). EAP-SIM is an extension of the Extensible Authentication Protocol which enables you to authenticate with your SIM card. To list the EAP-SIM option in the menu, the Settings app needs to gather some information from the SIM (probably via RIL - but that is just a guess). However, our phones do not support EAP-SIM at all (probably a baseband limitation - but this is also just a guess). This is why the app cannot gather the desired information and... crashes because it does not expect that to happen (IMHO a programming error, but whatever). As a result, it seems like it is the ROM creator's job to disable the functionality beforehand. This is precisely what my commit does. It does not touch any SIM reading code though so I'm afraid this change will not help you.
[OnePlus X Original Android Development] stevew84:
So when using this ROM, with this NOT disabled, the SIM card will not be recognized, right?
[OnePlus X Original Android Development] gladiac:
No, the SIM behaviour does not change. Only the crash in the wireless settings will disappear. Everything else will be the same. So if your SIM is not being recognized now it also wont be recognized with EAP-SIM being disabled.
[OnePlus X Original Android Development] stevew84:
Then I wonder why it isn't being read when trying to use Res Remix. I haven't tried the Stable CM12.1 build so I don't have a comparison.

But just to clarify, you can actually make phone calls with this ROM? I'm confused due to the known bugs section in the OP.
[OnePlus X Original Android Development] gladiac:
I'm afraid I cannot help you there since this is a different ROM that I'm not familiar with. Try asking the people over HERE.

Have a nice day,

glad
[OnePlus X Original Android Development] gracemillian:
Is there a simple terminal fix in the meanwhile?
[OnePlus X Original Android Development] TikiThePug:
Guess nothing in mixer_paths.xml can be changed to fix this?
[OnePlus X Original Android Development] saurabh40629:
Man, you should at least read OP's first page before going in a thread. Its clearly written RIL(Dual sim) and mobile data. I am not using both sim, but at least one is working fine. Using v6
[OnePlus X Original Android Development] thisbansal:
I have been using v3 since the day it aired. Now from 2 days I'm experiencing sync error as in settings>accounts it says Google sync is experiencing error. It will be back soon. I'm not able to use Google play store and sometimes YouTube experience suffer too. Although gmail seems to be working fine. I have already tried clear data - cache options of both, Google pay services and play store. Then removed my Google accounts (I'm using 2 Google accounts). Then under recovery clear delvik cache followed by fix permission but nothing works. Same sync error also occurred a week before from now but after a couple of minutes started to work as it should be. I'm afraid this time it didn't. What should I do? Oh and I'm using gapps pico version or what ever it was which include only play store.

---------- Post added at 04:43 AM ---------- Previous post was at 04:40 AM ----------

Oh dear lord, after posting this comment I tried opening play store. It was like nothing happened before. App updating/downloading is working too. So for me this sync problem occurs randomly, what should I do?
[OnePlus X Original Android Development] saurabh40629:
This is because of unstable data connection. No error on ROM or google apps
[OnePlus X Original Android Development] thisbansal:
Are you sure? because I have Mi3 too and never faced this kind of problem before.
[OnePlus X Original Android Development] parasthakur37:
I'm also on v3 since the day it was released. It's working good for me so far.

Always remember if you have a play store or sync problem, it's because of gapps, not because of rom.

Change your gapps package.
[OnePlus X Original Android Development] thisbansal:
Could you link me here? I'm first time android user have no idea where I should look for. As if it's concerned with quality gapps.
[OnePlus X Original Android Development] saurabh40629:
Disable and then enable sync. If not try removing google account and then adding again. Restart and it should work. In past, it happened on my note 2, this fixed the problem.

You can find gapps here, http://opengapps.org/ . Go for pico or nano.
[OnePlus X Original Android Development] thisbansal:
Okay. Double checked and same error started to appear on my Mi3 too. Which confirms its connection problem as i never tempered anything on Mi3, it's rocking stock OS. Thanks for the tip bud.

---------- Post added at 06:12 AM ---------- Previous post was at 06:08 AM ----------

Thanks for the info saurabh. Will use opengapp.org afterwords.
[OnePlus X Original Android Development] dtosun:
@MasterAwesome, Can you give us christmas gift to resolve echo and EAP problem :confused:
[OnePlus X Original Android Development] sgroimax:
Please ......stop here.

Inviato dal mio KFTT utilizzando Tapatalk
[OnePlus X Original Android Development] MasterAwesome:
New Build Added

Download link: Build 8.0s

Changelog

Echo solved

Revert "audio: Remove unnecessary audio flags"

Disable EAP-SIM support
[OnePlus X Original Android Development] saurabh40629:
Thanks master. Is google voice command (Ok google ) also fixed?
[OnePlus X Original Android Development] MasterAwesome:
Nope. This build was mainly to solve the echo and the EAP bug
[OnePlus X Original Android Development] dtosun:
Thank you for your support. EAP-SIM is ok, but echo problem is continue :(

Not: Dirty flash
[OnePlus X Original Android Development] yvessparks:
Fullw wipe/clean flash, then report back.
[OnePlus X Original Android Development] MasterAwesome:
If echo still persists its because your handset volume is too high its picked up by the mic. You could reduce the mic gain further in mixer_paths or reduce headset volume. Echo occurs only to some people which is weird. I'll reduce it even further next build I guess.
[OnePlus X Original Android Development] dtosun:
After clean flash, there is no difference. Echo problem is continue.

Which parameter i should change to reduce headset volume?
[OnePlus X Original Android Development] MasterAwesome:
First just try reducing headset volume to the lowest with volume buttons and check if its solved.
[OnePlus X Original Android Development] dtosun:
That means like this ?
[OnePlus X Original Android Development] parasthakur37:
No. When you are in a call, at that point use the volume rocker to toggle volume to lowest and check if echo is gone, reply here.
[OnePlus X Original Android Development] dtosun:
I did it, but same result, echo is continue.
[OnePlus X Original Android Development] 2fast78:
I can confirm the echo problem is still present (normal call, no use of headsets) But I have to admit I didn't do a full wipe...

Gesendet von meinem ONE E1003 mit Tapatalk
[OnePlus X Original Android Development] bs android:
By any chance you have a case or cover on the phone?

Read those on some phones can give echo
[OnePlus X Original Android Development] tace87:
I confirm echo is continue, but when i use bluetooth handsfree, echo is gone.
[OnePlus X Original Android Development] dtosun:
With case and without case, same result.

/system/etc/mixer_paths.xml

My settings is;

<path name="headset-mic">

<path name="adc2" />

<ctl name="ADC2 Volume" value="13" />

</path>
[OnePlus X Original Android Development] bs android:
Try this (2 days until I get this phone...)

Install STweaks and reduce speaker volume from 1 to -1

Just an attempt...
[OnePlus X Original Android Development] dtosun:
Echo occurs not my voice, other part side.
[OnePlus X Original Android Development] Krsnik:
This is just an idea but is it possible that the echo comes from the second mic for noise cancellation?

I.e. is the noise cancellation performed by the mic-driver and only the noise-free audio stream passed on or is the stream of the second mic somehow passed on as well?
[OnePlus X Original Android Development] dtosun:
May be. I can test it but how can i turn off second mic?
[OnePlus X Original Android Development] bs android:
Know this seems basic but...

There are 2-3 mics on this opx so try to put a little tape over top mic if the STweaks didn't help.

As in both mics picks up your voice so 2 voices get to the receiver.

Makes sense? Think I had an old Samsung years back with that problem on an aosp rom
[OnePlus X Original Android Development] Krsnik:
That's not something you can fix (other than the suggested "hardware fix" by putting tape or something over the mic on top of the phone) but meant for [MENTION=5321417]MasterAwesome[/MENTION]
[OnePlus X Original Android Development] MasterAwesome:
Try this, use audio* files from stock /system/lib/hw and use stock mixer paths remove audio_platform_info.xml. Google now should also work
[OnePlus X Original Android Development] triovi:
What about internet calls, like Viber, Whatsup or Facebook? The echo is still present?
[OnePlus X Original Android Development] dtosun:
I'm downloading stock 2.1.3.x rom and will try it.
[OnePlus X Original Android Development] Krsnik:
[MENTION=414350]dtosun[/MENTION] : I zipped the audio libs and mixer-paths from 2.1.3-X (with blu_spark but I don't think the kernel changes anything there) for you.
[OnePlus X Original Android Development] dtosun:
Great :laugh: That is ok now. No echo, but google now not work yet. Thank you for your support :good:
[OnePlus X Original Android Development] MasterAwesome:
Does mic on speakers work?
[OnePlus X Original Android Development] dtosun:
Let me try it...

Yes, it works also.
[OnePlus X Original Android Development] MasterAwesome:
Okay. just remove the "SND_DEVICE_IN_HEADSET_MIC" line in audio_platform_info.xml with CM libs. That should solve echo.
[OnePlus X Original Android Development] MasterAwesome:
Can someone get me a logcat when using google now on stock using the below command

adb logcat -c ;adb logcat | sed -e '/ActivityThread/d' > 'google-now.log'

CTRL+C once your words are detected.
[OnePlus X Original Android Development] dtosun:
I install your rom again, and remove this line from audio_platform_info.xml. Echo comes back :(

Can i use stock lib files and .xml in your rom to leave echo? Any side effect to your rom?
[OnePlus X Original Android Development] MasterAwesome:
use the one in the attachment. rename it, xda doesnt allow me to upload xml. If you're renaming and overwriting the file make sure to change perms to rw-r-r or just copy the contents and paste, reboot.
[OnePlus X Original Android Development] Krsnik:
Here you go: Google Now @ Pastebin

I started google app, activated voice search via "Ok Google" voice command and then searched for "start Spotify".
[OnePlus X Original Android Development] dtosun:
Same, no solution yet :(Can i use stock files for this rom?
[OnePlus X Original Android Development] MasterAwesome:
You could but fixing it with open source HAL would provide better support when someone updates the library. Anyhoo, can you try 3.0's audio_platform_info.xml and check if that solves it?
[OnePlus X Original Android Development] dtosun:
3.0's audio_platform_info.xml is ok. No echo with this file. Thank you.
[OnePlus X Original Android Development] MasterAwesome:
But volume won't reduce on headset. so change the acdb id for headset from 7 to 103 and tell me if it echo occurs or not
[OnePlus X Original Android Development] gracemillian:
Really appreciate your effort in trying to resolve this issue!
[OnePlus X Original Android Development] ravinder0003:
Hi, [MENTION=5321417]MasterAwesome[/MENTION] & [MENTION=414350]dtosun[/MENTION]

I have made a recovery flashable zip for the temporary fix you guys are discussing here...

So this zip contains the stock audio* files from /system/lib/hw + mixer_paths* from /etc + the audio_platform_info.xml file shared by MA above...

For me

1. speaker mic is working fine on calls

2. Ok Google still not listening me

3. No echo

4. Volume can be reduced on calls

So for the two bugs listed in op, below are the temporary fixes...

1. For In-call recording : Flash Cyanogen Apps (C-apps)

thanks parasthakur37

2. For In-call Speaker Mic : Speaker Fix for CM12.1 by MA

[MENTION=5321417]MasterAwesome[/MENTION]

Till the time you fix them please do include these fixes in op...

It will help us a lot...
[OnePlus X Original Android Development] dtosun:
After use 3.0's audio_platform_info.xml, on speaker mic does not work :( But no echo is enough for me at the moment.
[OnePlus X Original Android Development] lge73:
Thanks! Flashed 8.0s, and echo problem is still exist! After that, flashed your patch and echo disappeared, so clearly resolved the problem!!!!!

PS: speaker in-call volume bug gone :)
[OnePlus X Original Android Development] parasthakur37:
Can you share with us your country and carrier?
[OnePlus X Original Android Development] newsera:
I think 9.0 build would be the greatest release for new year with both echo and speaker in-call volume bug possibly fixed :)
[OnePlus X Original Android Development] criz.89:
I need a answer!!! I had a question a few days ago and i have the same question again.

Has anyone also problems with Sensor?! If i watch Videos in gallery, YouTube or anywhere, the movies are on the head. I do clean flash but i canr fix this issue...can anyone confirm?!
[OnePlus X Original Android Development] niels_kievits:
Today I thought it would be a good day to swoth to CM. I can confirm the 8.0s version plus the zip works. I have no echo and no obvious other bugs, exept those described.

It's good to be back on cm after oxygen! :)

Awesome work! Cheers!
[OnePlus X Original Android Development] codeglitch:
I never had any problems like that, everything plays fine
[OnePlus X Original Android Development] 2fast78:
I can confirm that the echo bug is fixed with your patch. Great work guys!
[OnePlus X Original Android Development] gracemillian:
Yep, with the flash, the echo bug is fixed!
[OnePlus X Original Android Development] maxweber1981:
clean installation and callers to me I hear the echo. I do not know but my version 8 has a bug with echo.

still no change notification LED, eg. for Gmail messages - despite the white LED settings, for example green.
[OnePlus X Original Android Development] destz0r:
u flashed the patch also?