Block the geographical check of Gmate
I recently buyed a Gmate, that permits to do dualsim on my iPhone (I'll review it some day).
But morons at Skyroam decided (as of version 1.1.2, the best one because it uses 5 times less battery) to implement a geographical check ! They explain on their forum :
We are cooperating with different distributors in different countries and areas. We have obligation to guarantee their business in a dedicated country or area. So we have the policy that a Gmate only can be actived locally first. That's also a request from our distributors.
But you know what? Fuck you, Skyroam.
Geographical lock
It's a weird lock. It just blocks the phone, but SMS (text messages) and data work well.
According to Skyroam you have to activate the device while in the right country, it then stays activated wherever you are. I tried to fake my location (using FakeLocation in Cydia) but it appears it doesn't use GPS, most likely it uses some information broadcasted by the GSM network.
For Google's sake I will list here common errors you can see on the screen regarding this lock :
- "Your Gmate can not be verified due to territory restrictions, please contact your seller immediately"
- "Outside of activation territory, please contact your seller immediatly!"
- "Dailing Failed" (sic)
- "Dialing Failed"
Anyway, it looks like it has been coded quicly (and badly) in the client but is actually implemented server-side.
Version 1.0.9
The first thing I tried was using an old version. It was very difficult to download it.
I used it two days before removing it because it drained the battery like hell !
Crack under iOS
I then tried to crack the version 1.1.2. I lost several hours before understanding iOS wants any binary over 500k to be signed (NB : use ldid or ldone), I had a very strange bug forcing me to launch the server manually via SSH. Not good enough.
Block the DNS
The worst in my history is that my first cracking attempt was simply to block a DNS. Using Paros I intercepted a request to http://c.skyroam.com.cn/checkTWGmate.php?sn=MonNuméroDeSérie.
Not losing an instant I SSH'd the iPhone, nano /etc/hosts and blocked c.skyroam.com.cn. Didn't work.
It was only after 6 hours trying to crack the binary that I realized that there was a fallback to http://m.skyroam.com... when the other doesn't work. Well... FUCK.
Solution
So here is the final solution you need to use. You have to edit the file /etc/hosts on your iPhone/other to block two domains. To do that, add these two linesat the end of the file :
127.0.0.1 m.skyroam.com
You will also need to delete a file that Gmate creates if it has already contacted the server. Delete /User/Library/Skyroam/SkyroamSimo.dat :
And enjoy your version 1.1.2. without geographical check !
Disponible également en : Français
My blog is in French but don't hesitate to ask me questions in English !
Thanks for share
Bonjour, j'ai le même problème mais sur Android et je ne trouve pas le fichier dat, auriez-vous une idée?
Meilleures Salutations
Désolé je n'ai pas d'Android mais tu peux essayer de désinstaller l'application et la réinstaller uniquement après avoir modifié le /etc/hosts
Salut,
je viens d’acquérir un gmate et surviens le même problème que toi !!!
Comment fait-on pour modifier les fichiers Host sur Ipod ???
Merci d'avance
Philippe
Installe FileZilla sur ton PC et OpenSSH sur l'iPod.
Depuis FileZilla connecte-toi en SFTP à l'IP WiFi de ton iPod, utilisateur "root" et mot de passe "alpine".
Navigue jusque /etc/hosts et ajoute la ligne donnée dans l'article, sauvegarde et redémarre l'iPod
re tito,
je n'arrive pas à me connecter à l'ipod avec filezilla, je dois certainement m'y prendre mal ... à tu une autre solution ???
Merci pour tes conseils
Philippe
Re,
J'ai modifier host avec ifile sur l'ipod mais cela ne marche tjs pas ...
As-tu supprimé SkyroamSimo.dat et redémarré?
Je te montre ce qu'il y a dans mon fichier HOST avec les modifications :
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
127.0.0.1 iphonesubmissions.apple.com
127.0.0.1 c.skyroam.com.cn
127.0.0.1 m.skyroam.com
# rm /User/Library/Skyroam/SkyroamSimo.dat
J'ai rajouté les 3 dernières lignes et rallumé mon ipos et rien du tout ...
Si ta une solution, je suis preneur !!!
Merci d'avance !!!
Philippe
Ah d'accord, la ligne # rm /User... il faut pas la mettre dans le fichier hosts ! (enfin ça sert à rien d el'y mettre)
C'est une commande pour effacer le fichier si tu es connecté en SSH. Tu peux aller le supprimer avec iFile c'est pareil, son adresse : /User/Library/Skyroam/SkyroamSimo.dat
RE,
FICHIER HOST:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
127.0.0.1 iphonesubmissions.apple.com
127.0.0.1 c.skyroam.com.cn
127.0.0.1 m.skyroam.com
Mais cela ne marche toujours pas ... "dailing failed"
je commence à etre à bout ....
Tu as bien supprimé le fichier SkyroamSimo?
Sinon j'ai pas d'autre idée, peut-être essayer de réinstaller :/
RE
Le fichier SkyroamSimo se trouve où ? dans HOST ?
Merci de ta patience ...
Dans iFile tu remontes le plus haut possible jusqu'à la racine puis il faut aller là : /User/Library/Skyroam/ et supprimer le fichier SkyroamSimo.dat
re
C'est bon tout marche !!!!!
Merci bcp Tito !!!!!
Heureux de l'apprendre 🙂
Bonsoir tito,
Voila g effacer skyroamsimo.dat, mais il revient c bizarre non?
Merci d avance
As-tu bien modifié le fichier hosts et redémarré avant de relancer GMate?
Un grand merci voila je n avais pas redemarrer l appareil, un grand merci de ta reponse.
Est pour un gmate qui me dit lors de la verification, internet acces as required, please reconnect and tru again, alors ke mon internet et ok?
Merci
Hello Tito,
I tried your solution and it works fine. Unfortunately i upgraded the firmware to 5.3.0 and now it does not work anymore. Any suggestions? Thanks.
I'm sorry to hear that. Maybe you can try with an older version of Gmate : http://blog.webtito.be/wp-content/uploads/2012/08/igmate.deb
I don't know how to downgrade the firmware, sorry
Thx anyway, it was good while it lasted. 🙂
Hello again, i am unable to install a .deb file on android. Do you have the .apk file? Thx again.
Ps: i think they added a 3rd fallback in their last firmware update, is there a way we can find out what it is?
Yeah sorry the .deb is for iOS only.
I don't have time at the moment to find a solution to this new firmware thinkg (plus I don't want to be stuck with the new firmware :/)
Thank you so much!! =)))
Thank you!! your solution works fine with Gmate SW Version 5.1.13 in Client 1.1.9.
THANKS A LOT!!!
Je voudrais juste savoir ou placer vos deux fichier
127.0.0.1 c.skyroam.com.cn
127.0.0.1 m.skyroam.com
dans hosts au début à la fin ??
Pouvez-vous m'aider, à savoir que je viens juste de supprimer le fichier SkyroamSimo.dat
dont vous avez parlez Avec iFile ( /User/Library/Skyroam/ ).
Dans l'attente avec grande patience de votre réponse
Merci
Rajoute ces deux lignes à la fin de /etc/hosts
Thank You for your hard work!!
This solution works well with Gmate+ Client ver 1.1.9 & Software ver 5.3.0. Files were accessed with iFunbox on Win7x64
hi
I'm sorry but can anybody write the solution in English?
I tried Google translator, and it sucks!!
please help I'm using gmate on my android, and i got the same problem 🙁
Hi, I just finished my translation here : http://blog.webtito.be/2012/08/23/empecher-la-verification-geographique-de-gmate/?lang=en
I hope my english is'nt too bad and it will help you !
bonjour.
quelqu'un aurait trouvé le fichier SkyroamSimo.dat sur android?
je suis en pleine recherche mais ca ne donne rien...
merci d'avance
bonjour a tous.
pour tout les posseur de galaxy S3 et ayant acheter le gmate en chine...
pour que votre GS3 puisse se connecter avec le gmate voici la solution:
-mettre a jour le gmate: pour ca, faut telecharger le client sur un android en desous du 4.0.4 et faire la mise a jour du gmate. (pour ma par je l'ai fait sur un 2.3.3..)
-ensuite, partir sur une rom neuve (faut pas que le client gmate est deja tenter de se connecter au serveur car j'ai pas trouver le fameu SkyroamSimo.dat )
- rooter le gs3
-installer host manager et faire la manip expliquer par Tito
-installer le client GMATE. pour ma par je telecharge la version surement modifier sur http:://m.i-smartsim.com/download.html directement depuis le GS3
-et tout devrais bien se passer !!! le client reste sur "verifying" mais toutes les fonctionalitées son operationelles.
j'espere que ca vous aidera !
bonne utilisation sur android !
Salut,
Je suis sur le point d'acheter un gmate et j'ai découvert que la vérification géographique est en fait la pour contrer la vente de gmate "fake" fabriqués par d'autres boîte que skyroam. Malheureusement le gmate que je convoite (dispo ici http://www.sunsky-online.com/product/default!search.do?keyword=Gmate&x=0&y=0) a l'air d'en être un. Est ce que la solution que vous proposez permettrais de contourner la copie ou non ?
Ma config: iPod touch 5 sous ios 6.1 jailbreak evaders.
Normalement oui, je pense aussi que mon Gmate est faux/pas prévu pour l'export et il fonctionne avec cette astuce. Mais bon je ne m'engage pas à 100% hein ^^
Ok merci beaucoup 🙂
Bonjour,
j'essaye d'installer les lignes de commandes sur mon Samsung galaxy s4 fraichement acheté.
Quand je veux enregistrer les lignes dans le host, il me répond:
- impossible d'enregistrer les lignes de commandes
Avez vous une solution à ca? Faut il obligatoirement craquer le s4? Comment faire sans bug?
Merci par avance
hi there,
I am stuck on verify with my Gmate+, Android KitKat, Nexus 5 , I have managed to find etc/hosts and modifies the file as Tito indicated. Didn't find the SkyroamSimo.dat and cannot go through
Please help
Thanks,
Gabriel
Sir I need your help.
Do you have this file for com.hook.apsd_1.0_iphoneos-arm.deb
Hi, I got the deb file from gsmhosting.com. Please disregard this request. Have a nice day.
Bonjour, quelqu'un aurait gardé la version modifié ?
celle du site http:://m.i-smartsim.com/download.html
Sinon quelqu'un sait où trouver ce fameux fichier SkyroamSimo.dat sur Android.
J'ai acheté une version apparement fake , j'ai les boules, faut que j'arrive à la faire fonctionner.