[No Gapps][F-Droid] How to backup Settings, User Dictionaries, Blocked Numbers? - Android Q&A, Help & Troubleshooting

Hi all, I am running Lineage OS (but my question is not necessarily Lineage-specific) *without* Gapps (I'm using F-Droid only) on a rooted device.
I am looking for a way to backup (on file) the Settings, Blocked Numbers, and User Dictionaries of my device. The idea is to have a backup such that:
1) I can import smoothly on my PC
2) I can re-import smoothly everything on a fresh install on the same device
3) if I change device (and maybe OS version), I can still re-import manually single files (so, maybe not the full settings, but the user dictionary and blocked numbers yes for example)
The TWRP backup is hence not suitable, because it performs a full device backup.
It would be enough for me to know the location of the databases where Lineage stores such info (my phone is rooted, I can grab those DBs if I know where they are).
I tried Oandbackup but it looks definitely overkill, it always gives me a bunch of error, and plus I found very confusing to decide what com.provider.omg.wtf.orly.kthxbye to backup and what not
Any idea?
Thanks in advance ^^

Up! Even just the user dictionaries would be very appreciated!

Related

[Q] Best way to retrieve data from a smashed SGS2?

Hey guys,
In a moment of great weakness... i have destroyed my SGS2. This phone has been giving me a lot of grief lately (spontaneous and looping reboots, slow or no data connection, apps not behaving as should - requiring reinstalls, and general buginess)... and the result is a cracked temper and a cracked screen.
All that aside - i have decided not to get the screen repaired, but to get a new phone (no idea what my next handset should be - will gladly take suggestions).
So... Lately I have been backing up a lot of my apps using Titanium - which is great. And I have my contacts set to auto-sync with my gmail account - which it has failed to do since adding a few new contacts yesterday.
So my questions are... what is the best way to retrieve/backup the following data now that the screen is un-usable (but the phone seems to still work ok):
- Contact and Calendar Data
- Apps (or list of apps) that Titanium hasnt backed up
I figure I may need a different method of app backup/restore if i do not wish to root my next phone. There doesn't seem to be an automatic feature in the Play Store which keeps track of which apps I have installed... Is there another way to do it?
Thanks for any help.
Cheers.
I'm almost tempted to suggest Kies as solution for retrieving all organizer data (contacts, calendar, tasks, notes) since it does not require mobile screen interaction.
And there are two ways to save data: sync with Outlook or simple backup.
I'm ready to be flamed...
1. To retrieve your contacts or view them, visit Google.com/contacts and login your hole details. You can also sync them too ur New phone.
Access Google calendar online, to see your calendar info
2. I'm not sure how you can proceed with backing up your new apps since you said phone is working but unusable but the options below will work fine in getting back your apps on your next phone without rooting your new device.
I). Though Google Playstore:
When you log in your Google account on your new phone, open playstore, go to my apps and swipe to the next page too view all.
All, will show all the apps you have ever installed or updated via playstore. You can simply reinstall them one by one.
Note that you will need a lot of data so Wi-Fi is recommended.
ii) via ADB: this will work only if usb debugging was enabled under development option. And you have access to a pc. Root access May also be helpful.
You can use ADB to copy all your presently installed app's apks and even your titanium backup folder or any other folder to your Pc
More info on this will follow based on your response.
iii) MTP mode: this will work if MTP mode and not mass storage mode was previously enabled on your phone.
Simply connect your device via usb to ur pc and start copying your files especially your titanium folder, since your question is about apps.
iv) Titanium backup folder:
If you have a copy of your titanium backup folder, then all is well
Personally, I will galaxy Siii or NoteII if you have the patience.
Swyped from my Samsung Galaxy SII
Thank for the help guys.
Kies did allow me to retrieve those few un-synced numbers.
And the "my apps" list is a great way to see and reinstall past apps. Not sure if I will be able to root my new phone (Xperia S), so if I cannot get to the Titanium Backup data, this looks like the next best thing.
Thanks again guys.

[Q] Backup via ADB and restore to Secondary identical device

Hi guys, have been searching for a solution to this for days now.
Background
I've had an android application developed which I am now preparing to roll out to our customers. We are supplying the software pre-loaded on 2012 edition Galaxy Note 10.1 3G's.
So far I have rolled out approx 30 units. But this is where I need help. I currently take approx 15mins per tablet to set it up - For each one I:
Turning tablet on
Get past all the initial login screens, dropbox, samsung update, google account etc
Change about 10 settings (sound, display, lockscreen etc)
Delete all the default homescreens and set a new wallpaper (copy a file)
Install approx 4 applications
This is both error prone, and time consuming. So I've been looking for a way to speed things up. Initially tried root > nandroid backup > restore via recovery (not ideal) - then tried some backup apps Titanium, Settings backup etc which didn't seem to work (root required for most)
Help
My latest attempt is backing up and restoring via ADB. Things are finally looking positive down this route. I am able to do a full backup, and then a full restore to the second tablet. The apps are there, the wallpapers changed, the settings have mostly been applied (some missing) but the problem comes when I restart for the first time. Instantly bootloops and I cannot stop it without a factory reset.
I'm wondering if Anyone might have some clues for me as to what I can do to stop it boot looping. Could I backup JUST the necessary files, instead of a full backup (e.g. just settings, and my apps etc?) How do I do this? I'm not super flash with scripting but it would be ideal if I was able to automate the process a little.
Any help is Greatly appreciated at this point. Thanks

How do I backup the Android OS AND all data...onto my computer?

Gentlemen/ Ladies,
As the topic states, ....How do I backup not only the data (photos, video & contact lists)...BUT also the Android OS onto my computer?
I ran into a situation that my phone's WiFi is turning OFF itself, and I do not want to use the T-mobile data LTE for backup onto the Google.
I would first like to fully backup ALL, especially the Android OS.
My phone is Google/LG Nexus 5-Hammerhead, Android 6.01 Marshmallow. I was looking at google play store but most of those are ONLY for photos, video & contact list backup.
Truly appreciated.
p.s. After a FULL backup, I may need to download/ install the FirstEver Android 8.1 .
Thank you again,

Failed to Restore Whatsapp Database after migrating from STOCK to LineageOS 14.1

