yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] Rajesh_m:
Glad to hear you are making progress! I really wish an Alpha/Beta build would be ready soon for us to test ;)
[Sony Xperia M] kh34d:
nice to hear from you Ron:good:

good luck with all bugs
[Sony Xperia M] simmusss:
Dual sim fix patch was not working for me

Only works with 1 sim, other Sims npt working for data still showing no.sim card

I was flashed that zip and, followed the terminal step also but no use plz anybody help me requesting to all guyz plz respond my problm

Sent from my C2004
[Sony Xperia M] rahulbarai:
The process of evolution has been initiated, its quite heartening to see that you are informing us about the progress.. And big thanks for kernel source upload.
[Sony Xperia M] mbc07:
Did you read the OP? Apparently not, otherwise you would be directed to this post where it's clearly said that mobile data never worked in second SIM, only in the first...
[Sony Xperia M] abhatia1435:
[MENTION=4343949]PecanCM[/MENTION] LED behaves abnormally while charging(confirmed by many). It blinks after an interval of 30-35 seconds while charging. It is way too irritating. When will it be fixed?

Reported from Xperia M running 10-10-2015 nightly
[Sony Xperia M] Bonoboo:
When PecanCM "polish" his commit

BTW here bugreport with all details.
[Sony Xperia M] abhatia1435:
Can this, this and this relate our issue? :p :D
[Sony Xperia M] Antrikos48:
These were merged yesterday, but the last known good build was 2 weeks ago. Therefore no, they aren't.
[Sony Xperia M] icoolguy1995:
I am having a strange issue, after using phone for sometime proximity sensor kick on and doesn't turn off, now, when this happens I can't switch off(or restart) phone using power button, power button only turn off the the screen when I long press it. Is there anybody facing this issue?
[Sony Xperia M] abhatia1435:
Yes, but for me it only happens sometimes(rarely). Btw Do you use Xposed? It might be the reason(not sure tho).
[Sony Xperia M] Antrikos48:
+1 on the power button bug. A restart fixed it though.
[Sony Xperia M] icoolguy1995:
No. Only pure CM.

Yes reboot fix this. How did you restart? I use terminal emulator when this happens.
[Sony Xperia M] Antrikos48:
I had downloaded a restart app off the Play Store - didn't think of the reboot command...
[Sony Xperia M] AlexiusItaly:
For me happen only 3-4 times from cm 12.0 to now and after remove battery the problem disappear
[Sony Xperia M] Wolfgician:
turning off prevent accidental wake-up might reduce the problem i guess, the problem is persist since cm11
[Sony Xperia M] simmusss:
I konw mobile data on with 1st sim

But how to use multiple Sims for data with sim 1

Am asking about this sir

When I changed the sim its show no serive or no sim or emergency only

How to fix thisss
[Sony Xperia M] hemanthvarma:
Switch off your phone . Remove the battery and change the sims

next delete old apns .Create new apns for sim1 thats it

use data fix patch first , flash that one first
[Sony Xperia M] kh34d:
Cm13 nightlies changelog start [emoji41] , but not for specific device until now.

http://www.cmxlog.com/13/#
[Sony Xperia M] meohen1989:
Does M support app data to sd card?

Thanks
[Sony Xperia M] simmusss:
I cant use the titanium bakup

Its said root ur device 1st

