yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] hemanthvarma:
u have to flash cm12.1 from a working dual sim signal firmware , better to flash it from stock rom

go back to stock and see if both dual sims and net working .. then proceed to flash cm12.1
[Sony Xperia M] Kaushal sawant:
Thankyou bro , the device has started detecting both the sims
[Sony Xperia M] ultimateraj:
here are the files to be downloaded

cm12.1 nightly http://download.cyanogenmod.org/?device=nicki&type=nightly

gapps 5.1 https://www.androidfilehost.com/?fid=95916177934550851

dual sim patch: below in the description download

for rooting : superuser below in the description

cm12 boot.img file below

procedure:

1) flash boot file (must be in android 4.3 stock)/ignore if your in 4.4/5.0

2)wipe data/cache from recovery

3) flash the cm12.1 zip(if you want to use cwm recovery just flash it after flashing the rom)

4) flash gapps

5)flash the patch to enable dual sim/also patch to fix data bug

6) if you want to root flash superuser

credits:

pecan CM

reference:

http://xdaforums.com/xperia-m/orig-development/rom-unofficial-cyanogenmod-12-1-t3071012

for dual sim bugs see this post:http://xdaforums.com/showpost.php?p=60989435

screenshots of xperia m dual running on android 5.1.1 (cm12.1) below

NOTE

: After flashing cm12.1 your custom recovery will be replaced with cyanogen recovery

so please flash cwm.zip after flashing rom

comment if you face any problem

IMP NOTE:

DO AT YOUR OWN RISK I AM NOT RESPONSIBLE FOR ANYTHING HAPPENS TO YOUR PHONE

those who are facing mobile data problems in dual sim use below latest edited patch ril ... see if it works this time ... and pls reply if it works!![/QUOTE]

i flashed cm12.1 20162101 .but sucked at bootscreen cm logo after flashing the cwm recovery zip to get the cwm as recovery instead of cm recovery.what to do?????
[Sony Xperia M] hemanthvarma:
i flashed cm12.1 20162101 .but sucked at bootscreen cm logo after flashing the cwm recovery zip to get the cwm as recovery instead of cm recovery.what to do?????[/QUOTE]

pls tell the steps you followed
[Sony Xperia M] bohdisss:
bootloop

Always when I want to install this on my xmd it do bootloop. I don't know what's wrong with my installation:confused:. So I decided to install stock firmware xms to my xmd. Everything is working now, but I had to use another gapps. :)
[Sony Xperia M] harisskumar:
Mobile data disappear issue

After the installation i have followed the bug fix regarding disappearing mobile data using terminal emulator. After this also i'm not getting mobile data.. Everything working fine, call, sms in both sims.. But data is not working in both sims.. Please help to me to fix this error.. :crying:
[Sony Xperia M] ki69:
I want to install this on my M Dual, but from i read i think no one put the mobile working 100% after the upgrade. I can´t aford to loose the Dual sim option. I hope someone fix this.
[Sony Xperia M] iambalaji:
you better opt to unofficial cm13 u will get working data on sim 1 and moreover its perfect working rom for xperia m is cm11 only ... and cm 12 is little bit failure on getting data connection and its a bug and u try [MENTION=4343949]PecanCM[/MENTION] unoffical cm13 u will have all working and the bug is only data enable in sim 1 only and u will given a choice of selecting the sim for data immediatly after flash u select sim 1 ... sry for my bad english
[Sony Xperia M] hemanthvarma:
Install cm13 official nightlies it is far better than cm12.1 although only one bug that is we cannot use data on 2nd sim , thats the only problem and remaining bugs not effect too much for daily use ...
[Sony Xperia M] matrixex:
Buddy Nice tutorial but you have done a mistake possibly can cause a bootloop.There is no need for flashing supersu.zip only you have to do is flash cm12.1 nightly and gapps

For rooting:

Go to Settings after mobile bootup and enable "Developers option"

And find root access(see attached imgs), select app only and ta da you have root access.

