activesync - General Topics

i have a simple question. how do you setup a new parternish with an existing name so you can do a restore.

Activesync
I recently had to do a full restore after my XDA (1) did its own hard reset! It was a real pain in the ass despite having a full backup and incremental backup etc. I had the same problem with the Partnership name and ultimately had to allow it to set up two partnerships and it restored to the second one.
BTW the restore function seems to restore using the latest backup it did, which is usually an incremental one and doesn't have all of the information the machine needs. I had to rename the incremental backup file and change the backup function to pretend it was going to do a full backup and pointed it to my old full backup file - then told it to do a restore. Then I went through the same BS to put the incremental details back on. If you are syncing with Outlook be careull - the synchronisation function deleted everything on my desktop back to the date of the backup instead of adding the new details to the XDA!!!!
Hope this helps.
DF
Dublin

thanks; this was theproblem exactly. i am srprised that there's not an easier way.

I read your explanation about the restoring problem but I am not quite sure that I fully understand the way you did it. Could you please try to explain it in a more easy way to the "non fully english understanding" people? THX[/list]

DF said:
I recently had to do a full restore after my XDA (1) did its own hard reset! It was a real pain in the ass despite having a full backup and incremental backup etc. I had the same problem with the Partnership name and ultimately had to allow it to set up two partnerships and it restored to the second one.
BTW the restore function seems to restore using the latest backup it did, which is usually an incremental one and doesn't have all of the information the machine needs. I had to rename the incremental backup file and change the backup function to pretend it was going to do a full backup and pointed it to my old full backup file - then told it to do a restore. Then I went through the same BS to put the incremental details back on. If you are syncing with Outlook be careull - the synchronisation function deleted everything on my desktop back to the date of the backup instead of adding the new details to the XDA!!!!
Hope this helps.
DF
Dublin
Click to expand...
Click to collapse
U should change the synchronisation settings in active sync running on your PC. U should configure combine. Other options are pda overwrite --> the PC and PC --> overwrite the PDA. Just look a little in the settings and change the setting.
I think u use have set that ur pda overwrites the pc agenda. GL

you connect as guest and restore
simple as that

Related

Question regarding backup

Hi to all,
A small question.
I'm using PPCPimBackup to backup my phone to the MicroSD card.
If I backup the whole phone (including all the files), will the restore option be enough for me to come back to my current status if I hard reset?
I'm talking mainly about all the registry tweaks I've done and all the small settings. Is the registry located in a file, like on WinXP?
Hope I've explained myself properly...
Cheers!
alonroz said:
Hi to all,
A small question.
I'm using PPCPimBackup to backup my phone to the MicroSD card.
If I backup the whole phone (including all the files), will the restore option be enough for me to come back to my current status if I hard reset?
I'm talking mainly about all the registry tweaks I've done and all the small settings. Is the registry located in a file, like on WinXP?
Hope I've explained myself properly...
Cheers!
Click to expand...
Click to collapse
Nope. PPCPimBackup only backs up the categories of "personal information" you select. A few examples of programs to do a "full backup" are Sprite Backup, SPB Backup, and Resco Backup. None of these are free but all offer trial periods so you can decide which one you feel most comfortable with.
I've been using Sprite Backup for quite a few years now, first on a MotoQ and now on my Touch Pro.
HTC Data Backup
Today I saw at pocketnow.com that HTC has it's own Data Backup tool where you can do entire phone or only PIM database backup. Check this link.
http://pocketnow.com/index.php?a=portal_detail&t=news&id=6664
I have been using Sprite Backup. I downloaded this HTC data backup, but didn't test it. So I am now sure how this works when we restore after a hard reset.
SVT Driver said:
Nope. PPCPimBackup only backs up the categories of "personal information" you select.
Click to expand...
Click to collapse
That's not tue, actually. There's a "Custom" category where you can choose files and folders for backup...
But my question wasn't if the software can backup the entire device. I'm asking if I restore ALL THE FILES from the device, do I get all my tweaks after a hard reset and a full restore.
kk0813 said:
Today I saw at pocketnow.com that HTC has it's own Data Backup tool where you can do entire phone or only PIM database backup. Check this link.
http://pocketnow.com/index.php?a=portal_detail&t=news&id=6664
I have been using Sprite Backup. I downloaded this HTC data backup, but didn't test it. So I am now sure how this works when we restore after a hard reset.
Click to expand...
Click to collapse
Thanks for the link. I've just tested the HTC Backup. It's nice, but one feature is missing - compression of the backup. A full backup of the whole device through PPCPimBackup gave me a 57MB file, and the HTC Backup gives me 124MBs... big difference. Nice try HTC

