[Q] Textsecure backup issue -nandroid - General Questions and Answers

Hey, I'm in a bit of a bind.
I updated cyanogenmod yesterday, and stupidly didn't do a nandroid beforehand or use titanium backup. I had to wipe because it was boot looping.
The only thing I really want is my textsecure SMSs. After it bootlooped, I did a nandroid of the broken system and then wiped and reflashed hoping to extract out of the nandroid.
I first tried the process using Titanium Backup, and then Nandroid Manager. Titanium backup crashes when trying to restore anything. Nandroid Manager app can successfully restore apps from the nandroid backup, however if I try that with Textsecure, Textsecure just force closes when i try to open it.
Considering I still have an intact backup of my old system, just not able to be booted into, do you think there is any way I can get my TextSecure messages back. My last titanium backup was over 9 months ago, so I'd rather not lose that.
Device is a OnePlus One. Using TWRP and CM12 Nightlies

1.Power on your phone
2.connect to pc go in sdcard which is internal storage
3.Then find titanium backup folder copy into your pc
4.Grab other phone install titanium app in it
5.put that copied titanium backup folder
On new phone and copy paste that exect folder on same location its will ask you to over write press yes
I dont what app u using textsecure sms but if you install that u will be able to get every thing back
???? Nitin Maan
don't forget to hit thanks ☺???

Thanks for the reply.
The titatnium backup I have is easily accessible, however its a really old backup (from last year), what I'm trying to get is the two day old textsecure data out of the nandroid backup.

I dont about text secure app is its a app or system app
These app create backup in its self in there text secure folder in root directory
But they are encrypted u cant get those msgs specifically recent msg becoz they are encrypted in root directory app data
Only solution to fix your phone
Extracting data from nandroid backup is very tricky and u not might get successfully
Thanks
???? Nitin Maan
don't forget to hit thanks ☺???

I managed to get it fixed. I'll put some details in case anyone else gets this issue in the future.
A lot of the apps, at least ones with some kind of database were force closing after using the Nandroid Manager app to extract the app out of the nandroid. Other ones included pocketcasts.
Trying to use fix permissions in TWRP just caused a bootloop and i had to restore again.
I did however find that the "Fix Permissions" app by Stericson allowed me to fix the permissions of individual apps, I tried it on pocketcasts first and it stopped FCing, after restoring Textsecure, I fixed the permissions on it and it now works.

Related

Any way to restore apps from a Nandroid backup without affecting newly-installed ROM?

I recently updated from DamageControl 1 to 2. Before updating, I did a Nandroid backup of my Sprint Hero.
I tried to flash the new ROM over the existing one (so as to retain my apps, settings, etc). That didn't work, as the phone would hang at the HTC "Simply Brilliant" screen when booting up.
I then did a wipe via the recovery menu, and re-flashed the latest DC ROM. This worked fine, but obviously I'm without all my apps and settings.
I know if I do a Nandroid restore, I could get everything back, but I would obviously lose my upgraded ROM.
So what I'm trying to do is find a way to extract my apps from the Nandroid backup and manually install them on the Hero.
Most apps I can simply redownload, and while it might take a little bit, it's not a huge deal. One paid app in particular, though -- Smart Keyboard Pro -- won't show up, while other previously-purchased apps do.
So my ultimate goal is to restore my apps from the Nandroid backup. Is there a way to extract the backup images and manually install the APKs or something like that?
I've tried searching XDA, but I couldn't come up with anything other than the full restore that Nandroid does. Again, that would work, but I would then be downgrading my ROM.
Thanks in advance!
You can try Titanium Backup or AppMonster (formerly AppManager) to backup your apps. Titanium backs up user data too
Wufei said:
You can try Titanium Backup or AppMonster (formerly AppManager) to backup your apps. Titanium backs up user data too
Click to expand...
Click to collapse
I have been using AppManager but I heard Titamium Backup will do alot more .
With DC1 a2sd was enabled (Ithink) therefore all apps were saved on the sdcard in Android/data
I would strongly suggest using one of the apps above to save everything. Also everytime I install a ROM I go and download backup app I used and restore.
I'd restore the old ROM, backup apps with Titanium Backup (choose Batch from the menu, then (All User & System Apps and Data). Then put the new ROM back, and restore your apps and settings one at a time from Titanium Backup. I'd be lost without Titanium Backup.
you do realize that this thread is over a year old right?
A year old is ok, you never know if someone else has this same thought. You know if the roms have the same framework you could just move the data.img file to a new folder where the backup folder is at and edit the nandroid.md5 file by removing all the lines for the other img files excluding the data.img file. Then boot to recovery and choose the new folder from the restore backup menu. Works for me.
Sent from my PC36100 using xda premium
File Expert will back up apps, too. It also has a setting to automatically back up an .apk for every app you install and/or uninstall. File Expert just backs up the .apk files into a folder called "Backup Apps". It does not back up app data.
Also, Titanium Backup will extract apps from a nandroid backup. I am not sure whether it will restore an app with its data from a nandroid backup, but it will let you extract an app.
Sent from my SPH-D710 using Tapatalk 4 Beta

[Q] Titanium Backup

I want to know if titanium backup is of any useful use for our fit and is it safe.
and is it possible to backup ur rom wid it.
thnx
you can't backup a rom using titanium backup. use cwm for that.
"Titanium Backup" is the most important app for a rooted user,who is a ROM maniac (like me)...It is used to backup apps+data and many many extra features!...But "NOT USED TO BACKUP A ROM"....if u want to backup a ROM then boot into CWM Recovery and go in "backup and restore" and then backup!...ur Done!:beer:
galaxy fit + CM7.2 Rc5.6(2.3.7) + 801Mhz
thnx guys
but ive hard not to restore system settings as it causes many problems
is it true?
yes its safe to restore apps and data of apps which are downloaded from market (or are sideloaded)...
however, restoring data of system apps may give you fc's...
like for eg, I tried to restore my wifi settings from creeds to cm7 rc5.3...but whenever I tried to connect to a saved wifi spot, I used to get force closes...had to wipe data again...
also, the best feature of titanium is batch backup and restore, and schedules...
batch is in menu>batch...you can use it for one click backup and restore...
i prefer mybackup pro as it has a better and understandable UI and works well
can mybackup do backup of app data as well??
yeah it can backup app data and apk for system and non system apps
it can also freeze or unfreeze, break or link to market for the apps
a.cid said:
yes its safe to restore apps and data of apps which are downloaded from market (or are sideloaded)...
however, restoring data of system apps may give you fc's...
like for eg, I tried to restore my wifi settings from creeds to cm7 rc5.3...but whenever I tried to connect to a saved wifi spot, I used to get force closes...had to wipe data again...
also, the best feature of titanium is batch backup and restore, and schedules...
batch is in menu>batch...you can use it for one click backup and restore...
Click to expand...
Click to collapse
Restoring system settings gave u fc's as u were doing it in different roms....
but if i backup and restore sysem settings in the same rom.... will it work?
thnx
abizerl123 said:
Restoring system settings gave u fc's as u were doing it in different roms....
but if i backup and restore sysem settings in the same rom.... will it work?
thnx
Click to expand...
Click to collapse
Yup it should work...
Restore the data only, no need of restoring apps also (since it is the same rom)...
Typed using a small touchscreen
While batch backup in titanium backup app,it backups all the app+data very nicely. We just have to start the batch backup and keep our phone aside till the backup completes. But while restoring apps via batch restore,it constantly asks for permission whether to install or cancel for every app. So does mybackup pro batch-restores apps without asking such permission?
Even titanium PRO doesn't ask...
Free version doesn't allow one-click batch restore...
Typed using a small touchscreen
my backup pro dosent ask
ive tried only restoring the app data till now and not the app on my backup pro

Titanium Backup Help

