Keeping SMS messages when switching ROMs - G1 Q&A, Help & Troubleshooting

I've been having this problem for a while now and I can't seem to find a solution. I've had my SMS messages on my Cyanogen ROMs for quite some time now, and I'm always using the Backup For Root Users app so I don't lose them when trying out new ROMs. The problem is, however, when I try to restore my SMS messages using the backup app, all SMS apps (Messaging, Handcent, Chomp, etc.) force close on launch.
This has happened with every Hero and Eclair ROM I've ever tried on my G1. Is there a way to keep my SMS messages if I want to try out a new ROM?
Thanks,
Gerard

There is a database file in the /data/data/com.android.providers.telephony/databases directory.
Make a copy of that database file:
cp -r /data/data/com.android.providers.telephony/databases/mmssms.db /sdcard
And when you switch roms put it back by copying it back to the same place.
cp -r /sdcard/mmssms.db /data/data/com.android.providers.telephony/databases

try a different app.. "mybackup" or "titanium backup" both do a good job of backing up sms/mms ...seems like your backups may be corrupt??

Macrophage001 said:
There is a database file in the /data/data/com.android.providers.telephony/databases directory.
Make a copy of that database file:
cp -r /data/data/com.android.providers.telephony/databases/mmssms.db /sdcard
And when you switch roms put it back by copying it back to the same place.
cp -r /sdcard/mmssms.db /data/data/com.android.providers.telephony/databases
Click to expand...
Click to collapse
I haven't had time to try this yet (college stuff) but doesn't that do the same thing that Backup For Root Users does?
digitaljeff said:
try a different app.. "mybackup" or "titanium backup" both do a good job of backing up sms/mms ...seems like your backups may be corrupt??
Click to expand...
Click to collapse
I thought the backups might've been corrupt as well, but if I wipe my phone, re-flash a Cyanogen ROM and then restore my backed up SMS messages, everything works fine :-/ I'll still try those apps when I have time though.
I'll keep you guys updated...

grardb said:
I haven't had time to try this yet (college stuff) but doesn't that do the same thing that Backup For Root Users does?
Click to expand...
Click to collapse
Prolly but this is more assuring trust me.

Macrophage001 said:
Prolly but this is more assuring trust me.
Click to expand...
Click to collapse
Well I just tried it and it failed, same way as with Backup for Root Users. I think I'm just gonna start from scratch. This is becoming a bit much for me...
Thanks anyway :-/

Related

3 Problems, Please help

Okay, so I tried to delete some old Nandroid backups and I think i deleted Nandroid, so it won't restore. How do I get my backup to restore?
If that doesn't work, I'm running the AOSP 1.6 with googlebits.. And I need to know where I can get the Sprint Visual Voicemail app?
And Finally, is there any fixes for Getting SMS to work? i can receive messages, but can't send.
restore with one of your backups using fresh kitchen
smittycg said:
restore with one of your backups using fresh kitchen
Click to expand...
Click to collapse
Will that work even though I'd be restoreing to Stock rom?
Duscrom said:
Okay, so I tried to delete some old Nandroid backups and I think i deleted Nandroid, so it won't restore. How do I get my backup to restore?
If that doesn't work, I'm running the AOSP 1.6 with googlebits.. And I need to know where I can get the Sprint Visual Voicemail app?
And Finally, is there any fixes for Getting SMS to work? i can receive messages, but can't send.
Click to expand...
Click to collapse
If by "deleted Nandroid" you mean you can't boot into recovery, try reflashing your Amon RA image again to your phone. (Go to the sticki wiki guide section for that).
Google the Visual Voicemail app, I don't know exactly were I found it because it was a long time ago but I did found it on the net.
Try removing the +1 from the contacts you are trying to send sms texts to.. use the 123-456-7890 format to send out text messages, if not try handcent or chomp SMS. If none works, than there's not muche else you can do, this is a known unfixable problem for some people using AOSP 1.6.
I would say do what he said. Here's a simple guide to reflash RA:
Copy the image to the SD, rename it recovery.img (makes it easier). Navigate to SDK/Tools dir and do these commands:
Code:
adb shell
#cd /sdcard
#flash_image recovery recovery.img
#reboot recovery
If that doesn't work, RUU will fix it.

[Q] Removing Stock Apps (without editing the ROM & resigning)

While I know editing the ROM and resigning the zip file is a method, one I generally use, I get tired of doing it every time since I do the nightly CMs.
Is there an app or something that can be used to remove stock apps? I HATE Amazon MP3 and stock weather and such.
I've heard someone say something about Spare Parts but I don't seem to see any way to remove apps with it....
I use root explorer from the marketplace. It's not free but it's well worth it imo.
trojanz said:
I use root explorer from the marketplace. It's not free but it's well worth it imo.
Click to expand...
Click to collapse
I don't know why I didn't think about that lol.
I have RootExplorer..where exactly would I find those apps though? Looking in the /system folder under apps, I see the system apps but I don't see such apps as Amazon or Weather (though I assume they may be under different names?)
They should be in the /system/app folder, but in their full names. It'll be something like "com.android.MP3.apk"...You just gotta look closely and guess.
wdfowty said:
They should be in the /system/app folder, but in their full names. It'll be something like "com.android.MP3.apk"...You just gotta look closely and guess.
Click to expand...
Click to collapse
Yeah, I found it. Thanks dude.
My question is, how safe is it to remove **** like stock browser (I never use it, only DolphinHD) and stock weather? I know stock weather shows up on the clock so I don't want to like screw it up..
uoY_redruM said:
Yeah, I found it. Thanks dude.
My question is, how safe is it to remove **** like stock browser (I never use it, only DolphinHD) and stock weather? I know stock weather shows up on the clock so I don't want to like screw it up..
Click to expand...
Click to collapse
I honestly have no idea...Do a nandroid backup and try it. I don't think it should be a problem, but I've never tried
I use gscript app and I have a script that cleans-up all the apps in one click. Since I flash each and every nightly, it would be a pain in the arse to remove the apps one-by-one every day (sometimes several times a day).
You can also use Titanium Backup. Even the free version allows you to uninstall any app including system ones. A more friendly approach would be to use LauncherPro and just hide the apps you don't like
Karolis said:
I use gscript app and I have a script that cleans-up all the apps in one click. Since I flash each and every nightly, it would be a pain in the arse to remove the apps one-by-one every day (sometimes several times a day).
Click to expand...
Click to collapse
What exactly is gscript?
melwan said:
You can also use Titanium Backup. Even the free version allows you to uninstall any app including system ones. A more friendly approach would be to use LauncherPro and just hide the apps you don't like
Click to expand...
Click to collapse
Yeah, I'd rather just dump them completely! lol
what you can do is do 2 things, 1 is do adb pull and pull the app you want to remove then do adb shell then do rm /system/app/<your app want to remove>
if it fails you can push it back in and everything be good
or you can do adb shell
and cp -r /system/app /sdcard*
this should copy the whole app directory and its app in there and then do the
rm command if get FC or any issue jus do
adb push again, or do cp /sdcard/app/nameofapp /system/app
and it puts it back in and things should be good good luck
Titanium will remove the app package for you...very easy & clean.
uoY_redruM said:
What exactly is gscript?
Click to expand...
Click to collapse
GScript is an app that allows you to execute saved shellscripts.
Here's the script that I use for clean-up:
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm /system/app/Development.apk
rm /system/app/Email.apk
rm /system/app/RomManager.apk
rm /system/app/SpareParts.apk
rm /system/app/SpeechRecorder.apk
rm /system/app/Stk.apk
rm /system/app/Term.apk
Of course you can add or remove any apps you want from the list. Also, if you try it, don't forget to check the box saying that SU is required.
I guess I should add the code to remount the system back to read-only after the execution, but I'm a bit lazy
galaxys said:
Titanium will remove the app package for you...very easy & clean.
Click to expand...
Click to collapse
Hi!
I have the latest CM6 nightly in my N1, and I don't like some apps included like ROM Manager, Torch, Google Voice (I'm outside of USA), Amazon, etc.
It's safe to use Titanium Backup to delete those apps?
Thanks!
Yes it is.

Removing System apps ?

