yashsingh1/xdaforums huggingface dataset:
[X Play Q&A, Help & Troubleshooting] sparex:
Exactly what happens to me after flashing another rom. What is the solution guys??

On original rom everything works perfectly but when I flash another rom and change the build.prop nothing works. Cant even turn on mobile network. Plz help
[X Play Q&A, Help & Troubleshooting] sjakub:
Do you have XT1563? If so, then this won't work.
[X Play Q&A, Help & Troubleshooting] sparex:
No, XT1562
[X Play Q&A, Help & Troubleshooting] jellysheep:
Did you reboot after editing build.prop? Which ROM did you flash?

What do you mean by "can't turn on mobile network"?

PS: If you use CM, please flash the latest version, and also try squid2's kernel, as it might change some important bits.
[X Play Q&A, Help & Troubleshooting] sparex:
I flashed this rom RESURRECTION REMIX. Yes of course I did a reboot.

In settings, mobile netwroks is turned off and greyed out, cant turn it on. If I go to network settings and searsch for providers it tells me an error with network something... Its not asking for PIN code even.

I havent tried CM. Is it stable as stock?
[X Play Q&A, Help & Troubleshooting] jellysheep:
Mhm, that's strange. Especially that it works on the stock firmware, and not on your rom.

You might try squid2's kernel on that rom as well (make a TWRP backup of your current boott partition first, just in case), as it might be kernel related.

The current CM is completely stable for most users (isn't the Resurrection Remix based on CM?).
[X Play Q&A, Help & Troubleshooting] AtomicStryker:
Question. Can i just stick the data/local.prop into one of the zip files i flash from recovery mode? Like Xposed or a kernel? I actually had to type it on the phone screen, which was painful
[X Play Q&A, Help & Troubleshooting] jellysheep:
You could locate the /system/build.prop in the ROM zip file and edit that, and re-zip, then flash. (I don't know if these zips are signed, but I highly doubt that).

However you can just edit the file via ADB (I have e.g. vi and nano on my device available).
[X Play Q&A, Help & Troubleshooting] jnsson:
Do I need to add the lines on every CM update. In as from day XX to day XX or do I only need to do it when I have reinstalled/installed a other custom rom?
[X Play Q&A, Help & Troubleshooting] jellysheep:
No, if you don't want to: As stated in step 6, you can add these lines to '/data/local.prop' (create it if not there) instead of '/system/build.prop'. Then you do not need to add these lines on each ROM update (only if you wipe your data partition or delete the file manually).

And make sure that the file has permissions 644 and is owned by root:root (with 'chmod' and 'chown', or a capable file explorer).
[X Play Q&A, Help & Troubleshooting] jnsson:
Alright. And there is no other tings that should be in the local.prop other that what you have written if I need to create a new file?
[X Play Q&A, Help & Troubleshooting] jellysheep:
Exactly. :)
[X Play Q&A, Help & Troubleshooting] jnsson:
Since you seems like a guy that knows much, do you know if this codeting is needed on like CM if I buy the dual SIM variant from start? And does CM supports this phone in dual SIM version from start ( I can buy this phone in dual SIM variant from start)? With CM, I mean [ROM][WIP] CyanogenMod 13 Preview for Moto X Play and [ROM][lux] CyanogenMod 12.1 for Moto X Play
[X Play Q&A, Help & Troubleshooting] emil.s:
Hello everyone,

I just want to get the dual sim working with the stock firmware, by changing as few things as possible.

I have downloaded the French dual sim firmware linked here previously, but after flashing the firmware, do I still need to flash a new ROM, or will I be fine just adding the /data/local.prop?

And how do I root without unlocking the boot loader? Or can I create the /data/local.prop file in some other way?

Thanks
[X Play Q&A, Help & Troubleshooting] Ineedtoys:
Flashing the French 'stock' firmware and adding /data/local.prop got my UK XT1562 to enable both SIM slots OK. But it was a wasted effort as the 2nd SIM won't register on any UK network as there is no IMEI. Same with the Asia Dual SIM image. Unless anyone has found a (legal) way around this?
[X Play Q&A, Help & Troubleshooting] jellysheep:
On a stock dual-sim device, these lines are not needed. And CM supports those devices just as well, yes.

That's just the tradeoff, you can either invest a little more money, or do some mods (and lose warranty), to get a dual-sim device.

And btw, don't install CM13 if you rely on your phone all day, it is still full of bugs (but looks already really promising [emoji2]).
[X Play Q&A, Help & Troubleshooting] jellysheep:
You only have to install another ROM if you want to. [emoji6] E.g. some users want to flash CM or similar to get more features on their device. But if you're fibe with the stock rom, you can stay with it.

Though I'm afraid I don't know a way to root your device without loosing warranty, and root is required to edit the local.prop. It could be that one of Framaroot or similar tools works (by gaining root access via a bug exploit), but I'm not sure about that.
[X Play Q&A, Help & Troubleshooting] jellysheep:
You can search for ways/apps/mods to set (or change) the IMEI of an android smartphone. There are ways to do this, and it might enable the second sim for you in the UK. But be warned, this (fake IMEI) might be even more illegal than without IMEI.
[X Play Q&A, Help & Troubleshooting] jnsson:
Thats nice! I think I will order a Dual SIM from Orange store, those is shipping to my country which is Sweden and it is like 10-20 dollars cheaper then the single SIM model :). There I know I get 2 IMEI numbers as well :). I plan on going over to CM 12.1 directly when I get the phone. I have tried CM13 on my Moto G 2014 LTE and it is buggy still :/
[X Play Q&A, Help & Troubleshooting] jellysheep:
Haha, it's great that the dual-sim variant is actually cheaper than the single-sim one. [emoji1]
[X Play Q&A, Help & Troubleshooting] jnsson:
Yeah, tho I only get support in my own language via e-mail and I don't have a store to go to if I need service, I then need to send it to Orange in France :/. But it is almost just Orange that sell the dual SIM variant so yeah :(
[X Play Q&A, Help & Troubleshooting] jnsson:
Do I really need to flash the whole, can't I just flash the modem/radio img?
[X Play Q&A, Help & Troubleshooting] jellysheep:
I tried this, and it didn't work. The sim cards were both not functional then, IIRC.
[X Play Q&A, Help & Troubleshooting] jnsson:
Oh, ok. Did you flash the whole system packet after that? If yes, did it work for you?

