yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] Bonoboo:
Here final Dual patch that PecanCM released on previous page but with added auto-restore

Also, some summarize how to install:

1. Wipe in recovery /system and /data

2. Flash ROM, gapps and mods (e.g. SuperSU)

3. Flash attached patch. It will persist at ROM update

[MENTION=4343949]PecanCM[/MENTION]

Awesome!

Do you plan integrate it into ROM as was on CM11?

On Single network works with patch.

Also does CM12.1 will be abandoned without fixing last device bugs?

And small note about "only 5 GHz Wi-Fi" bug: AOSP 6.0 can connect to such AP's, maybe this can point to cause.
[Sony Xperia M] SunitTalwar:
a small question??

with the new ril patch do we still have to wait for signal for 3-4 mins or phone gets signal on both sim right on boot??

btw its really a great great news for us dual sim users who have to compromise with single sim working to taste knew android version :good:
[Sony Xperia M] Mysteryagr:
Nope,

wiping system only doesn't work for me

because of the following: when you shuffle or change sims after the rom is booted 1st time, you get "No sim card" issue which appears in SystemUI tile which is a sign that data connection won't work, although both sims are fully working.

The same happen exactly when you flash the new patch while you were using one of the previous old patches; you get a notification saying that sim cards has been changed resulting in "no sims card" tile appears and you cannot connect to data. (screen shot attached).

The only way is to

wipe data

and do a clean isntall.

I didn't notice any delay :good:
[Sony Xperia M] mbc07:
The new patch is awesome! Thank you guys! Now, about mobile data disappearing after shuffling SIM cards, I think I found what causes the issue.

When I shuffled SIM Cards I noticed that a popup to choose data SIM was shown and after that mobile data didn't work (not even if I shuffled the SIMs back), the System UI tile showed "Emergency Calls only" and when going to Data Monitor in Android Settings, only WiFi data statistics were available (although calls/SMSes still worked fine in both SIMs). I tried the fix for disappearing mobile data bug but it remained the same, so I tried messing with Settings Provider database (/data/data/com.android.provider.settings/databases) thinking of something probably set wrong here. I noticed that after deleting the Settings Provider database manually and rebooting the phone fixed mobile data, it started working again (and data monitor too) but as a side effect my home and recents button did nothing when pressed and notifications area always showed "No notifications", and I couldn't access quick settings tiles at all.

Said that, I suggest we investigate what SIM info is stored wrong in Settings Provider (or Telephony Provider) databases, deleting the relevant bits will fix that, I think there's something that goes wrong in those databases when we shuffle the SIM Cards (just don't completely delete Settings Provider database like I did, although it'll be regenerated, something will be missing and you'll get the side effects I mentioned, I could only fix them by doing a Factory Reset)...
[Sony Xperia M] Mysteryagr:
Pretty good investigation :good:

And yes, factory reset/wiping data is a short simple solution for now, until someone finds the cause.

Thank you.
[Sony Xperia M] mbc07:
What I mean is that deleting Settings Provider database fixes the mobile data bug when shuffling cards without needing to do a factory reset, but it also makes the home and recent buttons stop working, notification area always showing "no notifications" and quick settings tiles inaccessible. When those bugs occurs, only a factory reset fixes them. So, if we find the relevant bits and edit/remove only the wrong SIM information from Settings/Telephony Provider databases it means we can squash the mobile data bug when shuffling cards without needing to do a factory reset. :fingers-crossed:
[Sony Xperia M] Mysteryagr:
Trying to connect to data through second sim, but it won't connect.

It goes back to 1st sim selected as preferred sim for data after some time.

CM bug?
[Sony Xperia M] Bonoboo:
Seems RIL bug.

On other forum users complaining too about disappearing network or data on 2nd SIM.

Also above was discussion about no data after swapping SIM's.

It's about dirty or clean, normal install new RIL?
[Sony Xperia M] simmusss:
Was tried 8 times with clean install

Can'tconect data with 2nd sim

Swaping Sims not working, only the solution factory recet,in before ril patches we have a patch for disappeared data bug,

But now that patcj also not works with new ril

