Discuss Merge two SQLite files into one (sms from two phones on new phone) at the General - Hackint0sh.org; hi
i've had my 1.1.4 phone for long time, used many SMS.
then when 2.0 ...
-
Senior Professional
Array
Merge two SQLite files into one (sms from two phones on new phone)
hi
i've had my 1.1.4 phone for long time, used many SMS.
then when 2.0 came out, i istalled 2.0 on another phone and intended to use it only a week or so, and did not load a backup from the 1.1.4 phone.
well, i used it for long time now, and now i'm having a SMS Sqlite file from the old phone, and one from the new phone.
is there a way to merge these to SQLite files together? no matter if its windows or OS X solution, i have both.
tanks
-
-

Originally Posted by
fabiopigi
hi
i've had my 1.1.4 phone for long time, used many SMS.
then when 2.0 came out, i istalled 2.0 on another phone and intended to use it only a week or so, and did not load a backup from the 1.1.4 phone.
well, i used it for long time now, and now i'm having a SMS Sqlite file from the old phone, and one from the new phone.
is there a way to merge these to SQLite files together? no matter if its windows or OS X solution, i have both.

tanks
I am using the Firefox Plugin SQLite Manager. It is free and for Mac/Win. You have to know what to do with sql statements, but this is the way to go for.
Check for add-ons in Firefox
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter
click here
----------
iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
iPad 2
-
-
Senior Professional
Array
hm,so i downloaded it, opend the database, but i wasnt able to edit the database.
i've created a SQL file with all the "insert into .." messages from the 1.1.4 files, removed the row_id of course (to not overwrite the old messages).
however, i always gets "no such function: read" error.
this is supposed to be something with the triggers (acordung to another thread), but i wasnt able to fix it.
so i guess there is no way into importing 1.1.4 messages into an already existig 2.0.0 table
-
Senior Professional
Array
okey, i read that i could make somthing with these effing triggers.
remove them, insert my old SMS and then rebuild the triggers.
however, the message group ID are different on the two sms.db files, so i would have to, i dont know, script a programm that reads first both DBs and builds the whole sms.db from scratch with new messageids and al that stuff.
it might work, but you think its worth the trouble?
-
-

Originally Posted by
fabiopigi
okey, i read that i could make somthing with these effing triggers.
remove them, insert my old SMS and then rebuild the triggers.
however, the message group ID are different on the two sms.db files, so i would have to, i dont know, script a programm that reads first both DBs and builds the whole sms.db from scratch with new messageids and al that stuff.
it might work, but you think its worth the trouble?
Well, I would not go for it. dont know if there are any sms in your history you really want to keep, but...
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter
click here
----------
iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
iPad 2
-

Originally Posted by
fabiopigi
okey, i read that i could make somthing with these effing triggers.
remove them, insert my old SMS and then rebuild the triggers.
however, the message group ID are different on the two sms.db files, so i would have to, i dont know, script a programm that reads first both DBs and builds the whole sms.db from scratch with new messageids and al that stuff.
it might work, but you think its worth the trouble?
Have a look at https://smsmerge.homedns.org/. Somebody did the work already
-
-
Senior Professional
Array
hey simi, thanks for the link, looks exactly what i wanted to have 
it seems you made the script.
what happens if the group IDs are different in the two databases?
btw: do you have paypal?
-

Originally Posted by
fabiopigi
hey simi, thanks for the link, looks exactly what i wanted to have

it seems you made the script.
what happens if the group IDs are different in the two databases?
btw: do you have paypal?
The group IDs are rebuilt from scratch. The logic is not very advanced(conversations with multiple recipients are not merged), but it works for me. 
PP is available by PM.
Last edited by Simi; 02-17-2009 at 11:32 PM.
-
-
Hello there, this is EXACTLY what I'm looking for, having gone through the same steps as OP. The server seems to be down, however, does anyone have a copy of the script available?
Thanks.
-

Originally Posted by
defect17
Hello there, this is EXACTLY what I'm looking for, having gone through the same steps as OP. The server seems to be down, however, does anyone have a copy of the script available?
Thanks.
Try a pm to member Simi
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter
click here
----------
iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
iPad 2
-
Similar Threads
-
By hackint0sh in forum Latest Headlines
Replies: 0
Last Post: 11-17-2010, 08:00 PM
-
By hackint0sh in forum Latest Headlines
Replies: 0
Last Post: 09-26-2010, 04:50 PM
-
By hackint0sh in forum Latest Headlines
Replies: 0
Last Post: 08-28-2009, 03:20 PM
-
By hackint0sh in forum Latest Headlines
Replies: 0
Last Post: 04-18-2008, 08:40 PM
-
By fabiopigi in forum Free Toolchain Software
Replies: 0
Last Post: 10-13-2007, 11:52 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks