[Q] Migrating the MMSSMS DB - G2 and Desire Z Q&A, Help & Troubleshooting

Am I able to pull my .db file from my current setup (Virtuous 7.0, outdated as hell, I know) and push it into say, CM7? Would there be any conflicts going from Sense to something else (2.2 or 2.3)? As far as I know, the .db is still located here:
/data/data/com.android.providers.telephony/databases/mmssms.db
I plan on moving to CM7 possibly sometime soon, but I want to make sure that my texts can be saved. If they can't, I might keep upgrading Virtuous, but I'd like to know first. If anything, I can use the Titanium Backup trial, but to my knowledge it's not any different from what doing it yourself does.

For those interested, this didn't work going to CM7 even after restart. SMSBackup+ from the market did work flawlessly.

Related

Anyone have a clean backup/restore for ROM changes?

I used to have a WinMo device that I would flash new roms to a couple times a month. I had a procedure down to backup contacts, SMS, and CallLogs with some other info. Then after, the flash i would restore the SMS, contacts, and Call logs and an auto installer (Sashimi) would redo all my settings (email, registry, etc) and then install a couple apps I used regularly. I used this method because the ROMs would change the software on the device around and I didn't trust a standard app backup since it might restore old files onto a newer build app.
I know with Android, there's a ton of apps (Titanium, sprint, etc) to do backups but some seem more purpose built than others. Plus, the contacts get backed up on google, so they don't matter much.
Does anyone have a good method that they use to backup the data and restore between ROM changes on Android similar to the above?
Titanium backup is pretty much the gold standard for Android
It will back up ALL of your apps, their data, and your system data but you want to be careful about restoring system data. If you restore everything you're likely to get boot loops from something being incompatible, just be selective about what system data you restore and maybe only restore one thing at a time the first couple times so you can get a feel for what restores well and what doesnt.
Conversly I have had almost no problems batch restoring all my apps and their data. The only real problem you are likely to have is with apps that check to see if it's a restored copy or an install from the original apk. None of gameloft's games can be restored, for example. That has been my experience, hope it helps.
nebenezer pretty much got it, I'll just add a couple points
Invest in the donate version of Titanium. It automates the re-install process of apps. Otherwise, you will have to physically press Install, and then OK once an app is finished installing, for every app.
System settings items in green (includes SMS messages, call log, etc) are pretty much safe to backup/restore when switching ROMs, you just have to make sure you are switching between like ROMs.
For example:
2.2 Sense-based ROM <----> 2.2 Sense-based ROM - Ok
CyanogenMOD AOSP <----> 2.2 Sense-based ROM - Bad
Any 2.2 ROM <----> Any 2.1 ROM - Bad
Sense AOSP-lite ROM <----> 2.2 Sense-based ROM - You can probably get away with a few settings, but if you try to restore HTC Browser settings/bookmarks to AOSP browser, etc, or vice versa, it will likely cause issues.
That just goes for settings, as far as user apps, those are pretty much safe to restore to/from any ROM.

Need .apks and best way to get rid of bloat apps

Okay so I've done a lot of looking first. I started by using Titanium and I uninstalled my amazonmp3 and my 3g mobile hotspot garbage but I decided to do this before making a nandroid backup.
I got ROM Manager and made a back up before I did anything else but I'm still lacking these two default apps. I downloaded some stock incredible distro's and managed to find the amazonmp3.apk but I still can't find a mobile hotspot one. Does anyone know where I can find the apk? or can someone upload it for me.
Also, I'd rather not completely delete the apk's, I'd like everything to be reversible, if possible. Any recommendations on the best, easiest, and cheapest way to do this?
Droid Incredible running stock Froyo, rooted, I believe S-OFF. I used unrEVOked 3.21.
you can fing it on the skyrider rom i think.
I personally do a backup with Titanium, Mybackup pro, and nandroid before modifying anything I'm uncertain of. As for safely removing bloat, their are two ways. One is to move the files from the original directory (/system/app) to another, I personally go to the SD card which is easier to backup to my computer. The other option is to just rename the original files (leaving them in the original directory) by changing the file extension (ie change from .apk to .apk.bak). The files can be restore by moving them back to the /system/app directory or removing the modification to the file extension, respectively.
Here's a zip with the amazonmp3 apk as well as the apk and odex wifirouter files. I pulled this from the OTA 2.2 update zip.
http://www.mediafire.com/?271atc0dsksrlnc
Thanks for the upload. Yeah, I guess the wifi one's were in the Stock Froyo that I downloaded I coulda sworn it was named something else though so I overlooked it. I managed to get the Android SDK working so I can modify my root through the ADB Shell. Seemed a lot more complicated that it really is earlier. Got everything back to normal basically. Going to make a couple of back ups using ROM Manager now. Thanks for all of the help.
Since you use titanium you can just "freeze" the apps. It's just like renaming them but easier.
Sent from my ADR6300

