simenableSIM Enable

  • thumbnailscreen
  • thumbnailscreen
  • thumbnailscreen

This is one of those tools that I wrote mainly for my own use, but I’m releasing just for the one guy with the same problem and arriving here via Google (hi). Basically, this creates a new menu item in your iPhone’s Settings app that allows you to switch between the CDMA and GSM networks on an iPhone provided it is activated on a CDMA network (Verizon/Sprint) AND you have a SIM interposer (Gevey/R-SIM) that allows you to use a GSM network (AT&T/T-Mobile).

First, a little backstory. I have a R-SIM v3 for my iPhone 4S Verizon and I also have a month of free 3G internet from AT&T due to a Vita promotion. I do not like browsing the internet on the Vita because the web browser sucks, so I decided to put the SIM in my iPhone. Now, the problem is that the data SIM card does not allow calling, so I would have to remove the SIM card every time I need to make or receive a phone call. I discovered by looking at the package I had to install for R-SIM that all it did was make the Verzion and Sprint carrier bundles on the iPhone unusable (by replacing their carrier data with the one from the Unknown bundle), so the iPhone falls back to the SIM card. So I decided to make a toggle in settings that will do this and restart CommCenter, and have the option to revert the bundle back to their original values (therefore restoring CDMA).

So, because I wrote this for a very specific audience (me), I have only tested it with an iPhone 4S Verizon, activated, running 5.0.1 and a R-SIM v3 with an AT&T SIM card. My CommCenter was also patched using the one provided here: http://v.backspace.jp/repo. All other configuration are untested and can be used at your own risk. However, I KNOW this will not work for iPhones that do not have two modems, which, at the time of writing, is only the iPhone 4S. You must also have your root password for the phone be ‘alpine’, if you don’t know what that means, you’re fine as that’s the default password. The reason for this is because I hard coded the root password into the app because I was lazy.

To install, add my repo to cydia: http://cydia.yifan.lu/ and install the package “SIM Enable”. You must have a patched CommCenter (the one I used it provided above) and the root password must be ‘alpine’ (info above). To use, go to the Settings app and find the option “SIM Enable”. After changing the toggle, you might have to wait up to five minutes to see the changes show up. If you get “No Carrier”, turn airplane mode on and off and you should get a carrier.

Here’s a video of it in action. I left in four minutes of the iPhone searching for a network so you have an idea of how long it takes.

Changes

  • 2012-04-07: Added a message box to prevent user from exiting screen before the process completes.
  • 2012-04-07: Fixed bug where "load" commcenter runs before "unload" completes.
  • 2012-04-06: Initial release.

16 thoughts on “SIM Enable

  1. This is great! I travel internationally and am bugged every time I get back home and have to paperclip my phone.

    Having the default alpine password is slightly dangerous; why would you leave it like that?

  2. Your Cydia repo “cydia.yifan.lu” has Verification error/request timed out when Adding the source/verifying URL.

  3. Great work!
    Could you please help how to build from source?
    What else do I need?

    Thx,

  4. I grabbed the source code for your sim enable/disable app with the intention to tweak it to work for the sprint cdma version of the 4s. After taking a look at the source code I noticed there was one sprint carrier bundle that was not being considered (…OTA_US…). This is my first attempt at any sort of ios development and I ran into a small road block with headers for private frameworks. This may sound very simplistic to you but I have a personal need for this app and decided to take a stab at getting it to work for me. If you could point me in the right direction on how to get the headers for the private frameworks I would greatly appreciate it. I’ve tried using class-dump but it returns an error stating that the destination file is either not in Mach-O file or fat archive. The error output is below. Any advice will be greatly appreciated.

    Cles-4s:/tmp/classes/Preferences.framework root# class-dump -H /System/Library/PrivateFrameworks/Preferences.framework/Preferences /tmp/classes/Preferences.framework/
    2012-06-10 17:31:18.239 class-dump[3637:707] Couldn’t read file: /System/Library/PrivateFrameworks/Preferences.framework/Preferences
    2012-06-10 17:31:18.244 class-dump[3637:707] Couldn’t read file: /System/Library/PrivateFrameworks/Preferences.framework/Preferences
    class-dump: Input file (/System/Library/PrivateFrameworks/Preferences.framework/Preferences) is neither a Mach-O file nor a fat archive.
    Cles-4s:/tmp/classes/Preferences.framework root# class-dump -H /System/Library/PrivateFrameworks/Preferences.framework /tmp/classes/Preferences.framework/2012-06-10 17:31:33.886 class-dump[3638:707] Couldn’t read file: /System/Library/PrivateFrameworks/Preferences.framework/Preferences
    2012-06-10 17:31:33.891 class-dump[3638:707] Couldn’t read file: /System/Library/PrivateFrameworks/Preferences.framework/Preferences
    class-dump: Input file (/System/Library/PrivateFrameworks/Preferences.framework/Preferences) is neither a Mach-O file nor a fat archive.

  5. Hi. I don’t really have the same issue, but a tool to restart commcenter is what I’ve been looking for. However, I cannot add your repo to Cydia. Is there any problem?
    Thanks!

  6. method to install downloaded SIM_Enable 1.0.2 deb file using
    Method: Install with iOS Safari Browser + iFile
    (anyone had tried, is it safe to do so)
    Requirements: iPhone/iPod/iPad Safari Browser + iFile

    Download .deb file with iPhone/iPod/iPad Safari browser
    Choose >> Open in “iFile”
    Once iFile opens >> Select Installer
    Respring
    YOU ARE DONE

  7. I have a sprint unlucked iphone 4s. Can anyone please tell me how to install the “sim enable” menu? Thanks

  8. i tried using this on iOS 7 now safari and a few other things won’t open they just crash immediately pleas help

  9. This hack is unsupported on ios7 (and does not work on any phone other than Verizon iPhone 4S). You need a patched commcenter. You can either install that and try again. If that doesn’t work, you should uninstall sim enable.

  10. Does this work on iOS 7 jailbroken with a patched CommCenter. I looked at the code for your app and why dose it use Sprint bundle instead of Verizon? Thanks.

Leave a Reply