By the way thanks hemanthverma for this awesome guide

And for dual SIM bug don't use any patch

Just use this

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

And for reference of this patch see this

http://xdaforums.com/showpost.php?p=63717855&postcount=1523
[Sony Xperia M] KALYANBABU:
Unable to find the file cm12.1

Bro plz give me the file link FOR cm12.1
[Sony Xperia M] arfan_lg:
Yes CM 13 works grt

Thanks to All who have made this possible

?????

?????
[Sony Xperia M] hemanthvarma:
CM13 is good compare to cm12.1 but if you prefer to use cm12.1 here is the last build of it
[Sony Xperia M] randymabius:
sorry for bumping, I'm new and never done work on my xperia m single sim, i want to try this 12.1, i have noted all the steps, indeed something makes me a bit...

do I need to flash the dual sim zip?

what's the advantages of this cwm.zip

I read, after flashing, the recovery menu get replaced, do I need to flash cwm.zip along to stay to original recovery menu? if yes which order, is it correct

12.1.zip then gaps.zip then cwm.zip?

plz help me
[Sony Xperia M] shhnedo:
Forget CM12.1. Go to the original development section and check out CM13 or AOSP MM.
[Sony Xperia M] hemanthvarma:
Bro i would suggest you to go for cm13 its more better than 12.1 and for single sim variant you no need to flash dual sim zip

and regarding recovery go for Twrp , cwm is old and not good enough like Twrp so

Here is the link for official cm13 and for Aosp

and for twrp here

Incase any doubts post your questions here i will try to answer you...
[Sony Xperia M] shubhamgupta1024:
Not working

here are the files to be downloaded

cm12.1 nightly Final build

gapps 5.1 link

dual sim patch: below in the description download

for rooting : superuser below in the description

cm12 boot.img file below

procedure:

1) flash boot file (must be in android 4.3 stock)/ignore if your in 4.4/5.0

2)wipe data/cache from recovery

3) flash the cm12.1 zip(if you want to use cwm recovery just flash it after flashing the rom)

4) flash gapps

5)flash the patch to enable dual sim/also patch to fix data bug

6) if you want to root flash superuser

credits:

pecan CM

reference:

http://xdaforums.com/xperia-m/orig-development/rom-unofficial-cyanogenmod-12-1-t3071012

for dual sim bugs see this post:http://xdaforums.com/showpost.php?p=60989435

screenshots of xperia m dual running on android 5.1.1 (cm12.1) below

NOTE

: After flashing cm12.1 your custom recovery will be replaced with cyanogen recovery

so please flash cwm.zip after flashing rom

comment if you face any problem[/QUOTE]

Guys Please help!! This dual sim patch is not working for me...
[Sony Xperia M] hemanthvarma:
go for cm13 its very good
[Sony Xperia M] shubhamgupta1024:
In cm 13 it is not even detecting a single sim

---------- Post added at 01:52 PM ---------- Previous post was at 01:50 PM ----------

CM 13 is not even detecting a single sim
[Sony Xperia M] hemanthvarma:
you have to flash a dual sim patch
[Sony Xperia M] shubhamgupta1024:
The same one???
[Sony Xperia M] hemanthvarma:
no different one here is the official cm13 thread
[Sony Xperia M] shubhamgupta1024:
Any solution for the dual sim in CM 12.1
[Sony Xperia M] erjrajkumar:
i also flashed the cm 12.1 in my xperia m c2004 bt 2 sims r nt working only single sim is working

tell me some solution to overcome this problem
[Sony Xperia M] anant.dit:
I got back to CM11 by flashing again.
[Sony Xperia M] unsuitable:
2nd SIM is working. [MENTION=4343949]PecanCM[/MENTION] please try to activate data also.

---------- Post added at 11:27 AM ---------- Previous post was at 11:26 AM ----------

2nd SIM is working. [MENTION=4343949]PecanCM[/MENTION] please try to activate data also.
[Sony Xperia M] hemanthvarma:
use any cwm recovery and flashboot it