I'm struggling with something that never happened to me, I'm unable to restore my database to my recently upgraded Samsung J3 2016 - is running LineageOS 14.1 now
The phone was running stock Android 5.1.1, version J320FXXU0AQI1, nothing fancy here.
Made some research about what ROM to use and decided to upgrade to LineageOS 14.1, I'm really sick and tired of Google spying my steps, my contacts and the number of times i take a piss every day, and so on. Right now I don't have any Google account associated with the mobile (could this be the problem, since this is a custom ROM?)
Everything ran smoothly, backed up my contacts, call logs, SMS, pictures and the ENTIRE Whataspp folder. This method always worked fine on several phones I've upgraded or simple swapped equipment to a more up-to-date hardware. Everytime worked like a charm, restored logs, contacts and so on, in what it concerns to Whatsapp i simply moved the ENTIRE folder to the new phone (or upgraded phone), installed the Whatsapp app and is just straight forward for the app to ask me for a SMS code to activate the software and then asked me to restore my backed up database. It has been very simple so far, but not this time:
When it reachs the point to detect and restore my database Whatsapp states that can find one Database from 1970 (???? WTF) with 0 bytes, and after that it fails to restore my data (not strange, 0 bytes is no data). I've already tried earlier versions of Whataspp, tried different databases (there are 7 in my folder, i don't believe all of them are corrupted). I'm reaching 0 ways to explore. BTW, i dont use Google drive to store my backups because its enough for Google to know how many times i take a piss everyday, i rather have the backups with me, on my phone (thanks any way Google), but the files are safe in my desktop and on my phone for now, inaccessible so far but their're there.
Can any one point me some way to try to revive my database? Just a note, i have an older phone that still have Whatsapp there, i didn't erased it, maybe it's there something of interest for this situation?
Thanks so much in advance for everyone that can help, any hint can be helpful.
Update!
I've managed to get another phone, exactly the same, Samsung J3 201 J320F.
I've sent my whatsapp folder to the phone, signed in to my google account, installed whatasapp and, like 98% of the times my backup is ok and is restored. Now I have two phones:
1- one with Whataspp working fine (the one with Stock ROM 5.1.1 J320FXXU0AQI1
2- another one, the main phone, where i want to put my whataspp backup working but it simply doesnt work (previous post). Everything elese is settled and working just fine. Maybe whatasapp doesnt like Custom ROMs??
So, I'm sure that my backups are fine, right now I have access to anything that i may need i guess. I don't believe that Im the first person not beeing able to restore whataspp backups in LineageOS.
Please help
New developments.: I've installed Ressurection 5.8.5, the latest available for this phone. It runs ok, but Whataspp problem is still there, the backup is marked to have 0Kb, somehow Whataspp simple doesn't want to recover my backup if I'm using a custom firmware (I receive a warning about no support from them if I have problems at the beginning of the startup process).
So far this method didn't work (Whatsapp shows my Backup with 0Kb):
1) Copy your latest crypt 12 file to /sdcard/WhatsApp/Databases/
2) Install / Activate WhatsApp
3) WhatsApp will retrieve the key from their server and restore your backup.
I've tried this method that appeared to have some success in same cases. Followed everything but no luck, Whataspp detects a 0Kb backup also.
Meanwhile I still don't believe that I'm the very 1st person that this happens, I'm still very impressed with this. If the OP thinks I'm in the wrong Topic please feel free to move it to the right place, maybe there I'll have better luck.
Not that I have much knowledge in that direction, but the issue sounds more like it is about the file than Whatsapp itself. Maybe some permission issue? If you use a filemanager app like total commander, can it read the file fully? I found a topic that had 0 byte filesize issue and a simple reboot apparently fixed it.
musschrott said:
Not that I have much knowledge in that direction, but the issue sounds more like it is about the file than Whatsapp itself. Maybe some permission issue? If you use a filemanager app like total commander, can it read the file fully? I found a topic that had 0 byte filesize issue and a simple reboot apparently fixed it.
Click to expand...
Click to collapse
Hello musschrott, and thanks for replying.
I've tried moving the database file, erase it, changing it's name and the android system allows me to do it, i think the file itself is free to be read by Whataspp, but your other tip, the permissions in system made me google around (even more..) about it and I found here on XDA this. : "The privacy protection in the drop down menu and the permission in the app settings." (credits to LegoTechniker). On the privacy protection is all ON but in the Permission is all OFF and Whataspp nor the System ask me to turn it ON and it can result on whatasapp reading files with 0Kb from 1970.
I'll give a try but only tomorrow because the code/phonecall from Whataspp have a 48h delay and keeps increasing everytime I try a different method to solve this issue.
musschrott, thanks again!
tomalamix said:
Hello musschrott, and thanks for replying.
I've tried moving the database file, erase it, changing it's name and the android system allows me to do it, i think the file itself is free to be read by Whataspp, but your other tip, the permissions in system made me google around (even more..) about it and I found here on XDA this. : "The privacy protection in the drop down menu and the permission in the app settings." (credits to LegoTechniker). On the privacy protection is all ON but in the Permission is all OFF and Whataspp nor the System ask me to turn it ON and it can result on whatasapp reading files with 0Kb from 1970.
I'll give a try but only tomorrow because the code/phonecall from Whataspp have a 48h delay and keeps increasing everytime I try a different method to solve this issue.
musschrott, thanks again!
Click to expand...
Click to collapse
For everyone and specially those who helped (musschrott).
This has worked for me: giving full permissions to Whataspp in "Settings - Privacy" and in "Settings - Applications" worked like a charm, you have to do it BEFORE you start Whatsapp.
Best regards to everyone and thanks once more!
Make sure the WhatsApp backup file is in internal storage, and rename the backup file to msgstore.db.crypt.
After upgrading to LineageOS 14.1,install WhatsApp.When asked to restore from backup,choose the "msgstore.db.crypt" file.
mango9 said:
Make sure the WhatsApp backup file is in internal storage, and rename the backup file to msgstore.db.crypt.
After upgrading to LineageOS 14.1,install WhatsApp.When asked to restore from backup,choose the "msgstore.db.crypt" file.
Click to expand...
Click to collapse
Yes,
Those are the basic steps, but BEFORE running Whatasapp for the 1st time you have to give permissions in the system to Whatsapp because these are all OFF and the system doesn't ask to turn them ON when the permission is needed, simply presents you a file with 0Kb from 1970 and that's it. Again, you have to do this BEFORE the 1st Whatsapp startup and everything should run well.
Best regards
My issue is I gave full write permissions but then it goes straight to the Google Drive restore and does not show my local backup.
When I followed this by Rahil:
https://www.reddit.com/r/whatsapp/comments/np2zjp
"So today I finally fixed the issue myself
Click to expand...
Click to collapse
Steps: 1)make sure you rename the database as it should be.
2)Install whatsapp
3)Insert your number when asked
4)Use Otp/code
5)Then the app will ask you for google drive permission ,click allow/ok
6)Then the app will ask for contact permission ,simply deny this permission (very important)
7)Then the app will ask for storage permission ,hit allow (very important)
8)Then you will see your local storage behind the popup saying allow google drive and crap You will need to press add account and have your fingers ready for instant tapping between add account and instant tapping restore button ,and out of 10-30 times doing this practice, you will luckily hit restore button, I know this sounds confusing, And I can make a tutorial video if you want ,this works 100%
9)once it is restored ,you will still see app asking google drive option, don't click skip (this will reset the app ,leading to nothing restored) , So when the app is asking to restore from google drive, close the app right away (very important)
10)open the app ,and the app will ask you to set name ,set your name ,and you'll see all your backup"
Click to expand...
Click to collapse
It works but then it shows my local backup as 0k and from 12/31/1969
This is Driving me wild and now I have to wait 12 hrs to try again. Has anyone solved this ridiculous error?
dpoverlord said:
My issue is I gave full write permissions but then it goes straight to the Google Drive restore and does not show my local backup.
When I followed this by Rahil:
https://www.reddit.com/r/whatsapp/comments/np2zjp
It works but then it shows my local backup as 0k and from 12/31/1969
This is Driving me wild and now I have to wait 12 hrs to try again. Has anyone solved this ridiculous error?
Click to expand...
Click to collapse
Did you find a solution to this? I have the exact same problem

