yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] PecanCM:
you started facing this issue with 19 march build ? and from 1st post "provide logcat,kmsg/dmesg. if you reporting radio problem then provide radio log."
[Sony Xperia M] poran123:
This happens to me on AOSP beta 3
[Sony Xperia M] cvisnis:
Solution for my fm radio not working. Apparently google now launcher's 'detect ok google on all screens' causes fm radio to give no audio output (in ear phone or speakers), even though it can scan and identify frequencies. To resolve, uncheck this feature and restart, if it doesnt solve the problem than uninstall and reinstall google now launcher with the setting unchecked. Hope this helps anybody encountering similar problem.

build 19.03
[Sony Xperia M] dav01it:
SOLVED: Struck on GSM only - no 3g

Worked for me too! Thanks!
[Sony Xperia M] abhatia1435:
I started facing this issue with March 10 nightly and flashed 19 March nightly overmorrow to check if that 10 march build was causing the issue but the problem persisted. The logs(all) are in the zip.
[Sony Xperia M] fr3d3r1ko:
I have a PIN set to my phone, but my profile, when I am at home, has the Lock Screen mode (in System Profiles settings) set to "Don't ask for PIN or password". And when I am on that profile that the bug occurs. Hope you can understand what I wrong, english is not my main language. I am wondering if that's happening just on my phone or on CM13.

Edit: One more question, I just read one post in this thread. So NFC doesn't work in our phones?
[Sony Xperia M] serti6610:
[/COLOR]First of all thankyou for all who made this rom working. It helped me allot!

Coming to my question...

I have installed this rom and now i want to flash gapps. But Cm recovery doesnt flash the gapps.zip file for some reason? Can someone provide me with the right twrp recovery file? That i can flash on my phone without having a bootloop :)
[Sony Xperia M] fr3d3r1ko:
I installed this one: https://twrp.me/devices/sonyxperiam.html . Not sure if it will work for you, just trying to help.
[Sony Xperia M] kh34d:
In first post in this thread you will find the link for FOTA-TWRP

Here, http://xdaforums.com/showthread.php?t=3147051

Good luck.
[Sony Xperia M] Bonoboo:
2 All

Starting 22.03 added brand-new for CM feature: simple firewall.

Now you can totally deny any app access to internet via Wi-Fi and/or mobile data.

System apps can't be restricted.

It's a part of Privacy Guard (AppOps)

Settings > Privacy > Privacy Guard (here better to disable notifications) > menu > Advanced

Tap on app and at bottom will be two switches.

Or you can tap on app in mobile data Network stats.

Here available switch only for cellular data.

NFC works with tags / for Beam, but can't be used for contactless paying.
[Sony Xperia M] cmxperia:
And now 20160322 build onwards privacy setting enabled for new apps fixed. In previous builds that option is there but not working.

Sent using Tapatalk
[Sony Xperia M] PecanCM:
we can try qcom's Fluence features for echo and noise suppression http://review.cyanogenmod.org/#/c/137791/ also trying get back mic for working again for camcorder http://review.cyanogenmod.org/#/c/137790/ now using sperate device for camcorder insated of modifying Handset and this seems to be working in my test (test patch https://www.mediafire.com/?4bd6iwyfv42b81t)

you updated to march 10 from which build ? there is no way this update can break any functionality forever and for older versions too.
[Sony Xperia M] serti6610:
Thankyou sir but the link you provide me works, but when i go to the download page. The page doesnt open for me maybe because i use vpn connection. But thats the only way that i have internet. So can you provide me another link with the FOTA-kernel file? Like mediafire or mega download, that would be awesome!

---------- Post added at 04:22 PM ---------- Previous post was at 04:19 PM ----------