i am sending you the adb files and connect your phone in fastboot mode(hold volume up button and connect your cable to your pc you will see blue light when it is connected in fastboot) then type these command to flash cwm recovery.

1)fastboot devices

2) fastboot flash boot boot.img

thats it you now flashed cwm recovery

NOTE: YOUR PHONE WILL BOOT IN TO RECOVERY BUT IT WONT BOOT UP IT MEANS YOUR ROM WILL BECOME UNUSED IF ITS OK FOR YOU THEN DO IT OTHERWISE CONTINUE WITH YOUR CURRENT ROM

after flashing cwm then download the cm12.1 and flash the rom (BEFORE FLASHING WIPE THE DATA/CACHE ...)

if you want working cwm recovery with the cm12.1 then after flashing the rom immediately flash the cwm zip after that only flash other things like gapps,ril,supersu now you will have to reboot and and you will see cm12.1 with working cwm recovery.

edit the codes after booting up of your phone as per the steps given in the thread.

i will attach adb files and cwm zip use that

extract adb and flash boot it.

msg me if you have any doubts
[Sony Xperia M] amkakash:
Thanks a lot Hemanth, Now its all working fine.

The mistake that I made was I didnt do a full cleanup before flashing CWM & that was the reason it wasnt working on my phone.

I did a full cleanup and then flashed TWRP and all then followed your steps and its all working fine now.

Thanks a lot.

Happy with lollipop...wanna check it out now.
[Sony Xperia M] hemanthvarma:
:good::)
[Sony Xperia M] amkakash:
Are you able to connect to mobile data?

