[GUIDE] to enable DualSim on SingleSim Moto Z by xequtor

Search This thread

b0mmel

Member
Feb 12, 2012
12
2
Karlsruhe
No, it works with stock-rom as well.
(It's not even necessary to flash a different recovery... However, I still need to gather some info from people with a factory-made dual-sim phone to maybe address the second imei = 0 thing).

Got it - I start a request in a poll regarding IMEI count on the box - maybe somebody will helps us here. :)
 

ottmi

Senior Member
Mar 3, 2016
232
364
Munich
Well, it also works without touching the fsg partition, but I still have to check if that works for stock images as well...

I don't think that it would work for stock images. The baseband is loaded by rmt_storage. Looking at the strings in this binary, it reads the following properties:
Code:
ro.hw.device
ro.fsg-id
ro.carrier
ro.hw.radio
persist.radio.multisim.config

And from these values it obviously builds the filename of the baseband to be loaded:
Code:
/fsg/%s_%s.img.gz
/fsg/0.img.gz
/fsg/%s_%s_%s_%s.img.gz
/fsg/%s_%s_%s.img.gz

In my case, the corresponding property values are as follows and it loads sheridan_row.img.gz as baseband.
Code:
[ro.hw.device]: [sheridan]
[ro.boot.fsg-id]: []
[ro.carrier]: [reteu]
[ro.hw.radio]: [ROW]
[persist.radio.multisim.config]: [dsds]
I'm assuming that persist.radio.multisim.config has not been set yet when rmt_storage starts as it starts quite early in the init process..
 

topcaser

Senior Member
Dec 17, 2005
864
117
Is there a way to get the second SIM running without unlock the bootloader? Probably not, isn't it?
 

Fukato1987

New member
May 2, 2017
3
0
Hello,
i don't know if my device is working due to the sd card -sim card glue.
my old dual sim phone need the sim card on the other side, so at home i have to rotate it and glue it again.

but if i set up the following command(at work):
HTML:
fastboot erase modemst1
fastboot erase modemst2
fastboot erase cache
fastboot reboot

i will get some strange output(please notice "has-slot:modemst1: not found"):

HTML:
fastboot erase modemst1
(bootloader) has-slot:modemst1: not found
erasing 'modemst1'...
OKAY [  0.178s]
finished. total time: 0.178s

fastboot erase modemst2
(bootloader) has-slot:modemst2: not found
erasing 'modemst2'...
OKAY [  0.184s]
finished. total time: 0.184s

fastboot reboot
rebooting...
finished. total time: -0.000s
i will get this messages are their normal?

---------- Post added at 08:43 PM ---------- Previous post was at 08:42 PM ----------

Is there a way to get the second SIM running without unlock the bootloader? Probably not, isn't it?

no you have to modify configs in "/system" partition
 

nachtfalke7711

New member
Apr 6, 2010
4
0
First IMEI 0

I made a mistake and my first Imei is 0. Flashing NANDROID Backup is not possible because TWRP says its write protected. Any ideas?
 

benzinerwin

Senior Member
May 1, 2008
50
54
I made a mistake and my first Imei is 0. Flashing NANDROID Backup is not possible because TWRP says its write protected. Any ideas?

What mistake, what did you do exactly? Did you flash erase everything meanwhile (DON'T!)? What kind of nandorid-backup did you do, what partitions does it include ... ect?
Is TWRP flashed as recovery or did you just soft-booted it via fastload?
 

nachtfalke7711

New member
Apr 6, 2010
4
0
The Second SIM suddenly wasn´t recognized anymore. I tried to redo the steps from post #1: Deleting and Renaming the 4 files (griffin and the sheridan) and do the fastboot steps:

fastboot erase modemst1
fastboot erase modemst2
fastboot erase cache
fastboot reboot


in bootloader menu.
I haven´t erased anything (hope so). I only copied the complete "fsg" folder back from SD to /system and tried the steps again. I also tried to install different roms (incl. wipe cache/data). SIM 1 IMEI is "unbekannt" = unknown and no baseband is available.
Meanwhile there was also no SIM-Card Menu in the settings. This was solved by toggling the app "MultiSIM-toggle"
 
Last edited:

benzinerwin

Senior Member
May 1, 2008
50
54
The Second SIM suddenly wasn´t recognized anymore. I tried to redo the steps from post #1: Deleting and Renaming the 4 files (griffin and the sheridan) and do the fastboot steps:

I haven´t erased anything (hope so). I only copied the complete "fsg" folder back from SD to /system and tried the steps again. I also tried to install different roms (incl. wipe cache/data). SIM 1 IMEI is "unbekannt" = unknown and no baseband is available.
Meanwhile there was also no SIM-Card Menu in the settings. This was solved by toggling the app "MultiSIM-toggle"

Ok, you need to restore the fsg & persist partitions. Do not copy file by file because this can easily go wrong. Best do it via fastboot. Then erase modemst1, modemst2, cache. Do you have a valid fsg.img?
 
Last edited:
  • Like
Reactions: nachtfalke7711

nachtfalke7711

New member
Apr 6, 2010
4
0
OK, i have copied the fsg with ES File Explorer before all changes to the sd card & to the pc. But i have no "persist" partition.
 

benzinerwin

Senior Member
May 1, 2008
50
54
OK, i have copied the fsg with ES File Explorer before all changes to the sd card & to the pc. But i have no "persist" partition.
Start your phone into recovery mode (TWRP) and have the PC connected.
From the PC commandline:
Code:
adb shell "dd if=/dev/block/sda3 of=/tmp/sda3.bin"
adb pull /tmp/sda3.bin
Kepp that file, it's an image of (what's left of) your persist-partition.
You can send that file to me and I can try to reconstruct a working partition image. (It's just an offer.)

Meanwhile, there may be an alternative (more like a work-around): do you have a backup of both partitions modemst1 and modemst2? Though, I guess not... :(
 

Vcek

Senior Member
Aug 27, 2011
1,169
338
Simril
Im just curious about how the 2nd SIM registers with IMEI 0, doesn't the Carrier block the sim?
 

benzinerwin

Senior Member
May 1, 2008
50
54
Im just curious about how the 2nd SIM registers with IMEI 0, doesn't the Carrier block the sim?

it depends on the carrier. As long as there are no legal obligations regarding the handling of IMEIs, they usually ignore them (invalid / dupes). The providers are basically interested in a valid IMSI (subscriber serial number, provided by the sim card) in order to generate revenue. Only if they suspect fraud, they might lock you out.
 
  • Like
Reactions: Vcek

grafvonvolta

New member
Apr 26, 2017
2
0
Missing switch

both sim cards are working fine... but I can't switch them off separately. The switches are missing.

Does someone else have this issue and maybe a fix?
 

apocalypse_bg

Senior Member
May 27, 2010
201
24
Huawei Mate 20 X
I ordered a (supposedly) dual-SIM version of the SIM tray from Aliexpress. The seller was not quite sure about whether or not the tray can take two SIM cards, but I decided to get it anyways: if I need to cut anything, I'd rather cut a spare.

When is the delivery? I'm thinking of doing the same instead of modifying the original tray, before attempting the software side of things :)
 

apocalypse_bg

Senior Member
May 27, 2010
201
24
Huawei Mate 20 X
Bought one from ebay Germany (delivered from China): http://www.ebay.de/itm/172391547845
Delivery took about two weeks. Fits and looks like original one. I have not done the software changes yet to enable Dual Sim, so using it still only with one Sim and SD.

I've ordered​last week from the same vendor .. so I'll wait a little bit more to see which way will the solution develop, I have weak hope to be doable without voiding the warranty
 

Nash123

Senior Member
Sep 21, 2010
384
54
Got that one too. Took only several days until it arrived.

2 SIM cards fit and function well (without the need to cut something), but with the Micro-SD below the second sim it is too big to fit. I guess I have to "optimize" the second sim somehow to get the sim-tray inside the phone.

Thx to all who contributed to make the Moto Z even more awesome.

Edit: What is really missing in lineage 14.1 is a button to turn off sims individually. Really annoying not being able to do this. I guess I revert back to single sim usage.
 
Last edited:

topcaser

Senior Member
Dec 17, 2005
864
117
Google for sim card mod or look in the other thread dealing with two-way sims

Gesendet von meinem Fire Phone mit Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Code:
    ###Disclaimer###
    I am not responsible if your phone will be damaged, broken, boot looping.
    YOU are choosing to make these modifications and accept the fact that something might go wrong.

    Thanks @-=MoRpH=- for Moto Z Play guide

    you will need to root your device.
    I did this mod on LineageOS 14.1, on stock 6.0.1 ROM I will do later, after downgrade and root.
    Edit: can't do on 6.0.1 as I upgraded to 7.0 and 7.1.2 and no way to go back to 6.0

    FYI: If you update OTA to Android 7.x you won't be able to downgrade to 6.0, I did and I can't, If knew before I would not upgrade yet, one reason is, there is no Xposed for 7.x yet.
    You can upgrade to 7.x manually w/o replacing the bootloader.

    You can use guide from benzinerwin which works w/o root, you need to unlock bootloader:
    https://forum.xda-developers.com/showpost.php?p=72015833&postcount=6


    to enable Dual SIM I tried first in TWRP Terminal (I think maybe as su would work)


    Code:
    setprop persist.radio.multisim.config dsds

    but did not work, don't know why, so I tried Multisim Toggle and it worked

    https://forum.xda-developers.com/android/apps-games/app-multisim-toggle-t2830647

    reboot and make sure you got the dual sim options in the Settings. (see picture below)

    According to @-=MoRpH=- guide, https://forum.xda-developers.com/moto-z-play/how-to/guide-to-enable-dualsim-singlesim-t3570601
    you have to delete both, griffin_2.img.gz and griffin_row.img.gz files and rename both DSDS files but I did delete just griffin_2.img.gz and renamed griffin_dsds_2.img.gz and it works, so don't know if it's necessary to delete and rename both files (I'll have to research and update later)

    do the same for sheridan files, also see post from @ottmi https://forum.xda-developers.com/showpost.php?p=72045868&postcount=36

    Edit:
    I just flashed AOKP ROM and renamed both files and also works.

    Make backup of both files, /fsg/griffin_2.img.gz and /fsg/griffin_row.img.gz and/or backup /fsg partition with TWRP
    for both, delete and rename, I booted to recovery TWRP and did it in TWRP File Manager
    delete the baseband your phone use normally, on EU devices griffin_2.img.gz
    rename the dsds files from griffin_dsds_2.img.gz to griffin_2.img.gz

    Reboot to bootloader (Vol- and Power button) and on your PC/Mac enter

    Code:
    fastboot erase modemst1
    fastboot erase modemst2
    fastboot erase cache
    fastboot reboot

    now you should have both cards working.

    This is work in progress, will be updated later.

    Below the Dual SIM tray to see how to place the 2nd SIM

    You can modify the original SIM tray to fit 2nd sim, see pic 3, you have to cut the extra material on both sides

    Do it on your own risk, if you do something wrong you may brick your phone or damage SIM card tray or connectors.
    Please don't PM me for a how-to step-by-step guide.
    4
    And now i am still on the old SRS called baseband :crying:

    I don't have ideas anymore.... Do you have some more? Thx!
    Note that there are baseband files in fsg not only for griffin but also for sheridan. My phone reports as:
    Code:
    [ro.mot.build.oem.product]: [griffin]
    [ro.product.device]: [griffin]
    [ro.product.name]: [griffin]
    [ro.boot.device]: [sheridan]
    [ro.hw.device]: [sheridan]
    And I have to do these modifications for sheridan to make dualsim work (actually I did it for both and didn't bother to check whether modifying the sheridan files only is sufficient).
    2
    Do both slots support LTE?

    Gesendet von meinem SM-N910F mit Tapatalk

    yes, I testet with both.
    But not at the same time, just one SIM can be selected for data.
    1
    Did you have to cut the SIM holder?
    Also, was you second IMEI a zero or a valid number?

    if you use microSD with 2nd SIM then no need to cut the SIM holder if you glue the SIM to microSD, otherwise you may need to cut the extra material

    https://static.mydealz.de/live/comments/full_screen/HBsjw/13883078.jpg

    2nd IMEI is 0
    https://static.mydealz.de/live/comments/full_screen/FKQ3y/13887167.jpg
    1
    In case "setprop persist.radio.multisim.config dsds" as well as Multisim Toggle does not work, try this alternative:

    Applies to Lineageos, with root enabled (e.g. supersu installed)

    Option A: command line mode
    1. activate developer mode
    2. developer options: enable terminal app
    3. run terminal app, grant root access when requested
      Code:
      su
      mount -o rw,remount /system
      cd /system
      cp build.prop build.prop.orig
      echo ro.hw.dualsim=true >>build.prop
      mount -o ro,remount /system
    4. reboot

    Option B: root file explorer mode
    you need a root-enabled file explorer, e.g. FX or Root Explorer, ES File Explorer etc.
    1. navigate (in root mode) to /system
    2. make '/system' read/writable (menu: 'mount read/write')
    3. optional: make a copy and rename it to e.g. build.prop.orig
    4. open build.prop in a text editor and move to the very end
    5. append the following line:
      Code:
      ro.hw.dualsim=true
    6. save the file
    7. make /system read-only again, or just ...
    8. reboot