Am alredy rooted using all other apps like exposed,etc but TA was showing this why???
[Sony Xperia M] Nicklas Van Dam:
are you sure your SU is apply it permission to TA app?:)
[Sony Xperia M] AlexiusItaly:
A key feature of Android Marshmallow 6.0 is the Adoptable Storage Device.*Android Pit*explained the external microSD card or the USB drive will be formatted like to an internal storage that can seamlessly move your personal data from your internal memory to an SD card or USB drive. *
[Sony Xperia M] Wolfgician:
Clear titanium backup data, reboot
[Sony Xperia M] abhatia1435:
Guys Is there any temporary fix for that LED issue? The fix is not getting merged and It is very irritating :(
[Sony Xperia M] Antrikos48:
Disable the charging LED?
[Sony Xperia M] abhatia1435:
Oh Man! :3 I didn't mean that, I meant something like a small patch to fix that.
[Sony Xperia M] Nicklas Van Dam:
may be he wait for something now ;), don't worry he's good person . try to keep conversation continue :laugh:
[Sony Xperia M] abhatia1435:
Anyway, You were right :) Disabling the LED in the Settings is only solution for now :(
[Sony Xperia M] Nicklas Van Dam:
yes, i think. but that's bad too if you disabled it :(. we have LED and we aren't use it. but LED still give error when charging 0-15% , but i think now that's better than before update. Because blink LED is more slow not broke like before ;)
[Sony Xperia M] Snowblond:
Guys, do you also have event0-xxx kernel wakelocks? I don't know how to get rid of it. :(
[Sony Xperia M] XtremeWave:
[MENTION=4936905]Snowblond[/MENTION] not me atleast. sometimes after reflashing the rom i get system ui crashed problems
[Sony Xperia M] simmusss:
Plzz somebody help me cant use mobile data with milti Sims after flashing that dual sim fiz patch, only bsnl sim was conecting when I change other Sims ti slot 1 it was shoing no sim card what should I doo Plzz help me crying
[Sony Xperia M] Wolfgician:
Are you using custom kernel...?
[Sony Xperia M] Snowblond:
No, I don't. I only flashed CM 12.1. Maybe I should use a custom kernel? But which one?

I searched for a solution but didn't found one. The problem even occurs when the phone is in flight mode. So it can't be wi-fi related.

There is also a wakelock called "mmc1_detect" even though I DON'T use an external sd card.
[Sony Xperia M] Wolfgician:
I read from several resource that problems coming from google,have you try disable google play services...?

Which gapps do you use...?
[Sony Xperia M] Snowblond:
I use " Delta Gapps " with modular addons (5.1.1 base, Chrome addon, PDF viewer addon). Haven't tried to disable it yet. How can I do it? :o
[Sony Xperia M] Nicklas Van Dam:
It can be gapps problem, try to change gapps to TK gapps, you can use pico gapps too if you want it and other add on module. :) that gapps is low of risk with any problem
[Sony Xperia M] Wolfgician:
To disable google play services, go to settings>apps>All , search play services...

I'm using PA Gapps, So far so good...
[Sony Xperia M] Nicklas Van Dam:
I also use the PA GAPPS first, but I do not use it anymore since PA GAPPS having trouble with a script that cause I had to do a wipe data in each update to install on a nightly cm. I moved to TK GAPPS to avoid such problems until now. but now I think the issue is resolved :). PA GAPPS also best too.
[Sony Xperia M] Wolfgician:
since the beginning i'm using PA Gapps and its fits well for my daily uses :fingers-crossed: :highfive:
[Sony Xperia M] abhatia1435:
[MENTION=5493341]Antrikos48[/MENTION] [MENTION=5608002]Nicklas Van Dam[/MENTION] I just found that the LED works fine with NUI kernel.
[Sony Xperia M] Nicklas Van Dam:
NUI Kernel? that OC Kernel :confused:? yeah i know that kernel but that have OC feature and you sure that kernel is free from mpdecision problem? :confused:

That's best custom kernel i've ever try. but i'm still dizzy about that problem
[Sony Xperia M] abhatia1435:
What mpdecision problem? Can you tell more clearly?
[Sony Xperia M] Shujath:
Thank you so much for your efforts, Can I use your ROM for porting Z5 apps?
[Sony Xperia M] abhatia1435:
Do you mean a CM12.1 ROM with Z5 apps?
[Sony Xperia M] Nicklas Van Dam:
You can't underclock one of core your cpu to low frequency, if you set for first core with limit 1Ghz and other core is 1Ghz too. That's only apply once after a few second core 2 will be running out from limit and can be run to maximal core performance if overclocked. That's I mean mpdecision, are you get it what I mean?
[Sony Xperia M] kh34d:
[MENTION=5037002]Bonoboo[/MENTION] can we get this feature in our rom ;)? or its for android 6 only ?
[Sony Xperia M] Antrikos48:
Android M only. Fyi this commit just enables doze, it doesn't implement it.
[Sony Xperia M] Nicklas Van Dam:
doze powersaving mode :D ? i think that mainly feature from android 6.0 .
[Sony Xperia M] kh34d:
so no way to get something like that for us?:crying:
[Sony Xperia M] Antrikos48:
Not until CM13 (same for everyone else)
[Sony Xperia M] Nicklas Van Dam:
maybe we will get it on CM13. if that patch is already built on stock cm feature :)
[Sony Xperia M] Agu_Ra:
But OC is not the main or the only feature in that kernel, you can even completely disable it in the app, or just use lower overclocking, and you shouldn't care 'bout mpdecision, 'cause you can set any of 3 OC levels (1.2 GHz, 1.4 GHz or 1.75 GHz) and it will apply for both cores.
[Sony Xperia M] Snowblond:
Alright, I tried wiping system, reflashed cm 12.1 and TK gapps this time and I still see those eventx-xxx kernel wakelocks. -.- Also, I uninstalled every user app (WhatsApp, Facebook, etc.) but it didn't help at all.

Would someone mind creating a backup or flashable zip of his/her system? Without user data of course. Maybe that could help me? I don't know why I have those wakelocks and others don't.. :(
[Sony Xperia M] AlexiusItaly:
Try to wipe system (with cache, dalvik and data) and flash only ROM without gapps and see what happens :)

A question: what recovery have you got? TWRP, Philz Touch, CWM... :what:
[Sony Xperia M] abhatia1435:
*deleted*
[Sony Xperia M] kh34d:
Yes I know [emoji5]
[Sony Xperia M] suryaz124:
I don't know why but iam facing this problem guys.the status bar,for every reboot it reverts back to stock status bar as I use themed status bar.I reverted back to stock ROM but its back in cm.help me guys:(:(:(
[Sony Xperia M] kh34d:
Did you mean every reboot or every update? If it happened every update, my be you have add-on which keeps your stock status bar install back .

I think that and maybe I'm wrong
[Sony Xperia M] suryaz124:
No,for reboot bro,I don't know what to do.I changed themes but it still exists:(:(:(
[Sony Xperia M] kh34d:
I use Xperia pop z4, Try it
[Sony Xperia M] Nicklas Van Dam:
okay thanks for your suggest sir :o . i will try to use that kernel now, cause i know that kernel have great feature inside that :D
[Sony Xperia M] Bonoboo:
There is basic requirement for Doze mode and therefore unknow availability for our device:

Maybe PecanCM know answer.
[Sony Xperia M] Nicklas Van Dam:
yes, you can wipe system partition only without wipe data partition. try to use TWRP recovery for advanced option ;) .

and have you try wakelock detector app? try to use that app and you will know what app that make your device can't sleep :)
[Sony Xperia M] Antrikos48:
I'm aware. On the commit that was linked, someone in the comments said:

So probably [MENTION=4343949]PecanCM[/MENTION] can let us know ;)

EDIT: would have checked myself, but i don't know where our lib is lol
[Sony Xperia M] AlexiusItaly:
I don't know if is a cm features or a YouTube bug but i'm able to play YouTube video in background and with screen off for free -easy peasy lemon squeezy- :cool:
[Sony Xperia M] Wolfgician:
you move your themes to sdcard or you using Link2sd ...?

its happens to me once i move themes to sd card...
[Sony Xperia M] suryaz124:
No don't use link2sd and my xm has no sdcard,so I use internal storage only cuz I had another phone:o
[Sony Xperia M] Nicklas Van Dam:
And know I think only two suggestions that I have. Your system ui problem or your theme is incompatible. Hmmm but are you have heavy process when you start up your phone? If you have heavy process that can make your system ui revert to stock theme and wallpaper in every boot to make your system is boot properly?
[Sony Xperia M] suryaz124:
May be system ui problem cuz I use popz4 as my theme and I used it before its good.talking about heavy process at boot,I maintain my phone in a way that it has about 450 mb free ram.I use tk gapps which is about 130 mb only. Bro I use less apps how is possible:confused:.but I got every time this fc,when it boots up when I press the recent apps status bar it says system ui had unfortunately stopped. This fc is coming for me since cm12.1 bro but I just ignored it:(
[Sony Xperia M] Nicklas Van Dam:
Have you try to use another theme? Try to use it and test it. If still error maybe that error from your system ui . if not that's from your popz4 theme
[Sony Xperia M] suryaz124:
Yeah I already tried lovins z5 theme and it was the same situation how to fix it bro:(
[Sony Xperia M] Nicklas Van Dam:
I don't know too, but have anyone in here get the same problem with you? If anyone have maybe we can report this bug to jira . but if only you have this problem. Maybe you only need until cm update to fix this problem. It's almost same like my problem in C1905, I've problem with my baseband version is unknown
[Sony Xperia M] kh34d:
[MENTION=5037002]Bonoboo[/MENTION] i think some thing happen here about doze
[Sony Xperia M] Nicklas Van Dam:
is that update sensor for doze? can we try ambient display again in our device? :confused:

but it seems still not added in changelog for our device
[Sony Xperia M] kh34d:
yes not merged yet.

also here but there some Merge Conflict:confused:
[Sony Xperia M] Nicklas Van Dam:
so that's for huashan (SP), are you think that can be affected to nicki too?
[Sony Xperia M] kh34d:
really i don't know , i found this	Commits and want to share with all of you:o

I'm not an expert in these things:confused:
[Sony Xperia M] Nicklas Van Dam:
same, i don't know too about this and i'm not expert too about this things.

but i hope this won't give any bad effect to our device :)
[Sony Xperia M] babyyeobo14:
Can someone upload google keyboard of 5.1.1 i just need it badly thank you :)
[Sony Xperia M] Nicklas Van Dam:
here you are https://www.androidfilehost.com/?fid=24052804347769354 :).

i'm not upload this file, this is from tk gapps add-on files. you can use this and this is very safe and easy to use:D
[Sony Xperia M] babyyeobo14:
Thanks man! Very quick response :)
[Sony Xperia M] Nicklas Van Dam:
you're welcome my friend :D.
[Sony Xperia M] PecanCM:
after long time got some free time today and now wifi/bluetooth working in marshmallow

data still broken (seems to be problem with qcom netmgrd) and accelerometer stops working after some time of use (unnoticed in previous test) and last but not least need mkbooting support so booting into recovery is possible. right now only data and recovery stopping from releasing marshmallow alpha.

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

btw led blink fix by adrian got merged http://review.cyanogenmod.org/#/c/114006/ now open source lights hal not needed for fixing led bug. (thought it's still good to have open source lights hal)
[Sony Xperia M] kh34d:
Good work Ron, all of us appreciate your efforts [emoji122] [emoji122]
[Sony Xperia M] Agu_Ra:
Doesn't it work on kernel/ramdisk level before Android system is booting? How is this related to Marshmallow support? Just curious.
[Sony Xperia M] Nicklas Van Dam:
Yey !!! Marshmallow :D Thanks [MENTION=4343949]PecanCM[/MENTION]
[Sony Xperia M] PecanCM:
I mean port custom bootimg mk to aosp marshmallow source from cm. aosp don't support this.
[Sony Xperia M] Agu_Ra:
Now got it. Thanks for clarifying.
[Sony Xperia M] Mysteryagr:
What about using ril blobs from mi2

Does it work on marshmallow? And if yes.. Will data connection work?
[Sony Xperia M] Agu_Ra:
Don't hurry so much, there's no even Alpha bild available. It is too early to ask about dual support.
[Sony Xperia M] Bonoboo:
Yes, can confirm: in last 20.10 build no more lags / wakelock when battery low (due red LED) and no more blinking at charging.

Also there merged commit by @thichthat / [MENTION=5917809]cucumber09[/MENTION] for adding stereo recording in apps (using 2nd back microphone).

It still requires a bit volume tuning for normal voice in-call.

Seems I found better value, cucumber09 pusged commit and it merged.

So from next 21.10 build volume must be fine.

