Notices


Reply
Thread Tools
peterleinchen's Avatar
Posts: 2,023 | Thanked: 2,811 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#1
Having participated in the 2012 Coding Competition (wiki).
It seems you really use/like this little tool or thought it is worth a vote, as it got enough votes to make it second place in both categories
Others, result
and
Beginners, result.


Update:
SIM-Switcher is now in Extras repository,
thank you all for using/testing/feedbacking/voting!

Download statistics.

So, here is my very first own thread with a nice tool for everybody running a two SIM adapter in his/her N900.
I do call them Double-SIM, as Dual-SIM naming pretends to have both SIM online, which is not possible with these adapters.

As already stated in this thread there is the possibility to switch the SIM online without rebooting.

Some time went by since this approach and I made some improvements to my solution.

Functionality:
- switch the SIM with one "app" icon click
- 'refresh' hildon-home (to update the operator name)
- choose the cell mode (2G/3G/Dual)
- choose the connection policy, i.e. always ask, any connection, only WLAN, default GPRS connection
- connect to a specific InternetAccessPoint (created via fAPN)
and (badly desired by me and took me ages to find out) you may
- set/unset call forwarding for current SIM and for the SIM you will switch to

All done with one-click (from menu).
--edit You may also add a shortcut to your desktop via the the desktop menu. Or use it with DCEW (same as command line usage, see) or use it with QBW (see here). edit--

Your adapter will need to support the so called 007 mode, i.e. the switching needs to be executed by calling a number (like 001, **1, 11*, 1#, ...).
I have a GDI3SG (fully UMTS compatible) without any effects on battery.
Mine has some characteristic/flaw to activate always the second SIM, when the same number is called (is handled in script).


After installation, use vi nano txpad leafpad or any other editor of your choice and edit
(/home/user/).config/sim_switcher/SIM1
and
(/home/user/).config/sim_switcher/SIM2
to your liking.
At least you need to give the switching code.


So, that's it for now.

Here is the deb package. It is also my very first package, so be gentle with me I made it manually. Installed/removed/installed it on my device and everything fine. (will leave it attached, although in repo is newer/latest version)
Ah, one more: of course this package depends on starhash-enabler, so please install if you do not have already. (repo package has dependency)

I do not expect many users out there with a Double SIM adapter in N900. That is the reason I do attach the DEB directly here and not in the repos (and I do not know how to do that ).
But if I get some response here, I will do so ....

Nevertheless here is the package page. So if you like to vote for it (do not forget to log into maemo.org or you will not see the thumb up, as I always do ).


Happy switching.



-- edit 1
Giveaway functionality:
- saving and restoring plugins/widgets/desktop
sometimes necessary after crash/kill of hildon-home (seldom hildon-desktop). In x-term call
Code:
sim-switcher savehome
to save your layout (automatically done on installation) and
Code:
sim-switcher restorehome
to restore your layout after sth has gone wrong badly.
--

--edit 2
Upgrade from Pre-Announce to Announce (put into repos).
--

--edit 3
Now in extras-testing with updated version,
possible to set the operator name on desktop icon.
Vote
--

--edit 4
New version with online check before starting the switch.
This is needed to not run the full tasks if not connected, could lead to bad call forwarding settings (esp. if SIMs are from same network. This infinite loop may be canceled via command-line 'sim-switcher break'.
Automatic call of editor on first start.
Vote
--

--edit 5
Important Notice
Please use only version >=0.5.10 for installation!
Otherwise you may experience strange/odd behaviour, see here for more details.
Sorry!
Vote.
--

--edit 6
New stable version 0.5.12 in testing.
Please vote for this version.
--

--edit 7
Version 0.5.12 is now in Extras repository.
--

-- edit 8
New stable version 0.6.5 in Extras-Testing.
Please vote for this version again.
--


This is it's icon:

And here are some screenshots (mainly popup messages, as it has no GUI):
Attached Images
    
Attached Files
File Type: deb sim-switcher0.1-1.deb (6.4 KB, 179 views)

Last edited by peterleinchen; 2014-03-22 at 08:19. Reason: new version in extras-testing
 

The Following 32 Users Say Thank You to peterleinchen For This Useful Post:
sifo's Avatar
Posts: 1,359 | Thanked: 1,288 times | Joined on Oct 2011 @ Tartus.Syria
#2
Thank you
and nice start
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 
Posts: 112 | Thanked: 91 times | Joined on Nov 2010
#3
I appriciate your effort. though i wanted this feature a couple of years ago when i realized phone was missing sim toolkit support. Good work..

/nkirk
 
Posts: 846 | Thanked: 201 times | Joined on Feb 2012 @ Goa
#4
for the people who cant buy please give some advice.
thanks in advance
 
Posts: 1,523 | Thanked: 2,968 times | Joined on Feb 2011 @ Germany
#5
Originally Posted by seanmcken View Post
for the people who cant buy please give some advice.
thanks in advance
buy what? a double-SIM adapter?
if you can't buy that, then the advice would be to ignore this thread?!
 
Posts: 846 | Thanked: 201 times | Joined on Feb 2012 @ Goa
#6
alright im sorry?
 
Posts: 846 | Thanked: 201 times | Joined on Feb 2012 @ Goa
#7
i meant give some advice to build that adapter for people who cant buy this adapter
 

The Following User Says Thank You to seanmcken For This Useful Post:
Posts: 1,225 | Thanked: 1,886 times | Joined on Feb 2011 @ Quezon City, Philippines
#8
Originally Posted by seanmcken View Post
i meant give some advice to build that adapter for people who cant buy this adapter
You probably can't. If you could, you'd be welcome at a robotic assembly facility.

IIRC these things simply have a SIM electrical pad, with a microcontroller hooked up to two SIMs at the same time, and simply switches signal lines between them.

Sounds simple enough, until you see how much space you can't work with.
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@imblying, working on Glacier for Nemo.
 

The Following 4 Users Say Thank You to Hurrian For This Useful Post:
peterleinchen's Avatar
Posts: 2,023 | Thanked: 2,811 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#9
Originally Posted by nkirk View Post
though i wanted this feature a couple of years ago
Sorry for being late (but simple solution was available since last year, see above linked thread).

Originally Posted by nkirk View Post
phone was missing sim toolkit support. .
Yes, there is no STK in N900, so your adapter needs to support "007" mode for this tool (just for clarification).
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 112 | Thanked: 91 times | Joined on Nov 2010
#10
No need for apologies "peterleinchen" i just typed what i felt when i saw the title and how simple & easy this app was. I was using 2 lines on a single sim before switching to N900, I missed that feature badly and I had to settle for a single primary connection because of the absence of stk.

/nkirk
 

The Following User Says Thank You to nkirk For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:29.