[Q] Restore sms archive from smsmms.db file - General Questions and Answers

Hi. I'm using CM9 on my Galaxy S I9000 and I accidantally installed the latest nightly of CM7 instead of CM9 on my phone. My message archive was gone, I couldn't reach it, so I backup of database folder from ../data/data/android.provider.telephony with root explorer and installed CM9 with wiping all the data.
Now when I copy smsmms.db and telephony.db to data folder and making a restart, android keeps giving me android stopped working error. and of course no messages at all.
Is there anyway that I can backup my sms archive??
Thank in advance

Related

[Q] HELP ME! I deleted a system app with Titanium Backup

HELP ME...
I have a Samsung Galaxy S2, running Gingerbread XWKDD, Android 2.3.3, Samsung's Touchwiz 4.0.
Rooted my SGS2 and got Titanium Backup, I uninstalled the clock app because I thought it was a widget and I didn't want to see alot of widget. Anyway, turns out the clock 1.0 is actually a system app by the name of com.sec.android.app.clockpackage
and titanium backup can't reinstall it, when i extract the .apk from the backup file and try manually installing, it doesn't install either, just says application not installed.
I also can't find this on Android market.
ok, so after some digging i found that com.sec.android.app.clockpackage.apk still existed in system/apps but just wasn't running. I also noticed for almost every .apk, there was a .odex. But for my clockpackage, there was no .odex, maybe that's why it's not working?
on that thought, maybe anyone here can copy their .odex files for the 2 clock .apks and send them to me? Just use Root Explorer to see the system/app folder, mount R/W if you need to, then copy the 2 .odex files and then upload them somewhere? Pls?!?
if you want root explorer, holla at me via pm
Hi,
I have the same problem with Contacts.apk (no .odex, Titanium or. RootExplorer can't install), so i can't open the number-pad to make a call.
I have tried to copy the backuped Contacts.apk manualy to /system/app, the rebooted, but it don't hlep.
Solved: I have Installed the VillainROM 1.0 and the app is back.
U tried reflashing your current rom??
Its the most clean solution... Because if you copy and paste from another device i'm sure about the system file its not going to work correctly(cache data from another device...mmm i think it will not work...)
sent from my amstrad CPC powered by LOL..(premium xda)

[Q] Adding Titanium Backup to custom rom

I'm running a custom rom (CM7.2-RC3-APOCALYPSE-BAREBONE v12-06-12, by itasoulas, based on CM7.2 RC3 by vo-1 v31-05-12) on my Galaxy Ace (GT-S5830D). I'm about to flash a newer version of the custom rom, but I wanted to add Titanium Backup and S2E to the rom, so that my ext partition is mounted automatically after flashing, and Titanium Backup is already on and ready to restore.
I have the apk files for S2E & Titanium, do I just add them to the system/app folder in the rom zip? Or do I put them in the data/app folder, in which case I'd have to create said folder in the rom zip? Please let me know, as it would let me eliminate a whole 2/3 steps in the flash/restore process (flash->install S2E->reboot to mount ext->install Titanium->restore becomes flash->restore).
Any help would be greatly appreciated. I'd post this in the CM7.2-RC3-APOCALYPSE thread, but this is my first post and I'm not allowed to post there yet.
As you can see, I didn't get any response from my post, so I rolled the dice and went for it.
So here's how it works for those who don't know:
To add system apps to a rom, place the apk files in the system/app folder in the zip. If you want the apps installed as user apps, place them in the data/app folder in the zip. Worked like a charm. I flashed, booted, configured S2E (installed w/rom), rebooted, ran Titanium Backup and restored everything.
BTW, I was also able to add the APN info for my carrier into the rom. You can do that by editing the apns-conf file in the system/etc folder in the zip. This is handy because when I flash a custom rom I have no APNs set up, as well as no wireless networks saved, so by doing this I was able to run the initial setup when you first reboot the phone (instead of just skipping it, missing Gapps, and adding my account later).
Hope this helped for anyone who is interested.
Neat. Though I'd likely keep titanium as a user app, I'm definitely going to try this.
Sent from my U8150 using XDA
There is an app to move apps from users space to system space available on the google play. It is called app-mover. It is simple tool. If you are already using link2sd then there is a menu option for moving the apps.

[Q] Unable to restore Text Messages with TitaniumBackup

Devide:LG Nitro HD
ROM: Jellybam v3.1.0
Rooted: Yes
I updated my ROM this morning and found myself unable to restore my textmessages. The backup files made by Titanium were named
"com.android.mms-20121204-(random numbers).tar"
"com.android.mms-20121204-(random numbers).proprieties"
"com.android.mms-(random HEX).apk"
How can I change the .tar and/or the .proprieties to a .XML format for me to be able to restore my text messages? I really need to figure this asap!

[Q] TWRP nandroid issue

Currently running Dirty Unicorns 5.0.2 on my Nexus 7 Flo
I've just run a nandroid backup in TWRP 2.8.5.0, and after trying to use "Extract from Nandroid backup" in Titanium Backup, all my app backups show only having data for the apps and not the apps themselves. Trying to restore the nandroid in recovery causes my tablet to boot to a black screen.
After looking in the /data/app/ folder using a file explorer, i noticed that each app is sorted into individual folders as shown in the attached screenshot (as opposed to on KK, where this folder used to be full of just the .apk's) so i'm assuming this must be a change in the way Lollipop manages installed apps?
I have used the flashable zip found here on XDA for the modded Playstation Remote Play app, and this is the only app in the /data/app folder not in a specific folder like everything else, so in Titanium Backup it shows up as a smiley face (meaning the backup contains the app+data).
Has this happened to anyone else? because of this i can't restore nandroid /data partition backups through recovery or with Titanium Backup which is beyond frustrating
Ideas?
DrRuckingFetard said:
Currently running Dirty Unicorns 5.0.2 on my Nexus 7 Flo
After looking in the /data/app/ folder using a file explorer, i noticed that each app is sorted into individual folders as shown in the attached screenshot (as opposed to on KK, where this folder used to be full of just the .apk's) so i'm assuming this must be a change in the way Lollipop manages installed apps?
Ideas?
Click to expand...
Click to collapse
App folders changed in Lollipop just as you supposed. Easy way to fix it: Install all the apps you need and then restore the "data" by extracting from nandroid backup using Titanium Backup. Its a little annoying but it works

[Q] SMS\MMS Export file format CM 12.1

I used the Export utility in the CM 12.1 messaging app to save my SMS/MMS messages before a wipe and fresh install of Slim 4.4.4 build 9.0.
Now trying to restore these files and need to know what format they are in. Apps like SMS Backup & Restore do not recognize the files. There is no file extension...
Looking at the header of the file in a text editor I see this;
@sr com.android.mms.QMMSBackupà÷ýÖa L MMSListt Ljava/util/ArrayList;xpsr java.util.ArrayList
What do I need to do to restore these? Or at least be able to read them....

Categories

Resources