How to turnoff sim2 in dual sim? - Micromax Canvas A1

Hi all,
I am using micromax canvas A1 which was updated to lollipop. Its a dual sim phone. I want to turn off the sim2 without receiving any calls/messages(messages is ok to receive) for a period of time(daily 3 hrs for eg). If i try to keep my phone in areoplane mode, my sim1 also not receiving any calls. Is there any way to receive calls only to sim2 for a particular period of time? How to turnoff it for a period of time.?
Thanks in advance
Lakshman

lucky418 said:
I want to turn off the sim2 without receiving any calls/messages(messages is ok to receive) for a period of time(daily 3 hrs for eg). If i try to keep my phone in areoplane mode, my sim1 also not receiving any calls. Is there any way to receive calls only to sim2 for a particular period of time? How to turnoff it for a period of time.?
Click to expand...
Click to collapse
1. Root your phone
2. Create 2 scripts and save it somewhere:
Enable-Multi-SIM.sh :
Code:
su
setprop persist.radio.multisim.config dsds
Disable-Multi-SIM.sh :
Code:
su
setprop persist.radio.multisim.config none
3. Install Tasker app.
4. To disable SIM-2 at a certain time, add a task to execute Disable-Multi-SIM.sh at a certain time..
5. To enable SIM-2 at a certain time, add a task to execute Enable-Multi-SIM.sh at the required time..
Note:
You won't get messages too from SIM-2 when it's disabled.

I am on KitKat cm-11-20150607-NIGHTLY-sprout.zip and I am about to try this.
In my case, I want to disable SIM1 for certain time how do i do that?
One obvious approach would be swap the SIM to be disabled in the 2nd slot. But it would be nice if there is something in the script.
GokulNC said:
1. Root your phone
2. Create 2 scripts and save it somewhere:
Enable-Multi-SIM.sh :
Code:
su
setprop persist.radio.multisim.config dsds
Disable-Multi-SIM.sh :
Code:
su
setprop persist.radio.multisim.config none
3. Install Tasker app.
4. To disable SIM-2 at a certain time, add a task to execute Disable-Multi-SIM.sh at a certain time..
5. To enable SIM-2 at a certain time, add a task to execute Enable-Multi-SIM.sh at the required time..
Note:
You won't get messages too from SIM-2 when it's disabled.
Click to expand...
Click to collapse

I swapped the SIM. Put the one I wanted to disable in SIM2 slot. The script works fine. Just needs a restart.

ravinshende said:
I am on KitKat cm-11-20150607-NIGHTLY-sprout.zip and I am about to try this.
In my case, I want to disable SIM1 for certain time how do i do that?
One obvious approach would be swap the SIM to be disabled in the 2nd slot. But it would be nice if there is something in the script.
Click to expand...
Click to collapse
According to those commands, they just disable and enable dual-sim feature.
To use those same commands, obviously, you have to make sure that the sim that has to work continuously should be SIM 1 and the other one should be SIM 2.
Apart from this method, there might be some other methods.
For example, you may also use Tasker to block calls from certain SIM during certain time period..
Or there might be some call blocker app that can do this. Searching a little might help

Related

[Q] APN Problem in Cosmic V4.6

I did a clean install of cosmic v4.6
Installed Gapps.
APN is not saved by default.
I have to change preferred network to GSM/WDCMA Auto.
I get an error that Unfortunately, the process com.android.phone has stopped.
But the APN now gets installed of both the sims.
In dual sim settings the 2nd sim is activated by default for calls, data & messaging.
Now when I restart my phone due to any reason I have to go through the entire process stated above to get APN.
Also when I get a 2nd call in call waiting the 1st call goes to HOLD automatically.
Kindly HELP
antiquitygold said:
I did a clean install of cosmic v4.6
Installed Gapps.
APN is not saved by default.
I have to change preferred network to GSM/WDCMA Auto.
I get an error that Unfortunately, the process com.android.phone has stopped.
But the APN now gets installed of both the sims.
In dual sim settings the 2nd sim is activated by default for calls, data & messaging.
Now when I restart my phone due to any reason I have to go through the entire process stated above to get APN.
Also when I get a 2nd call in call waiting the 1st call goes to HOLD automatically.
Kindly HELP
Click to expand...
Click to collapse
a simple fix fr this prob is ...use single sim
open terminal
type su and grant root access
then type setprop persist.radio.multisim.config none
then reboot .. u can use mobile data now ...... k2wl is working towards fixing this issue

[Q] Dual Sim and Sharewifi not work( build 13 AOSB 1.3.7)?

At first the for this great room
I install( build 13 AOSB 1.3.7) from this title http://forum.xda-developers.com/showthread.php?t=2603219
And I can't find option one Sim card only work
And I can't find option Sharewifi
And option move to SD card not showing
Is the room don't have these option
BTW in the title was shown that the room (DUAL)
Whats should I do
waled moner said:
At first the for this great room
I install( build 13 AOSB 1.3.7) from this title http://forum.xda-developers.com/showthread.php?t=2603219
And I can't find option one Sim card only work
And I can't find option Sharewifi
And option move to SD card not showing
Is the room don't have these option
BTW in the title was shown that the room (DUAL)
Whats should I do
Click to expand...
Click to collapse
Simply download app from this thread http://forum.xda-developers.com/android/apps-games/app-multisim-toggle-t2830647
or
Follow this................
How do I enable Dual SIM?
To enable or disable, run the following command from adb or terminal emulator and then reboot. SIM Settings can then be found in Settings -> Multi Sim Settings.
Enable:
Code:
su
setprop persist.radio.multisim.config dsds
Disable:
Code:
su
setprop persist.radio.multisim.config none
Note that Dual SIM mode currently has the following limitations:
Both SIMs are always enabled (no way to disable one SIM)
"Receive incoming call while data is enabled" is always enabled
The QuickSettings tile will display the status for the currently selected SIM for data
There is no arrow activity indicator in the status bar.
Changing 2G/3G network mode using the QuickSettings toggle is not supported, only do it from Settings.
Changing 2G/3G mode in Settings may show too many options if the language used is not English. If more than 3 options is shown, only use the 3 top options (which will be WCDMA only/GSM only/WCDMA preferred regardless of the actual label shown).
3G may not work properly if Dual SIM mode is enabled with only 1 SIM inserted
Cannot set different ringtone for each SIM
Baseband version not displayed in Settings

Data Sim switch not working in terminal or shell

Hi,
I'm using a sim in slot 2 just for data when I'm abroad (chatsim). I tried making a tasker profile which would switch data to sim2 when sim1 is roaming.
I've tried using a root shell command "settings put global multi_sim_data_call 2" and it does switch the data to sim 2 in the settings but actually nothing happens further.
The data is still on sim 1.
Does anyone know how to activate it? Maybe a command to restart the RIL?
Thanks for any help
Have the same problem ?
Any news on that?
Ketelbinie971 said:
Hi,
I'm using a sim in slot 2 just for data when I'm abroad (chatsim). I tried making a tasker profile which would switch data to sim2 when sim1 is roaming.
I've tried using a root shell command "settings put global multi_sim_data_call 2" and it does switch the data to sim 2 in the settings but actually nothing happens further.
The data is still on sim 1.
Does anyone know how to activate it? Maybe a command to restart the RIL?
Thanks for any help
Click to expand...
Click to collapse
Hi, this might be late but try changing SElinux from forced to permissive. It should solve the problem

How To Guide Enable VoLTE and VoWifi on OOS 13 without root