Help with backing up/restoring apps + app data

Hello, I've been searching endlessly for countless days now, I want to restore my app + app data from my Huawei Y9 Prime (unrootable), to my Moto G Stylus 5G (rooted). I attempted abd backup, but upon restoring it on my new rooted device, it installed/restored absolutely 0 apps, and of course no app data despite it taking awhile to "restore".
Transfert apps and accounts to a new phone
Hi, I'm aware there is a simple way to reinstall the apps I have on my phone to a new one, using Google account. But I have to enter credentials to every apps again... Is there a secure way to transfert accounts to new phone, so I don't have to...
forum.xda-developers.com
jwoegerbauer said:
Transfert apps and accounts to a new phone
Hi, I'm aware there is a simple way to reinstall the apps I have on my phone to a new one, using Google account. But I have to enter credentials to every apps again... Is there a secure way to transfert accounts to new phone, so I don't have to...
forum.xda-developers.com
Click to expand...
Click to collapse
I've tried this, and unfortunately it didn't copy anything meaningful. A lot of my apps are installed through apks, and previously I used Huawei's Phone Clone to clone my old phone, and when it finished, everything on my new phone was exactly how it was on the old one, and that's what I'm trying to achieve here. But so far I've had no luck in doing so.
Edit: By "nothing meaningful", I meant it literally copied everything EXCEPT all my apps and their data. In which is said "196/196 apps failed". No further information or anything.
Pretty all I need is to get all my app's data from root/data/data, and transfer it.

Categories

Resources