News for hackers. Stuff that matters.
Re:Google warns that ADB backup, restore may be removed in a... by kevin_b_er on Friday May 10, 2019 @12:07PM (#19879106)
This would mean that google intends to make it fundamentally impossible to backup an android phone, complete with app settings.

Why, I'm unsure, but I figure it part of the increasing lock-in and removal of openness in Android that Google has been trending toward for a few years now.

Re:Google warns that ADB backup, restore may be removed in a... by mmastrac on Friday May 10, 2019 @12:29PM (#19879358)
> fundamentally impossible to backup an android phone

... to anything other than Google services, I'd wager.

It's been tough backing up Android phones as-is. I have yet to figure out a way to get codes out of the Google Authenticator app other than via sqlite on a rooted phone.

Re:Google warns that ADB backup, restore may be removed in a... by nyuszika7h on Friday May 10, 2019 @05:39PM (#19882498)
It can definitely be annoying when you have many codes already stored in it, but the long term solution is: don't use Google Authenticator. There are better alternatives such as andOTP / FreeOTP, Authy, or password managers such as 1Password or Bitwarden (paid version) can handle TOTP codes too.
Re:Google warns that ADB backup, restore may be removed in a... by PascalW on Friday May 10, 2019 @12:44PM (#19879551)
Doesn't help you now but I can highly recommend AndOTP [1]. It's an opensource OTP app with support for encrypted backups/restores for your 2FA codes.

[1] https://github.com/andOTP/andOTP

Re:Google warns that ADB backup, restore may be removed in a... by e40 on Friday May 10, 2019 @01:12PM (#19879907)
I have switched Android phones about 10 times and I have never successfully used the Google-made backup. Here's why, I think:

Old phone is on Android N. Backups happening regularly by their service. Phone breaks or I get a new phone. New phone is running Android N-1. In the setup process it tries to use the backup and it fails, of course, because it's from a newer version of Android. Every. Single. Time. What I should have done, and I ALWAYS FORGET: do not login to your account until you have fully updated the phone to the latest Android version!

Re:Google warns that ADB backup, restore may be removed in a... by pyt on Friday May 10, 2019 @02:13PM (#19880601)
Google disabled backups for their Authenticator app so I don't think they will ever let you export the secrets.

I wrote an application to automate OTP secret extraction for just about every app out there after trying to migrate a few dozen tokens from Google Authenticator to AndOTP. You might find it useful: https://github.com/puddly/android-otp-extractor

Re:Google warns that ADB backup, restore may be removed in a... by ganeshkrishnan on Friday May 10, 2019 @02:45PM (#19880925)
Dont you need root access to get the app private data?

I switched from Microsoft to Google because they advertised as having backup and now I am stuck with Google authenticator without any backup.

The only saving grace for Android was adb backup and restore but Google is shutting that down

Re:Google warns that ADB backup, restore may be removed in a... by pyt on Friday May 10, 2019 @04:28PM (#19881921)
You do need root access, unfortunately. Even backing up the filesystem with `tar` is troublesome: https://github.com/dlenski/tetherback

I really hoped Google would have allowed some way to locally make full Android backups by now but I guess that's not compatible with their business model.

Re:Google warns that ADB backup, restore may be removed in a... by derekp7 on Friday May 10, 2019 @12:36PM (#19879458)
That part may be by security design. The purpose of "something you have" is that it is something that can't be trivially copied.

My workaround is to record the codes offline before entering them in Authenticator (essentially printing them out and putting in my fire safe). This also allows me to easily put them into other devices (such as upgrading phones, or on a Yubikey).

Re:Google warns that ADB backup, restore may be removed in a... by marcosdumay on Friday May 10, 2019 @01:24PM (#19880050)
It can not be trivially copied because it's on my pocket. One can improve on this, and compose with a necessary password, that I know, and erasing the data after too many wrong guesses.

How does making it hard for me to get my data from my phone improve on my security?

Re:Google warns that ADB backup, restore may be removed in a... by maxerickson on Friday May 10, 2019 @06:15PM (#19882782)
Because if you can't get the data off your phone, you can't undermine the part where it can not be trivially copied because it's on your pocket.

Once they get the data off a phone the user can upload it to reddit or whatever stupid idea someone might have.

Re:Google warns that ADB backup, restore may be removed in a... by ignoramous on Friday May 10, 2019 @12:35PM (#19879438)
If you're on a rooted Android device, you could backup the entire img with Nandroid [0], or backup apps and data using Titanium Backup [1].

[0] https://android.stackexchange.com/questions/104852/how-do-i-...

[1] https://play.google.com/store/apps/details?id=com.keramidas....

Re:Google warns that ADB backup, restore may be removed in a... by kelnos on Friday May 10, 2019 @12:41PM (#19879515)
I would suggest using another app like Authenticator+ that has encrypted cloud sync. It's saved me a ton of trouble over the last few years.
Re:Google warns that ADB backup, restore may be removed in a... by williamscales on Friday May 10, 2019 @01:18PM (#19879977)
I'm not sure about Authenticator+ as I haven't used it, but I did use Authy. I ran into nearly the same issue when I wanted to migrate to Bitwarden - it was difficult to extract my TOTP secrets. I ended up having to write some Javascript code that would extract them for me.

Do use an encrypted cloud sync but make sure that it doesn't create a similar problem.

Re:Google warns that ADB backup, restore may be removed in a... by kelnos on Monday May 20, 2019 @04:35AM (#19958466)
In this case, Authenticator+'s cloud sync is just an encrypted sqlite DB (with dirt-simple schema) that gets uploaded to Google Drive (I believe there are also other options for upload target). So it's pretty trivial to migrate to other services.
Re:Google warns that ADB backup, restore may be removed in a... by scarface74 on Friday May 10, 2019 @04:31PM (#19881942)
Why would that be impossible? You’ve been able to do that since the first iPhone was introduced in 2007 with iTunes. You’ve been able to do iCloud wireless backups since 2011.
Re:Google warns that ADB backup, restore may be removed in a... by aequitas on Friday May 10, 2019 @01:14PM (#19879927)
They need to step up their backup game. It's the only thing I truly miss about switching to android. With iOS you could always restore your device to what it was before. But with android, even with the Google backup service there are so many gaps left. Homescreen icons organisation, app settings, even android settings themselves or not always properly saved or restored.
Re:Google warns that ADB backup, restore may be removed in a... by Morialkar on Friday May 10, 2019 @01:53PM (#19880400)
The hard part with Android, especially in regards to icons organization, is that this is entirely Launcher dependent, so it would more be the job of your launcher's developers to allow those data to be properly backed up.
Re:Google warns that ADB backup, restore may be removed in a... by aequitas on Friday May 10, 2019 @04:11PM (#19881758)
I've been only using stock android phones, first nexus now Nokia, no custom launcher or anything. If even the Android core developers don't do it right what can you expect from 3rd party?
Re:Google warns that ADB backup, restore may be removed in a... by techntoke on Friday May 10, 2019 @12:35PM (#19879437)
I really like the idea of using adb to manage a phone from a terminal. Please don't do this!
Re:Google warns that ADB backup, restore may be removed in a... by gruez on Friday May 10, 2019 @12:25PM (#19879312)
Of course, Google's backup service still works. How nice of them!
Re:Google warns that ADB backup, restore may be removed in a... by olejorgenb on Friday May 10, 2019 @12:21PM (#19879252)
Most apps I tried to backup using adb has already disabled backup themself..
Re:Google warns that ADB backup, restore may be removed in a... by PascalW on Friday May 10, 2019 @01:12PM (#19879903)
Indeed, this is a huge pain. ADB is, as far as I know, the only generic backup method that does not require root. The fact that it doesn't work with a lot of apps is highly frustrating.
Re:Google warns that ADB backup, restore may be removed in a... by ncmncm on Friday May 10, 2019 @12:58PM (#19879725)
Has adb backup/restore actually worked for you? Not for me. Backup, sure. Restore, not so much.
Re:Google warns that ADB backup, restore may be removed in a... by curiousgal on Friday May 10, 2019 @12:16PM (#19879200)
And that, is why I root my phones.
Re:Google warns that ADB backup, restore may be removed in a... by sschueller on Saturday May 11, 2019 @05:37AM (#19885382)
Saddly more and more people are buying phones that can't be rooted like Huawei phones.

Once they stop with software updates you can toss the phone in the trash.

Re:Google warns that ADB backup, restore may be removed in a... by TheRealPomax on Friday May 10, 2019 @12:19PM (#19879233)
That statement makes literally no sense. ADB still works just fine, so either you meant "and that is why I will be rooting my phones in the future", or this is absolutely not why you root your phones.
Re:Google warns that ADB backup, restore may be removed in a... by mixedCase on Friday May 10, 2019 @12:36PM (#19879454)
I think it's fairly obvious the poster meant that as in that kind of behavior, that takes power away from the user as opposed to exactly that particular reason.
Re:Google warns that ADB backup, restore may be removed in a... by bitmage on Friday May 10, 2019 @11:10PM (#19884292)
ADB is also much less flexible. I have Titanium Backup making nightly backups, and then FolderSync automatically pushes them to a SFTP server I run. If something should happen to my phone, I'll lose one day of data. This is all automatic, so I don't have to think about it. A backup like ADB that requires manual intervention is likely to be only done irregularly, and Murphy says that you'll lose your phone just after forgetting to make a backup for weeks. Being able to do this is the only reason I bother to root my Android.
Re:Google warns that ADB backup, restore may be removed in a... by londons_explore on Saturday May 11, 2019 @02:41AM (#19884946)
This will be because you can't backup DRM keys and other hardware secrets, and that makes life hard for app developers.
Re:Google warns that ADB backup, restore may be removed in a... by Fire-Dragon-DoL on Saturday May 11, 2019 @05:41PM (#19888549)
So i'm supposed to waste a day setting up my phone now... Amazing
Re:Google warns that ADB backup, restore may be removed in a... by dplgk on Friday May 10, 2019 @06:40PM (#19882944)
Cool. I recently used adb to backup a phone that's screen broke.
Re:Google warns that ADB backup, restore may be removed in a... by debatem1 on Friday May 10, 2019 @01:52PM (#19880381)
Good. Backup and restore has always been clumsy and broken.
Re:Google warns that ADB backup, restore may be removed in a... by bpye on Friday May 10, 2019 @09:20PM (#19883847)
I would personaly much rather they fix backup and restore rather than removing the feature. I do not understand why an application can opt-out from an encrypted backup. The lack of good backup/restore for Android sucks.