0

I have failed to backup and restore an app from my old to my new phone using this answer. The reason seem to be due to the app I want to backup is a "disallowed" type (ALLOW_BACKUP:NO) (I notice it later using Helium). First, it is strange that the answer linked did not mention that it only worsk for those app that are allowed to backup in their Manifest. Second, it seems that the only option is to do the backup with root, for instance by using Titanium. I don't mind to root my old phone to do the backup, but I would not like to root the new phone in which I want to restore the mentioned app. So is it posible to do the backup with root and then the restore without root, using for example titanium and Helium, respectively?

6
  • Before getting to the How to part, how will you root your old phone? If it involves unlocking bootloader, then your data is wiped on practically all devices.
    – beeshyams
    Dec 14, 2017 at 10:39
  • I dont know, what kind of root do you suggest if I am only interested to backup an app?
    – Bur Nor
    Dec 14, 2017 at 10:59
  • You would need to read up on XDA or on this site how to root your particular device - if it involves unlocking bootloader, you are out of luck
    – beeshyams
    Dec 14, 2017 at 11:00
  • @beeshyams unless it's the rare case where there exists a method to unlock the bootloader without a wipe. But as said, those cases are rare.
    – Izzy
    Dec 14, 2017 at 14:32
  • @Izzy: That's what I meant by practically
    – beeshyams
    Dec 14, 2017 at 14:44

1 Answer 1

2

No, restoring the app-data from a backup of an app that has allowBackup=false will not work:

Helium uses AFAIR adb and if the app declares allowBackup=false you can neither create nor restore data of that app via adb backup.

Titanium does only work if the phone is rooted independently if you want to create or restore a backup.

The only chance to create a backup of an app with allowBackup=false is if the app provides an own backup/restore function within the app.

2
  • Thanks for answering, why do you think this thing about allowBackup=false was not pointed out in the post I linked, because it seems an elementary advice before users pretend to backup/restore without root, isn't it?
    – Bur Nor
    Dec 14, 2017 at 15:30
  • Because the answer was created at a time when the allowBackup "feature" was nearly never used. Only recently app developers use this feature more often. May be this happens because of the automatic Google app-data to cloud backup is active in newer Android version unless you disallow backup.
    – Robert
    Dec 14, 2017 at 15:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .