Hello all,
I just wiped and installed 4.13.651.4 rooted stock odex upgrade from captain throwback's release. Previously coming from 4.13.651.1. I used titanium backup to backup everything from previous installation, then restored everything from that release once upgraded. That screwed a bunch of stuff up because I restored all system and data as well as user apps and data. Wiped that out and reinstalled fresh, this time restoring all user apps and data, and only system data. For whatever reason, bluetooth will not operate. Everything else is fine. I cannot figure out how to reinstall only bluetooth files so that it works properly. So far the steps I've taken were to snag the following files from the 4.13.651.4 installation zip from the system/app folder in the zip:
Bluetooth.apk
Bluetooth.odex
HtcBluetoothLeProfiles.apk
HtcBluetoothLeProfiles.odex
HtcBtWidget.apk
HtcBtWidget.odex
Nfc.apk
Nfc.odex
I unzipped these with root explorer, then copied and pasted them into the ROOT/system/app folder after switching to "Mount R/W" in the system/app folder. Once the new files were in place, I changed permissions on all 6 files to be rw-r--r-- just like all the rest of the files. Rebooted phone, bluetooth still doesn't work. Are there any other files that I would've inadvertently have replaced or modified from the previous 4.13.651.1 files that controls bluetooth operation? I REALLY REALLY REALLY don't want to have to wipe and do over AGAIN!!!
Please help!!
Why are you replacing BT system files? Those aren't part of the TB backup, are they? Did BT work before you started restoring things from your previous install? I would suggest only restoring user apps and within that only the user data you really need to keep. Restore data for apps one-by-one, not all at once. Don't restore system data unless you know it's not going to interfere with what is already there. TB is almost too powerful for its own good when it comes to batch backup and restore. You gotta learn what to exclude and what you really want to migrate to a new install.
But mostly start fresh and make sure BT works before you start restoring anything.
SilverZero said:
Why are you replacing BT system files? Those aren't part of the TB backup, are they? Did BT work before you started restoring things from your previous install? I would suggest only restoring user apps and within that only the user data you really need to keep. Restore data for apps one-by-one, not all at once. Don't restore system data unless you know it's not going to interfere with what is already there. TB is almost too powerful for its own good when it comes to batch backup and restore. You gotta learn what to exclude and what you really want to migrate to a new install.
But mostly start fresh and make sure BT works before you start restoring anything.
Click to expand...
Click to collapse
It did work before I started messing with stuff. I'm restoring BT system files hoping it would work again. I don't really know what TB backs up when its set up backup everything. After first time I did restore items one by one and that's what screwed up BT in the first place. I figured putting original files back in system folder would fix it, but it didn't. I only restored system data one by one to try not to have to set up my phones settings again including BT pairings. Guess I've got egg on my face now. Any ideas?
whoshodade said:
It did work before I started messing with stuff. I'm restoring BT system files hoping it would work again. I don't really know what TB backs up when its set up backup everything. After first time I did restore items one by one and that's what screwed up BT in the first place. I figured putting original files back in system folder would fix it, but it didn't. I only restored system data one by one to try not to have to set up my phones settings again including BT pairings. Guess I've got egg on my face now. Any ideas?
Click to expand...
Click to collapse
If it was me, I'd do a factory reset or just reinstall the ROM (try dirty flash, if that doesn't work then wipe and start clean), then restore only user apps. In TB you can do a batch restore, but then uncheck apps you don't want to restore. I wouldn't reinstall any data from anything. If you open a user app and it turns out you don't have the data you want, then go in and restore data for just that app.
Restoring system apps and data is asking for trouble, IMHO.
SilverZero said:
If it was me, I'd do a factory reset or just reinstall the ROM (try dirty flash, if that doesn't work then wipe and start clean), then restore only user apps. In TB you can do a batch restore, but then uncheck apps you don't want to restore. I wouldn't reinstall any data from anything. If you open a user app and it turns out you don't have the data you want, then go in and restore data for just that app.
Restoring system apps and data is asking for trouble, IMHO.
Click to expand...
Click to collapse
Thats what I was trying to avoid.... if there was a way to break it, theres gotta be a way to fix it.
whoshodade said:
Thats what I was trying to avoid.... if there was a way to break it, theres gotta be a way to fix it.
Click to expand...
Click to collapse
Sure, replace the files you restored or copied over with the originals. My assumption is that the files that are "broken" are the ones that got overwritten when you restored and/or copied into /system from the previous install. They have to be replaced with the original files and data. That would involve extracting them from the original ROM and copying them back into place. I don't know how to go about that. I'd cut my losses and reinstall. If you have a TB backup already, you'll only be out the half-hour it takes to re-flash and restore things. Like I said, you can try a dirty flash, wipe caches only, try a factory reset, etc. I personally would wipe and re-flash clean, because I hate wondering if there are still any ghosts in the machine when I encounter problems like this.
SilverZero said:
Sure, replace the files you restored or copied over with the originals. My assumption is that the files that are "broken" are the ones that got overwritten when you restored and/or copied into /system from the previous install. They have to be replaced with the original files and data. That would involve extracting them from the original ROM and copying them back into place. I don't know how to go about that. I'd cut my losses and reinstall. If you have a TB backup already, you'll only be out the half-hour it takes to re-flash and restore things. Like I said, you can try a dirty flash, wipe caches only, try a factory reset, etc. I personally would wipe and re-flash clean, because I hate wondering if there are still any ghosts in the machine when I encounter problems like this.
Click to expand...
Click to collapse
I thought i did that... I dont know what other items affect BT
I am having issues on a clean install. Haven't connected to Bluetooth since I got the phone.
Sent from my EVO using Tapatalk
Related
So I rooted my Atrix some time ago, and installed TB. Made a backup 2/23.
Motoblur ****ed up (no surprise) and I was directed by customer support to do a factory wipe yesterday. I didn't have a more recent backup than 2/23, so I reinstalled to that and then re did everything I'd done since then (dl apps, changes settings, etc).
So today I ran TB again ... I chose "Batch -> Backup all user apps + system data". I didn't think this would do anything other than create backups.
However, now my Motoblur is ****ed up again!
My home screens are all screwed up, my widgets are all mis-sized (1x4's are 1x1??), my contacts are screwed up, etc etc.
Has anyone else had this problem with TB? I'm running the free version ... I didn't think that creating (not restoring) a backup would screw up my phone ...
I know the immediate response would be to blame motorolla but I think that this is a TB issue.
Thanks.
~Viper
Did you do a backup of the system and user apps? If so this is probably your issue. I've read to just do user apps and not system included with that. If you had an issue in the system files and you back that up and restore that it will replace the fixed files with the older "broken" files.
I'd suggest do a batch backup of apps and reflash again and then restore the app data.
Mustang302LX said:
I'd suggest do a batch backup of apps and reflash again and then restore the app data.
Click to expand...
Click to collapse
+1, ive never had good results with restoring the system stuff... it will overwrite weird stuff in the system and you're always much better off just restoring the apps. PIA to have to reconfigure the home screen, accounts, etc... but it doesnt take too much work and things will run _much_ smoother...
I'm running streakdroid 1.9 but I would like to do some experimentation with my streak. If I flash a new rom what will I lose? How do you backup your data so you can flash to your hearts content?
Thanks
if u flash stock roms, they do a factory reset during first start up.
So u end up loosing everything.
However if u flash .zip version of the stock roms using CWM or streak recovery , u will retain almost everything but may loose somethings like root and so on.
Remember stock roms will flash its default recovery everytime it boots up
Ok thanks. Is it wise to do a factory reset anyway?
What tools can I use to backup messages, apps, photos, etc?
I use titanium backup.
If you do a nandroid backup, when you restore it, everything will be just as it was before you flashed another ROM...
As far as using Titanium... it has never worked for me completely, nor has MyBackUp Pro, they cause me more headache than being useful...
I have gotten to the point to when I flash a new ROM, I just manually install everything, I know it sounds like some hassle, but you end up with a much smoother operating phone.
I even do a nandroid backup first, then go into my ROM and manually uninstall everything, so that when I boot up my new ROM and setup my market account, it doesn't try to install everything on its own and bog down my phone at first, I install everything manually in the order I want and set them up as I go.
I know this sounds cumbersome, but I have found it creates a cleaner environment and practically eliminated force closes
That is the way I like to do things also but what about the things that you can't just re-install e.g. sms, application specific data?
Advice
I was having a sim card and constant restart issue after updating to streakroid 2.4.4, and even after flashing dsc, the problem persisted. After I reviewed the steps I had taken I realized that I never did a factory resest (fearing I would forever lose my precious app data, which I did -_-). It turned out that was the fix, after doing the factory reset, my sim card was recognized immediately and a couple of the text I had missed showed up. However, I fixed one fixed problem and developed another.
Even though I restored a MyBackup and Titanium backup I did right before resetting I recovered my several apps without their precious data (setting, notes, bookmarks). I tried doing internal backups within the apps, some conveniently had syncs to a cloud yet I missed doing that with a few apps because I have over 100+ and I use more than half on a regular basis (even if for 5 minutes). All my apps are on my device, which is a good thing but I cant appreciate that given the missing data.
So my advice is:
Use apps that have can automatically backup or sync data -- there are enough apps with similiar utility that you can avoid ones without that function.
Do a manual backup within your important apps. -- Some apps backup files to locations that may be wiped during update, doesn't have auto backup or the last backup is months old.
Pics, texts, call logs are easily backed up -- Backup programs will explicitly state or ask what to back up in that regard.
Do a nandroid backup -- I believe this only restores rom and apps but someone can correct me.
Caveat
Through all the research done before actually need to restore a backup I missed the fact when restore apps depending on the restore program every app has to be reinstalled individually. If you have more than 25 apps then #$#@!, also for some reason when restoring with titanium if during a batch restore you come across an app if you hit cancel during one of the install prompts because you actually don't want to restore that app the batch will freeze and you'll have to force close titanium and start the restore all over. Go through the list of restore options and choose each app one by one, save yourself the time.
Lastly, to piggy back off what was said before, a factory reset( FR) after updating rom is always recommended but its not always needed. Most roms will update without causing you to lose any data but like I said previously I had sim card issues when I updated without a FR. YMMV
At this point I don't know if this helps the OP but maybe it will benefit someone else who reads this thread.
This guide by _n0p_ tells how to do an upgrade and minimize the re-installation of apps.
Key items:
Use the backup function of any apps that have it
Don't count on restoring data with TB or My Backup
Make a nandroid - just in case
I have found TB and My Backup to be useful for things like browser bookmarks.
The post linked to discussed going from Froyo to Gingerbread but the same techniques apply for moving to any other ROM.
Last time i changed roms, i used the Dell backup utility for evertyhing but the apps, which can be backed up together with their data with QtADB which creates a backup folder on your SD. After installing the new rom, i chose advanced recovery from the Dell Utility and set it to recover everything but the apps, which i recovered with QtADB. However, I also strongly recommend nandroid, in case the steak doesn't boot after the install.
I have read that when going to a different rom to do a full wipe.
So clearly if you want to keep your apps you back them up and recover them with titanium backup, but why is it advised to not restore the Data of the apps?
How else would I keep game scores and settings and such?
Thanks
restoring the data for the user apps is fine, don't restore the system data...
Wond3r said:
I have read that when going to a different rom to do a full wipe.
So clearly if you want to keep your apps you back them up and recover them with titanium backup, but why is it advised to not restore the Data of the apps?
How else would I keep game scores and settings and such?
Thanks
Click to expand...
Click to collapse
that would be a bit of misinformation that gets spread around.....
its fine to restore user apps+data. i have been doing it for a long time with every device i have. swapping between devices and all.
do a batch restore MISSING apps+data
unselect anything that might be blur/sense/touchwiz specific (based on the phone you are using)
run the batch and reboot
verify you are not having any FCs on your apps
if you do a batch restore of just user apps+data (and not the MISSING option) you will get tons of issues.
it is not advised to use Titanium Backup for things like text messages, contacts, phone logs, etc. (while possible it will work just fine, i have seen lots more issues trying to restore those from rom to rom rather than just user apps.)
again. use the MISSING APPS option in the batch restore of Titanium Backup
i have been doing it for over a year on many different devices and i even share my titanium backup folder between different phones, with NO issues at all. and i typically flash several times a week on several different devices.
Wond3r said:
I have read that when going to a different rom to do a full wipe.
So clearly if you want to keep your apps you back them up and recover them with titanium backup, but why is it advised to not restore the Data of the apps?
How else would I keep game scores and settings and such?
Thanks
Click to expand...
Click to collapse
It is advised to do full wipe, if you install a rom.
And if you want to keep your settings, games scores etc, you use Titanium Backup.
Titanium Backup is your friend in those cases..
What is not adviced, is installing a Rom, without wiping your data.. In that way, you keep for example data of apps and games, of a froyo rom, to a gingerbread rom..
Rom to Rom differs(even in same android version), thats why you full wipe, and then TiBu saves you by restoring them, to the new rom's enviroment..
Edit: Agree with others.. I was typing on atrix, and since i wrote this, they already answered!
Also in atrix, NEVER restore FINGERPRINTS backup..
Sent from my MB860 using XDA App
Pirateghost said:
that would be a bit of misinformation that gets spread around.....
its fine to restore user apps+data. i have been doing it for a long time with every device i have. swapping between devices and all.
do a batch restore MISSING apps+data
unselect anything that might be blur/sense/touchwiz specific (based on the phone you are using)
run the batch and reboot
verify you are not having any FCs on your apps
if you do a batch restore of just user apps+data (and not the MISSING option) you will get tons of issues.
it is not advised to use Titanium Backup for things like text messages, contacts, phone logs, etc. (while possible it will work just fine, i have seen lots more issues trying to restore those from rom to rom rather than just user apps.)
again. use the MISSING APPS option in the batch restore of Titanium Backup
i have been doing it for over a year on many different devices and i even share my titanium backup folder between different phones, with NO issues at all. and i typically flash several times a week on several different devices.
Click to expand...
Click to collapse
That explains it. Ive seen MANY posts where users tell other users to restore apps but not restore data but dont specify they mean system data and not app data!
Also, when people talk of a full wipe, do they mean even deleting the contents of the internal storage (like photos and such?)
This would be for going from one ROM to another ROM, both GB
No they are talking about doing a "wipe data/factory reset" in CMW and not physically deleting your internal sdcard. if you delete your sdcard then you will wipe out data that you need including your titanium backups
morepower71 said:
No they are talking about doing a "wipe data/factory reset" in CMW and not physically deleting your internal sdcard. if you delete your sdcard then you will wipe out data that you need including your titanium backups
Click to expand...
Click to collapse
Thanks ! I always feared that the wipe data/factory reset pretty much deletes all the files on your device like photos and music
The short answer is force closes. Which also can happen from restoring app data, altho it is less likely to happen, it can and it will. But yea def dont restore system data.
Is there any other way of saving game saves?
Wond3r said:
Is there any other way of saving game saves?
Click to expand...
Click to collapse
You can use SyncIt or GameOn, you can even back it up manualy with Root Explorer. You should be fine with TiBU, just if you do get a force close you will know why and what to do (delete data and/or uninstall/reinstall).
I am having an issue restoring my app data from titanium backup. The issue first occurred when i switched from a stock ROM to CM7 ICS ROM. When i restored my missing apps+data all of my app data had disappeared. I just started over and didn't worry about it. Then when i switched from CM7 back to a stock rom I received my old apps+data from before i switched to CM7. I read around on the forums that this might be a compatibility issue. So i started to use the setting in the batch menu "Manipulate data and converted my backups to roll back journal mode which says this works with all roms, and started uploading to Dropbox. I recently just switched my Rom from a stock ROM to CM9 ICS. I lost all of my apps again!! and got back all of the app data from when i was using CM7. Could someone please shed some light on what is going on here cause i have no idea. Please let me know if there is anything i can do to get my app data into CM9 from my last stock rom. The stock rom i was using was an old ROM called wet dream.
JonnyCazoid said:
I am having an issue restoring my app data from titanium backup. The issue first occurred when i switched from a stock ROM to CM7 ICS ROM. When i restored my missing apps+data all of my app data had disappeared. I just started over and didn't worry about it. Then when i switched from CM7 back to a stock rom I received my old apps+data from before i switched to CM7. I read around on the forums that this might be a compatibility issue. So i started to use the setting in the batch menu "Manipulate data and converted my backups to roll back journal mode which says this works with all roms, and started uploading to Dropbox. I recently just switched my Rom from a stock ROM to CM9 ICS. I lost all of my apps again!! and got back all of the app data from when i was using CM7. Could someone please shed some light on what is going on here cause i have no idea. Please let me know if there is anything i can do to get my app data into CM9 from my last stock rom. The stock rom i was using was an old ROM called wet dream.
Click to expand...
Click to collapse
The stock rom uses a different back up location than cm roms. You will have to manually go find the data backups in tibu. Don't bother having it auto detect, wont work. For example, all my backups were at mnt/emmc/titaniumbackup instead of the stock roms location of mnt/sdcard/titaniumbackup
pre4speed said:
The stock rom uses a different back up location than cm roms. You will have to manually go find the data backups in tibu. Don't bother having it auto detect, wont work. For example, all my backups were at mnt/emmc/titaniumbackup instead of the stock roms location of mnt/sdcard/titaniumbackup
Click to expand...
Click to collapse
Looks like that was the the problem. I saved my backup on drop box so i just dropped what was on dropbox in my titanium folder and restored it. I now have all of my app data back.
I've been messing with my ATT SGS2 for a few months. I'd like to start from scratch now that I know which Rom I'm going to want to keep. I unrooted my phone and set it back to stock. However, I still have all the downloaded files, pictures, etc in the /sdcard folder. If I want to keep my apps only, can I delete EVERYTHING in the /sdcard folder(except for titanium backup folder) or are there some system files in the /sdcard folder that should not be deleted?
Some apps store their data in there, but usually re-create them on next boot of the app. It would be safe to say that you can delete most of the things, but I would manually delete them by mounting it as a mass storage on your computer and delete through that interface.
Stock Rom
Orionsax7 said:
I've been messing with my ATT SGS2 for a few months. I'd like to start from scratch now that I know which Rom I'm going to want to keep. I unrooted my phone and set it back to stock. However, I still have all the downloaded files, pictures, etc in the /sdcard folder. If I want to keep my apps only, can I delete EVERYTHING in the /sdcard folder(except for titanium backup folder) or are there some system files in the /sdcard folder that should not be deleted?
Click to expand...
Click to collapse
You can delete the /sdcard contents if you want.
Any stock apps, files or folders will be automatically re-created when you
flash the stock rom. If you want to save your market apps, then just do a
backup using titanium full backup first.
Good Luck!
WARNING: Only use the following instructions if you at sure you want to reset your phone back completely to out of the box conditions and you have everything important to you backed up in a separate location from your phone.
If you would like to start from scratch you can enter the following number into the dialer
*2767*3855#
This will reset your phone to stock out of the box conditions, including wiping resting the internal sdcard.
Edit: FYI, the only thing that I know this dialer code will not reset to stock is the download mode binary counter - to reset that requires a usb download mode jig.
Sent from my SAMSUNG-SGH-I777 using XDA App
Misterjunky said:
Yo If you want to save your market apps, then just do a
backup using titanium full backup first.
Good Luck!
Click to expand...
Click to collapse
Do a little more reading on how to use TiBU before you rely on this advice. One major caveat is that you never restore system data with TiBU, especially when going to a different ROM from the one you did the backup on. All kinds of bad things will happen if you do. The same can be said when switching phones. Some of my apps that I restored from my Captivate did not work properly on my SGSII. I had to reinstall them from the Market and then restore their data separately. Luckily I did not lose my Angry Birds progress.
Thanks, all! I am currently using unnamed and will be going back to it after this. Just want to wipe everything and start fresh.
I plan to wipe everything and reinstall some apps that I had. In order to reinstall the app data, all I need to do is save the Titanium Backup folder to my computer and then move it back over after the wipe and Rom install, correct?
backup/restore
Orionsax7 said:
Thanks, all! I am currently using unnamed and will be going back to it after this. Just want to wipe everything and start fresh.
I plan to wipe everything and reinstall some apps that I had. In order to reinstall the app data, all I need to do is save the Titanium Backup folder to my computer and then move it back over after the wipe and Rom install, correct?
Click to expand...
Click to collapse
If you have an external sdcard you can move or copy the titanium backup
there too. As long as you do not manually specify formatting the external
sdcard the titanium backup folder will remain fully intact.
Just remember when you do a titanium restore to only use the
"Restore Missing Apps with Data" option only.
Stay away from the option to restore "Missing Apps+All System Data".
Good Luck!
Gotcha! Thanks again!
I just go into settings>privacy and do the factory reset there.
Sent from my SGH-I777 using xda premium
The ROM that I use on my phone pretty much discourages dirty flashing updates [CM10.1 based]. So for the last 10 or so updates, I have clean wiped my HTC Rezound, then restored from a TitaniumBackup.
Except I do it a little different than most people, I think.
First I disabled compression of backups.
Then to restore I go to /sdcard/TitaniumBackup/
and run a bash command:
# for i in *.apk; do pm install "$i"; done
Then I go to TitaniumBackup, and every app is installed but doesn't have my data. So then I batch restore my data for my apps [Pretty much only user apps, except a few system things like SMS, WiFi networks]. But the problem is, recently, TitaniumBackup will quit halfway through a batch restore of "Data only." So I've been manually restoring data 1 by 1 for the apps that I need data to be saved across rom updates.
But then I thought, "Hey, why can't I just backup my /data/data/ folder?" but then I also thought that would probably be like a dirty flash, and I am just wondering if anyone can shed some light on this subject.
Thanks.
mvmacd said:
But then I thought, "Hey, why can't I just backup my /data/data/ folder?" but then I also thought that would probably be like a dirty flash, and I am just wondering if anyone can shed some light on this subject.
Thanks.
Click to expand...
Click to collapse
+1
VERY EAGER to learn this as a flash-a-holic.
sigh well I tried restoring the /data/data/ folder from a tar backup, and the apps didn't have my data. [Both my launcher and 1 random game did not have my data, even after rebooting.]
Then I went to install TitaniumBackup from Play to restore my apps the way I do it usually, and then it had an error. It wouldn't install. So I tried wiping data in recovery, and then the setup wizard kept crashing after I completed it. It wouldn't let me launch anything, even Settings would crash.
So now I'm starting all over again. Currently doing a clean flash in recovery. Ugh.
I think the problem might be file permissions.
sifat3d said:
I think the problem might be file permissions.
Click to expand...
Click to collapse
Well I checked and they seemed to be 751. I checked the other folders in /data and it looked the same.
Swiped from my Nexus 10 using xda-developers app
Restoring those setting from system apps will lead to issues. This is due to the way those settings are restored when changes are made to the programs for those settings.
Restoring with titianium backup is only advised for user apps and data
Wayne Tech Nexus