its not working for me..:(
[Sony Xperia M] hemanthvarma:
same here i first able to connect to mobile data but after few days i am not able to connect. probably one of the bugs in the rom. Try to update your nightly builds regularly as of now its the better option( because its not a stable version.)

have you read bugs in dual sim users i have posted a link in thread read once
[Sony Xperia M] Sai Bhasker Raju:
Didnt Work ..

Hello,

I downloaded the rom and flashed it but didnt work...

This is what i did

I was on 4.4.4 FXP-cm-11-20150301-UNOFFICIAL-nicki .... i copied all the four files into sdcard and went into recovery mode..

There i wiped cache and data first

Then installed cm12.1 from sdcard, after that installed gapps followed by RIl.zip and root.zip...

Then rebooted the phone.. it took 5min to boot and i entered the details which it asked at first boot.

Later edited build.prop using inbuilt FileManager and saved the file... Then rebooted the phone again

I waited for 1/2 hr but still didnt get signals

Is there anything i missed?:confused::confused:
[Sony Xperia M] simmusss:
Bro am followed all ur steps bt my imei and simcards not detects

It showing sim cards menu but not detecting many times i tried

Plzz help bro
[Sony Xperia M] hemanthvarma:
have you correctly edited and deleted the lines if not please comeback to cm11 and reflash
[Sony Xperia M] maniganala:
Hey hemanth, I have some questions for you...

Why there isn't a single stable version of Cyanogen till now? (although there are tens of nightlies)

How much space (internal memory) will I be left with after flashing this?

What should I do if I need only one SIM?
[Sony Xperia M] simmusss:
Bro hemanth many typs tried bt no use all is well bt simcards showing empty
[Sony Xperia M] Pkb2003:
said signature failed when flashing dual sim patch

plz help
[Sony Xperia M] hemanthvarma:
use cwm/twrp recovery dont use cyanogen recovery it doesn't flash zips
[Sony Xperia M] Pkb2003:
Flashed but still no signal
[Sony Xperia M] Shazam_strikes:
You gotta write the code bro in the build.prop ( given in the op ) and also remove couple of them (also mentioned in the op) , then reboot and there's your signals....both of them ;):cowboy:
[Sony Xperia M] Pkb2003:
As per my best knowledge i've done all right but still no signal

So back to stock 4.3
[Sony Xperia M] Pkb2003:
Ok bro thanks

I'll try again
[Sony Xperia M] maniganala:
Can I flash it on a rooted phone?

:confused::confused::confused:
[Sony Xperia M] hemanthvarma:
you have to flash it on rooted and bootloader unlocked phone only....!!!!
[Sony Xperia M] arfan_lg:
Can you please attached the screen shoot how to edit build.prop

Thanks in advance
[Sony Xperia M] simmusss:
If u wont mind plz uplod ur backup for cwm its used for all

ThanQ in advance
[Sony Xperia M] simmusss:
Hemanth how to unlock bootloader without pc

Is there any way to do it
[Sony Xperia M] simmusss:
Showing like thiz

It means my mobile locked or unlocked

Sent from my C2004
[Sony Xperia M] maniganala:
Ran into problem after unlocking bootloader...

I've successfully unlocked bootloader as per Sony's official guide. But after that the device stuck at boot animation for ever. So it made me go back to my previous version using PC companion. Is there another way to unlock bootloader?
[Sony Xperia M] hemanthvarma:
its unlocked : booloader is unlocked
[Sony Xperia M] simmusss:
Bt there is no results bro

Many times tried i think 25 times above and followd all ur steps bt no use plz help me brother plz plz

Sent from my C2004
[Sony Xperia M] hemanthvarma:
after unlocking , phone will be in bootlooop you have to flash stock firmware via flash toool ... have you checked your phone bootloader status after coming back to stock rom via pc companion .. if locked means try to unlock and flash the stock rom via flashtool
[Sony Xperia M] simmusss:
Finally installed and using two sims but mobile network not connecting after few hours

Is there any way to fix it
[Sony Xperia M] hemanthvarma:
have you edited build.prop and deleted the lines as per the steps given in the thread....?

do it if you havent done that
[Sony Xperia M] simmusss:
Yes all done incoming out going all ok

Bt intrnet not conecting .are u also faced same problm i think

Plz if u know tell me how to fix it

Mobile data not coneecting all ok

---------- Post added at 07:55 AM ---------- Previous post was at 07:53 AM ----------
[Sony Xperia M] hemanthvarma:
same problem for me also . i already mentioned the dual sim bugs in the thread read once ... only 1st sim connects to the internet...
[Sony Xperia M] simmusss:
Yes

But when i shuffle the sim cards in notification bar showing no simcard .bt my 2sims working

Why u also faced this na???
[Sony Xperia M] hemanthvarma:
s shuffling the sims sometimes doesnt get signals and all these are dual sim related bugs ... wait and hope for the best untill any stable version release ... as of now the present builds can be used for daily usage
[Sony Xperia M] simmusss:
Okk bro.......plz suggest me any good modes for our rom
[Sony Xperia M] hemanthvarma:
as of now for dual sim users we have only cm11 and cm12.1 with two sims working roms

there are other roms for single sim users so if you want you can use that but you have to change you firmware from dual to single sim firmware and use it ... little bit tricky but nice
[Sony Xperia M] ramtechz:
DATA Not working.. :(

After getting into CM12.1 I am unable to connect to cellular data..Is there any resolution for this.. ? :(:confused:

---------- Post added at 06:18 PM ---------- Previous post was at 06:06 PM ----------

even 1st sim is not connecting..
[Sony Xperia M] hemanthvarma:
try older nightlies
[Sony Xperia M] Power-Inside:
Guys.. I have unlocked Xperia M dual C2004 and I flashed CM 12.1 and I always get ONE single error.. "Unfortunately, System UI has stopped" Force close message and it repeats all over again. I cannot use my phone at all!

What I've tried:

* CM 12.1 Beta 4 build unofficial nicki (23 May 2015)

* FXP's CM 12.1 nicki (18th June 2015)

* CM 12.1 Nightly July 4 and July 5 2015 builds

It's strange that ALL of them have SAME error. :(

I also tried restoring Baseband 4.3 stock single SIM CWM backup prior to flashing single SIM RIL ( I heard single SIM is stable for CM 12.1 ). Booting into this stock firmware works, but flashing CM 12.1 after this does not work. :/

What works:

* CM 11

* Stock 4.3 ROM

* Possibly any kitkat based roms or older stock roms.
[Sony Xperia M] hemanthvarma:
hi..... after unlocking bootloader u have to first flash stock firmware of your device and then install any recovery. Also check if the phone is rooted or not then only u can able to install other roms pls. Follow the above method and proceed to install custom roms hope you understand it....
[Sony Xperia M] Power-Inside:
I did flash stock firmware after unlocking bootloader. My phone is also rooted. Still there is this problem.

I think you read my post wrong. I AM Able to install custom ROMS.. it's only that the CM 12.1 based ROMs give me "Unfortunately, System UI has stopped" message onboot. (after "optimizing apps" dialog box)

CM11 and other stock firmwares work fine. It's just the CM12.1 that I have issues with (and the people here say they don't have any problem at all!!) What could be the reason?
[Sony Xperia M] hemanthvarma:
ok have you tried cleaning dalvik cache and wiping data before flashing the rom if not do it ..

and still you get popup means try only nightlies dont use beta 4 and also before installing the rom clear dalvik cache(must) and wipe data(must) ..
[Sony Xperia M] sangharatna_xperia:
Mobile data is not working for both sim, and message send issue .

please fix thos bugs.
[Sony Xperia M] hemanthvarma:
yeah even i dont get mobile data sometimes so pls try to update nightlies or if you want u can install older nightlies (before installing clean and wipe data its must)
[Sony Xperia M] ramtechz:
Can you please suggest one nightlies in which data may work.
[Sony Xperia M] Mysteryagr:
The matter seems to be random, flash any nightly, if data connection doesn't work.

Go to stock, do full wipe and flash again.

If no luck... Try a newer or older nightly.
[Sony Xperia M] ramtechz:
I have tried these more than 5 times and now I reverted back to stock.the thing is data never worked for me even a single time..
[Sony Xperia M] hemanthvarma:
what [MENTION=4796617]Mysteryagr[/MENTION] said is correct ... use the nighlty buid 29th may 2015 may be it will help ....!
[Sony Xperia M] ramtechz:
Thanks, will check this out.
[Sony Xperia M] simmusss:
Flash updated dual sim patch with bild.prop edited patch
[Sony Xperia M] ramtechz:
Do you have any download link for this..
[Sony Xperia M] simmusss:
No

Byt i was downloded that in link of dual sim bugs
[Sony Xperia M] ramtechz:
wow it worked...

Thanks simmusss it worked... :):cowboy:
[Sony Xperia M] hemanthvarma:
i have added edited patch ril for dual sim users who are facing mobile data problems ....pls see if it works and comment

u can also download below from the description

EDIT: I have added it in the thread description in the place of old ril patch
[Sony Xperia M] simmusss:
Where is the patch link
[Sony Xperia M] danishsaleem.pk:
Wizard Error

I am Getting Wizard Error After Flashing "LP-RIL-AD.ZIP''

After Succesful Boot, when Wizard Starts, after WIFI setup when Tab NEXT or SKIP its Say a Error " Unfortunately Wizard Has been Stop" and Then Wizard Restart Again. so I remain at Wizard and Cant Go Ahead a. Any Salution?? C2005
[Sony Xperia M] hemanthvarma:
try older ril then
[Sony Xperia M] hemanthvarma:
fix for mobile data connection in cm12.1

hi ...

earlier now pecanCM added latest ril for cm12.1 xperia m dual sim users where they can enable dual sim and can activate working mobile data connection

Here is the latest ril everyone who are dual sim can flash this patch and can fix mobile data issuse and also with this ril blob you dont have to edit any build.prop just flash the patch and enjoy

i also added the latest ril to my thread those who are flashing cm12.1 first time

comment if you face any issuses
[Sony Xperia M] ramtechz:
Will we loose the dual sim option if we do the system update?
[Sony Xperia M] maniganala:
Have you tried it yet?

Have you tried it yourself or you want to hear from us?

Also will I be able to get updates for Sony's Album, Music, Video apps after flashing the ROM (from Sony)?

How is the battery performance of Lollipop ? (Stock 4.3 battery performance sucks)
[Sony Xperia M] hemanthvarma:
i have not tested... but i think we will not looase any option we still have dual sim active after updating also
[Sony Xperia M] hemanthvarma:
i have tried and i got mobile data on first sim and coming to sony apps music is made available in playstore as a app so you can install it and video app you cant because its still updated via sonys update center so my answer is you can install music app but not video

battery performance is like avg i would say and returned back to stock rom because of memory leak. Its taking more memory i am getting only 600mb after installing all my apps compare to stock rom 0.95gb
[Sony Xperia M] Spaironoob:
Can't install new ril from cyanogen recovery.Please

help.

Do i need to reinstall cm12.1?
[Sony Xperia M] hemanthvarma:
u must on cwm/twrp recovery to flash ril or gapps ... cyanogen recovery cannot flash rils its just updates builds so you first flash cwm recovery then flash ril
[Sony Xperia M] Mehul Vaghela:
Thanks Boss

:)It Works perfectly ..:good:
[Sony Xperia M] simmusss:
But shuffling simcards not at all working