Skickat från min Moto G 2014 LTE via Tapatalk
[X Play Q&A, Help & Troubleshooting] jellysheep:
Yes, I flashed the whole bunch of sparsechunk files, including the radio files again. And it worked fine. [emoji6]
[X Play Q&A, Help & Troubleshooting] jnsson:
Nice. I hope it does in my country as well. Because the second SIM slot doesn't get a IMEI number :). Anyway, will do it later today :). How many sparsechunk should it be? In that file that I downloaded yesterday it was 7

Skickat från min Moto G 2014 LTE via Tapatalk
[X Play Q&A, Help & Troubleshooting] jellysheep:
Yeah, for me it was also 7 system sparsechunks. You have to flash all of them, no matter how many (it just depends on the size of the system partition).

Good luck! [emoji6]
[X Play Q&A, Help & Troubleshooting] rentboy71:
What's the model number of the dual sim variant of MXP?

Wysłane z mojego XT1068 przy użyciu Tapatalka
[X Play Q&A, Help & Troubleshooting] jellysheep:
The model name/number XT1561/2/3 differs with market regions (see https://en.wikipedia.org/wiki/Moto_X_Play), but they don't differ between single- and dual-sim devices. So you'll have to look for that in addition to the model name.
[X Play Q&A, Help & Troubleshooting] jnsson:
I have downloaded "X_Play_XT1562_LUX_RETASIA_DS_5.1.1_LPD23.118-22_cid7_subsidy-DEFAULT_CFC.xml" please say that this is the right version if I want to convert my 1562 from singel to dual SIM?
[X Play Q&A, Help & Troubleshooting] jellysheep:
You can just try if that works for you. Most users report that the asian rom works fine for them; for some (including me) the european version worked fine as well. Just try to match your region as good as possible.

And be sure to select the right model number (XT1562 etc), or else you'll risk a bricked device.
[X Play Q&A, Help & Troubleshooting] jnsson:
I can't find the eu version with DS support. Can you link me in direction? Or say the namn of it. I checked http://www.filefactory.com/folder/dd05c058d3ff8dbe/?sort=filename&order=ASC&show=100&page=3 and I can't see DS in the filenames of the EU FW

Edit: flashed ASIA DS and that worked with stock rom. Now I have problems with CM
[X Play Q&A, Help & Troubleshooting] jnsson:
I need a bit of help. Have I done right? I have attached two picture. Because CM is not picking up the 2:nd SIM-card. I have tried both /data/local.prop and /system/build.prop nothing of it works :(. I have installed this CM http://xdaforums.com/moto-x-play/orig-development/rom-cyanogenmod-moto-x-play-t3205422/page73. Anyone have a tip?
[X Play Q&A, Help & Troubleshooting] jnsson:
Little more info about my problem. With Cyanogenmod, it will not detect my 2:nd SIM slot, even when I have made the file in /data/local.prop or added the lines in /system/build.prop, but when I return to stock ASIA DS rom, it works perfect. Does anyone have a clue to this?
[X Play Q&A, Help & Troubleshooting] odysseus84:
Did you try the french Rom as base?
[X Play Q&A, Help & Troubleshooting] jnsson:
No I haven't. Can you link me the right French DS version pls :)

Skickat från min Moto G 2014 LTE via Tapatalk
[X Play Q&A, Help & Troubleshooting] odysseus84:
Onthe first page of this thread, there is a post from me woth the link.
[X Play Q&A, Help & Troubleshooting] jnsson:
Alright. The Google link? And after that, it did work with CM for you?

Skickat från min Moto G 2014 LTE via Tapatalk
[X Play Q&A, Help & Troubleshooting] odysseus84:
read that post. I was the guy with the solution for this for european phones.
[X Play Q&A, Help & Troubleshooting] jnsson:
Alright. I will do that later today

Skickat från min Moto G 2014 LTE via Tapatalk

---------- Post added at 12:39 ---------- Previous post was at 12:22 ----------

Must just ask, where in the build.prop did you add the lines? Just at the bottom in the file or at a specific place in the file?
[X Play Q&A, Help & Troubleshooting] odysseus84:
just at the end, but it doesn't matter.

Anyway, I prefer the local.prop methode.
[X Play Q&A, Help & Troubleshooting] jnsson:
Yeah. I'm going to try the local.prop first. Are you using the .prop method now? And if yes. Are you still using CM?

Skickat från min Moto G 2014 LTE via Tapatalk
[X Play Q&A, Help & Troubleshooting] odysseus84:
No, because of some initial trouble with CM13 I went back to the europ radio. but I guess I go DS again with the next version if CM13.
[X Play Q&A, Help & Troubleshooting] jnsson:
Alright. I plan on using CM 12.1 with DS :)

Skickat från min Moto G 2014 LTE via Tapatalk
[X Play Q&A, Help & Troubleshooting] jnsson:
Still wont enable dual SIM on CM 12.1 :(
[X Play Q&A, Help & Troubleshooting] jellysheep:
Hi, please ensure that either .prop file is owned by user root and group root (chmod 644 is fine, according to the screenshot). Also make sure that there are no additional linebreaks, e.g. before the '1000'. Did you try the french ROM?
[X Play Q&A, Help & Troubleshooting] jnsson:
I have installed the french rom and it is working with any stock rom from Motorola, but with CM, no luck. Altho I upgraded to MM. It is owned by root and the group root. I just copied right from this thread in to a editor and then just saved. And it didn't work :(
[X Play Q&A, Help & Troubleshooting] jellysheep:
What exactly are the issues with CM? does it show 2 sims in the settings? Does it just fail to get a connection on the second sim?
[X Play Q&A, Help & Troubleshooting] jnsson:
The SIM managment in settings are not there, and it doesn't recognize that this phone has 2 SIM slots :(
[X Play Q&A, Help & Troubleshooting] jellysheep:
Could you please attach the local.prop to a post, just to ensure there are no linebreak or encoding issues (some editors cause them).
[X Play Q&A, Help & Troubleshooting] jnsson:
Well, it is already in this thread. Here is it: http://dl-1.va.us.xda-developers.co....png?key=VaLA2ANjJx9EtyBhsgRk5A&ts=1450114898 Right now, I'm running stock MM, but I can do I backup and install CM 12.1 if you have a solution
[X Play Q&A, Help & Troubleshooting] jellysheep:
I meant the file as a *text file*, not a screenshot, to check character encoding, and it looks as if there was a linebreak berore the '1000'.. Maybe you can access that via a backup.
[X Play Q&A, Help & Troubleshooting] jnsson:
Oh. Alright. I will upload the file soon

Skickat från min Moto G 2014 LTE via Tapatalk
[X Play Q&A, Help & Troubleshooting] jnsson:
Here is the fil. I create it on the phone on stock rom, but I did it the same way I did it in CM
[X Play Q&A, Help & Troubleshooting] jellysheep:
It seems that somehow the line endings got corrupted. Please try the attached file with correct line endings (by copying the file to /data/local.prop, not by copying the text in an editor). And consider using a different editor for system files :D (ES File Explorer is ok for that case).
[X Play Q&A, Help & Troubleshooting] jnsson:
Oh. Alright! Thanks! :)
[X Play Q&A, Help & Troubleshooting] jnsson:
Should I have problems with Bluetooth after enabling the second SIM slot? Because now the phone won't play music via my Bluetooth headset on stock rom

Skickat från min XT1562 via Tapatalk
[X Play Q&A, Help & Troubleshooting] jnsson:
That worked. Tho in the notification drawer, in quick settings, only the network that I use data from is showing in the quick settings, should it be that way in CM?
[X Play Q&A, Help & Troubleshooting] jellysheep:
Hey, it's great that it now works for you. [emoji106] The single tile seems to be normal, getting it as well, I don't know however if this is the default CM behaviour. You'll have to ask in the CM thread for this.
[X Play Q&A, Help & Troubleshooting] Pumpino:
I'm having issues with the 15/12 build of CM13 not detecting my sim card. The 1/12 build works fine, as does CM12.1.

Someone suggested that I try what's described in the OP, since it may get CM13 to recognise my sim (they had the same issue in CM12.1 and it resolved it). I don't actually need dual sim functionality.

Could I just create the file while CM13 is installed, or do I need to flash stock dual sim firmware first to somehow activate it? If I need to, is there a version I could flash in TWRP, or would I have to flash it via fastboot and then reinstall TWRP once I'm done?
[X Play Q&A, Help & Troubleshooting] jellysheep:
If you already had flashed a stock dual-sim rom before CM12, you don't need to flash it again. Just flash CM13 and modify build.prop/local.prop.
[X Play Q&A, Help & Troubleshooting] Pumpino:
No, I haven't flashed the dual sim firmware before. What I'm wondering is why flashing the dual sim firmware does anything if /system and /data are going to be wiped prior to installing CM13. What changes does the firmware make exactly?
[X Play Q&A, Help & Troubleshooting] eskamhl:
The important thing is to have a dualsim modem ( NON-HLOS.bin and fsg.mbn ).
[X Play Q&A, Help & Troubleshooting] Pumpino:
Oh, I understand. CM obviously doesn't replace the modem then.
[X Play Q&A, Help & Troubleshooting] Pumpino:
Is the second sim slot right next to the first sim slot in the pull out tray? It looks like it, but there's black plastic filling the slot.

How did you guys remove the plastic? I tried pushing a paperclip in, but it didn't work.
[X Play Q&A, Help & Troubleshooting] jnsson:
Yes. It is next to the first SIM. I just used my nails and pouch it upwards

Skickat från min Moto G 2014 LTE via Tapatalk
[X Play Q&A, Help & Troubleshooting] Pumpino:
Thanks. I ended up using a knife.

Both sims worked with the retail Asian firmware (118-22), however no sim cards are detected in both CM12.1 or CM13. I was having sim card issues with CM13 previously, but now CM12.1 no longer works. I'm going to flash the single sim UK firmware and see if I can get signal in CM again.
[X Play Q&A, Help & Troubleshooting] jnsson:
I had the same problem. If you look for my username on the pages here at the end, I got a solution to my problem :). I got the SIM to work on CM 12.1
[X Play Q&A, Help & Troubleshooting] Pumpino:
The issue with the formatting of local.prop? I'll try that. Thanks.

Did neither sim slot work for you in CM12.1 prior to adding local.prop? I thought sim1 would still work, as it did for me with the single sim radio previously.

Have you tried CM13?
[X Play Q&A, Help & Troubleshooting] jnsson:
Yes. The issue with the formatting of local.prop. neither SIM did work in CM prior to adding local.prop. I good way to know when you have done the .prop file right is that under Bluetooth or data usage, you should have a SIM manage in the settings. I haven't tested CM 13 because it has some major bugs for me.
[X Play Q&A, Help & Troubleshooting] milestoneman:
I flashed the Indian Marshmallow rom and it now shows my UK phone has 2 sim slots but I cannot connect on second slot. Tried a Three and Vodafone sim which both work in sim slot 1.

Do I need to do anything else to make it live or was flashing the rom enough? I thought it was good to go as the sim selection options appeared.

Thanks
[X Play Q&A, Help & Troubleshooting] KL643:
Maybe a dumb question but do I need 2 sims to see if it works? I only have one sim by hand and if I put it in tray nr 2 it doesn't show up.
[X Play Q&A, Help & Troubleshooting] jellysheep:
Please avoid double posting, wait for an answer in one of the threads first.

Concerning the problem, have you done all the steps in the HowTo? You have to ensure that the sim that is *not* used for bobile data has a 2G band available. This is because the X Play can only use one sim card with 3G/LTE, the other must use 2G.
[X Play Q&A, Help & Troubleshooting] jellysheep:
If you've done all steps (especially flashing the dual sim rom and editing build.prop/local.prop), then both slots should work fine, also with only one sim inserted.