I recently flashed a new rom (the last time I did this was almost 2 years ago so I forgot what to do). Titanium backup has been doing weekly updates for a long time. So when I started up the phone titanium backup is gone, I read that I must redownload from the play store, but when I run it, it says I failed to acquire root privileges. It tells me to get busy box, so I download that too, but that won't install properly.
What should I do now? Have I lost root? The bootloader is available...that means it's still rooted right? The internal sd card still shows my folder of titanium backup and all the other root folders I used to have on my phone, I just can't get titanium backup to run so i can't restore.
Thanks!
stryder1587 said:
I recently flashed a new rom (the last time I did this was almost 2 years ago so I forgot what to do). Titanium backup has been doing weekly updates for a long time. So when I started up the phone titanium backup is gone, I read that I must redownload from the play store, but when I run it, it says I failed to acquire root privileges. It tells me to get busy box, so I download that too, but that won't install properly.
What should I do now? Have I lost root? The bootloader is available...that means it's still rooted right? The internal sd card still shows my folder of titanium backup and all the other root folders I used to have on my phone, I just can't get titanium backup to run so i can't restore.
Thanks!
Click to expand...
Click to collapse
If you flash a new rom root is lost.
You have to root again.
S.R.
A few of the JB ROMS were causing issues with root. The fix was to re-flash the SU (superuser) apk and that would fix things right up. You should be able to find it doing a search.
Good luck and hope this helps!
stryder1587 said:
I recently flashed a new rom (the last time I did this was almost 2 years ago so I forgot what to do). Titanium backup has been doing weekly updates for a long time. So when I started up the phone titanium backup is gone, I read that I must redownload from the play store, but when I run it, it says I failed to acquire root privileges. It tells me to get busy box, so I download that too, but that won't install properly.
What should I do now? Have I lost root? The bootloader is available...that means it's still rooted right? The internal sd card still shows my folder of titanium backup and all the other root folders I used to have on my phone, I just can't get titanium backup to run so i can't restore.
Thanks!
Click to expand...
Click to collapse
Lets start with a few basic questions... dont mean to offend you, just wanna make sure its not something you may have overlooked.
What rom did you flash?
What, if anything, did you wioe in recovery?
Did you get a superuser or supersu prompt when titanium started?
shivasrage said:
If you flash a new rom root is lost.
You have to root again.
S.R.
Click to expand...
Click to collapse
Not necessarily so. Most custom roms are pre-rooted by the dev. Ive flashed countless roms and until recently w/ jb not had any issues w/ root access.
Sent from my Nexus S 4G using Tapatalk 2
seems you've just lost root privileges,
just flash supeuser again and you will be fine...
I think this is the right thread to ask queation relevant to titanium backup so,
Here's my question -- how to backup messages by using titanium backup.
atishey23 said:
I think this is the right thread to ask queation relevant to titanium backup so,
Here's my question -- how to backup messages by using titanium backup.
Click to expand...
Click to collapse
it pretty much looks like this in TitBack, give or take a few letters: "[SMS/MMS/APN] Phone/Messaging...". when you tap on it, the pop-up recognizes it as "Phone/Messaging Storage". this is where your text messages are.
some 3rd-party MMS apps like GoSMS Pro can back up your messages too, and I believe there's also an app or two solely for backing up your messages to your sdcard/internal storage.
Titanium Batch restore fail
Hi all
Having a few problems, I'm new to flashing roms and the use of Titanium Backup and I've just flashed my second ROM. I've gone from CM9 to CM10. Before doing so I created a backup of apps + data.
I flashed the ROM fine, and ran the batch restore function in Titanium. I have all the icons on my homescreen from the previously installed apps but after clicking on them my phone tells me that app isn't installed. I then notice that my notification from Titanium's batch restore shows the apps I had downloaded from the play store failed to restore (the notification said that the elements failed after batch restore was complete).
I noticed that these apps have a line through them when the list of apps I want to restore appears.
Titanium then advised me that the apps did not restore as the Android ID had changed, So I then reverted to the previous android ID thinking this to be the solution. However, after running the restore function again, the same amount of elements failed to restore.
Due to my lack of knowledge in Titanium and my need for these apps, I turned to the play store and decided to manually redownload all the apps again. This does not work either! The error message I get is the apps cannot be downloaded due to an error (491). I guess this is to do with the android ID changing?
Please help, how can I get these apps to restore? and also how can I be able to download apps from the play store again? :crying:
EDIT: So I was able to reinstall the apps from the play store by wiping the dalvik + cache.
This still leaves me baffled as to why Titanium wasn't able to do this
jessel56 said:
Hi all
Having a few problems, I'm new to flashing roms and the use of Titanium Backup and I've just flashed my second ROM. I've gone from CM9 to CM10. Before doing so I created a backup of apps + data.
I flashed the ROM fine, and ran the batch restore function in Titanium. I have all the icons on my homescreen from the previously installed apps but after clicking on them my phone tells me that app isn't installed. I then notice that my notification from Titanium's batch restore shows the apps I had downloaded from the play store failed to restore (the notification said that the elements failed after batch restore was complete).
I noticed that these apps have a line through them when the list of apps I want to restore appears.
Titanium then advised me that the apps did not restore as the Android ID had changed, So I then reverted to the previous android ID thinking this to be the solution. However, after running the restore function again, the same amount of elements failed to restore.
Due to my lack of knowledge in Titanium and my need for these apps, I turned to the play store and decided to manually redownload all the apps again. This does not work either! The error message I get is the apps cannot be downloaded due to an error (491). I guess this is to do with the android ID changing?
Please help, how can I get these apps to restore? and also how can I be able to download apps from the play store again? :crying:
EDIT: So I was able to reinstall the apps from the play store by wiping the dalvik + cache.
This still leaves me baffled as to why Titanium wasn't able to do this
Click to expand...
Click to collapse
Did you try to restore system apps? I always use tb w/ the pro key to restore user apps + data, and have been getting the changed android id lately, but whether I keep the new id or revert to the old one, my restore works. Depending on what ROM I'm going to or from, sometimes I have to change my home screen shortcuts for system apps.
Sent from my Nexus S 4G using xda premium
p1gp3n said:
Did you try to restore system apps? I always use tb w/ the pro key to restore user apps + data, and have been getting the changed android id lately, but whether I keep the new id or revert to the old one, my restore works. Depending on what ROM I'm going to or from, sometimes I have to change my home screen shortcuts for system apps.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
I didn't select restore system apps, instead I selected restore all apps with data, failing that I tried restore missing apps + all system data.
What option should I normally be selecting to do a straight restore after flashing a ROM? Does the fact that there is a line through the apps that I'm trying to restore mean anything?
I always select "restore missing apps + data" it's the 1st option under restore in the batch menu. The apps with a line through them are the ones that tb recognizes as being backed up but not installed.
Sent from my Nexus S 4G using xda premium

