UPDATED!!!
http://chris-software.com/index.php/2009/10/27/solved-sms-switcher/
Updated: application was only tested on my old personal iPhone Classic. I’ve just tested it on 3G and confirm it’s not working as expected. Maybe today or on wednesday I will try to submit and update. I’m extremely sorry, but please believe me, I’ll do everything to make it working as I intended!
Updated: sorry for making you wait so long, but I have some technical problems: I’m trying to figure out, how to debug my application over SSH as long as it permanently lost WiFi (my 3G). I need to find somebody who is willing to borrow me the SIM Card with data plan so I can download it over 3G or to buy new iPhone… I’m quite busy recently.
Hi!
Yesterday I added to Cydia (BigBoss) my new simple but useful application: SMS Switcher, and I’ve been only receiving questions “how does it work?” or statements: “It doesn’t work”.
First I’d like to discuss some technical info. Your SMS/MMS messages (created by Messages application) are stored in one file called sms.db, which you will find in:
/var/mobile/Library/SMS/
My application allows you to create another databases for your messages, so when you create databased MyGirlfriendsMSGs, and ImportantMSGs, when you visit again /var/mobile/Library/SMS/ you should also see the libraries you created, that is MyGirlfriendsMSGs.db and ImportantMSGs.db.
But remember that Messages app uses only sms.db file, and doesn’t focus on other .db files in this directory. That is way I call sms.db file the active library – the library from which messages are read and to which new are saved. You can only have one library active at a time. So when you create new library You can set that you want to activate it straight away, or you can do it always later.
When you activate next library, it’s file – *.db file will rename to sms.db, so now it’s used as a Messages’ database, while the previous original library will rename to [previousActiveLibraryName].db.
You cannot assign your contacts to save messages from/to them to one of the libraries – they will be always saved in your active.
What is the point of such application:
- if your library is very big – like thousands of messages, opening it takes few seconds out of your life. Either you can delete some messages, or create new library while you always can switch the library to the original one and read your messages. You can always make a copy while creating new library, so now you have the same to files, but you can delete unwanted msgs – the app will respond faster and you have a backup if you delete something important.
- It saves your privacy. A lot of people read your messages when you left your iPhone unprotected. Not all of them are hackers and not all of them knows this application. So by switching libraries the typical inquisitive person won’t have access to your (very) private data.
- And the example from the application. If you have two or more girlfriends/boyfriends/wives/husbands/fiancees… (I don’t say it’s good, it isn’t) you can easily switch libraries so one girlfriend/boyfriend/wife/husband/fiancee won’t find out about the other.
- Think of your own reasons
So again step by step instruction
- Obvious: install the application from Cydia (search, type SMS Switcher).
- Obvious again: launch the application – nice icon like messages applications with recycle symbol (two arrows).
- You should see a list with one database only – it’s a database created by already using Messages app. If it’s not listed it simply means that you have never received any message (make some friends), you have never opened Messages or you have just restored your device and because of above two reasons, this file doesn’t exists – it’s not a problem.
- So now let’s create new SMS library – just tap the top right [+] button. Enter it’s name – just to remove typical file-naming problems you are only allowed to use letters A, B, C to Z and number 0, 1, 2, 3 to 9. If you want to activate this library straight away (it means that messages will be saved to this library, and read also from this library – and as long as it’s empty, your Messages app will display nothing). Only while creating new library, you can easily import all messages from any existing libraries.
- You can repeat step 4 to create more libraries. If you already activated one library it will be used for next messages. You can later launch the app again and switch back or switch to another.
OK and BTW: when you start your application, the main SMS library is always called Unnamed.
Please tell me that you get it. If not, use the comments above.
My original message database still not showing up when i open the app… Anything i can do?
Please read the newest post on this blog. You’ll find the answer
08707307191.com
Basically, what your saying is… If I had two girlfriends (not saying I do; I disagree with that fully) but if I did… And I switched libraries, if either one texts me… It’ll show up in the active SMS.db file.
Example:
my custum names are ‘a’ and ‘b’ girlfriend 1 is supposed to be saved on ‘a’ and girlfriend 2 is supposed to be saved on ‘b’
if ‘b’ is active and girlfriend 1 texts me, it’ll still show up in ‘b’ because that’s the active SMS database?
Same problem here. I also tried the procedures mentioned but no luck…
I’m having the exact same problem that Mes is mentioning, im using Notifier and BiteSMS. (3G, 3.0.1)
Same problem… I added a few new libraries yet i dont see any seperation when receiving texts.
can’t detect the sms.db i think…
In summary, this program allows you to create more than 1 message.db. You simply create them with this app. However, only 1 message.db is in use at a time. So when u change to a different SMS.db, using this program, it simply renamed existing SMS.db to a different name & renames the one u selected to SMS.db, making it the the active db
Qletis, you are right. Could you please confirm, that app is working on your device? What firmware, what model of iPhone?
I hate saying ‘I can’t get this to work’. But it’s true.
The problem (I think), The very 1st start up.
—- No existing SMS database is listed. Nothing!! Nadda!! Niet!! Zippo!!
Not true! I have hundreds of SMS’s. The stock SMS.app AND biteSMS both confirm their existence. /var/mobile/Library/SMS/sms.db is 262,144 byes !!
I tried to create one, two or three ‘test’ databases. They show within SMS Switcher, but nothing else changes. Nothing! No new db’s, no renaming, nothing.
Nothing is added or changed in the iPhone file system.
The command: find / -mmin -5 -print
confirms nothing happened.
I unstalled with Cydia, downloaded the app, and manually installed using dpkg (dkpg -i smsswitcher_1.0.deb). As I expected, no change.
I’m a fairly savvy Unix guy …. and get around the iPhone OS fairly easy. But if this really works as advertised, I’m stumped !!!
What am I missing?
Could you please tell me what device you are using? iPhone classic, 3G, or 3GS?
We have a little bit problem here, you say that nothing has changed in the filesystem, but it’s no possible.
When you open the SMS Switcher it lists the files in /var/mobile/Library/SMS so if during next launch you have a list it means that these libraries are inside /var/mobile/Library/SMS. Please SSH and navigate to that directory and confirm that.
3G. 3.01FW. I have exited the app, respring, and also rebooted – more than one
. Nothing is added or changed in /var/mobile/Library/SMS (I use WinSCP to check). The app show’s the new databases, but even when set to active. The original db with it’s SMS’s is always active.
I somehow agree … where does SMS Switcher find and/or display the new databases. However I can’t find where, nor can they be made active.
Added (and repeated):
The problem (I think), The very 1st start up.
—- No existing SMS database is listed. Nothing!! Nadda!! Niet!! Zippo!!
No existing SMS database is listed.
No existing SMS database is listed.
I think this is the key to the solution.
Am I incorrect?
I suspect something is interferring with the proper operation. These SMS helper programs are currently installed: Notifier, and SpotSMS. Given a choice, I’ll stay with my current set-up
SpotSMS? what does it do? Sorry but my current (3G) iPhone is not jailbroken. Today I’m borrowing 3g from my friend and I will check what the program does.
The biggest surprise for me is what I said before and you agreed.
The database files are created as long as they are listed later.
And there shouldn’t be any problem caused because of lack of original library – I also prepared a code in my app for such exception.
I will come back to you soon. Although I’m pretty sure that you misunderstood the instructions, but I will check.
Me too,…..
i still don’t understand? i made two new libraries – one called family and one called friends. i don’t see what happens next. i have several messages from both family members and friends in my normal sms iphone app but how do i separate them? how do i point out which go into which libraries? i’m not sure how to use this app?
you can’t simply separate them. You can make a copy of the original database. Later when you have two identical files – you can delete what you don’t need in those two copies.