Thankyou sir for your help but when i flashed the recovery and after flashed the gapps. It booted very well only when it did start to homescreen didnt come up. And it keep saying "google play stopped" and some" system error". So it didnt work for me but thankyou anyway.
[Sony Xperia M] kh34d:
After flashing twrp you must do wipe every thing then flash ROM then Gapps, not only Gapps!!
[Sony Xperia M] serti6610:
No cellular network? Can somebody point out the solution for me :)
[Sony Xperia M] Bonoboo:
Awesome, that volume problem can be overrided and mic will be utilized for video.

Tested video recording with patch and for me second mic not used.

I just blown air in mic, then played video: no sound.

Used default Snap and other camera app.
[Sony Xperia M] abhatia1435:
I don't exactly remember from which build I updated to March 10. Perhaps from March 1-2 build. And yeah I started facing this issue after using that March 10 nightly for two days. Just tried AOSP 5.1.1 by smartagent47 and the problem isn't there on it too. This is so weird. I have no idea what's happening.

I will try latest nightly tonight just after flashing the stock ROM.

And yeah Did you find anything in the log?
[Sony Xperia M] Agu_Ra:
GApps need to be flashed before the first boot to installed system. Wipe data and then you'll be able to boot properly.
[Sony Xperia M] PecanCM:
err somehow forgot to commit and pack depending changes so handset was used instead of camcorder. new zip https://www.mediafire.com/?hra78mawu58x9rs tested back mic volume is now loud as front mic.
[Sony Xperia M] serti6610:
Thankyou sir, it worked like you said. Much thanks for your help!

Everything started normal but now i have not any Cellular Network?

How can i solve this?

---------- Post added at 06:04 PM ---------- Previous post was at 06:02 PM ----------

I did like you explain. Everythinf went very well. But now i have no Cellular Network conmection. Before flashing the gapps it did work tho. Can you help me :) ?
[Sony Xperia M] kh34d:
Did you have dual sim? If you, then must flash the pach for that.

You can found it in first post here.

Any questions please post here

http://xdaforums.com/showthread.php?t=3230983
[Sony Xperia M] serti6610:
No i do not have dual sim. Could it be because of the gapps ?

Repost:

Its working again after reflash cm13. Thankyou for all your help sir. :)
[Sony Xperia M] Bonoboo:
Now works, thanks.

Sound awesome in headset.

But channels are swapped.

I think back mic must be Left.

It was ok in old patch by thichthat

Also unrelated question.

What actually do updatemiscta utility?
[Sony Xperia M] Tu Dam:
Hello PecanCM, first I want to thank you for your CM roms :D

I wonder if u have any plan in making android N rom for sony m in the future, after u finished with CM 13 rom :p ?
[Sony Xperia M] ReyV:
Hi, does anyone know how to move app to sd card, i have used super su but it says that update binary failed and i can't use link2sd..
[Sony Xperia M] simmusss:
I have a problem ,when I try to call someone it was saying "this is not a valid number plz check the number " what can I I do ,if I change my sim to another device am not facing that problem,, plz somebody give ssolution,... I was on feb24 build c2004.
[Sony Xperia M] PecanCM:
that's fine and i don't know exactly but from strings it looks like one of the job is reading and setting some properties.
[Sony Xperia M] Bonoboo:
Tested noise canceling.

It definitely works.

When it on, background sounds very far, almost not noticeable.

And voice sounds louder than before, but not distorted.

If turn Fluence to "none" in same conditions noise mixed with voice and low. Tested twice.

Also tested in silly way.

Simultaneously scratched both mics. After some time they entered in "resonance" (you know, how NC works) and on other part of line was almost silence.

This of course not happen it scratch only main mic or when Fluence disabled.

But there is drawback: in silence my voice hear as a bit muffled.

Confirm this from playing recording too.

And sometimes it blocks voice completely.

Can be somehow enabled that native switch in CM? So people can turn off feature in case.

Interesting, that in stock Fluence disabled, so used some other way.

Probably, it more compatible with switch.
[Sony Xperia M] PecanCM:
https://www.mediafire.com/?jj6a4mieinjrrkc try it, i can't test before night and option should inside calling accounts.
[Sony Xperia M] Bonoboo:
– On: NC works

– Off: my voice very-very low

Attached logcat while switching at call.

Also huge thanks for your enthusiasm in improving ROM.

And we all here very lucky, that have so long support from you.
[Sony Xperia M] Godlydevils:
I wish installing newer roms comes easy

I flashed stock rom, enabled unknown source&usb debugging

then I downloaded latest nightly rom of 23rd date & it's recovery

flashed .img via fastboot from flashtool

loaded recovery, did factory reset, and clean cache

tried flashing rom, ended up with error 10: can't read that tiny fonts, don't remember either

but then wiped system aswell, was able to flash rom after that, but then can't flash opengapps, says flash using twrp

but the thing I want is to not to install bloatwares i.e. live wallpapers, and few more stuff like stock apps

so I already have to start my mobile after flashing rom, what's the use of removing them using opengapps aroma based zip which allows us to remove those stuff, and it won't be "optimized" after I boot into the system, and it won't create more cache and data from bloatware after configuring it with other apps aswell

and the prob with twrp is that it's not kernel, we need to have root access, we need to have terminal(adb can work but need root still),

and after the newer version 3.0.0.0 it freezes for first 1 minute, after that we can use it

I wish one day flashing method has decreasing steps rather than increasing,

there was a time when you mentioned to flash the .img from your rom in installation instruction, but then you mentioned to use twrp bcoz that does not detects memcard but you didn't changed that in instruction

and now I realized that when I use factory reset>full factory reset it says data wipe failed

failed to open persist/footer

but if I flash that twrp via fastboot which is not allowed, I can wipe data, cache and system, but then that's of no use because you know why!

plz an honest guide to installing this rom?
[Sony Xperia M] Bonoboo:
[MENTION=4343949]PecanCM[/MENTION]

With provided patch and even latest Sitar file from Patch-set 3 Google Now won't hear.

And chanells still swapped.
[Sony Xperia M] hemanthvarma:
[MENTION=4343949]PecanCM[/MENTION] can you please change default camera app to cyanogen camera , it is better than the default camera using now

directly we cant install it so is there any chance to use it on xperia m , in cm12.1 i think cyanogen camera worked but in cm13 it is showing device is not compatible .
[Sony Xperia M] PecanCM:
fixed https://www.mediafire.com/?qro8l6bdgywdit9

contact cyngn if you want cyanogen camera.
[Sony Xperia M] hemanthvarma:
Lol :)..!!!!

I just wanted to know whether we can install cyanogen camera or not ..!!

In Previous android versions i remember that i installed cyanogen camera but in MM cannot. I thought we can install like normally we do with sony official apps by porting them to cyanogen. Anyway thanks 4r the reply
[Sony Xperia M] Bonoboo:
Nice, now it works.

UPD 2: with old TeleService when Off bug still persist.

Small push-request if you still around PC.

In all ROM's Wi-Fi Direct broken.

It's impossible to "pair" two devices – nothing happens if accept invitation.

All works (pairing, sending files via apps) after adding line into WCNSS_qcom_cfg.ini

This parameter persist in stock.

Please, add this section into ini-file:
[Sony Xperia M] PecanCM:
hotword bug ? bug isn't caused by fluence changes.

isP2pDeviceAddrAdministrated is now enabled by default in wlan driver.
[Sony Xperia M] Bonoboo:
Sorry, I was unclear.

About bug I meant still no sound in-call when NC turned off.

Google Now works.

Also I flashed stock on spare phone and my voice hear very good even with noise canceling.

On CM it's muffled.

Maybe something can be tuned in UCM file?

Wow, even better.

Thanks!
[Sony Xperia M] PecanCM:
try this UCM http://pastebin.com/TZwLsGUa no muffled voice in my tests yet also i don't think FIH using fluence solution for NC/EC, if you still on stock rom can you capture audio logs durring calls/sound recording and camcorder ?
[Sony Xperia M] Bonoboo:
Yes, better, but not same clear sound as on stock.

