5,606,588 Members 34,625 Now Online
XDA Developers Android and Mobile Development Forum

The SIM-card you are trying to use is now roaming.No local SIM is available

Tip us?
 
larry_bml
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 23
Join Date: Feb 2011
Default The SIM-card you are trying to use is now roaming.No local SIM is available

ALL CREDITS GOES TO "CAMEL"

For those who experienced this annoyng warning like "The SIM-card you are trying to use is now roaming. No local SIM is available now" I found a working solution. The basic ideea is to update a system property called [gsm.operator.isroaming] to false fast enough that the system belives that is not in roaming. You need root on your device for this workaround to work.

Step 0. Get root access!!!! Adb working!!!

Step 1. Create a file in /system/etc called "install-recovery.sh". If this file exists, append a new line

android# echo "\n/system/etc/camel-roaming &\n" >> /system/etc/install-recovery.sh

This line will execute in background a script named camel-roaming which is placed in system/etc. Change its permission to 755 with

android# chmod 755 /system/etc/install-recovery.sh


Step 2. Create a file in /system/etc called "camel-roaming". This will change roaming parameters once every second. Content of this file will be:

while [ 1 - eq 1 ]
do
setprop gsm.roaming.indicator.needed false
setprop gsm.operator.isroaming false
sleep 1
done

Change its permission to 755 using the same chmod command. Do not use windows notepad for edit because the way that it threats new lines. Use root explorer, midnight commander or simply echo to this file using echo "some text \n" where "\n" stands for a new line.

Reboot your phone and voila! The warning will no more be displayed. It is a chance, probably one in a million to get this warning again if the property is changed by system in less than one second, while our script is sleeping.
 
ehrosking
Old
#2  
Junior Member
Thanks Meter 2
Posts: 21
Join Date: Dec 2013
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes