Restore opbackup in lineage - OnePlus 7 Pro Questions & Answers

Is there a way to restore sms from my opbackup in lineageOS. When I open OnePlus switch in lineage, the only option is to scan a QR code on the old device.

Related

[Q][Whatsapp] Whatsapp does not offer backup restore after Cyanogenmod upgrade

Hello.
I migrated from Cyanogenmod 12.1 (Android 5.1.1) to Cyanogenmod 13 (Android 6.0.1) on my Nexus 4. I did a factory reset. Problem is, that Whatsapp does not offer to restore a backup when starting it the first time, although the file structure under /sdcard/Whatsapp is intact and the Whatsapp versions of backup and new installation are identical. I renamed the latest backup file to msgstore.db.crypt8. I don't have a Google backup at hand, only the local ones.
I also tried to copy back the key file to /data/data/com.whatsapp/f, but this was also not successful. Forum search did not bring up a working solution for me.
Addionally: Does anybody know, when the question "Do you want to restore the found backup?" should popup? After the verfication, after the Nickname input, before the Nickname?
I don't have a clue what to try next. In the past it was no problem to restore the Whatsapp chats..
Any suggestion is highly appreciated.
SOLVED
I could restore my Whatsapp messages!
Environment:
- Cyanogenmod 13 (Android 6.0.1)
- Whatsapp 2.12.510
Prerequisits:
1.) Whatsapp Viewer (Links are forbidden for new users, you will find it at Github)
2.) msgstore.db.crypt8 from a backup
3.) key file from /data/data/com.whatsapp/files from a backup
4.) Whatsapp must not have been started before
5.) Phone number / SIM of backup and restore phone must be identical
6.) Wifi connection for verification process
Procedure:
1.) Install Whatsapp, but do not start it
2.) Extract msgstore.db from msgstore.db.crypt8 with the help of Whatsapp Viewer
3.) Copy msgstore.db to /storage/emulated/0/Whatsapp/Databases
4.) Start Whatsapp and hit "Restore" when it's offered
5.) Wait for "Initialisation" to finish. It took about 3 minutes in my case. So be patient.
6.) Enter Name and assign a profile picture, hit next
7.) Finish!

Defunct Cyanogenmod hijacking restore of google app data after factory reset

1st off, I apologize if this has been covered previously, I did search google, and these forums, but the issue is tricky to form a search string accurately.
I recently flashed back to stock CM13.1.2. During initial setup, after signing into google, I select the google restore of my previous app data, but before it can begin, a screen pops up with Cyanogenmod's account sign-in, which is of course defunct and non-working. But whether I skip this step, try to sign in, or hit back, there is no way to continue restoring app data from my google drive account.
I've read that Oreo allows google app data restore after setup, but what can we do in Android 6? Am I to give up on restoring this app data, and use Helium or titanium backup in the future? thanks.
After each fresh install of a customer Rom, the ID of your device is change. If you CALL titanium backup the first time (if you've make a backup in history from an older Rom, Titanium ask you, if you want restore the old ID. This ID is also responsible to identify your device for restore your apps
Maybe (just maybe), you could boot into TWRP, go to advanced ---> file manager, then delete the apk corrispondent to the CM login prompt, it should be
com.cyanogen.ambient.core
located somewhere in /system/app or /system/priv-app
delete the folder then reboot

How to save all registered Gmail accounts in android?

I have a galaxy S9 which I find perfect for what I do, everything.
But I usually reset the phone to install new custom ROMs and I have about 30 email registered in my Gmail app and in my phone. I need the most of then everytime I reinstall a Rom to my phone so adding them every time is annoying because I need to put email and password for each one.
Is there a solution to backup and restore them every time I install a rom? Is there a system file where they are stored?
Pierfranc said:
I have a galaxy S9 which I find perfect for what I do, everything.
But I usually reset the phone to install new custom ROMs and I have about 30 email registered in my Gmail app and in my phone. I need the most of then everytime I reinstall a Rom to my phone so adding them every time is annoying because I need to put email and password for each one.
Is there a solution to backup and restore them every time I install a rom? Is there a system file where they are stored?
Click to expand...
Click to collapse
ROMs don't play well with data that was created/restored from a different ROM. That won't work if you are flashing ROMs that are different from the one you have installed, but, it may or may not work when flashing updates of the ROM that you already have installed. For example, if you have a LineageOS ROM installed and then flash a RemixOS ROM, you can't restore data from LineageOS in the RemixOS ROM but if you have LineageOS 16 installed and then you flash an updated LineageOS 16 or a LineageOS 17, then you can restore data from LineageOS 16 in the updated LineageOS 16 or LineageOS 17.
It requires root and some form of app that can backup and restore system data and user data. Titanium Backup used to be what you would use but it is no longer supported, it doesn't work like it used to, you'll have to find an app similar to Titanium Backup.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
ROMs don't play well with data that was created/restored from a different ROM. That won't work if you are flashing ROMs that are different from the one you have installed, but, it may or may not work when flashing updates of the ROM that you already have installed. For example, if you have a LineageOS ROM installed and then flash a RemixOS ROM, you can't restore data from LineageOS in the RemixOS ROM but if you have LineageOS 16 installed and then you flash an updated LineageOS 16 or a LineageOS 17, then you can restore data from LineageOS 16 in the updated LineageOS 16 or LineageOS 17.
It requires root and some form of app that can backup and restore system data and user data. Titanium Backup used to be what you would use but it is no longer supported, it doesn't work like it used to, you'll have to find an app similar to Titanium Backup.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Thanks. I am moving to an os based on the same rom so I could restore the backup, but the doubt is which system app should I backup to save the email I have registered.
Pierfranc said:
Thanks. I am moving to an os based on the same rom so I could restore the backup, but the doubt is which system app should I backup to save the email I have registered.
Click to expand...
Click to collapse
The same ROM, not a ROM that is "based" on the same ROM, there is a difference. In other words, you can't restore system data and system settings from a lineageOS ROM in a ROM that is "lineageOS based". Most ROMs are AOSP and LineageOS based, if what you are thinking were possible, we could restore system data and system settings from one LineageOS, ROM in any other ROM that is based on LineageOS, but we can't. Being "based" on the same ROM does not make them "similar enough" to use sysyem data and system settings from one in the other. If you have a lineageOS ROM, you can only restore that system data and system settings in another LineageOS ROM. If you have a lineageOS "based" ROM, you can only restore system data and system settings from that ROM in an updated version of that same LineageOS "based" ROM, not another LineageOS "based" ROM. RemixOS and many other ROMs are all LineageOS based but you can't restore system data and system settings from LineageOS in a RemixOS, this leads to issues, bugs and crashes.
What you are looking to backup and restore isn't a system app. What you want to backup and restore is system data and system settings. But, be aware, this doesn't always work even when restoring that data in an updated version of the exact same ROM.
Am I making this any more clear for you?
This only applies to system data, restoring user data from one ROM to a different ROM is usually not an issue because the system itself being different, generally, has no effect on user data, only system related data.
One thing you can try that sometimes works is to flash your new ROM without doing any of the wipes, this is called a "dirty flash". It leaves all of your data untouched and flashes the new ROM without touching your existing data. But, you might get a bootloop or you might get repeated crashes, force closes and random reboots, which indicates that your data can't be used by the new system.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
The same ROM, not a ROM that is "based" on the same ROM, there is a difference. In other words, you can't restore system data and system settings from a lineageOS ROM in a ROM that is "lineageOS based". Most ROMs are AOSP and LineageOS based, if what you are thinking were possible, we could restore system data and system settings from one LineageOS, ROM in any other ROM that is based on LineageOS, but we can't. Being "based" on the same ROM does not make them "similar enough" to use sysyem data and system settings from one in the other. If you have a lineageOS ROM, you can only restore that system data and system settings in another LineageOS ROM. If you have a lineageOS "based" ROM, you can only restore system data and system settings from that ROM in an updated version of that same LineageOS "based" ROM, not another LineageOS "based" ROM. RemixOS and many other ROMs are all LineageOS based but you can't restore system data and system settings from LineageOS in a RemixOS, this leads to issues, bugs and crashes.
What you are looking to backup and restore isn't a system app. What you want to backup and restore is system data and system settings. But, be aware, this doesn't always work even when restoring that data in an updated version of the exact same ROM.
Am I making this any more clear for you?
This only applies to system data, restoring user data from one ROM to a different ROM is usually not an issue because the system itself being different, generally, has no effect on user data, only system related data.
One thing you can try that sometimes works is to flash your new ROM without doing any of the wipes, this is called a "dirty flash". It leaves all of your data untouched and flashes the new ROM without touching your existing data. But, you might get a bootloop or you might get repeated crashes, force closes and random reboots, which indicates that your data can't be used by the new system.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
No I can't do a dirty flash because this rom has bugs and I don't want find again them. I want a clean install.
But also don't want to add again all the email which I am logged in on this rom. So I just want find a fast way to save them. Do you know any alternatives? Maybe a file where these logins are saved in system folder so I can edit it in the new rom.
Also because all these email registered in any Google applications, once you add them in Gmail, you can login with them in PlayStore and other apps. So there should be a general file which store this data.
Pierfranc said:
No I can't do a dirty flash because this rom has bugs and I don't want find again them. I want a clean install.
But also don't want to add again all the email which I am logged in on this rom. So I just want find a fast way to save them. Do you know any alternatives? Maybe a file where these logins are saved in system folder so I can edit it in the new rom.
Also because all these email registered in any Google applications, once you add them in Gmail, you can login with them in PlayStore and other apps. So there should be a general file which store this data.
Click to expand...
Click to collapse
You should be able to use something like Titanium Backup or Helium to backup the data for each account and you may be able to restore them that way. It requires root though.
Or, you can do some searching involving using adb backup to achieve this.

Backup/Restore through TWRP 3.5.2 for stock ROM

TWRP 3.5.2 supports backup/restore. Does anyone use this feature?
I plan to upgrade stock ROM from android 10 to android 11 and there are some complains about android 11. It would be nice to know if it is easy to switch between android 10 and android 11 using TWRP.
i928 said:
TWRP 3.5.2 supports backup/restore. Does anyone use this feature?
I plan to upgrade stock ROM from android 10 to android 11 and there are some complains about android 11. It would be nice to know if it is easy to switch between android 10 and android 11 using TWRP.
Click to expand...
Click to collapse
If you use Xiaomi cloud, calls, sms, mms, call recording will be saved.
You can use Miphone assistant for the same thing (backing up some apps with data, themes, etc., don't back up the launcher elements because of 10 to 11).
For apps, use an apps like Titanium or others.
With Twrp, the backup is not 100% reliable, especially with the switch from Android 10 to 11.
NOSS8 said:
If you use Xiaomi cloud, calls, sms, mms, call recording will be saved.
You can use Miphone assistant for the same thing (backing up some apps with data, themes, etc., don't back up the launcher elements because of 10 to 11).
For apps, use an apps like Titanium or others.
With Twrp, the backup is not 100% reliable, especially with the switch from Android 10 to 11.
Click to expand...
Click to collapse
Thanks! That is what I do now. Miflash stock ROM, recover messages from Xiaomi cloud, and restore app/data using Titanium Backup.
i928 said:
Thanks! That is what I do now. Miflash stock ROM, recover messages from Xiaomi cloud, and restore app/data using Titanium Backup.
Click to expand...
Click to collapse
Use Miflash https://forum.xda-developers.com/t/guide-use-xiaomi-flash-tool.4262425/

How compatible are backed up data files for different GSIs

I have a backup meant for LineageOS 18.1 (Honor 6x phone). I was planning on moving to AOSP 11. Unfortunately, I've hitherto been completely unable to root the device. Can I use a twrp data backup of the former once I install AOSP 11?

Categories

Resources