Marshmallow app backup/restore - Nexus 5X Q&A, Help & Troubleshooting

Does the new backup feature in 6.0 work on all apps, or only ones that are "enabled by the dev" as in previous Android versions? Also, what happens if you have multiple phones connected. Do they stay in sync or maintain separate backups?

Here's what it says

km8j said:
Does the new backup feature in 6.0 work on all apps, or only ones that are "enabled by the dev" as in previous Android versions? Also, what happens if you have multiple phones connected. Do they stay in sync or maintain separate backups?
Click to expand...
Click to collapse
Ars Technica has a great article about how backup works in 6. The answer to your first question appears complicated, but the answer to your latter question is that they have separate back-ups and you can choose which one to restore from.

Related

Future Recovery Images

A friend of mine has a Samsung Galaxy and he mentioned to me that their latest recovery image has the ability to back-up/restore all google apps to the sd card. When you purchased your Hero, you purchased the google apps so are intitled to make back-ups. This obviously helps with regards to future custom ROMS so the dev doesnt need to include them on their ROMS so they wont get any nasty letters off google, then when you've flashed your new ROM you just restore your G apps and everythings fine and dandy.
I was wondering if this is something our devs were looking into or are already on it?
If there's already a post on this I apoligise, I had a quick look
Could you point out the exact name of the recovery image?
You don't need a recovery image for this - there are apps in the Market (e.g. AppManager) which allow you to backup and restore your applications to SD card and this includes the Google apps.
Regards,
Dave
http://forum.hdblog.it/showthread.php?t=3995
yeah, true Dave, but wouldnt it be so much easier to back-up your G apps while you're doing a nandromid back-up?
I was purely for ease of use, i just thought it made sense
Marginally easier, but not enough to worry me personally. If custom ROMs came with an AppManager preinstalled, the difference would be even smaller.
However, it certainly can't hurt to have it in the Hero recovery image! I'd suggest firing off a PM to Amon_Ra to see if he could add it to his recovery image. http://forum.xda-developers.com/showthread.php?t=561124
Regards,
Dave
Cheers Dave, im quite new to all this, it just seemed easy from a beginners point of view
Nandroid back-up, g app back-up, flash new rom, restore g apps
Having never used app manager to back up apps, it didnt cross my mind tbh
matt6gsr said:
A friend of mine has a Samsung Galaxy and he mentioned to me that their latest recovery image has the ability to back-up/restore all google apps to the sd card. When you purchased your Hero, you purchased the google apps so are intitled to make back-ups. This obviously helps with regards to future custom ROMS so the dev doesnt need to include them on their ROMS so they wont get any nasty letters off google, then when you've flashed your new ROM you just restore your G apps and everythings fine and dandy.
I was wondering if this is something our devs were looking into or are already on it?
If there's already a post on this I apoligise, I had a quick look
Click to expand...
Click to collapse
+1 on that. I looked at the recovery image you posted a link to and it has a lot more functionality like enable/disable root etc, as well as G-app backup and restore. It would be really nice to have something like that for the Hero too.
foxmeister said:
You don't need a recovery image for this - there are apps in the Market (e.g. AppManager) which allow you to backup and restore your applications to SD card and this includes the Google apps.
Regards,
Dave
Click to expand...
Click to collapse
Not all apps. Some of them are protected.
Yes, I know, but the post was specifically related to the preinstalled Google apps. The recovery image listed has an option to backup Google apps.
You don't really need to backup protected apps anyway, because they are almost always paid apps and therefore permanently linking to the Gmail account you use for the market. In addition, if you are rooted, you can copy the apks off manually anyway.
Regards,
Dave

The Perfect Backup - where are we now?