I was tried all ril patchs

But no use
[Sony Xperia M] maniganala:
Rooting or Unlocking BL first?

Tried unlocking BL first but was unsuccessful. I've followed Sony's official method for unlocking BL. Now I have Flashtool downloaded which has an option of unlocking BL. So what would you recommend?

Also which is better, rooting first or unlocking BL first?

Provide a supporting link for rooting if possible... :confused:
[Sony Xperia M] simmusss:
U need to 1st unlock boot loader and install cwm 6.0.49 stock and after instal update s zip thats ur device will rooted
[Sony Xperia M] Sudipzx:
there is a problem.

hii there..

the site to download the GApps file is not responding. Even i cnt dwnlod the file. if there is a sollution it will be very helpfull to me.

please provide another link to download the GApps file
[Sony Xperia M] CJ2311:
Here's a link to the TK GApps thread: http://xdaforums.com/android/software/tk-gapps-t3116347
[Sony Xperia M] hemanthvarma:
sorry i didnt know that i just updated the link now

here is the link to the gappshttps://www.androidfilehost.com/?fid=95916177934550851
[Sony Xperia M] shaman79:
no data

Hi, flashed everything as described, got signal on both sims but unfortunately cannot get mobile data to work. I see only triangles with "!". Tried to change APN settings, added new, deleted all...nothing helped.