Which rom are you using?
[X Play Q&A, Help & Troubleshooting] KL643:
The Brazilian MM rom posted in other thread...
[X Play Q&A, Help & Troubleshooting] jnsson:
The only thing you need to do is set the 3 SIM as data SIM, other than that, it should work

Skickat från min Nexus 4 via Tapatalk
[X Play Q&A, Help & Troubleshooting] Ineedtoys:
I would love to be corrected but as far as I can tell, this is a futile exercise, at least in the UK.

On a single SIM XT1562, there is no IMEI allocated for the 2nd slot, even when the phone is flashed with firmware from another region for "Dual SIM" working.

So there simply isn't any legal way to get both SIMs working [1], as no UK network will accept a connection from a phone with an invalid ( or zero) IMEI.

[1] Bearing in mind that reprogramming the IMEI is strictly illegal in the UK - even an

offer

to modify it is an offence!

From Mobile Telephones (Re-Programming) Act 2002:

1(1) A person commits an offence if:

he changes a unique device identifier,

he interferes with the operation of a unique device identifier,

he offers or agrees to change, or interfere with the operation of, a unique device identifier, or

he offers or agrees to arrange for another person to change, or interfere with the operation of, a unique device identifier.

​
[X Play Q&A, Help & Troubleshooting] jnsson:
In Sweden it works as long as you flash the dual sim variant