Since Froyo, a more comprehensive backup was announced (http://developer.android.com/guide/topics/data/backup.html). But I'm still not seeing ALL my settings and app data backed up.
I say this after doing a factory reset on my stock Desire because the contacts sync stopped working (I think it was a phone problem not Google problem). I have backed up in a number of places but the main one I use is MyBackup Pro.
For as good as it is, when it's finished, I still have to go through and put in my settings. Some widgets need to be re-setup. Some settings in the menu need to be re-setup. Signatures in my Google email boxes need to be redone. Ringtones (stock ones) need to be redone. Wallpaper. Etc.
Where are we with the perfect backup? I.e. backup my phone STATE. 1 backup so that should you reset your phone, it goes back perfectly. Obviously if you change phone to another model, you'll have to tweak a few things. But I thought backing up the phone state was possible after flicking through the link above.
So what's going on? Why do we not have the perfect backup yet?
You could root your phone using unrevoked 3.2 and install a custom recovery. This will allow you to make a complete image of your phone.
I don't think the froyo backup feature is available in sense roms. This is a question of HTC including it I.
The issue here is that this is not a complete backup solution in an of itself, but an API that allows developers to add this functionality into their applications.
Since this is API level 8 (Froyo), and since most devices still don't have Froyo, it's not too surprising that few applications have been updated to take advantage of this facility.
Regards,
Dave
I wonder if the newly announced HTCSense.com will address this since the announcement said it will backup customisations. (Obviously not rooted customisations!)

[Q] New ROMs and Titanium Backup Pro restore apps/data

I'm pretty sure that this hasn't been covered specifically so I'm posting a new thread.
I backed up all my apps and data on a stock rooted Sprint 4.24.651.1, 2.3.3 ROM via TBU Pro. I also performed a backup of my current ROM with ROM Manager. I then installed Team Nocturnal _Shooter_RLS_2.3.(after, of course, all the recommended wipes and resets) When I went to restore my apps and data I wondered if some of the previous app versions (where both ROMs have same apps/diff versions) would hose things up. It did, I think. Maybe all that I needed to do was clear some app caches and reboot. Not sure, I couldn't get any of the HTC widgets to load but I did see in another thread that cache clearing may fix that. But other stuff was goofy after the restore too. It became buggy and horribly slow, so I think that there's more to it than just the HTC stuff. I wonder if something I restored and maybe shouldn't have hosed it up. What I'm wondering is if someone would be so kind as to scan down my app lists and tell me which apps and/or data that are obvious that I shouldn't restore? For example, this new ROM has a different dialer, it makes sense to me that I wouldn't restore that. Same with anything to do with Sense, since this particular ROM I believe has a newer version, but not sure. I am thinking that any time I install a different ROM this will be a consideration but maybe I have the wrong idea about the whole thing. I have attached 30 images captured (incl the Software info screen) of my app list in TBU.
Lastly, I'll add that since making the move to Android from WinMo about a year ago I am very glad I did it. I could not have possibly been able to learn and do the things (rooting, S-off, flashing ROMS) that I have done without XDA! You folks are brainiacs and I greatly admire what you all do. (blatant a**-kissing)Thank you, thank you!
You have to be very careful about what you restore using Titanium when you are moving from one ROM to another. I found this from personal experience (moving from Stock to Synergy RLS1 and then to MikG). There is some good info in the Titanium Backup Wiki.
The part that you need to be careful about is restoring system data that is incompatible with the newer system apps in your new ROM. Your best bet is to only restore the User Apps and their data. You can do this in Titanium by selecting Menu > Batch > Restore missing apps with data.
There is some system data that you can restore without getting into trouble (probably bookmarks, SMS Messages, Sprint Voicemail) but you are going to have to experiment. I restored my missing apps using the batch option and then went to the Backup/Restore screen to look at the System Apps and Data one by one to see if there was anything that I could restore. Sometimes I would restore some data that would cause a problem and I would have to Wipe that data (also in Titanium Backup/Restore screen) and move along. I know at least once I was forced to start fresh and Wipe and reflash the ROM.
gbweller said:
I'm pretty sure that this hasn't been covered specifically so I'm posting a new thread.
I backed up all my apps and data on a stock rooted Sprint 4.24.651.1, 2.3.3 ROM via TBU Pro. I also performed a backup of my current ROM with ROM Manager. I then installed Team Nocturnal _Shooter_RLS_2.3.(after, of course, all the recommended wipes and resets) When I went to restore my apps and data I wondered if some of the previous app versions (where both ROMs have same apps/diff versions) would hose things up. It did, I think. Maybe all that I needed to do was clear some app caches and reboot. Not sure, I couldn't get any of the HTC widgets to load but I did see in another thread that cache clearing may fix that. But other stuff was goofy after the restore too. It became buggy and horribly slow, so I think that there's more to it than just the HTC stuff. I wonder if something I restored and maybe shouldn't have hosed it up. What I'm wondering is if someone would be so kind as to scan down my app lists and tell me which apps and/or data that are obvious that I shouldn't restore? For example, this new ROM has a different dialer, it makes sense to me that I wouldn't restore that. Same with anything to do with Sense, since this particular ROM I believe has a newer version, but not sure. I am thinking that any time I install a different ROM this will be a consideration but maybe I have the wrong idea about the whole thing. I have attached 30 images captured (incl the Software info screen) of my app list in TBU.
Lastly, I'll add that since making the move to Android from WinMo about a year ago I am very glad I did it. I could not have possibly been able to learn and do the things (rooting, S-off, flashing ROMS) that I have done without XDA! You folks are brainiacs and I greatly admire what you all do. (blatant a**-kissing)Thank you, thank you!
Click to expand...
Click to collapse
Yeah, I had a feeling that there would be conflicts like that before I even restored. I never thought to read the TBU wiki...thanks for that tip! It looks like I have a lot more homework to do before I flash again. I really have to decide if the time investment is really worth the return. There are so many cool ROMs out there but what a lot of B.S. sorting out what works and what doesn't. It is excruciating to have to read through 50+ posts following a ROM release to find out what you're in for. What would be super-cool is if someone was able to construct a spreadsheet of the most popular ROMs in a column with all of the popular features (4G, Wifi Tether, Mirroring, etc), kernel compatibility, Sense or no Sense, etc in a row at the top, with check marks indicating whether or not the feature works or is baked in. I'd pay to see that. Especially if it were linked to the downloads to the ROMs and kernels.
Thank you very much for the reply!

Firmware

Hello guys. One year ago i installed skydragon ROM and everything was ok. But now id like to reinstall my Rom to newer one. But i dont remember how i did it so could anyone help me? I actualy started to have some problems. My screen turns itself on randomly, pages refreshes or falls to main desktop randomly. If i use safe mode it is ok so its probably some of my applications. But i want to reinstall my phone so its like a new one(its ok with a custom rom ,i just need some recommended roms) so please if anyone could help me, i would be so happy.
FTWDiesel said:
Hello guys. One year ago i installed skydragon ROM and everything was ok. But now id like to reinstall my Rom to newer one. But i dont remember how i did it so could anyone help me? I actualy started to have some problems. My screen turns itself on randomly, pages refreshes or falls to main desktop randomly. If i use safe mode it is ok so its probably some of my applications. But i want to reinstall my phone so its like a new one(its ok with a custom rom ,i just need some recommended roms) so please if anyone could help me, i would be so happy.
Click to expand...
Click to collapse
Backup all of your data, whether it be twrp or titanium
download the rom of your choice, id suggest leedroid or android revolution for you as they are close to stock
copy to phone, wipe data and flash in twrp recovery (im assuming you have it as you have skydragon installed)
then restore your data through titanium.
You may have issues if your firmware is out of date, however I have not updated mine for a long period and it is still working fine. There are plenty of threads that can direct you through the process.
Thanks alot. And what types of custom roms exist? I mean how do are they different? And i read on other forum that i have to do something with kernel? But i totaly forgot what is that
And id like to ask, if i can somehow backup my apps settings and saves from games for example?
FTWDiesel said:
Thanks alot. And what types of custom roms exist? I mean how do are they different? :
Click to expand...
Click to collapse
Some ROMs are GPE (Google Play Edition) or AOSP; both mean no Sense. Others are Sense based, but with various tweaks, customization options, etc. But you need to read the ROM threads to see the differences; and how they relate to your needs and preferences.
FTWDiesel said:
And i read on other forum that i have to do something with kernel? But i totaly forgot what is that
Click to expand...
Click to collapse
Unless you have the Sprint or Verizon M8, you don't need to do anything with the kernel. The kernel installs automatically when you flash a ROM.
What does no Sense mean?
FTWDiesel said:
What does no Sense mean?
Click to expand...
Click to collapse
Sense is HTC's "skinning" or customization of the Android OS. They add their own version of some apps, modified the launcher, icons, etc. as a means to differentiate their devices from the competition.
Not everyone likes that, so there is also a Google Play Edition of the M8, which is an Android version close to "pure" Android such as on Nexus devices. GPE ROMs are based on the official HTC released GPE version OS (although custom GPE ROMs may have tweaks and customizations of their own).
While AOSP ROMs such as Cyanogenmod and others are compiled from source code, and constitute "original work". But again, they don't have Sense customizations, and are close to "pure" Android.
Okay, thanks alot
So i flashed the newest skydragon ROM but after i installed it and used recovery(from twrp or what is the name) i recovered my data (apps etc) but my notification bar and home button wasnt there. I tried to flash it many times but it was the same.
FTWDiesel said:
So i flashed the newest skydragon ROM but after i installed it and used recovery(from twrp or what is the name) i recovered my data (apps etc) but my notification bar and home button wasnt there. I tried to flash it many times but it was the same.
Click to expand...
Click to collapse
Did you check the Skydragon thread to see if its a reported issue (and if so, there may be a fix posted)? That should always be the first thing to check when encountering issues after a ROM flash.
It sounds like you migrated user data using TWRP? I don't personally recommend it, as it often leads to issues, especially if the ROM is significantly different/updated than what you were using before.
Does the issue occur if you clean flash the ROM (default wipe in TWRP, then flash the ROM) and do not restore user data?
Ye the error isnt there if i dont recover my data. But i want to have apps etc there. So is there some way to backup them? Also sms, phone calls etc.
FTWDiesel said:
Ye the error isnt there if i dont recover my data. But i want to have apps etc there. So is there some way to backup them? Also sms, phone calls etc.
Click to expand...
Click to collapse
I always use the app Titanium Backup to migrate my app data. IMO its also well worth the few $ for the paid pro key, to enable the batch functions (you can backup/restore all your user apps with just a few taps). Titanium is a very useful and reliable tool for ROM flashers.
Restore the data with TWRP, then back up your user apps and app data with Titanium. Wipe in TWRP. Then reboot and restore the apps in Titanium, and all should be good.
You can also use Titanium to backup and restore your SMS (backup app data "Dialer Storage") and call log ("Contacts Storage"). But be careful about restore any system data, since that is usually when the bugs pop up.
Okey, thanks alot. I'll try it today.
Hello, i tried the titanium backup but i have many many apps there and it wanted me to confrim every one one by one when installing which is pretty annoying while i have many apps. Also i thought about other roms, but i cant find here on xda developers any "comparing stats" or something. And mostly i cant find where are some cons and pros of the roms. Only last update notes... im really dumb or idk, cant really find anything.
Also i want to ask if its possible to remove car mode somehow? Cause my phones somehow sometimes thinks that im in a fckin car and uses car mode which interrups my app or refreshes page or light my screen..

Question Good backup options?

Hello everyone!
I pre-ordered my Pixel 6 Pro and received it a couple of weeks ago. I did not immediately unlock the bootloader as I didn't see the need (as I would need to wipe anyway once I install a Google-spyware-free ROM.) However, since development is proceeding smoothly enough (thanks to everyone who's working hard on that!) I'm starting to look at options of how to back up my data in case of a future wipe.
In the golden days of Android development, I used to use Titanium (with root), which also worked without root, really. What do people use nowadays (beyond Google) to back up their Android phones?
Thanks a lot in advance!
SwiftBackup
Nekromantik said:
SwiftBackup
Click to expand...
Click to collapse
There really is no other answer than this one. Migrate is fantastic too - but Swift backup is objectively better. It really is just click/press button and forget, in ease of use.
Some apps don't properly back up each respective app properly, which is why I still use tibu for some things. But I find myself using tibu less and less.
ROOT:
Code:
echo "Demonstrates fzf for interactive selection of multiple packages"
for APP in $(pm list packages | fzf -m)
do
APP=$( echo ${APP} | sed "s/^package://")
adb backup -f ${APP}.backup ${APP}
done
ADB:
Code:
for APP in $(adb shell pm list packages | grep -E 'accubattery|betterbatterystats|etc|etc|etc')
do
APP=$( echo ${APP} | sed "s/^package://")
adb backup -f ${APP}.backup ${APP}
done
Nekromantik said:
SwiftBackup
Click to expand...
Click to collapse
From what I've read, and for what most backup apps are capable of, if you wanna backup app data you have to be rooted.
If you're stock then some developers can limit adb backup from even taking place, so I'm finding options are limited the longer you go without rooting right away.
I talked to the SwiftBackup support yesteday ( old phone OnePlus, new phone pixel ) and was told my "true" backup/restore solution would be with root... Less than root would not get me done.
( so root means TiB pro ? ? ? ) ( ouch, last updated on: November 24th, 2019)
I hate that Android backups are devoid of data backup unless you're rooted or a developer allows you to do such a thing in a vanilla backup. It shouldn't be a choice and should be standard across all apps. It's one area where I prefer apple backups to Android.
old_fart said:
I talked to the SwiftBackup support yesteday ( old phone OnePlus, new phone pixel ) and was told my "true" backup/restore solution would be with root... Less than root would not get me done.
( so root means TiB pro )
Click to expand...
Click to collapse
Yeah, but Swift is objectively better as a general backup tool than TiBu these days
yes I meant as rooted backup tool Swift is better
I used to use TiBi but it no longer worked on backing up sms from android 10 so I switched to Swift.
Swift is not as fast and yes one or two apps backup does not work but I found support pretty good
Just checked Swift Backup and even without root it does seem like a valid option. My only concern is that requires a Google login to use? I imagine that, unlike Google's actual Android backup, this would work even without gapps installed (potentially), but just wondering if anyone could confirm that?
From other devices I used to use TWRP backup by just hooking each and every partition and copying the backup file to the PC afterwards. If anything went wrong I simply restored the TWRP backup. Is there a way to do this kind of backup manually from the PC?
RetroTech07 said:
I hate that Android backups are devoid of data backup unless you're rooted or a developer allows you to do such a thing in a vanilla backup. It shouldn't be a choice and should be standard across all apps. It's one area where I prefer apple backups to Android.
Click to expand...
Click to collapse
Any app that has been updated to institute Google's standard of cloud backups (started what, at least 3-4 years ago?) will have its app data backed up. I blame the developers who choose not to do this when it would be very helpful.
Non-root would be half pointless if you could have full access to all your apps' data including the ability to edit it.
roirraW edor ehT said:
Any app that has been updated to institute Google's standard of cloud backups (started what, at least 3-4 years ago?) will have its app data backed up. I blame the developers who choose not to do this when it would be very helpful.
Non-root would be half pointless if you could have full access to all your apps' data including the ability to edit it.
Click to expand...
Click to collapse
I'd like to root, but would have to sift through all of the new info that's been provided. It'll take some time going from beginning to end, but never do I worry about backups because I'm in control of my data.
When I transitioned over from my old pixel 2xl to the 6 with the data transfer, none of my apps retained data or login info. It's kinda pointless for the transfer to have to redownload every single app and retain nothing except SMS. I don't understand why the process sucks as bad as it does. Why can't it just transfer everything from one device to another? I might as well just not even bother with it and should have rooted it then.
Nekromantik said:
yes I meant as rooted backup tool Swift is better
I used to use TiBi but it no longer worked on backing up sms from android 10 so I switched to Swift.
Swift is not as fast and yes one or two apps backup does not work but I found support pretty good
Click to expand...
Click to collapse
There's a good SMS/MMS backup app in the play store that I have used for many years if you'd ever like to try it. I understand you're using swift, but this app doesn't require root to work.
If you are rooted, OAndBackupX is a great tool... It's free and open-source, and a fully featured product. It has some limited capabilities without root, but if you want a full backup with app data, you'd need root.
GitHub - NeoApplications/Neo-Backup: backup manager for android
backup manager for android. Contribute to NeoApplications/Neo-Backup development by creating an account on GitHub.
github.com
Neo Backup | F-Droid - Free and Open Source Android App Repository
The open-source tool to backup your apps and data
f-droid.org
For SMS, MMS & RCS backup, you can try SMS Backup & Restore (https://play.google.com/store/apps/details?id=com.riteshsahu.SMSBackupRestore). RCS support is still experimental, but SMS & MMS backup & restore works well.
Just a reminder: Because of the requirement to disable dm-verity and vbmeta verification when flashing a patched boot image, you will have to wipe data when doing so. If you have not yet unlocked your bootloader, this is a non issue, as you can disable AVB after unlocking the bootloader.

Categories

Resources