Best HD2 Backup App?

What is the best app for backing up contacts, text messages, contacts, and, if possible, system settings? I've heard of PIMBackup but I didn't know if it would back up all the stuff on the HD2.
EDIT: I want an app that backs up to the storage card, NOT an online service.
EDIT2: Freeware
Thanks!
Microsoft MyPhone works pretty well for that
ryanleehammond said:
Microsoft MyPhone works pretty well for that
Click to expand...
Click to collapse
I mean an app that backs up the data to a folder on the storage card.
Sprite backup is very good
I've been using it for a long time to backup to SD card. Can set schedules and create auto install backups so that you do not even need it on the phone if you want to recover the backup.
Indeed SpriteBackup is best backup app. Restored backups having all this what you select to backup. If you perform full backup and restore it after new ROM instalation, then you have exactly the same settings, files and other stuff like b4 ROM instalation.
Resco Back up
Been using this for ages.
Very robust and flexible. It has saved my butt countless times.
I have detailed the use and "how to" for a previous post:
http://forum.xda-developers.com/showthread.php?p=5993369#post5993369
Have a look. It is a $$ item but you can always go for the trial first.
God Luck
DaveJ
FRANQ_23_PL said:
Indeed SpriteBackup is best backup app. Restored backups having all this what you select to backup. If you perform full backup and restore it after new ROM instalation, then you have exactly the same settings, files and other stuff like b4 ROM instalation.
Click to expand...
Click to collapse
I'm quite sure that it won't be so. If you launch either SpriteBackup or Resco Backup getting a file and then you flash a new ROM, nobody makes sure that the system will work as well as expected. Newer ROM might have different settings or different driver versions and it will be necessary not to overwrite them in case the system gets stuck.
So, if you need to back up, make sure to save and restore all the items which don't affect either system settings or drivers.
I know retyping all the settings gets your goat, but there isn't another way out of it....... It's better off not to make mistakes and reinstall one application or patch at a time.
Cheers
Holly words. I forgot to tell about this. Performing full backup with tool like SpriteBackup is ok, but like you say, if new ROM was added, then when restoring should be selected only data like contacts, calendar, appointments etc., otherwise (when it's just refreshing system with HR, on the same ROM) performing full restore is best choice.
hi
what about spb backup is that any good?
thanks
Fame123 said:
hi
what about spb backup is that any good?
thanks
Click to expand...
Click to collapse
SPB backup is good, i am using it currently
There are several options for you to choose .... "Full backup" / "Custom backup" / "Scheduled backup" / "Restore backup"
Chrisloy said:
SPB backup is good, i am using it currently
There are several options for you to choose .... "Full backup" / "Custom backup" / "Scheduled backup" / "Restore backup"
Click to expand...
Click to collapse
thanks for reply will check it out.
The same options have SpriteBackup.
I am sure they all are good. I use Sprite Backup. Have backed up and restored many times. Also just upgraded my ROM and then did a restore where the phone was the same as before the ROM update.....except for the new ROM, of course.
Also, Sprite has an HTC deal for 19.95...
http://www.spritesoftware.com/products/sprite-backup-htc-special
I use Sprite and it works fine. I already owned it so
just ported it over from the old phone. Just remember to check your settings before you do a restore and back-up. They seem to change. It also forgets it is registered and I have to re-enter the user name and pass code after a hard reset to restore. The process complete message also is hard to check the box ok. They just need to make the target bigger.
thing to note, before playing with roms, download the latest stock rom update for phone, because you will have to flash it, then use your backup.. you need the rom you used to backup with so you do not mix roms, been there and had that problem, lucky I had my rom on sd card, so what ever your backup tool you need the rom it backed up. also the only thing they can backup is what is on phone, it does not backup the rom install
have used Resco for at least 3 years now, on 2 different phones and across 4/5 rom versions, very good product, I have even restored files on my HD2 that where backed up on my kaiser.
also restores across rom versions on my HD2 no problem (backed up under 1.66 restored under 1.72)
SPB Backup....
I tried Sprite for several months, tried restoring backups, there was always some problem or other, the most common being that after a restore the phone would randomly not switch on, requiribg a soft reset.
I've now tried SPB, and so far, it seems perfect. Also easier to use.
My 2p's worth.
resco backup works fine for me
I use SPB Backup.
- Allows you to do a full back-up including storage card to phone/storage card.
- Allows you to skip previous back-up files
- Can create a stand-alone file
- Can customize restore your full back-up like PIM, Text, Email, Documents, BUT leave out system files when doing a ROM upgrade.
The list goes on and on...

[Q] Titanium Backup: (filter) labels are not restored

I checked the "Auto-sync TB settings"
Then do a full wipe, reinstall TB (or launch the TB included in the ROM) and re-check that check box ... and
NOTHING
My filter labels don't reappear.
Everything else works fine, how does that setting work, is there a file on the SD card somewhere that I can check to see if TB created it fine?
I have the paid version and am now using 3.0.0.7 on Starburst 1.2.1
After 4 times re-classifying 300 apps I'd really like to solve this, what am I doing wrong, what can I check to make sure those settings are saved?
It is really hindering my ROM installations ;-)
Since no-one seems to have this problem I did some investigating myself and found a database called "custom" in /data/data/com.keramidas.TitaniumBackup/databases/ this seems to hold the filter information, I'll be keeping a copy of that next time I do a full wipe in case that "Sync" setting doesn't work again.
BelgianAtheist said:
Since no-one seems to have this problem I did some investigating myself and found a database called "custom" in /data/data/com.keramidas.TitaniumBackup/databases/ this seems to hold the filter information, I'll be keeping a copy of that next time I do a full wipe in case that "Sync" setting doesn't work again.
Click to expand...
Click to collapse
Nice Find dude! I was looking for a solution and you got it!
Lately it has been working well for me.
I've also found where the backup on the SD card is, it is in:
[sdcard]/data/com.keramidas.TitaniumBackup/
Here is a settings directory with the labels db and all settings and it also has a licensing file so that a fresh install knows you have the paid version without having to connect to the Market.
BelgianAtheist said:
Lately it has been working well for me.
I've also found where the backup on the SD card is, it is in:
[sdcard]/data/com.keramidas.TitaniumBackup/
Here is a settings directory with the labels db and all settings and it also has a licensing file so that a fresh install knows you have the paid version without having to connect to the Market.
Click to expand...
Click to collapse
Thanks.
But i don't understand how to solve the exact same problem as you had before. I know that this directory exists and the labels are saved there (/data/data/com.keramidas.TitaniumBackup/databases/).
You make a backup of this folder on the SD card and after wiping your mobile phone you restore this folder and start TB afterwards?
I hope you still track this topic
Thanks.
EDIT: At least i found a workaround for me. Seems like TB overwrites the Sync folder. Therefor i've installed a ROM (after wiping), installed Titanium Backup, made all my settings (encryption, labels, pro key, dropbox settings) and made a ROM backup with ROM Manager. It's not what i want. But i can live with that for now.
I have this same exact issue. No fixes yet
I wrote the TB support and they've requested some additional information. I hope they will fix it.
The support said TB has problems with dual sd devices.
I own a HTC Desize Z which is not a dual sd device.
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
I have the same problem.
I hope it can be solved.
=======================
2011.12.21 Update
hi, guys, I found another app can restore TB's settings.
Delta Backup(market.android.com/details?id=com.ds.deltabackup)
u can use Delta Backup to backup "Titanium Backup".
When reinstall TB, just use Delta Backup to restore TB.
It works!
Honusnap said:
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
Click to expand...
Click to collapse
This works - THANKS! Luckily, I had backed up /sdcard/data before the wipe.
Easy enough to have a script to do this, or TB can add a feature to copy /sdcard/data/com.keramidas.TB to /sdcard/data-backup/com.keramidas.TB whenever the app exits or is terminated, then look for that directory during its first start.
Unfortunately it seems we are a tiny minority. Theres practically no info on label deletion online or in the wiki. This used to happen often when I was flashing almost weekly but I haven't changed ROMs in a while and a sense rom I just tried had a modified TB included and it deleted my highly detailed labels. It should at least keep a cache of the old setting temporarily. Even my iPad does that in cydia when you change a plist. Gonna try restoring a nandroid with sdext, super outdated though. Kinda ridiculous that a great backup app's greatest weakness is backing itself up. I still get occasional licensing issues too so who knows.
Anyone happen to know a way to restore recently overwritten data either in the phone data/data or sd/data?
Here's to a useful daily update!
crammed174 said:
Kinda ridiculous that a great backup app's greatest weakness is backing itself up.
Click to expand...
Click to collapse
That's really weird. And the TB support doesn't even know what I'm talking about. After it got too complicated for them, they stopped writing me. Maybe someone should write them again and show TB support this topic.
I'm trying to fix this issue with symlinks. I will create a backed up ROM with ROM Manager where the database file links directly to my sdcard. I think this should work.
Galaxy S3 Problem Solved!
Honusnap said:
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
Click to expand...
Click to collapse
Thanks man, this saved my problem.
The SD-Card in the SGS3 is in mnt/extSdCard, which means I also had to change the path for the backup folder to get it working.
There is also the possibility to manually import these settings to TB by opening the files in SDCard\data\com.keramidas.TitaniumBackup\settings\.
Honusnap said:
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
Click to expand...
Click to collapse
I agree. This is probably the most straightforward approach.
Although..., I have to say, the the last time that I re-installed a fresh (from the Market) not an apk on my sd (my normal M.O) my labels were restored. Who knows!
Oh and as far as TiBu even knowing of or handling this issue, I still haven't heard anything from them after writing to them.
I guess every great warrior has a weakness.
BelgianAtheist said:
Since no-one seems to have this problem I did some investigating myself and found a database called "custom" in /data/data/com.keramidas.TitaniumBackup/databases/ this seems to hold the filter information, I'll be keeping a copy of that next time I do a full wipe in case that "Sync" setting doesn't work again.
Click to expand...
Click to collapse
Thank you fixed it for me
I was having this problem after including titanium backup in my rom. I think the problem is this:
System apps are allowed to start at boot (user apps aren't until they have been run at least once by the user)
Titanium backup starts at boot to check it if it needs to schedule any tasks
Sometimes this will happen on the first boot and before the sdcard has mounted, and it will fail to load the settings.
When you later run it yourself it will wipe the previous settings from the sdcard.
For now to get around this each time you install a new rom which includes titanium backup you can go in to settings and force close / clear data before you run it for the first time. Your previous settings should still be on the sdcard and will now be imported.
I will contact the developer about this - hopefully it wouldn't take much to fix.
[Edit] Thinking about it, pre-ics the boot permissions weren't enforced so this might happen with it installed as a user app too if you reboot before running it.
Originally Posted by Honusnap
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
Click to expand...
Click to collapse
I am still not clear
1-there are 2 copies of the "data\com.keramidas.TitaniumBackup"
One on the internal memory and one in the external memory. Which one I back up and later over write .
2-How do I wipe titanium data?
Sorry if the questions sound stupid but I am stuck
------------------------------------
edit
I found the answers
thanks
ChromJ said:
I am still not clear
1-there are 2 copies of the "data\com.keramidas.TitaniumBackup"
One on the internal memory and one in the external memory. Which one I back up and later over write .
2-How do I wipe titanium data?
Sorry if the questions sound stupid but I am stuck
------------------------------------
edit
I found the answers
thanks
Click to expand...
Click to collapse
Hi!
Would you mind to post your answers? I am also interested in learning this...
Does anyone know if these problems we are having are due to the fact that some devices have both internal and external sdcards? (like the transformer family)
In preferences we are able to change the location of the back up copies but not the location of the titanium back up user configuration (labels, profiles, set up...)
Every time I have tried to use TB I end up loosing my TB configuration... quite annoying!
Thanks
Apps Organizer
An easy way to restore your labels in Titanium Backup (TB) is to use the recommended program Apps Organizer (AO) .
https://play.google.com/store/apps/details?id=com.google.code.appsorganizer
Assign labels using AO and you can see and use them to filter TB. Export the labels from AO. In your new ROM install AO and Import the labels. You will see them in TB in your new ROM and can use them to filter.
You may find my related Wiki is helpful:
http://forum.xda-developers.com/wiki/Android_ROM_Update
Cheers
Tom
Szczepanik said:
An easy way to restore your labels in Titanium Backup (TB) is to use the recommended program Apps Organizer (AO) .
https://play.google.com/store/apps/details?id=com.google.code.appsorganizer
Assign labels using AO and you can see and use them to filter TB. Export the labels from AO. In your new ROM install AO and Import the labels. You will see them in TB in your new ROM and can use them to filter.
You may find my related Wiki is helpful:
http://forum.xda-developers.com/wiki/Android_ROM_Update
Cheers
Tom
Click to expand...
Click to collapse
:
AO is helpful. I just restore AO with Data. Some things AO does not, tasker plugins for example.
It is ironic TiBU doesn't have a straightforward way to backup its settings.

[Q] Contacts Restore corruption, please HELP.

Hi to everyone.
I am Tommaso, from Tokyo and I need help BIG time.
I backed up all my contacts on my SD card and deleted them from my phone.
When I restored them some "fields" were missing, amongst them "organization" which is vital for sorting: Now I get a long list of numbers (*) and then the remaining contacts sorted by name (correctly). (*) In these contacts the "organization", "Job Position" and others are missing while others as "notes" and numbers are still there.
When I try to send an email, and I try to look up an email address, instead of giving me a list of names, it opens File Expert, with a file address: fe://home and nothing else.
To back up I used Go Contacts (the stock app is disinstalled): export to SD card.
In theory, besides this original backup, I should also have a second back up with Titanium because it is set to backup & syncs with dropbox everything, every night. However, this happened last night and I forgot to freeze the image so I am afraid that tonight's back up might have replaced the correct version.
hTC Desire HD.
GB 2.3.5
Sense 3.5
CoreDroid 9.2 GB 2.3.5
I would really appreciate someone's help. You can imagine how dramatic it is, so TIA for any help.
Tommaso
Idea
Why not first use the back up to restore your phone first then
Go ahead and check the things inside the back up
Sorry if i am wrong it sounds like you are actually checking the contacts on the back up itself rather than letting the phone restore the back up and then viewing the contents
if i am wrong sorry for the speculation
I would like to ask also try using other Apps to restore Back up and restore
I would ask also what is the file output that you have ?
for your back up ?
Thank you for your post!
I did as you suggest: I physically restored the contacts to the phone.
Ok, I will try to install another app but it is unlikely anything will change: I backed up using Go Contacts so restoring with Go Contacts should have worked.
Go Contacts backup file is "vcf"
Titanium backup file I don't know what it's called or where to find it.
Tommaso
Titanium Backup
ascanio1 said:
Titanium backup file I don't know what it's called or where to find it.
Tommaso
Click to expand...
Click to collapse
Did you say that your Titanium Backup for the contacts was already overwritten?
If you have set up Titanium to backup your apps/data automatically on a schedule, you should preferably set the backup history to more than 1. This is in case there is an error in one of your apps, and the automatic backup saves the erroneous version, you can restore an older backup from the history. Otherwise, your last backup will also be corrupted.
If your think your Titanium Backup for Contacts is fine, you don't need to look for the contacts file separately. Just go into titanium backup -> clcik on the back/up restore tab on the top -> look for Contacts -> Click once -> Click on Restore.
Repeat the above for Contacts Storage.
Not sure if I addressed your problem.
Thanks for your help!
I tried to restore from titanium back but I could only find GoContatcs. I cannot find "contacts storage". As I said, I have no idea if AND where GoContacts stores the contacts separately so i don't know which file to look for to restore.
I restored GoContacts (app+Data) but 0 contacts were restored.
Thanks for the tip. I am now setting Titanium BU to 2 backups. But I still need help!
Restore ROM Manager Backup
If I restore a previously backed up ROM, will this include contacts?
To restore a previously backed up ROM, do I need to FIRST factory reset the device? Or does the restore simply overwrite my present ROM? Do I need any other precaution/procedure to restore a previous ROM?
Tommaso

Restoring Google Authenticator after stock to LineageOS 19.1

Hi,
I've just upgraded from latest OnePlus stock ROM of Android 11 to LineageOS 19.1. I've made backups before formatting everything, a full NANDroid with TWRP, one using the Migrate app, one with Oandbackupx of all apps. Also Google's way, but that doesn't back this app up, which seems to be quiet bad...
After trying to restore from all the mentioned sources, Google Authenticator can't seem to be restored. It always ends up empty. Is there a a specific protection for that data? I've similar issue with Dropbox as an example, it asks me to login after a restore. Whereas other apps preserved their logins...
Would be great to restore it, as I had like 30+ MFA codes added. Any suggestions?
Thank you!
There is only one way to transfer codes to another phone in the case of Google Authenticator.
Perhaps there is an analogy with the Dropbox access application. You'll have to check it out for yourself.
Hi,
Ok, thanks for the info. This is just sad to hear.
Going back to the original system with restoring the NANDroid backup go get this code might not work either?
Thank you.
I can't seem to find a solution. So I'm switching to Authy and in the same time I'll add it to KeePassXC, which can also do it... This can't happen again, I have to reset 2FA on 30+ sites
antivirtel said:
I can't seem to find a solution. So I'm switching to Authy and in the same time I'll add it to KeePassXC, which can also do it... This can't happen again, I have to reset 2FA on 30+ sites
Click to expand...
Click to collapse
whats stopping you from flashing your nandroid backup back to regain access? Isn't the whole beauty of nandroid backups the fact that they're more like system snapshots?
We currently are running into the same problem (although different phone, different situation but same effective result. We already came from a custom rom but forgot to get the transfer QRs from the Auth app.)
Okay so let me update you on my findings. If you have a back-up of Authenticators data (made before the update Google pushed out earlier this month*) you could fish out the database file (called database, without any file extention, stored in the folder database (full path to the file in a TWRP backup would be /data/data/com.google.android.apps.authenticator2/database/database)) and just read out the table accounts using any sqlite3 tool. This table has a column called secrets which contains the keys. There even is a free (linux/cygwin) set of scripts that can generate QRs for you if you do not feel like punching in the keys manually.
Theoretically placing the database file into the database folder of the app (overwriting the empty one) or using something like Titanium Backup should work too if you have not updated the app on your old device/installation yet.
*With the last update Google started encrypting the secrets before writing them to the database and nobody has been able to find the key which they used for that (yet)
screen said:
whats stopping you from flashing your nandroid backup back to regain access? Isn't the whole beauty of nandroid backups the fact that they're more like system snapshots?
Click to expand...
Click to collapse
I'm now on Android 12, and since TWRP doesn't support the new encryption, I can't just take a NANDroid backup of the current one and flash the old one in (without losing much of the current one, which I don't want). Unless there's something new around this, that won't be too much of a help.
I can think of restoring the NANDroid backup to an Android emulator, but it doesn't seem to be possible:
https://www.reddit.com/r/Android/comments/k7v4c/_/c2i5l9g
(unless it has changed in the last 11 years).
screen said:
Okay so let me update you on my findings. If you have a back-up of Authenticators data (made before the update Google pushed out earlier this month*) you could fish out the database file (called database, without any file extention, stored in the folder database (full path to the file in a TWRP backup would be /data/data/com.google.android.apps.authenticator2/database/database)) and just read out the table accounts using any sqlite3 tool. This table has a column called secrets which contains the keys. There even is a free (linux/cygwin) set of scripts that can generate QRs for you if you do not feel like punching in the keys manually.
Theoretically placing the database file into the database folder of the app (overwriting the empty one) or using something like Titanium Backup should work too if you have not updated the app on your old device/installation yet.
*With the last update Google started encrypting the secrets before writing them to the database and nobody has been able to find the key which they used for that (yet)
Click to expand...
Click to collapse
Yeah, I already checked that file, it's encrypted in there, I was using the latest versions of the apps when I made the backup, didn't think that won't be enough. The weird thing is that restoring it won't restore the data. So it must use some device related key or it just detects that it's a different device... Annoying, backing it up doesn't actually do any good...
Do you have any other idea? Thank you!
antivirtel said:
I'm now on Android 12, and since TWRP doesn't support the new encryption, I can't just take a NANDroid backup of the current one and flash the old one in (without losing much of the current one, which I don't want). Unless there's something new around this, that won't be too much of a help.
I can think of restoring the NANDroid backup to an Android emulator, but it doesn't seem to be possible:
https://www.reddit.com/r/Android/comments/k7v4c/_/c2i5l9g
(unless it has changed in the last 11 years).
Yeah, I already checked that file, it's encrypted in there, I was using the latest versions of the apps when I made the backup, didn't think that won't be enough. The weird thing is that restoring it won't restore the data. So it must use some device related key or it just detects that it's a different device... Annoying, backing it up doesn't actually do any good...
Do you have any other idea? Thank you!
Click to expand...
Click to collapse
Well, if Authenticator doesn't pick up on databases from other installations that would sugest that Authenticator has a way to link a database to an Authenticator installation. Meaning, the only way you could possibly have a chance to retrieve the data is to restore your nandroid backup (and use the Authenticator in there to make your transfer QR codes), count your losses as far as your current installation goes and reinstall a 12 rom from scratch. (Or find a way to get the key used to encrypt the secrets, if you have the key you just decrypt them and punch them in manually (or use the earlier scripts for QR code gen))
screen said:
Well, if Authenticator doesn't pick up on databases from other installations that would sugest that Authenticator has a way to link a database to an Authenticator installation. Meaning, the only way you could possibly have a chance to retrieve the data is to restore your nandroid backup (and use the Authenticator in there to make your transfer QR codes), count your losses as far as your current installation goes and reinstall a 12 rom from scratch. (Or find a way to get the key used to encrypt the secrets, if you have the key you just decrypt them and punch them in manually (or use the earlier scripts for QR code gen))
Click to expand...
Click to collapse
It's sad that nobody seems to have the keys to decrypt the secrets.
Wish I had a nandroid backup or just an earlier backup of the app's data before they started to encrypt their db.
I'm losing many accounts here.
shokolatha said:
It's sad that nobody seems to have the keys to decrypt the secrets.
Wish I had a nandroid backup or just an earlier backup of the app's data before they started to encrypt their db.
I'm losing many accounts here.
Click to expand...
Click to collapse
To prevent exactly this from happening (again) I've switched to Authy like @antivirtel suggested earlier. Authy saves your secrets to your authy-account, and a big plus they actually have a desktop program too so I don't have to use my phone per se (I often just leave it home not needing my phone _untill_ I need 2FA somewhere lol). I'm sorry for your losses but at least take this as a learning oppertunity and switch to an 2FA/MFA application that does cloud
Exporting a QR code from google authenticator then taking a screenshot\pic of it and saving that for future phones has served me well so far..
I think if I read correctly, TWRP just released their new version with Android 12 decryption support, so I can go and extract it now from my nandroid backup. https://twrp.me/site/update/2022/10/10/3.7.0-released.html - did someone test this?
BTW, I also saved the 2FA codes to KeePassXC/DX, works brilliantly there too, has nice integration both on desktop and Android.
Hi,
I've finally found a way to save my current ROM and go back to my old backup of stock A11 (restore a NANDroid backup), and try to access G Auth, but it was empty straight away. Tried a restore with Neo Backup, no change. Unfortunately it seems like it's all gone. At least I have the DB file, it has a list of accounts, so I at least know where I had MFA...
Unless someone else has a clue how to restore it, someone?
Given it's finally getting cloud sync feature, Google should release a way to restore it. Google please do!
Thanks!

Categories

Resources