Skickat från min Nexus 4 via Tapatalk
[X Play Q&A, Help & Troubleshooting] Tim3tripp3r:
That's the heart of the matter for most people who find the 2nd SIM card not working. It all boils down to your location & rules regarding IMEI per SIM slot. Canada definitely requires one for each SIM card. Obviously single SIM phones only leave the factory with one IMEI while dual SIM phones are going out with separate IMEI for each slot.

So for all the people who have got their phones working with dual SIM but just one IMEI it just means that your location is one that does not require one IMEI per SIM and you should consider yourself lucky.

It really should be stressed more on the Single SIM to dual SIM threads (more than one going on XDA) that it is hugely YMMV (Your mileage may vary).

I was curious to see if the dual sim Moto X Play were coming from factory with sequential IMEI's i.e. 1st SIM ends in 4 2nd SIM ends in 5. Just a guess on my part that logically the 2nd SIM would be +1 more than 1st one. Seems a shame that Motorola just didn't make them all DS models from the get go since they left the hardware intact.
[X Play Q&A, Help & Troubleshooting] milestoneman:
sigh... I probably wouldnt have unlocked the bootloader and messed around so much if I knew that from the first post.

Back to stock I go..thanks for all information.
[X Play Q&A, Help & Troubleshooting] ch3mn3y:
Anyone from Poland tried this and can confirm if 2 sim works or not with our carriers?