Thanks to @caracciola for posting this on the OnePlus 7 Pro forum (link to original guide), the same guide worked on my OnePlus 9 Pro (EU - LE2123 - F75 update, also on 13.1) to enable VoWifi (wifi Calling).
I am just rewording the steps here to make them clearer for me:
Note 1: If you have 2 sims, disable the second sim and proceed. After finishing with the first sim, enable the second sim and disable the first sim then repeat the steps from step 3.
Note 2: Make sure to disable permission monitoring in Developer settings.
Install Shizuku app from playstore: Shizuku - Apps on Google Play
Download "pixel ims" from the attachments of original post to your phone (direct link). Exctract the APK and install it, but do not open it yet. (Edit 27/06/2023: new updated apk available here)
Open the Start shizuku app on your phone.
Connect your phone to you PC with USB DEBUGGING enabled.
Run the ADB command on your PC: adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh
You should see something like "Shizuku is running" at your phone. (Edit: might need to uncheck "Disable permission monitoring" in developer settings).
While the shizuku app is running now open the pixel ims app.
Tap "Allow all the time" when seeing prompt asking for Shizuku permission.
Press the button "Enable VoLTE" to enable VoLTE in Pixel IMS
Reboot your phone... Voilà now you have the switches for VoLTE & VoWifi on the settings
Not works for me... I have the italian operator PosteMobile
Doesn't work for me... I tried to use a custom ROM so I could have VoWiFi, but I felt something was off. I got back to OOS13 on my OnePlus 8 Pro (IN2023) with AT&T and tried this method but no success...
omar302 said:
Thanks to @caracciola for posting this on the OnePlus 7 Pro forum (link to original guide), the same guide worked on my OnePlus 9 Pro (EU - LE2123 - F75 update) to enable VoWifi (wifi Calling).
I am just rewording the steps here to make them clearer for me:
Note 1: If you have 2 sims, disable the second sim and proceed. After finishing with the first sim, enable the second sim and disable the first sim then repeat the steps from step 3.
Note 2: Make sure to disable permission monitoring in Developer settings.
Install Shizuku app from playstore: Shizuku - Apps on Google Play
Download "pixel ims" from the attachments of original post to your phone (direct link). Exctract the APK and install it, but do not open it yet.
Open the Start shizuku app on your phone.
Connect your phone to you PC with USB DEBUGGING enabled.
Run the ADB command on your PC: adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh. You should see somewhat like "Shizuku is running" at your phone.
While the shizuku app is running now open the pixel ims app.
Tap "Allow all the time" when seeing prompt asking for Shizuku permission.
Press the button "Enable VoLTE" to enable VoLTE in Pixel IMS
Reboot your phone... Voilà now you have the switches for VoLTE & VoWifi on the settings
Click to expand...
Click to collapse
Thank you! It worked on a LE2121 with Android 13!
Update:
I just updated to 13.1 and lost VoLTE. Re-did the steps and got it back.
Added an edit to step 5 in OP, as with 13.1 I had to uncheck "Disable permission monitoring" in developer settings).
It's not work. Oneplus 10 pro. Oxygen os 13.1
yasador said:
It's not work. Oneplus 10 pro. Oxygen os 13.1
Click to expand...
Click to collapse
Need to be more specific.....
Hi,
When I put in the command
adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh.
on my PC, I get the following error:
sh: /sdcard/Android/data/moe.shizuku.privileged.api/start.sh.: No such file or directory
I tried toggling disable permission monitoring but still getting the same result
Help please
momiloco said:
Hi,
When I put in the command
adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh.
on my PC, I get the following error:
sh: /sdcard/Android/data/moe.shizuku.privileged.api/start.sh.: No such file or directory
I tried toggling disable permission monitoring but still getting the same result
Help please
Click to expand...
Click to collapse
If you are using Windows PowerShell, you might need to .\ Infront of the command. it would be like this:
.\adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh
Another suggestion, I think the command should be without the period "." at the end. I just edited the original post to remove it.
omar302 said:
If you are using Windows PowerShell, you might need to .\ Infront of the command. it would be like this:
.\adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh
Another suggestion, I think the command should be without the period "." at the end. I just edited the original post to remove it.
Click to expand...
Click to collapse
Thanks bro.
I tried like what you suggested but still the same error.
Managed to do it using wireless USB debugging. Much easier.
Thanks
omar302 said:
Thanks to @caracciola for posting this on the OnePlus 7 Pro forum (link to original guide), the same guide worked on my OnePlus 9 Pro (EU - LE2123 - F75 update, also on 13.1) to enable VoWifi (wifi Calling).
I am just rewording the steps here to make them clearer for me:
Note 1: If you have 2 sims, disable the second sim and proceed. After finishing with the first sim, enable the second sim and disable the first sim then repeat the steps from step 3.
Note 2: Make sure to disable permission monitoring in Developer settings.
Install Shizuku app from playstore: Shizuku - Apps on Google Play
Download "pixel ims" from the attachments of original post to your phone (direct link). Exctract the APK and install it, but do not open it yet.
Open the Start shizuku app on your phone.
Connect your phone to you PC with USB DEBUGGING enabled.
Run the ADB command on your PC: adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh
You should see something like "Shizuku is running" at your phone. (Edit: might need to uncheck "Disable permission monitoring" in developer settings).
While the shizuku app is running now open the pixel ims app.
Tap "Allow all the time" when seeing prompt asking for Shizuku permission.
Press the button "Enable VoLTE" to enable VoLTE in Pixel IMS
Reboot your phone... Voilà now you have the switches for VoLTE & VoWifi on the settings
Click to expand...
Click to collapse
Does the above step exclusively for Pixel phone? I recently bought Oneplus 11r 5g from India and living in US. My phone isn't working. Tmobile is telling me that VoLTE option should be enabled. Question is can I apply the above steps on my phone without bricking it?
kmahesh said:
Does the above step exclusively for Pixel phone? I recently bought Oneplus 11r 5g from India and living in US. My phone isn't working. Tmobile is telling me that VoLTE option should be enabled. Question is can I apply the above steps on my phone without bricking it?
Click to expand...
Click to collapse
I think you missed reading the first paragraph. It worked for me on my OnePlus 9 Pro on OOS 13 & 13.1. I am using a Tello (US) line which is basically T-Mobile and got VoWifi to work using these steps.
Actually I read that and I thought 11r might be different from 9Pro. Nevertheless, I gave a shot at this. I got to the place where I need to enable volte but it is greyed out and none of the other options are responding on that screen. See the screenshot. Am I missing something?
Interestingly you seem have owned same sets of phones I owned in the past too - HTC, 7 Pro etc
UPDATE - I downloaded the latest version of Pixel IMS app v1.2.6 - but has no effect on Oneplus 11r & Tmobile.
PLEASE HELP
kmahesh said:
Actually I read that and I thought 11r might be different from 9Pro. Nevertheless, I gave a shot at this. I got to the place where I need to enable volte but it is greyed out and none of the other options are responding on that screen. See the screenshot. Am I missing something?
Interestingly you seem have owned same sets of phones I owned in the past too - HTC, 7 Pro etc
UPDATE - I downloaded the latest version of Pixel IMS app v1.2.6 - but has no effect on Oneplus 11r & Tmobile.
PLEASE HELP
Click to expand...
Click to collapse
It seems that it doesn't work for all SIM cards. I also tried the same with a 1+ 7 Pro using another SIM and it did not work. Maybe I'll try with the Tello SIM on the 7 Pro just to test if it's an issue with the phone or SIM.
Thanks Omar for trying. All I am trying to find out (1) Is my phone the culprit (or) my T-Mobile is the culprit (2) Is there a solution (with or without rooting) to make this work for USA carriers?
Any help would be appreciated.
Thanks
Mahesh
Hello everybody. I have Oneplus 9R OOS 13.0 Android 13. I did everything according to the instructions using wifi debugging. The volte switch slider has become active. However, when making a call, the phone still falls into the H+, H or 3G network. I have 2 SIM cards installed, before starting the algorithm, I did not deactivate the second one. Could this be a problem? If so, what would you recommend to do in this case?
I tested SIM card 1 used for calls and the Internet in another device, Volte works on it.
Updated to LE2123_13.1.0.580(EX01) and off course lost VoWifi, however, repeating the steps re-enabled it.
Also found an updated Pixel IMS apk (link to download) that has more options when enabling VoLTE or VoWifi.

Question Disabling/Enabling SIM card in Tasker?

Anyone been able to automatically disable/enable SIM cards in Tasker on the Poco F4 on Android 12? Need the magic numbers that seem to differ from phone to phone (and the command may differ from Android version, I think?), as discussed in this post and thread for another phone brand (OnePlus):
[GUIDE] Automatic dual sim switching on latest official OTA
TL;DR: You need root. Shell command with root privileges to toggle sim programatically: service call phone 162 i32 x i32 y Where x is 0 for SIM1 and 1 for SIM2, and y is 0 to disable and 1 to enable. For example: service call phone 162 i32 1 i32...
forum.xda-developers.com
Happy to use another method if can't be done with Tasker.

Categories

Resources