[Q] noob question on backup/restore w/ nandroid

Rooted my FroyoDinc w/ unrevoked 3 and unrevoked forever this morning. In my haste to explore I started deleting some of the Verizon bloatware such as Friendstream, Facebook, Footprint as well as a couple of others before stopping when I remembered that I should have immediatly run a nandroid backup after root.
My question, can I still use this nandroid backup I made, minus the 4 or 5 misc items I deleted before backup, to restore my Dinc to stock if need be for either the next OTA update or if I run into problems playing w/ various ROM's?
I've heard it MAY cause issues
Sent from my Incredible using XDA App
You should be fine. Deleting Friendstream I've heard causes issues with the phone constantly syncing. Be careful of that. I create a directory in /system called app.disabled to move all of my apps to, just in case they are needed later to fix something.
Sent from HTC Incredible, Redemption 2.0.5, King's BFS #5 kernel OC to 1.113, s-off, Launcher Pro Plus
RMarkwald said:
You should be fine. Deleting Friendstream I've heard causes issues with the phone constantly syncing. Be careful of that. I create a directory in /system called app.disabled to move all of my apps to, just in case they are needed later to fix something.
Click to expand...
Click to collapse
Always a good idea. I try to keep a backup of everything from a fresh install and then copy that to my PC just in case. Then, as I go deleting things, make another backup so if everything does work fine, I can restore to that point if I end up making a mistake down the line and need to restore.
If you need to, I can send you my stock apk's if you have deleted em and need em back.

[Q] Integrating system updates into ROM