Again thanks for your continuous efforts!
[Sony Xperia M] abhatia1435:
[MENTION=4343949]PecanCM[/MENTION] Too much good news in one post. Thanks so much man!
[Sony Xperia M] Mysteryagr:
No, Actually I'm waiting :D

My question may imply an enquiry about dual sims, but what I meant is that we are using old ril blobs on cm builds, so what if we tried with newer ril blobs, maybe less issues? Maybe data connection works?

Since those blobs work for both xperia M single and dual sims.
[Sony Xperia M] PecanCM:
old one and mi2 ril both crashing on startup so as temporary solution i'm using xz lp5.1 ril (it doesn't work out of box but atleast no crash).

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

BTW data works now in marshmallow. so aosp marshmallow alpha release not long now.
[Sony Xperia M] babyyeobo14:
wow! thanks [MENTION=4343949]PecanCM[/MENTION] nice work :)
[Sony Xperia M] Rajesh_m:
Wow! Please release it! Excited to try it out.
[Sony Xperia M] Agu_Ra:
As far as I understand, it doesn't have recovery in boot image (at least, built natively in tree, but to repack it manually is easy enough), as it needs custombootimg.mk file for AOSP 6.0, as we have non-standart recovery image handling. So let's wait for Ron to write new custombootimg.mk and to test things deeper.
[Sony Xperia M] abhatia1435:
[MENTION=4343949]PecanCM[/MENTION] I see everyone(Android One, Nexus, Z3 Users) commenting about good(or awesome) battery life on Marshmallow as compared to lollipop. Do you feel the same on XM? :p And what about Doze mode?
[Sony Xperia M] PecanCM:
Alright guys marshmallow alpha up http://xdaforums.com/xperia-m/orig-development/rom-aosp-marshmallow-6-0-t3230733 move all M Q there now.

battery life is ok for me.
[Sony Xperia M] kjiratssiekoedel:
c2005

My battery drained yesterday and after a restart some apps dissappeared from the home screen. They are still working on the phone though.

But when I want to put them back on the home screen again from my apps list, it crashes saying 'trebuchet has stopped'.

After a new restart another app has dissapeard from the home screen... weird.

I use apps 2 sd. Can it be because of that?
[Sony Xperia M] Nicklas Van Dam:
app2sd or link2sd? yes, that can be effect from app2sd or link2sd. when you reboot your phone, your phone need time to load all app in extsdcard. so that's need time and you must wait until your phone soft reboot by itself and you can safe to use it ;)
[Sony Xperia M] Rikodu:
Hello,

I am sorry but i tried to find a solution for my problem, yet I couldn't find it! I just flashed cm 12.1 but i don't have any network! The sim card is not detected. And if I pull the sim card and put it back it asks me for the pin code but then nothing... no network! Can you help me please? Thanks in advance!
[Sony Xperia M] simmusss:
Respective developers

Sir Iam not able to conect to data after sim shufflings,,,,,I konw data only works with slot 1,,,but mine 2 Sims 1-bsnl 2-airtel

But after data bug fix patch flashd am only able to conect to data with bsnl only,, with the airtel sim data tile was showing emergency only,, sir how to rectify my problm, plz giv me solution sir,,,,,,kindly requesting u sir, plz sir I hope u understand,,ThanQ sir,

Really crying ? ???
[Sony Xperia M] Snowblond:
So, my device is being kept awake by event0-xxx, event2-xxx - kernel wakelocks (caused by system server, not any other app). I tried everything. Reflashing everything, tried other cm12.1 based custom roms and even uninstalled gapps. Those wakelocks were persistent. However, when I tried an aosp 5.1.1 rom, cm11 and cm12 those wakelocks are completely gone. So I'm wondering if there are certain changes from cm12 to cm12.1 which trigger those event kernel wakelocks.

Of course I'd like to install cm12.1 again, but how can I get rid of those nasty wakelocks? Any help would be appreciated.
[Sony Xperia M] Antrikos48:
Do you experience wakelocks with WiFi off?