Tested by calling CM <-> stock and swapping phones.

Maybe it's ok for CM, as without NC.

Imho on stock Fluence used too.

Why not if it's already supported by SoC.

It set to "none" in build.prop just like in your latest patch (3), maybe for same dynamically enabling via settings.

Also in my "scratch noise" test there is same specific sound glitches like was on CM.

Attached:
[Sony Xperia M] eboelens:
Hi I read this forum also carefully but without succes .

XMD c2005 in stock rom only 2nd simslot reconized . In CM13 the same .

I tried stock rom for 1 sim but first simslot not recognized .

I replaced the simboard (myself) by a new one but no succes . First simslot not recognized ! Only the 2nd

Switching the sims no succes.

I love CM13 and the work and activity on tis forum . I'm really curious whats the problem with my 1st simslot .

I hope someone have some time for suggestions

regards

erik
[Sony Xperia M] PecanCM:
you captured logs after starting so there was nothing useful anyways installed stock rom and as expected FIH using their own audio devices. with NC on speaker mainmic is used https://github.com/CyanogenMod/andr...ystem/etc/snd_soc_msm/snd_soc_msm_Sitar#L3693 and with off https://github.com/CyanogenMod/andr...ystem/etc/snd_soc_msm/snd_soc_msm_Sitar#L3649 , on cm we use https://github.com/CyanogenMod/andr...ystem/etc/snd_soc_msm/snd_soc_msm_Sitar#L3754 . surprisingly even for camcorder mainmic is used instead of dual mic, i thought back mic is used in stock for recording. new UCM http://pastebin.com/UYwBgL9e mic volume is now bit more loud.
[Sony Xperia M] cboyer1:
i have damaged 2 micro sd cards now? and cant seem to get them working again, anyone else done this?
[Sony Xperia M] kh34d:
It's damaged from what?

Can you please continue here,

http://xdaforums.com/showthread.php?t=3230983
[Sony Xperia M] cboyer1:
ok cheers sorted pal
[Sony Xperia M] Bonoboo:
Umm, before answering call / starting dictaphone / video record.

Wow, much better, like on stock.

Tested carefully, again compared by swapping 2 phones: CM and stock.

No complains about my voice too (no muffling).

NC now less "agressive", but for sure still effective.

But with last UCM mic won't work on speakerphone.

Also somtimes after reboot mic in-call disables at all, state of switch no matter. Helps second reboot.

BTW ucm config for me looks like magic, so complicated.

Great, that you understand it and therefore NC works almost correctly.
[Sony Xperia M] PecanCM:
speaker mic fixed https://www.mediafire.com/?bvlockss90x3ycs and can't reproduce mic disables after reboot.
[Sony Xperia M] serti6610:
my 3g cellular network was not working after flashing the cm13 rom. only 2g was working so i found a modem zip file and flashed it on. with hope that it would work. now my phone doea not read the simcard at all. flashed the wrong modem file i guess. can someone provide me please with the modem file for the cm13? i wiped everything and reflashed cm13 but it still doesnt work.:( please help. im going on a trip tomorrow and i need the phone!
[Sony Xperia M] rizki25206:
Sd Card Formatted As internal storage

hello ,

I have a problem, my Sd Card Formatted As internal storage, when i downloaded the cm update there was save to folder cmupdater but when update running there was failed because the folder not found, any one can help:confused:

Thank you.
[Sony Xperia M] Antrikos48:
Got a random reboot with build 2016-03-19.

Last kmsg http://pastebin.com/NRz9D0BU
[Sony Xperia M] Akilanf27:
ja tentei de todas as formas mas meu xperia m c2004 nao pega o chip de jeito nenhum ate tento instala um arquivo que diz que vai resolver mas da erro.. alguem pode me ajudar? urgente..
[Sony Xperia M] Zakaria.R:
Pode explicar Como tive esse problema ? Quando comeÃ§ou ? (I hope you understood me, my Portuguese is rusty as f..)

Se ainda tivesse o problema deve preguntar aki http://xdaforums.com/xperia-m/general/marshmallow-ot-discussion-thread-t3230983/

Seria melhor em ingles
[Sony Xperia M] Bonoboo:
[MENTION=4343949]PecanCM[/MENTION] and 2 All

About broken call recording "bug"

Change in Android now deny to capture in-call sound via API. So it's not CM bug.

Therefore now works only apps with root, e.g. CallRecoder

ACR and bunch of other apps now useless.

But CM have native manual recorder (commit)

Please, can you enable it like here: 1, 2 ?

Audio source seems "4" too.

Note for users: this feature may not work in your country due restrictions, it checks network country.

But there is Xposed-module for unlock.

It's other, old "Enable CM Call Recording" not compatible with CM13.
[Sony Xperia M] kh34d:
[MENTION=4343949]PecanCM[/MENTION] is there's any progress in "Doze feature"?

Thanx for your hard work.
[Sony Xperia M] kh34d:
Please ask in English language here, not Portugal.

http://xdaforums.com/showthread.php?t=3230983
[Sony Xperia M] Zakaria.R:
You are right my friend but I saw he had a problem and wanted to help, he clearly doesn't know English, so if one talks many languages why not make use of them ?
[Sony Xperia M] kh34d:
That is nice [emoji106] but keep it in discussing thread not in developing thread.

Also sorry I quoted your post I meant his post not you.

Any way good luck with communicate with him.
[Sony Xperia M] Zakaria.R:
I modified my reply to him to redirect him to the the discussion thread and asked to speak English if he could
[Sony Xperia M] PecanCM:
i have merged fluence and camcorder back mic change. everything will work but in case if something broken that i forgot to test then don't report without logs and steps to reproduce bug. if you are on linux it will be better if you use adb logcat | grep 'alsa\|ACDB\|audio' for logs.
[Sony Xperia M] indraa23:
I have a little problem

I've tried so many launcher but when i try xperia launcher, i apply all features including lockscreen

But now i have already uninstall the launcher and the lockscreen isn't change

Now the standard theme for cyanogen does not have an option for change the lockscreen

Maybe you guys can help ?

And another case is i got a bug with lockscreen and alarm

Whenever i'm trying to turn off the alarm, the system says sorrt the clock is not responding or something like that (i forgot)

Thank you guys :)
[Sony Xperia M] kh34d:
flash last nightlies
[Sony Xperia M] Bonoboo:
Thank you.

Noticed, that you disabled hostNSOffload for WLAN.

I slowly testing "wi-fi drain problem" with different config combinations nearly 2 months.

And found, that it really helps increase battery life up to 2x times.

For 24 hours in idle with Wi-Fi connected on clean ROM: 14% vs 27%

For example only 2G data without Wi-Fi: 7%

But unfortunately this causing no internet after some time in deep-sleep (no switching to mobile data).

Push-messages arrives only after enabling screen or after pinging.

With "1" appears strange mmc1_detect kernel wakelock on top and a lot of event-*** (PID = system_server)

This causing drain only when phone connected to router.

But even on stock where option set to "0" there is same mmc1_detect and same drain: 25% per 1 day.

Possible, "it's ok because stock", but in fact not really.

No useful info about this wakelock over internet.

Happens with any sdcard and gone if remove it.

Do you have any ideas?
[Sony Xperia M] Scorpion_Ibm:
I was on Beta 6 and Gapps worked fine. when I upgraded to 28-3 Nightly (clean install: wiped system, data, cache and internal storage) and installed Gapps play services keeps crashing and playstore doesn't start. Also google contacts sync doesn't get any permissions and the sync contacts option is not found int account settings