Hey i just rooted my Optimus 2x and removed two system apps with Titanium Backup Pro..
before that i made a backup of the apps with Titanium backup, but there is just one problem, it only made a backup of DATA not the APP....
so now i have removed the CAR HOME APP and F-Secure APP and don't have backup...
my question is....
Do I have a problem, if i need to make a hard reset with VOL + HOME, POWER. when im missing those system APPs ??
No problem
@dk_iceman
What did you do to remove f-secure? Could you please provide a very short summary of what you did? I'm curious if it's really enough to remove the apk? And what do you mean by data? After a restart of the phone, did the app really disappear?
thanks!
Mehrsau said:
@dk_iceman
What did you do to remove f-secure? Could you please provide a very short summary of what you did? I'm curious if it's really enough to remove the apk? And what do you mean by data? After a restart of the phone, did the app really disappear?
thanks!
Click to expand...
Click to collapse
What about his post is unclear? he uninstalled the program using titanium backup pro. (you need to root first)
And yes... It sticks efter reboot and factory reset.
dk_iceman said:
Hey i just rooted my Optimus 2x and removed two system apps with Titanium Backup Pro..
before that i made a backup of the apps with Titanium backup, but there is just one problem, it only made a backup of DATA not the APP....
so now i have removed the CAR HOME APP and F-Secure APP and don't have backup...
my question is....
Do I have a problem, if i need to make a hard reset with VOL + HOME, POWER. when im missing those system APPs ??
Click to expand...
Click to collapse
you can just use ADB to push the apk's back on your system if you want.
Odd. For some reason i cant mount system as rw with adb "remount failed: Operation not permitted"
But you can just put the apk's on your sd card in stead and then copy them to system/app using root explorer
Duplication
dk_iceman said:
Hey i just rooted my Optimus 2x and removed two system apps with Titanium Backup Pro..
before that i made a backup of the apps with Titanium backup, but there is just one problem, it only made a backup of DATA not the APP....
so now i have removed the CAR HOME APP and F-Secure APP and don't have backup...
my question is....
Do I have a problem, if i need to make a hard reset with VOL + HOME, POWER. when im missing those system APPs ??
Click to expand...
Click to collapse
gensplejs said:
you can just use ADB to push the apk's back on your system if you want.
Odd. For some reason i cant mount system as rw with adb "remount failed: Operation not permitted"
But you can just put the apk's on your sd card in stead and then copy them to system/app using root explorer
Click to expand...
Click to collapse
Guys, this is a duplicated discussion.
Rather than reposting, please point people to the source of the information.
http://forum.xda-developers.com/showpost.php?p=12002292&postcount=35
http://forum.xda-developers.com/showpost.php?p=12005575&postcount=48
This is a young sub-forum, let's start it the way we hope to continue using it.
djmcnz said:
Guys, this is a duplicated discussion.
Rather than reposting, please point people to the source of the information.
http://forum.xda-developers.com/showpost.php?p=12002292&postcount=35
http://forum.xda-developers.com/showpost.php?p=12005575&postcount=48
This is a young sub-forum, let's start it the way we hope to continue using it.
Click to expand...
Click to collapse
Just trying to be helpful. Sorry
Anyway... i cant get root access via ADB... i get a permission denied when typing su (titanium backup and root explorer work perfectly.)
gensplejs said:
Just trying to be helpful. Sorry
Anyway... i cant get root access via ADB... i get a permission denied when typing su (titanium backup and root explorer work perfectly.)
Click to expand...
Click to collapse
Open the SuperUser app and "forget" the entry "unknown" then:
Code:
adb shell
$ su
#
And you'll get prompted on the phone screen to allow root access.
djmcnz said:
Open the SuperUser app and "forget" the entry "unknown" then:
Code:
adb shell
$ su
#
And you'll get prompted on the phone screen to allow root access.
Click to expand...
Click to collapse
Yeah... my bad... just realised that 2 mins ago... was about to post.
So if you take a backup with titanium backup, it will not backup the app. And if you delete apps, with titanium backup are they removed completely from the ROM/ROOT, and a factory reset will not bring them back?
Man just deleted F-secure, SNS, App advisor and the live wallpapers, with titanium backup, and these will not come back if I make hard reset, does anyone have the SNS 1.0 and the Christmas/Firework live wallpapers?
whc said:
So if you take a backup with titanium backup, it will not backup the app. And if you delete apps, with titanium backup are they removed completely from the ROM/ROOT, and a factory reset will not bring them back?
Man just deleted F-secure, SNS, App advisor and the live wallpapers, with titanium backup, and these will not come back if I make hard reset, does anyone have the SNS 1.0 and the Christmas/Firework live wallpapers?
Click to expand...
Click to collapse
Download my rom dump, extract files and just copy files back with root explorer.
http://forum.xda-developers.com/showthread.php?t=987989
You should user soft "SystemApp Remover" to remove app you want. This is very cool app . There are many bloatware you can remove.
Another way to disable apps is to use Titanium backups "freeze" or the "disable" with adb. Both prevents the app from running BUT leaves it intact and give you a possibility to restore all apps with a hard reset.
Here is a guide from Paul at Modaco:
http://forum.xda-developers.com/showpost.php?p=8633061&postcount=1
Basically its use adb to run a PM command:
pm disable com.Apps.apps (change the file name to the apk you want to disable.
Note: titanium "freeze" do same thing
I've made backups with Titanium Backup and synced them with my dropbox account. But when i look at what he saved i can see the apk files. So i'm not really sure but it looks to me like he also saved the app itself and not only the data.
update:, hmmmm i just looked at the content of my backup dir in dropbox and it seems like he didnt send the system apps. So if you want to restore them you have to use the system dump. Or back them up yourself.
mirsalimov said:
Download my rom dump, extract files and just copy files back with root explorer.
http://forum.xda-developers.com/showthread.php?t=987989
Click to expand...
Click to collapse
Thanks for this mate .
Zanr Zij said:
You should user soft "SystemApp Remover" to remove app you want. This is very cool app . There are many bloatware you can remove.
Click to expand...
Click to collapse
Yes find it very useful, better UI than Titanium.
DocRambone said:
Another way to disable apps is to use Titanium backups "freeze" or the "disable" with adb. Both prevents the app from running BUT leaves it intact and give you a possibility to restore all apps with a hard reset.
Here is a guide from Paul at Modaco:
http://forum.xda-developers.com/showpost.php?p=8633061&postcount=1
Basically its use adb to run a PM command:
pm disable com.Apps.apps (change the file name to the apk you want to disable.
Note: titanium "freeze" do same thing
Click to expand...
Click to collapse
and adb is? Sorry not sure what it is short of .
whc said:
and adb is? Sorry not sure what it is short of .
Click to expand...
Click to collapse
Android Debug Bridge
http://android-dls.com/wiki/index.php?title=ADB
Hello everyone!
I'm trying to tweak this Stock rom because i don't wanna install mostly broken custom roms where i can't use apps i want (installed from market).
I was just wondering that which system apps can be uninstall from LG Optimus 2X for not being worried about any errors or so?
I have uninstalled now sns, wallpapers, most of widgets i don't need but can i remove remotecall app? Do i need it for makeing calls, sending sms or connecting to mobile network, wifi or Bluetooth?
Or is google quick search necessary for some apps?
and what about Smartshare, talk, voicesearch or voicerecorder?
Please answer to this if you have time and knowledge of these apps!
Thank you in advance!
Just out of curiosity, why dont you guys just install a clean Vanila ROM?
Wouldn't that be easier as it will not contain any of LG's software/modifications etc?
Not trying to be a smart alec here, just wondering that's all.
I got my 2X today and I want to install a clean Vanila ROM and have posted a thread asking for help as to how to go about doing it.
I'm currently using Launcher Pro which works a treat and the ROM itself seems very fast but I just hate the tweaks to the Messaging apps and also all the bloatware.
Or do you guys just find LG's software useful?
Cheers

How do I restore apps from a different device?

Trying to restore titanium backup of downloaded apps and settings from another device. Apps restore properly but none of the settings do (game scores, etc.)
I have never had a problem restoring to other devices. Is there anything I have to do to fix this?
Dmore rom, semaphore kernel
Had the same problem at one point, tried fixing it but didn't know what to do and nothing seemed to make any difference. And then suddenly one day it was working again.
The only difference i can think of is I updated titanium backup. try that.
If that doesn't work try uninstalling it and reinstalling it (copy the titanium backup folder on your sd card onto your computer just in case it gets deleted, don't think it should.)
Other than that google the problem (Titanium backup wont restore apps - google search), there are ton of similar situations, there's probably an answer out there already that'll work for you
Zorigo said:
Had the same problem at one point, tried fixing it but didn't know what to do and nothing seemed to make any difference. And then suddenly one day it was working again.
The only difference i can think of is I updated titanium backup. try that.
If that doesn't work try uninstalling it and reinstalling it (copy the titanium backup folder on your sd card onto your computer just in case it gets deleted, don't think it should.)
Other than that google the problem (Titanium backup wont restore apps - google search), there are ton of similar situations, there's probably an answer out there already that'll work for you
Click to expand...
Click to collapse
I'm on version 5 so that should be fine. and thanks for the link, although I did not find why data is not being restored.
Strange thing is that data from ONE app was restored but not others. After seeing that I remade the backup but the same thing happened. I wonder if its where the i9000 stores the data of backups is the issue
No other ideas? No one has had this happen?
I've been looking for a solution for two nights, this hasn't happened to anyone?
Sent from my MB860 using XDA
Go into options of titanium and make sure you have backup external data to always. I run a restore this morning because I was switching ROMs and everything worked fine.
domdomrys said:
Go into options of titanium and make sure you have backup external data to always. I run a restore this morning because I was switching ROMs and everything worked fine.
Click to expand...
Click to collapse
Tried it, didnt work. This is frustrating
Sent from my MB860 using XDA
In advanced, there is something to do with sym link. Check that. Try again. Some roms use that.
domdomrys said:
In advanced, there is something to do with sym link. Check that. Try again. Some roms use that.
Click to expand...
Click to collapse
I Have been doing that too
Sent from my MB860 using XDA
Restore manually. When you go to the folder with all the backups, there should be a bunch of .tar and other files. Just install the apks on the other phone and manually restore the data in the .tars
domdomrys said:
Restore manually. When you go to the folder with all the backups, there should be a bunch of .tar and other files. Just install the apks on the other phone and manually restore the data in the .tars
Click to expand...
Click to collapse
I see the tars, and in each tar there is a data folder, another data folder inside, and then the .com folders. what do i restore and where do I put it?
for example, in the AKnotepad .com folder there are these folders:
app_sslcache
databases
shared_prefs
some apps also have a files folder inside the .com
I can just place them using ES file browser with root browsing method on the phone, just am not sure where.
When O had a look into my backups, that had data folders in them. Go on your old phone and see where the files in data folders go. Most go to /data/data. I recommend Root Explorer.
domdomrys said:
When O had a look into my backups, that had data folders in them. Go on your old phone and see where the files in data folders go. Most go to /data/data. I recommend Root Explorer.
Click to expand...
Click to collapse
On my old phone they go there, but i think thats what the issue is, that they are located somewhere else on the i9000?
Sent from my MB860 using XDA