My Desire's running the current Stock ROM, and is rooted via Unrevoked with S-Off via AlphaRev.
I'm constantly skirting close to the 15Mb remaining data limit. The thing is, I'm running fewer apps than ever before these days, what with apps getting bigger and system updates using up precious memory space.
So I thought I'd use Titanium Backup to integrate the system updates into the ROM and free up data space. So I nandroided, s-off'd and ran the batch to integrate the updates into the ROM.
The apps in question (off the top of my head) were Flash, Maps, Gmail, Youtube, Market, and a couple of others.
It didn't work.
At first it looked as if it had, but I was getting force closes when I ran them.
I tried doing a force close repair via ROM Manager, but that didn't help.
The only thing that did work was apparently Flash. But then I was browsing around because I didn't getting the memory back I was expecting and I can still see the flash files in data.
So the updates have been recovered back into data and I'm back where I started.
So how do I do this?
Should TB work? What's the best way to actually integrate these files into the ROM? Which files need moving? Is flash just libflashplayer.so, because there are 3 other flash .so files? Do I need to modify anything to point to the new locations?
I really hope that the new gingerbread ROM doesn't immediately need system updates, but I expect to be disappointed.
Ta
Matt
To be honest I don't really know the answer I've never tried.... Could it be the permissions? Root Explorer - data/apps... find app you want and edit permissions ?
Why not just get apps2sd or data2sd?
I'm not against apps2sd or data2sd, it's just that I dodn't like the idea of having two versions of the same app on the phone - it's just a waste.
I'm thinking I'll apply the upgrade when it comes (if it's any good) - hopefully most of the system app updates will be built in already. Then I'll look for a version that strips back system to the bare minimum and repartitions to minimise system/maximise data, and also has apps2sd or data2sd (not sure which at the mo).
I do find it strange, though, that so few experiences of TB's integrate into ROM feature are discussed on the net.
ta
Matt

[Q] New ROMs and Titanium Backup Pro restore apps/data

I'm pretty sure that this hasn't been covered specifically so I'm posting a new thread.
I backed up all my apps and data on a stock rooted Sprint 4.24.651.1, 2.3.3 ROM via TBU Pro. I also performed a backup of my current ROM with ROM Manager. I then installed Team Nocturnal _Shooter_RLS_2.3.(after, of course, all the recommended wipes and resets) When I went to restore my apps and data I wondered if some of the previous app versions (where both ROMs have same apps/diff versions) would hose things up. It did, I think. Maybe all that I needed to do was clear some app caches and reboot. Not sure, I couldn't get any of the HTC widgets to load but I did see in another thread that cache clearing may fix that. But other stuff was goofy after the restore too. It became buggy and horribly slow, so I think that there's more to it than just the HTC stuff. I wonder if something I restored and maybe shouldn't have hosed it up. What I'm wondering is if someone would be so kind as to scan down my app lists and tell me which apps and/or data that are obvious that I shouldn't restore? For example, this new ROM has a different dialer, it makes sense to me that I wouldn't restore that. Same with anything to do with Sense, since this particular ROM I believe has a newer version, but not sure. I am thinking that any time I install a different ROM this will be a consideration but maybe I have the wrong idea about the whole thing. I have attached 30 images captured (incl the Software info screen) of my app list in TBU.
Lastly, I'll add that since making the move to Android from WinMo about a year ago I am very glad I did it. I could not have possibly been able to learn and do the things (rooting, S-off, flashing ROMS) that I have done without XDA! You folks are brainiacs and I greatly admire what you all do. (blatant a**-kissing)Thank you, thank you!
You have to be very careful about what you restore using Titanium when you are moving from one ROM to another. I found this from personal experience (moving from Stock to Synergy RLS1 and then to MikG). There is some good info in the Titanium Backup Wiki.
The part that you need to be careful about is restoring system data that is incompatible with the newer system apps in your new ROM. Your best bet is to only restore the User Apps and their data. You can do this in Titanium by selecting Menu > Batch > Restore missing apps with data.
There is some system data that you can restore without getting into trouble (probably bookmarks, SMS Messages, Sprint Voicemail) but you are going to have to experiment. I restored my missing apps using the batch option and then went to the Backup/Restore screen to look at the System Apps and Data one by one to see if there was anything that I could restore. Sometimes I would restore some data that would cause a problem and I would have to Wipe that data (also in Titanium Backup/Restore screen) and move along. I know at least once I was forced to start fresh and Wipe and reflash the ROM.
gbweller said:
I'm pretty sure that this hasn't been covered specifically so I'm posting a new thread.
I backed up all my apps and data on a stock rooted Sprint 4.24.651.1, 2.3.3 ROM via TBU Pro. I also performed a backup of my current ROM with ROM Manager. I then installed Team Nocturnal _Shooter_RLS_2.3.(after, of course, all the recommended wipes and resets) When I went to restore my apps and data I wondered if some of the previous app versions (where both ROMs have same apps/diff versions) would hose things up. It did, I think. Maybe all that I needed to do was clear some app caches and reboot. Not sure, I couldn't get any of the HTC widgets to load but I did see in another thread that cache clearing may fix that. But other stuff was goofy after the restore too. It became buggy and horribly slow, so I think that there's more to it than just the HTC stuff. I wonder if something I restored and maybe shouldn't have hosed it up. What I'm wondering is if someone would be so kind as to scan down my app lists and tell me which apps and/or data that are obvious that I shouldn't restore? For example, this new ROM has a different dialer, it makes sense to me that I wouldn't restore that. Same with anything to do with Sense, since this particular ROM I believe has a newer version, but not sure. I am thinking that any time I install a different ROM this will be a consideration but maybe I have the wrong idea about the whole thing. I have attached 30 images captured (incl the Software info screen) of my app list in TBU.
Lastly, I'll add that since making the move to Android from WinMo about a year ago I am very glad I did it. I could not have possibly been able to learn and do the things (rooting, S-off, flashing ROMS) that I have done without XDA! You folks are brainiacs and I greatly admire what you all do. (blatant a**-kissing)Thank you, thank you!
Click to expand...
Click to collapse
Yeah, I had a feeling that there would be conflicts like that before I even restored. I never thought to read the TBU wiki...thanks for that tip! It looks like I have a lot more homework to do before I flash again. I really have to decide if the time investment is really worth the return. There are so many cool ROMs out there but what a lot of B.S. sorting out what works and what doesn't. It is excruciating to have to read through 50+ posts following a ROM release to find out what you're in for. What would be super-cool is if someone was able to construct a spreadsheet of the most popular ROMs in a column with all of the popular features (4G, Wifi Tether, Mirroring, etc), kernel compatibility, Sense or no Sense, etc in a row at the top, with check marks indicating whether or not the feature works or is baked in. I'd pay to see that. Especially if it were linked to the downloads to the ROMs and kernels.
Thank you very much for the reply!

Categories

Resources