But thanks to our developers for hard work,hope they try to slove the whole bugs
[Sony Xperia M] Mysteryagr:
I done clean install, and everything related to dual sims seems to be fine.

Until I tried to connect to data through second sim, I changed preferred sim and when I enable data, it goes back to 1st sim after a min. or couple of minutes.

I think we should try the patch on AOSP before confirming it is ril bug.

---------- Post added at 10:22 AM ---------- Previous post was at 10:20 AM ----------

If you have time, test the patch on PecanCM's AOSP
[Sony Xperia M] simmusss:
Sorry. I have only smart agents aosp rom,,,,I'll try with that,and report,
[Sony Xperia M] hemanthvarma:
nice ....:good:

hope you get it this time as your are very desperate to use data with two sims .....:)
[Sony Xperia M] simmusss:
Guys tried with smartagent47 AOSP rom

But no use,data not at all conecting

3times tried with always clean installd

Data stats was not showing

And IMEI number also showing only one in previous rils shows same for 2slots but now only show one only
[Sony Xperia M] Bonoboo:
2 All

PecanCM released alpha-build of CM13 (based on 6.0 Marshmallow): thread
[Sony Xperia M] xa.fr:
Anyone else experiencing Playservice crashes?

My Playservices crash when the phone gets connected to charge and when disconnected.

And what's really annoying if "location" is tuned on. It does not matter if it's on battery save mode or if GPS is turned on. Playservices crash every 10 seconds on both settings and no navigation apps is working anymore. Crash messages just don't stop to show up.

Any ideas how to fix this?

The no navigation thing annoys me the most....
[Sony Xperia M] kh34d:
Try to change your Gapps
[Sony Xperia M] xa.fr:
Currently I have OpenGapps "Pico" installed.

So how to change them? I would like to stick with Pico Gapps with only Playservices and Playstore installed. No othe Google stuff.

Already tried to uninstall or reset Playservices but it is not allowed since it is a system application.

Thanks
[Sony Xperia M] kh34d:
I use gapps-5.1.x-20150404-minimal-edition-signed.

It works great with me,

Try to wipe data and flash it.

Or you can use tk_gapps-modular-micro-5.1.1-20150913-signed, but I didn't test it

Serch for both here
[Sony Xperia M] mbc07:
Dual SIM users, have you experienced random outages with the second SIM? I'm using the final patch and everything works very well, but sometimes the second SIM loses signal permanently. When that occur, manual search won't work (sometimes it finds networks but always fail to register -- other times not even search works). When that occur the only way to get signal again is rebooting. I think it's an isolated case seen that I couldn't consistently reproduce it but it can be something as well. I reproduced this signal outage only two times, first when using an USSD code and second when opening SIM Toolkit but since then I couldn't reproduce it anymore...
[Sony Xperia M] spleken001:
how can i root with this rom?
[Sony Xperia M] SunitTalwar:
cm12.1 is already rooted you just have to go to settings then about phone then tap build number 7 times until you have unlocked developer options and then go back one step in main settings just above about phone there will be a new menu called developer options open it and swipe down until you find root access select it for apps and adb or all
[Sony Xperia M] simmusss:
Still am waiting for buggles ril

Reqstng to our developers

Thinking pacanCM,and bonoboo will gives a big gift for dual sim users in soon

ThanQ in advance
[Sony Xperia M] Mysteryagr:
Never faced this until today, had to restart the device to get signal for second sim.

But I am not sure whether it is ril bug or my network operator problem as the signal is always weak in many places.
[Sony Xperia M] Alex_Gamer:
You guys can tell me what are the same gapps for cm12.1 based roms ?
[Sony Xperia M] Nicklas Van Dam:
TKGapps my suggest :)
[Sony Xperia M] Bonoboo:
[MENTION=4343949]PecanCM[/MENTION]

Just note about last Dual patch

I and users from other forum experiencing disappearing mobile data (any SIM) in this cases:

– random after boot

– on / off data

– switching from Wi-Fi to data

– switching network mode for SIM

– probably after swapping cards

Helps:

– airplane mode

– toggling data

– toggling SIM

– data fix

So data very unstable.

Also sometimes 2nd SIM can't be selected for data: selector falls-back to 1st.

All other Dual-aspects finally works fine.
[Sony Xperia M] Mysteryagr:
When I enable data connection and it doesn't connect, switching network mode makes it get connected.

So that's help :D
[Sony Xperia M] mbc07:
Well, so far the final patch is working very well and I didn't experience any issue other than second SIM permanently losing signal sometimes (when that occurs, a reboot fix it). However, it's something very rare, I've been using the final patch for around a week and it happened only 3 times. I also never experienced any mobile data issues in the final patch (at least when using the first SIM -- haven't tried shuffling SIMs or selecting the second SIM for mobile data)...
[Sony Xperia M] Alex_Gamer:
Thanks, I'll try and give feedback
[Sony Xperia M] simmusss:
New ril???

---------- Post added at 06:19 PM ---------- Previous post was at 06:14 PM ----------

How to fix data bug in last patch,any solution
[Sony Xperia M] Garv Maggu:
I want Ambient display on this ROM. Is this possible?
[Sony Xperia M] sampalmer:
FYI:

I just set up the 2015-11-14 build on my C1904 (Xperia M single SIM, 850MHz / 2100MHz 3G). It randomly rebooted a few times, but might still be usable overall. It also forgets my WiFi access point's password every time I reboot the phone.

I also had Open GApps installed with it, but it wasn't causing any problems before I upgraded from one of the October CM 12.1 releases to this one.

---------- Post added at 11:21 ---------- Previous post was at 10:52 ----------

Also, there still seem to be MMS problems in this ROM:

* Can't send MMS

* Doesn't receive handset settings messages from provider

I tried putting my SIM card in a Samsung Galaxy S5, and it had neither of the above problems, so I'm confident it's not a SIM or provider problem.

Has MMS ever worked in the CM 12.1 ROMs, or has it just always been broken?
[Sony Xperia M] Mysteryagr:
I had same problems too.

But I'm too lazy to check random reboots...
[Sony Xperia M] AlexiusItaly:
I think that this app can be good if someone want to try Doze feature :)
[Sony Xperia M] Nicklas Van Dam:
Nice suggestion :D. I'm trying now
[Sony Xperia M] simmusss:
Anybody know witch device ril blobs supports to dual,,tell me I'll collect system dump
[Sony Xperia M] Mysteryagr:
We tried almost all suitable devices.

Xperia Z, xioami mi2, Motorola moto x

And another HTC device which ril blobs didn't work.

Sadly, those devices won't be updated to marshmallow.. So won't be able to get marshmallow ril blobs.
[Sony Xperia M] simmusss:
No bro I was asked about for lollipop cm12.1???
[Sony Xperia M] xa.fr:
So today I moved some apps to my SD Card using the built in method in settings > apps > move to sd

This is working fine, but after a reboot all icons of my moved apps are missing on my homescreen.

I don't really want to use link2sd and quite like the stock CM Launcher. Is there a way to fix that?
[Sony Xperia M] kh34d:
There are two solutions and you refuse them(link2sd and another launcher) [emoji6]
[Sony Xperia M] xa.fr:
=)

No other way?

Is it a known bug in CM launcher?

link2sd is a nogo for me and I have adopted to the stock cm launcher I am too lazy to get used to another one again.
[Sony Xperia M] kh34d:
As I know there's no way. May be if you wait 5 minutes your apps will appear.

For me I use link2sd
[Sony Xperia M] Mysteryagr:
So?

They're already there and we tested them.
[Sony Xperia M] simmusss:
Ru tried 5.1.1 blobs
[Sony Xperia M] xa.fr:
No, they do not show up even after days :D

Don't want to add another partition to my sd card for like 10 apps I moved...
[Sony Xperia M] mbc07:
I think I managed to get a proper last_kmsg regarding random reboots (that I'm also experiencing in CM12.1 since flashing the final patch). From the info present it appears to be related to RIL and I also saw in CM13 thread other users reporting random reboots. AFAIK we're using the RIL from the final patch, which is the same currently used in CM12.1 (at least dual SIM users) so it makes sense and are probably related. Below are the relevant bits but I also attached the whole last_kmsg file to that post:

[147569.632119] SMSM: Modem SMSM state changed to SMSM_RESET.
[147569.638101] Notify: start reset
[147569.641581] Modem Fatal Error. Let's note!
[147569.645609] Probable fatal error on the modem.
[147569.652263] modem subsystem failure reason: ds3gcmif.c:1678:Assertion 0 failed.
[147569.658733] subsys-restart: subsystem_restart_dev(): Restart sequence requested for modem, restart_level = 1.
[147569.669629] Kernel panic - not syncing: subsys-restart: Resetting the SoC - modem crashed.
[147569.677137] [<c0014364>] (unwind_backtrace+0x0/0x11c) from [<c0777a9c>] (panic+0x88/0x1c0)
[147569.685469] [<c0777a9c>] (panic+0x88/0x1c0) from [<c0064d34>] (subsystem_restart_dev+0x118/0x154)
[147569.694320] [<c0064d34>] (subsystem_restart_dev+0x118/0x154) from [<c0066274>] (restart_modem+0xd0/0x104)
[147569.704025] [<c0066274>] (restart_modem+0xd0/0x104) from [<c003a5a4>] (notify_smsm_cb_clients_worker+0xc0/0x1a0)
[147569.714280] [<c003a5a4>] (notify_smsm_cb_clients_worker+0xc0/0x1a0) from [<c00986f0>] (process_one_work+0x1ec/0x30c)
[147569.724871] [<c00986f0>] (process_one_work+0x1ec/0x30c) from [<c0098de4>] (worker_thread+0x1a0/0x2c0)
[147569.734149] [<c0098de4>] (worker_thread+0x1a0/0x2c0) from [<c009cdb8>] (kthread+0x84/0x90)
[147569.742481] [<c009cdb8>] (kthread+0x84/0x90) from [<c000eb10>] (kernel_thread_exit+0x0/0x8)
[147569.750813] wcnss_8960: crash shutdown : 0
[147572.859618] Rebooting in 3 seconds..
[147575.866394] Going down for restart now

[MENTION=4343949]PecanCM[/MENTION], does that helps?
[Sony Xperia M] Alex_Gamer:
Anyone knows how to fix camera? Doesn't focus correctly especially on WhatsApp camera :(

Enviado desde mi C1904 mediante Tapatalk
[Sony Xperia M] Karthi raja:
cant solve no sim card problem

[IMG="how to solve this problem"]http://www.4shared.com/download/YH_f9Of3ce/Screenshot_1970-01-01-06-09-12.png?sbsr=380a489078b7875cee6f0b7768ab97a2959&lgfp=3000[/IMG]

i am try to apply terminal emulator also but when i change sim it shows no sim card:confused:

---------- Post added at 05:23 PM ---------- Previous post was at 04:43 PM ----------
[Sony Xperia M] Mysteryagr:
If you flashed the last patch, you've to flash it on a clean install... dirty flash causing this issue
[Sony Xperia M] xxteg:
XMD 2004 - Missing the Encryption function in cm12.1 (20151114)

Hi,

I´m using my mobile phone privately and professionally with

(1) - 2 sim cards active

(2) - Sim card lock function, active for both sim cards (different PIN)

(3) - Encryption active

(4) - outgoing and incomming phone calls and text-messaging (SMS) on both sim cards

(5) - Data traffic at least via one sim card

(6) - NFC, GPS, Wi-Fi, Bluetooth, IP calls

● Currently I (still) use Android 4.3, C2004_15.5.A.1.5, (1) to (6) is working.

● cm11_349_NIGHTLY_20150119, (1) (2) (4) (5) (6) is working ! :)

. (3) Encryption not working, unfortunately!

● cm12.1_NIGHTLY_20151114 with dual sim patch, (1) (2) (4) (5) (6) is working ! :) :)

. (3) Encryption not working, unfortunately! WHY ?????

It would be great if we can use cm12.1_NIGHTLY with the Encryption function in the future.
[Sony Xperia M] Rajesh_m:
Anyone using c-apps and new theme chooser on any latest nightly builds? The one someone posted few weeks before doesn't work anymore on latest nightlies.
[Sony Xperia M] Karthi raja:
cm-12.1-20150610-NIGHTLY-nicki.zip build

http://www.mediafire.com/download/ks1h5i9i0sn5hl4 on this patch