Apps Backup and Restore

Hello everyone...
First of all, i'll like to apologise if this thread is already in existence cos i dont really know how to search through over thousands of thread created. I love trying out types of custom rom i feel wld be great. But everytime i install, i'll have to start installing my apps (backed up apk's) manually. Could anyone help me with any app which i can use to backup installed apps so after flashing a new rom, would just have to restore the backup which would install all app and its settings instead of doing it manually all from the start. i googled and downloaded an app Nandroid Manager but i dont figure how to use it.. It wont set a backup location. Any help???
via Desire S using xda app-developers app
Not very familiar with nandroid back up but i am using titanium backup(buy it, worth every penny), it give u option to both backup your app+data.
I think the free version has the same option.
There is also this app. i used recently on a game(pudding monsters) and it restored the app with the data.
Try both and see which works best for u.
+1 Titanium Backup do it well even free version
You can also do it yourself by doing a copy paste of your data/app folder
Titanium is the best way you can choise
its_Khal said:
Hello everyone...
First of all, i'll like to apologise if this thread is already in existence cos i dont really know how to search through over thousands of thread created. I love trying out types of custom rom i feel wld be great. But everytime i install, i'll have to start installing my apps (backed up apk's) manually. Could anyone help me with any app which i can use to backup installed apps so after flashing a new rom, would just have to restore the backup which would install all app and its settings instead of doing it manually all from the start. i googled and downloaded an app Nandroid Manager but i dont figure how to use it.. It wont set a backup location. Any help???
via Desire S using xda app-developers app
Click to expand...
Click to collapse
This can be done by two way
1) Titanium Backup - This will ensure all your app and data will be restored on new ROM in single click
a) Backup all user app+data of old ROM
b) Create a Update.zip through Titanium backup app
c) Flash the Update.zip through Recovery (Post installation of new ROM) and enjoy :good:
2) Nandroid backup - By using this option , entire ROM can be backed up (App,Data everything as on date). However this can be use only if you are going back to experience the same ROM again.
1) Through Recovery take the backup of entire ROM
2) Through Recovery restore
3) If you are on S-ON then post restore flash the boot.img manually by using Fastboot command before rebooting the phone. It is must to do step or else phone will be trapped in bootlap
I always ensure following before installing a new ROM
1) Back up of Contacts, SMS/MMS and Call logs by using My Backup Pro app
2) Creating the Update.zip file of all user app+data as on date so nothing can be missed out (Not even save games of Temple Run)
And if I want to go back again to the earlier ROM then I used Nandroid backup. Which reduce a hell lots of efforts.

[SOLVED] Where are Superuser permissions saved ?

Hello,
I never figured this out yet, but I can't imagine it would be that hard to find;
Let's say I switch ROMs on my phone (Galaxy S4), I wouldn't want to grant all these Superuser requests for all my apps again, one by one. So I've wondered, in which file are these requests saved?
You know what I'm talking about, in SuperSU (in that case), each app has Superuser access "Granted" or "Denied". Where are these permissions saved in the OS? Guessing /System partition, but never found them. How could I back these up, in case I switch ROM, or if my /System partition would become corrupted someday (Well, that's why we have Nandroid Backups as well, sure).
On Linux, we have a file called "sudoers" which list a few users or commands that are autorised.. Not the same thing, not sure how the file "sudoers" work exactly.. But could something similar exist under Android?
I just want to backup/restore all these Superuser requests I've granted/denied. How?
Thanks!
They're saved in the data of SuperSU, just backup its data with Titanium Backup and restore on your new rom and SuperSU will have given the same apps root access
Thank you! =) Pressed the Thanks button.
Kinda obvious now that I know - However for some reason, I've been wanting to backup the SuperSU app for a while using Titanium Backup, but it's just not listed in Titanium Backup (Why is that? I only see SuperSU Pro in the list, weird).
No big deal, I'll just backup the data folder manually I guess, fixing permissions after restoration. Will give it a try.
Problem solved!

Categories

Resources