Sent using C6833 - AICP/GreatDevs
[X Play Q&A, Help & Troubleshooting] spannerz:
Dual SIM IMEI are not sequential from factory

Hi,

I have an official dual SIM Moto X Play (ordered from Amazon France) and it has 2 IMEI numbers that are identical except for the last couple of digits and are not sequential, SIM 1 ends with xxxxxx87 and SIM2 ends with xxxxxx95

My model is XT1562 / type M13C6 / FCC ID IHDT56UB3 with system version 23.21.10.lux-retasisa-ds.retasiaall.en.03.retfr
[X Play Q&A, Help & Troubleshooting] Tim3tripp3r:
Thanks for the heads up.
[X Play Q&A, Help & Troubleshooting] spannerz:
No problem, just looked at my Moto G 2nd Gen dual SIM and that also has non sequential IMEI's ending in xxxx19 and xxxx27 so they seem to have a difference of 8 between the two IMEI's
[X Play Q&A, Help & Troubleshooting] programmieramt:
Hey.

I have done this many times. But now with cm13 i can not connect with adb to my moto x play. Can anyone help?
[X Play Q&A, Help & Troubleshooting] D4rk3r:
Hello guys,

I have followed this topic with great interest since my Moto x style has the same dual sim hardware with limited software, just like the XT1562. Given your succes I tried implementing the local.prop and Build.prop on my XT1572. Even though the phone model is a bit different I hope you can still help me. (I have asked in the Moto X style/pure part of the forum but you guys are much further).

I tried your solution, but failed.

RETASIA works fine, except for the second simslot. It just won't recognize a simcard in the slot:

I tried editing the build.prop with ES file explorer. Rebooted. Nothing changed.:o

Then I tried the creation of a local.prop copied in from windows moved further by ES file explorer. Rebooted. Nothing changed.:fingers-crossed:

I also tried creating the local.prop in ES file explorer and typing the code. Rebooted. Nothing changed.:(

I also tried downloading the file in post #85 (thanks jellysheep). Rebooted. Nothing changed.:crying:

The steps I have taken:

1 bought device RETEU-clark, checked for dubbel sim reader.

2 unlocked bootloader

3 Rooted device

4 flashed RETASIA

5 changed build.prop/added local.prop

I have somewhat of an idea of what I am doing here, have not done anyting like this before though. To be sure, could someone answer my basic questions in order to help me get a solution?

B1 Can you guys name some points where I could have gone wrong? (and how to fix it).

B2 How do you edit the file? (I used ES file Explorer rooted)

B3 How do you check the permissions of the files? (I copied the build.prop for one of the tries, emptied it and filled it with local.prop code then saved it as local.prop. In settings it has root:root but I can't find the chmod 644 part)

B4 Are the commands exactly the same even though the phone model is different? (XT1562 vs XT1572)

thanks a lot in advance

My specifics;

Phone: XT1572

unlocked: yes

recovery: TWRP

Rooted: yes SuperSu

flashed RETASIA 5.1.1 over original RETEU, works like a charm.

file editor: ES File Explorer with root rights

local.prop: h ttps://drive.google.com/open?id=0B8C7WDXb8aJWZnZMS05NejJya0U