App not installed on lp 5.1.1

Hey guys really need your help I can't seems to install the some apps on 5.1.1 like dubai racing. I used titanium backup to back up it and after flashing another rom I cant install back the app. Any throughs?
reasonz20 said:
Hey guys really need your help I can't seems to install the some apps on 5.1.1 like dubai racing. I used titanium backup to back up it and after flashing another rom I cant install back the app. Any throughs?
Click to expand...
Click to collapse
Take the apk from your titanium backup, and move it manually to /data/app. Create the folder for the app, put the app in the folder, and make sure the folder and app permissions are set correctly. Look at the permissions for the other folders and apps that are already in /data/app to know what the permissions need to be. Once you've done that, then reboot, and check to see if the app is in your app drawer.
bouchigo said:
Take the apk from your titanium backup, and move it manually to /data/app. Create the folder for the app, put the app in the folder, and make sure the folder and app permissions are set correctly. Look at the permissions for the other folders and apps that are already in /data/app to know what the permissions need to be. Once you've done that, then reboot, and check to see if the app is in your app drawer.
Click to expand...
Click to collapse
What you mean when you say create the fold for the app? could you give an with app please and thanks in advance
reasonz20 said:
What you mean when you say create the fold for the app? could you give an with app please and thanks in advance
Click to expand...
Click to collapse
Go into /data/app using root explorer or something similar, and you will see what I mean. The file structure for LP is different than KK.
Example (uk.co.nickfines.RealCalc-1 app):
bouchigo said:
Go into /data/app using root explorer or something similar, and you will see what I mean. The file structure for LP is different than KK.
Example (uk.co.nickfines.RealCalc-1 app):
Click to expand...
Click to collapse
I know this is asking a lot but could you do a video on ow to do it because am not getting it?
reasonz20 said:
I know this is asking a lot but could you do a video on ow to do it because am not getting it?
Click to expand...
Click to collapse
It doesn't work anyway (Dubai Racing). I tried it, and it won't even show up in the app drawer unless it's installed to /system/app. Even then, the app opens and begins to load, and then it just stays stuck at a blank screen and never loads.
Re-reading your initial post, does titanium backup not see your backup of Dubai Racing only, or it cannot you not see any of your backups?
If that is the case, make sure you don't have a lot of /0 folders in /data/media. There should only be one /data/media/0 folder If there is more than one you have to fix that. Make sure titanium backup is pointing to the correct backup location in settings too.
Also try this in terminal emulator: restorecon -FR /data/media/0
bouchigo said:
It doesn't work anyway (Dubai Racing). I tried it, and it won't even show up in the app drawer unless it's installed to /system/app. Even then, the app opens and begins to load, and then it just stays stuck at a blank screen and never loads.
Re-reading your initial post, does titanium backup not see your backup of Dubai Racing only, or it cannot you not see any of your backups?
If that is the case, make sure you don't have a lot of /0 folders in /data/media. There should only be one /data/media/0 folder If there is more than one you have to fix that. Make sure titanium backup is pointing to the correct backup location in settings too.
Also try this in terminal emulator: restorecon -FR /data/media/0
Click to expand...
Click to collapse
Thanks a lot for the help it worked!

Categories

Resources