Edit: Gapps version: OpenGapps 28-3 (tried all versions pico, micro and AROMA package)
[Sony Xperia M] kh34d:
Try this Gapps,

http://xdaforums.com/showthread.php?t=2792842
[Sony Xperia M] Scorpion_Ibm:
I wiped and made a clean flash of CM13 (flashed dual sim patch if that matters) without GApps until the new package is downloaded. Will try and report here.
[Sony Xperia M] kh34d:
It's better to flash rom and Gapps together, in one single go.
[Sony Xperia M] Scorpion_Ibm:
Ok will try again. As it gives me the same problems

will try to wipe and flash them again.

Edit: I used the mini package from SlimGapps
[Sony Xperia M] PecanCM:
dam didn't know about this issue. hmm so it works fine on stock rom, qcom disabled nsoffload too. keeping nsoffload disabled for sometime unless no solution is found.
[Sony Xperia M] Bonoboo:
No: it's same big drain on stock with 0 and CM with 1.

Somehow results "swapped", seems due different driver version.

If left 0 users will for sure complain about constantly not arriving notifications in background (it's true).

Also about different problem.

During tests can confirm fix for full disconnecting wi-fi.

This also persist in all rom's - sometimes when turn on screen you can notice that phone reconnects to router (shows wi-fi icon).

I guess, all faced this.

And in fact phone switches to mobile data in such cases.

To fix required only un-comment option gApLinkMonitorPeriod and set it to "60"

Just like in stock.
[Sony Xperia M] kh34d:
It is not matter what kind of package you flash.

but please if you have any questions post it here.

http://xdaforums.com/showthread.php?t=3230983

Let's make this thread clean for developers [emoji6]
[Sony Xperia M] Scorpion_Ibm:
I wrote it here because i thought it's a problem with the ROM. Looks like the 28-3 nightly was the culprit, the 29-3 Nightly works just fine
[Sony Xperia M] PecanCM:
try with this ini file https://www.mediafire.com/?qanb6pgyznunggb
[Sony Xperia M] Surpriser:
Hi! special thanks to PecanCM for this perfect Rom. my wifi stoped working after latest update(20160329). what can i do to get it work?

my previous version was about 5 march.

edit: i downgraded it to 23 march and wifi started working again.

thanks
[Sony Xperia M] Antrikos48:
Have you tried changing

isAndroidPsEn

to 1?
[Sony Xperia M] Bonoboo:
Quick test for 35 minutes, repeated twice.

Kernel wakelocks mmc1_detect and events:

- Default file – 43 s

- Modified file – 5 s (so very slowly growing in time)

For 24 hours, real tests:

- Default file – 32 min

- Modified file – 1:40 min

Wow! So it really helps decrease battery drain.

And tested deep-sleep connection outage: push-messages arriving in time, ping also work.

Previously I experimented only with options in cm / stock files, but seems your two brand new helped here.

But bug with full disconnecting from router persist.

So please add line gApLinkMonitorPeriod = 60 too.

Only it with default file helped phone to stay permanently connected to router.

GCM, pinging, router UI confirms this. And of course no reconnecting at screen on.

Yes, in different combinations with other options.

Anyway, PecanCM found fix.
[Sony Xperia M] PecanCM:
nice, new change pushed to gerrit http://review.cyanogenmod.org/#/c/138698/ .
[Sony Xperia M] Bonoboo:
Your knowledge really awesome.

Huge thanks for this fix, will be helpful for battery.

That old bug still persist.

Steps:

1. Turn off NC in Phone settings

2. Call someone

3. Person will be hear you very-very far

Logcat attached, grep'ed it as you asked.

Captured ringing, answer, talking and hang up.

Good, that NC enabled by default, so bug not affect much people.
[Sony Xperia M] PecanCM:
ah it's using "line" any changes there going effect speaker mic as line is used for speaker mic.
[Sony Xperia M] Antrikos48:
Can confirm; even if this is a CM bug most likely.