data good working on sim slot 2.all sim card data can enable
[Sony Xperia M] Mysteryagr:
Really? Could you attach screen shots please?

-

If it is working on an old nightly, I suppose it would work with AOSP too...

---------- Post added at 02:27 PM ---------- Previous post was at 02:15 PM ----------

[MENTION=4343949]PecanCM[/MENTION]

What was the device the last patch was taken from?

I've an idea.. don't know whether it gonna help or not:

What if we used modem baseband from this phone, would it be more compatible with ril?
[Sony Xperia M] simmusss:
But where we can get that old nighy????
[Sony Xperia M] Karthi raja:
i have old download build backup
[Sony Xperia M] simmusss:
Post sreen shots with secons sim data
[Sony Xperia M] Mysteryagr:
Post logs and last kmsg when reporting an issue to help in fixing it.
[Sony Xperia M] XtremeWave:
I never noticed this. I was with the 5.0.2 thread, waiting for an alpha at least. But FORTUNATELY FOUND IT.
[Sony Xperia M] krimo55:
Excellent work, everything is fine and this is the best rom available at this time.

could you please tell how to zoom the trebuchet laucher it seems everthing is very tiny.
[Sony Xperia M] XtremeWave:
ANYONE tried flashing 5.1 Gapps or MOST PROBABLY I'm confused.
[Sony Xperia M] kh34d:
Here http://xdaforums.com/showthread.php?t=3064693
[Sony Xperia M] XtremeWave:
I think it's because I did a DIRTY install of 12.1 that Youtube and Google Services keep crashing. I remember but not that much... Some other things might cause this too cause I've come across these but I forgot where.

---------- Post added at 04:27 PM ---------- Previous post was at 03:31 PM ----------

Ahh. these gapps killing me with these ****TY crashes
[Sony Xperia M] XtremeWave:
Haha. Did a damn data wipe. All data lost. and crap
[Sony Xperia M] kh34d:
I report to sir [MENTION=4343949]PecanCM[/MENTION] I have bug in photo review and when I play movies .

I use mx player:( and we really appreciate ur hard work sir.
[Sony Xperia M] Ibjys13:
Me too, i've seen many graphic glitch since 12.1
[Sony Xperia M] Ky$h:
Bugs!!!

Bro it was awesome but it keeps rebooting again and again..
[Sony Xperia M] StraightEdgeKid:
Wowwww, Awesum

Well, It is a stable update. Nothings wrong with wifi, No reboot at all, (P.S. Don't dirty flash the ROM, take a fresh breath). Made a 2nd partition, EXT4, 2GB so have a lot of storage for apps. All hail PeacanCM, and Bonobo too for his quick and valuable help.

Beautiful yet powerful and good performance ROM.
[Sony Xperia M] mrhamizan:
Physical camera button.

Hi. My physical camera button doesn't work. I press and hold the button but it doesn't switch to camera.
[Sony Xperia M] Bonoboo:
Stock CM camera for now not support launching via hardware button.

With other it works, e.g. with Google Camera
[Sony Xperia M] sumicool7:
Finally managed to flash this firmware and I must say this is the best firmware for Xperia M till date! :D

I have a question though, ain't there a invert colors toggle in the drop down notification bar? :eek:

Edit: Never mind got it :3

Thank you once again PecanCM :good::highfive:

---------- Post added at 02:29 PM ---------- Previous post was at 02:19 PM ----------

One more doubt :confused: :crying:

How to enable App2SD?
[Sony Xperia M] Ibjys13:
That feature currently only available for factory Sony firmware not CyanogenMod :D

---------- Post added at 10:40 AM ---------- Previous post was at 10:32 AM ----------

Just in case nobody noticed. There's CM12.1 build from FXP too :D

http://uploaded.net/f/2byunk

I haven't test it yet.
[Sony Xperia M] Nicklas Van Dam:
thanks for your information bro :D:good::good:
[Sony Xperia M] kh34d:
another stopped app

also message stopped:(
[Sony Xperia M] Nicklas Van Dam:
what's stopped?:confused:
[Sony Xperia M] shrinigeek:
FXP build

Hi,

Any advantages of using FXP build, it loks same as CM12.1

[/COLOR]Just in case nobody noticed. There's CM12.1 build from FXP too :D

http://uploaded.net/f/2byunk

I haven't test it yet.[/QUOTE]
[Sony Xperia M] Mysteryagr:
I want to try it, but the only thing stopping me from flashing this rom.

I can't find good gapps which satisfies my needs.
[Sony Xperia M] Karthi raja:
yes this is second sim card data
[Sony Xperia M] much1:
your sims are of the same name..?
[Sony Xperia M] Karthi raja:
no it different name. now i am using two sim card in same network so it show same.

after i insert idea sim . it show idea network
[Sony Xperia M] Mysteryagr:
I swapped sims, and they're working without issues. But kinda useless.

Because data connection that was used for 1st sim was set for the second sim when I swapped them (means it only work for 1 sim)

And I cannot set data for 1st sim after swapping.

I hope you understand what I mean.
[Sony Xperia M] simmusss:
Ok but I have a doubt bro,,,,after this we can use data with multiple Sims

I mean charging Sims to slot 2,,, hope u understand what am asking
[Sony Xperia M] Mysteryagr:
Nope.

I concluded that data work for the sim that was set for data connection at start up; on first boot.

Whatever its place.

So if you swapped them later it would work for the same sim.

I hope you understand what I mean.
[Sony Xperia M] Karthi raja:
automatically soft reboot cm-12.1-20150610-NIGHTLY-nicki.zip when i start to connect&use any VPN applications.

how to solve this problem?
[Sony Xperia M] AlexiusItaly:
Update to last nightly :)
[Sony Xperia M] Karthi raja:
last nightly Sim card patch not working properly on Xperia m dual
[Sony Xperia M] "A09":
Sim patch working fine. Try clean install latest nightly and flash the dual sim patch.

---Press THANKS if helped ---
[Sony Xperia M] Karthi raja:
no not working properly . when i insert a new si card it say no sim card in data tile:crying:

---------- Post added at 03:16 AM ---------- Previous post was at 03:14 AM ----------

how to enable H+ or E indicator on singnal cluster in cm12.1 ???

---------- Post added at 04:06 AM ---------- Previous post was at 03:16 AM ----------

how to change data from sim2 into sim1?? i cant turn on data sim 1.
[Sony Xperia M] kjiratssiekoedel:
I wanted to flash a zip, but I can't enter my CWM anymore! It seems to be replaced with cyanogenmod recovery... Is CWM still there? Or should I install it again?
[Sony Xperia M] Nicklas Van Dam:
Try to install FOTARecovery (TWRP) you can find on [MENTION=5917809]cucumber09[/MENTION] thread :D
[Sony Xperia M] kjiratssiekoedel:
Thanx! Thats looks usefull.

Tried to use TWRP manager, but my phone isn't rooted anymore! Don't know how that happened.

Towelroot doesn't work. Any idea how to root my device again?

EDIT: solved. in the developers menu is a toggle switch for 'root acces'. Just had to press it. Now using twrp as recovery
[Sony Xperia M] abhatia1435:
Bug

[MENTION=4343949]PecanCM[/MENTION] Found a bug after a long time in Settings>More>Tap and Pay. Clicking on it shows - 'Unfortunately Settings has stopped'. I know XM isn't compatible with it.. So please remove that option to make our nightlies completely 'bug-free' ;)

Anyway, logcat attached if you want :silly:
[Sony Xperia M] Bonoboo:
But actual Tap & Pay functionality will stay broken, so bug anyway not fixed.

BTW here list of device-bugs.

Please, Is it possible at least merge patch (N7 Adreno) to fix green browser video?
[Sony Xperia M] abhatia1435:
Oh Sorry, i didn't notice your post. And I think the green video bug is there in CM13/AOSP? Is it? (can't remember as I am on CM12.1 nightly right now)
[Sony Xperia M] kjiratssiekoedel:
Is there any method to switch the SD card and internal memory? Or is Link2sd the onlyavailable next best thing?

I like my phone (so far I know it one of the best 4" dual sim phones), but the internal storage is always a problem...
[Sony Xperia M] PecanCM:
sorry for waiting but it is on the list.