Any hint what to check/set? I am on CM12.1 nightly-nicky (Xperia C2005 dual).
[Sony Xperia M] Rahul6217:
facing mobile data problem in cm12.1 on xperia m c2004

I have installed cm 12.1 on my Sony xperia m dual c2004.Everything is working fine except the mobile data.

I aslo patch dual sim patch and both sim are Woking but I can't use my Monbile data.please help.
[Sony Xperia M] hemanthvarma:
have you tried new ril (mi2) just flash it with the rom and use you dont have to edit any lines after that .....

if your not getting signal means try to flash again with full wipe of data, cache ... it works
[Sony Xperia M] hemanthvarma:
try to flash again with full wipe and clean cache before flashing
[Sony Xperia M] Rahul6217:
I can't flash ril (mi2),it showing some error, I'm flashing with cm12 recovery.
[Sony Xperia M] hemanthvarma:
i think i have said it clearly in my previous posts also cyanogen recovery cannot flash zip files ...you must in twrp/cwm to flash any zips and

now you flashboot cwm.img first and then flash rom then immediately flah cwm.zip then after remaining zips thats it ... just follow this
[Sony Xperia M] shaman79:
Hi, I've done full wipe, installed latest nicky nightly build, flashed latest ril and still no data. Everything is working fine except the data...there must be somethig else I am missing. Any hints?