View attachment 3522665
[Sony Xperia M] Snowblond:
Unfortunately, yes. The only wakelock which disappears when I turn off WiFi is "mmc1_detect". But those event0-xxx wakelocks persist.
[Sony Xperia M] D'pank:
hey need help

google play service unfortunately stopped

errors.............
[Sony Xperia M] AlexiusItaly:
Try to unistall the update and then update it with play store
[Sony Xperia M] xa.fr:
same here.

It is not possible to uninstall playservices...

Argh. This was the reason I switched from CM11 to CM12.1 because the error never diappeared.

I have Gapps from opengapps installed.
[Sony Xperia M] AlexiusItaly:
Some issues here
[Sony Xperia M] kh34d:
fix touchscreen problem for TWRP is merged here
[Sony Xperia M] Bonoboo:
2 All

4.11 build includes fixes for few vulnerabilities.

Same monthly, as now Google rolling for Nexus'es.
[Sony Xperia M] kh34d:
Thank you for your information
[Sony Xperia M] Wolfgician:
I'm having incall and outcall issue, the sound is cutting ...
[Sony Xperia M] Mysteryagr:
Flashed the build yesterday and unable to install facebook apk, anyone facing the same problem?

Edit: more info

Playstore gives error -504, titanium backup cannot continue restore, manual installation says app doesn't install

I got more than 1 GB free space
[Sony Xperia M] Bonoboo:
Take logcat, there will be cause.
[Sony Xperia M] AlexiusItaly:
Sometimes, when i half press the camera buttons, the screen turn off.. Anyone knows the reason? :what:
[Sony Xperia M] mbc07:
There's an option in Settings => Buttons where you can enable the camera button to keep the screen on while the button is hold half pressed, that may be the cause...
[Sony Xperia M] AlexiusItaly:
Yes, i know but it keep screen on, why, sometimes, keep screen off when i use the phone if i half press it?
[Sony Xperia M] hemanthvarma:
here how to use patch to fix data bug
[Sony Xperia M] Bonoboo:
Link to data fix already in post, in bugs section.
[Sony Xperia M] simmusss:
I cant connect data with changing Sims

Tried all patches
[Sony Xperia M] PecanCM:
Final dual sim fix

dual sim fully working now. no more data bug, just flash following patch and enjoy full working dual sim.

link: http://www.mediafire.com/?ks1h5i9i0sn5hl4

thanks to [MENTION=4796617]Mysteryagr[/MENTION] for testing (see his post)
[Sony Xperia M] kh34d:
plz can you more clear ?

i didn't understand, did you mean i have to flash this because i will need this with cm13?:confused:

or just last patch for cm 12.1?

by the way my current patch working good with me
[Sony Xperia M] PecanCM:
it's last dual sim patch for cm12.1, blobs inside zip is similar to current old blobs. this might work better for dual sim.
[Sony Xperia M] kh34d:
[MENTION=4343949]PecanCM[/MENTION] ok thanks a lot .

what about cm13 is it easy for you to build like AOSP or it is hard?

especially cm 13 not start as general and not stable like you said before?
[Sony Xperia M] Mysteryagr:
You got them from which device?

Just curious to know :D
[Sony Xperia M] Mysteryagr:
New dual patch (Last fix)

[MENTION=4343949]PecanCM[/MENTION]

Ron you're awesome, you're powerful! xD

-

Guys, dual sims are now FULLY WORKING using the new patch.

Small imp. notice: you have to flash it on a clean install otherwise you'll get a notification saying that sims are changed, and data connection doesn't work when you change sims. (don't dirty flash it over an old dual sims patch)

Now totally correct networks providers names appear on the lock screen, previously second sim name was followed by first sim's provider name. (ex: in my providers name: Mobinil | etisalat - egy mobinil).

Toolkit for first and second sims appeared on the app's drawer / home launcher and they're working, previously toolkit appeared for first sim only.

For APN, now sims have separated APNs; you can select access point name for every single sim alone, previously if you selected apn for first sim, it is selected for the second one too.

And you can select second sim for data connection, previously if you selected second sim for data connection it goes back on first sim as soon as you leave.

It is totally bugless.