[Q] Google 2 Factor Authentication with Google Authenticator - Verizon HTC One (M8)

I haven't flashed a different ROM in a while, but when I went to my "Verizon stock" nandroid image the other night to update, I noticed that I couldn't sign in to google. This reminded me that I have 2 factor auth turned on with the google authenticator. I was wondering if anyone else that flashes different ROMs all the time are in this configuration and how you handle it. (I'm not looking for people who don't do this to answer)
I figured I could use adb and push titanium as soon as I flash a new ROM and then restore my google authenticator backup so I would be able to get the secondary code, but I'm not sure if it would be that easy. I wanted to avoid turning off the authenticator while I try other ROMS.
Thanks
Maj

Are you using the text message 2 factor authentication? I use this all the time and haven't had a problem with other Roms. Have you tried logging in through the devices browser?

wtoj34 said:
Are you using the text message 2 factor authentication? I use this all the time and haven't had a problem with other Roms. Have you tried logging in through the devices browser?
Click to expand...
Click to collapse
No, I'm using the "Google Authenticator" app but that is a decent idea switching to text messages during the testing of other roms. I could try the browser option but when it asks for the authenticator code, if I dont have the app running correctly, I wont be able to get in.

I see. Switching to text authentication might be your best bet, but would a method such as this work for you?
http://forum.xda-developers.com/showthread.php?t=2745680
This is a flash able zip template. You download it, put whatever apks you want in the specified folder (its in the op). You could then make a habit of flashing this after you flash a ROM while you're still in recovery. You could throw titanium backup and the google authentication apks in there

Google also has the option of generating offline authentication passwords. They only work 1 time each but you can keep generating them. It's handy to have a list of these stashed somewhere for when you don't have access to your authenticator.
https://support.google.com/accounts/answer/1187538?hl=en&ref_topic=2784804

I have the Google Authenticator app installed on my phone and on my tablet. So when the phone is being flashed, I still have access.
Google says you can't install it on multiple devices, but you can. Just need to scan the same bar across all your devices so they have the same time sync. I currently have it on four devices. Works fine.

Related

[Q] App Restore problem - Please Help!

I cant seem to completely restore apps after flashing a new ROM. I will put in my password at first boot and I select Restore. It starts restore and then after one or 2 installation, it starts throwing errors saying there isn't enough space on the card. I know one solution is to clear the market data and then it installs fine. However, Once the app restore errors out, there is no way to start it again. So, Is there any way this is possible? I cant install any new ROMs since my apps wont install . It used to work just fine!
Any help is appreciated.
Thank you.
It is an issue with the size of the market cache. If you are simultaneously downloading too many large programs you are destined to get the "out of memory" error. I have had this on every Android phone I have owned and there is no way to get around it. Limit downloads to two or three at a time max and you should be okay. Yes once the market bombs out on restoring your apps, it is gone. But what I do is log into the Android Market on my web browser and you can see all the apps you have ever downloaded to any device under your account settings. You can then request the app download and install from the web. Just make sure your phone is on and connected to Google data. If it is not, Google will install the apps the next time your phone is logged into their servers.
Did you try APP MONSTER?
Sent from my LG-P999 using xda premium

Auto Install All My Apps

Is there a way to force auto install all my apps from the Play Store? It would be easier to have them all install and then use an Auto Uninstaller to remove the ones I don't really want than it is to download them all one by one.
I know sometimes when you flash a new rom or something, it takes over and auto downloads them all for you right away (Cyanogen for examples does that) but the ROM I'm on now never had that prompt come up.
Thanks for the help
You can use Titanium Backup Pro. Once all your apps are backed up with it you can batch install ALL of them (all apps together with the paid version, one by one with the free). It has other features tho to use other than that but its good for batch installing apps.
manimmal said:
You can use Titanium Backup Pro. Once all your apps are backed up with it you can batch install ALL of them (all apps together with the paid version, one by one with the free). It has other features tho to use other than that but its good for batch installing apps.
Click to expand...
Click to collapse
yea i know about titanium but i was hoping there was a way to do it from the play store rather than from backed up apks (that way we're at the same time using the most up to date versions of each app). like the way cyanogenmod automatically downloads every app you own from the play store right away the first time you open the play store.
You can use app2zip from the play store. It put whatever apps you want into a flashable zip so you can easily flash in cwm.
https://play.google.com/store/apps/details?id=scd.app2zip
Sent from my DoubleShot Lite using Tapatalk 2
polarbearmc said:
Is there a way to force auto install all my apps from the Play Store? It would be easier to have them all install and then use an Auto Uninstaller to remove the ones I don't really want than it is to download them all one by one.
I know sometimes when you flash a new rom or something, it takes over and auto downloads them all for you right away (Cyanogen for examples does that) but the ROM I'm on now never had that prompt come up.
Thanks for the help
Click to expand...
Click to collapse
All of the stock-based ROMs I've used (currently using MikTouch 0.7 based on the OTA 1.63.531.2 ROM) have done this. As soon as I sign into my Google account, it begins syncing the contacts and downloading all my apps. That's why I typically let the phone sit for about 15-20 minutes after flashing a ROM and signing in.
Well it's all good. I already have pretty much everything installed one by one. I'm using Virtuous Inquistion and it never started to sync all my old apps, but it's all good. Everythings working great. And I'll back it all up with titanium for next time around.
polarbearmc said:
Well it's all good. I already have pretty much everything installed one by one. I'm using Virtuous Inquistion and it never started to sync all my old apps, but it's all good. Everythings working great. And I'll back it all up with titanium for next time around.
Click to expand...
Click to collapse
I don't know how I did it but I think it was something like this. You just hit back up on the normal settings and google will restore it?
I've flashed my second ROM after I hit backup and all the apps started downloading from the PlayStore after the first log in. Does anyone know how to officially do this?
I know that this can be done using ADB (don't know how to use it but I know how to use the I9300 Int Tool Kit).
Going to hold off trying app2zip until the developer emails and confirms SuperNexus and Paranoid Android 4.1.2 on Siyah 1.7 is supported..It doesn't look to stable!
:highfive:
Btw, there is this: http://forum.xda-developers.com/showthread.php?t=1531880 if you didn't know..
I was wondering about this as well: recently wiped and flashed a stock ROM and when I launched the Play Store for the first time, it began downloading all the apps that were in my account. I tapped 'cancel' as I didn't wan't all of them right away, then I had to install them one by one.
So it would be good if you could control this behaviour - for example to be able to check which apps you want downloaded and to install them automatically, yet in a bit more controlled manner.
killchain said:
I was wondering about this as well: recently wiped and flashed a stock ROM and when I launched the Play Store for the first time, it began downloading all the apps that were in my account. I tapped 'cancel' as I didn't wan't all of them right away, then I had to install them one by one.
So it would be good if you could control this behaviour - for example to be able to check which apps you want downloaded and to install them automatically, yet in a bit more controlled manner.
Click to expand...
Click to collapse
i dont know how to make mine install all the apps. i woudl like it to so i dotn have to take up the space backing them all up. download the apps at once from play, then restore teh data from the backup. shrugs
birddseedd said:
i dont know how to make mine install all the apps. i woudl like it to so i dotn have to take up the space backing them all up. download the apps at once from play, then restore teh data from the backup. shrugs
Click to expand...
Click to collapse
I came to the conclusion that I'm okay with Titanium Backup for that purpose - bought the pro license a while ago - it can batch restore what you choose. It's slower than I expected at that, but at least you can leave the phone while the job runs.
for some reason this time all my apps auto installed.
shrugs. think i need to flash again, ill backup apps jsut in case, but hopefuly itl auto install again and i can delete the backup and only backup the data, not the apps.
Best way I have found to do this is to go to Settings > Backup & reset
Once there delete the existing account that exist.....
Wait a few minutes and it'll prompt you to put a backup account in....then reenter the same account.
This will prompt google to look at all your apps you currently own and the ones on your device and if not there will download it for you.
I discovered this when I factory reset my phone and when I restarted my phone it connected to a wi-fi network that required a sign-in process and as a result google attempted to download but was unable to.
Hope this helps.
Has anyone found any solution? Cause I have Titanium backup pro but I have read that it is not the best thing to restore apks... better reinstall them (especially for battery life)... There applist apps in market but they just store the link they don't download them automatically....
And I have apps on 2 seperate google accounts so just restoring during first sign in doesn't work well
Titanium backup is great. i use it. works great for installing apk's. but if you want to do it through the app store you have to let it run right when you first have the option. if you try to to it later youll have to do them all individualy
birddseedd said:
Titanium backup is great. i use it. works great for installing apk's. but if you want to do it through the app store you have to let it run right when you first have the option. if you try to to it later youll have to do them all individualy
Click to expand...
Click to collapse
With free license, unfortunately, yeah, that's it, but PRO allows you to batch install and restore data for a chosen amount of apps. It also allows a creation of a recovery-flashable image, which is, from my experience, the fastest to deploy, but takes a while to create.
killchain said:
I came to the conclusion that I'm okay with Titanium Backup for that purpose - bought the pro license a while ago - it can batch restore what you choose. It's slower than I expected at that, but at least you can leave the phone while the job runs.
Click to expand...
Click to collapse
Well I install several ROMs and I found out that sometimes the Google Play store messes up before restoring all your apps. What I do is got into setup and remove my google account and then just readd it and off it goes downloading and syncing all your apps.
telamon100 said:
Well I install several ROMs and I found out that sometimes the Google Play store messes up before restoring all your apps. What I do is got into setup and remove my google account and then just readd it and off it goes downloading and syncing all your apps.
Click to expand...
Click to collapse
I've yet to try to see what happens if I detach apps from Play Store using TB. If it would prevent Play from rushing to download all the stuff (usually 100+ apps) when I first boot up a new install, it would be nice.

[Resolved] WOW!!! Backup and Restore!

I am just amazed. IF this has been available to samsung users or if it's a ICS function, I'm still blown away but it.
If you are having problems, and want to do the Windows thing of restarting from scratch, take advantage of the included Outstanding Backup and Restore.
I had been suggested doing the backup and restore by Samsung for my wifi connect/reconnect issue with "N" (no, it doesn't seem to have resolved it) but I was hesitant to go through the PAIN of reinstallation of all my apps (about70).
I decided to bite the bullet and reset the phone. I rooted too so I expected the worse. Well, let me say, that as I am writing this, the phone is automatically reinstalling my apps after signing in to Google and my wifi network. This restored my entire set of apps in only a few minutes (I have 50 mb internet and 5Ghz N, so the phone does my full bandwidth).
It's still rooted. A new Android ID was issued (TI offered to restore the old one). The About Phone/Status page still says Modified at the bottom.
Data from apps like my FlightTracker have no information so that will have to be re-entered. Passwords for apps and sync (or specific sync settings like NOT syncing GDrive or Gmail,) are not restated.
If for whatever reason you decide to do this, don't hesitate.
google
it's not an ICS specific function but more of a google play (formerly google market) function.
Google play knows which apps you have installed from them and on which device.
When you reset your device and input your google credentials, it will propose you to put back the previously installed apps.
Just surf to
play . google . com
log on and it will reflect what you already have installed, it also knows what you have paid for (you can install a paid app on multiple devices and only have to pay once) and at the bottom in "my orders and settings" you can see the devices you own and give them a name.
you can also review and install applications remotely from there. Click on install and your device will start downloading and installing it.
Well coming from a GB device I never saw/realized that the market can install all the apps automatically.
Sent from my SAMSUNG-SGH-I747 using xda premium
Since I rooted my phone I wiped and installed it countless times with roms (cyanogen mostly) from android 2.2 to the current 4.0.4
I always check that automatic backup is enabled in the relevant setting but I never seen it working.. I thought it was supposed to restore apps, wifi passwords and so on when, after a wipe, I configure my Google account, but no luck, it never worked for me.
Sent from my HTC Desire using xda app-developers app

Full app-data transfer or backup

I know this is a tired topic, and it seems without legit root + TB that it really isn't doable...still, I'm very curious if there are strides made that maybe I'm not aware of. All of my searches, regardless of device, seem to be more or less the same; you can get a good chunk between apps like Helium, SmartSwitch, and ADB backups, but none of those will be all-inclusive or really even close to that.
For those seasoned in this, is this just the status-quo at this point? Devs, is it safe to assume that without root, one simply cannot backup app data verbatim?
I ask for the obvious reason: I don't necessarily recall every user ID and password, all settings, etc that I set up for a given app. Especially with the introduction of finerprint readers. I seldom have to type in passwords anymore, between saved credentials in Chrome and established logins on individual apps.
I'm really hoping it isn't a far stretch to find a way to transfer, if not backup this data completely.
https://play.google.com/store/apps/details?id=com.koushikdutta.backup
Works on majority of apps, make sure its set to app data only, otherwise it won't backup. If it nags about some desktop password remove pin/pattern or any other screen locks.
If you want to backup sms/mms/call logs use https://play.google.com/store/apps/details?id=com.rerware.android.MyBackup
peachpuff said:
https://play.google.com/store/apps/details?id=com.koushikdutta.backup
Works on majority of apps, make sure its set to app data only, otherwise it won't backup. If it nags about some desktop password remove pin/pattern or any other screen locks.
If you want to backup sms/mms/call logs use https://play.google.com/store/apps/details?id=com.rerware.android.MyBackup
Click to expand...
Click to collapse
I've used Helium in the past, and it wasn't all-inclusive. If I do app-data only, will it backup app data that includes login info and whatever settings I've configured per app?
You really don't have much choice, this is the only app that can backup data, you can try smart switch but I didn't have much luck with it. Just try it and hope for the best.
disturbd1 said:
I know this is a tired topic, and it seems without legit root + TB that it really isn't doable...still, I'm very curious if there are strides made that maybe I'm not aware of. All of my searches, regardless of device, seem to be more or less the same; you can get a good chunk between apps like Helium, SmartSwitch, and ADB backups, but none of those will be all-inclusive or really even close to that.
For those seasoned in this, is this just the status-quo at this point? Devs, is it safe to assume that without root, one simply cannot backup app data verbatim?
I ask for the obvious reason: I don't necessarily recall every user ID and password, all settings, etc that I set up for a given app. Especially with the introduction of finerprint readers. I seldom have to type in passwords anymore, between saved credentials in Chrome and established logins on individual apps.
I'm really hoping it isn't a far stretch to find a way to transfer, if not backup this data completely.
Click to expand...
Click to collapse
Are you coming from a non samsung phone? When I had to return my 1st Note 7 I backed it up to the samsung cloud and when I received the 2nd Note 7 I restored from the cloud and it did the screens, apps, data and everything. I was surprised and also happy with it.
I currently have the S7 Edge. Samsung cloud is enabled on it. I sincerely can't be the only one who is looking for this ability without root though.
Im also searching, but for per app as helium doesnt work for me
ggrant3876 said:
Are you coming from a non samsung phone? When I had to return my 1st Note 7 I backed it up to the samsung cloud and when I received the 2nd Note 7 I restored from the cloud and it did the screens, apps, data and everything. I was surprised and also happy with it.
Click to expand...
Click to collapse
Sir when you did this did you have to login each app again or it was automatically logged in with your details please
iamviveksri said:
Sir when you did this did you have to login each app again or it was automatically logged in with your details please
Click to expand...
Click to collapse
I can't remember as it's been well over a year. If you have Samsung Pass on your phone and you back it up I would think it would log you in to your individual apps.

Farewell to titanium backup. Looking for alternative.

Hi.
Just had and upgrade from OnePlus 6t to OnePlus 7 pro. I was thinking, that it's gonna to be easy walk in the park using my old friend Titanium backup. Ow how I was wrong. I used "migrate system data" checkbox checked
Every third user app force closes after restore from titanium backup
All user settings bluetooth / wifi pairings was was not restored successfully. Didnt even tried messages and call logs, as I read in play store comments, that it's also a failure
Box.com backups of app got's corrupted. Downloaded backups verification fails with "error with properties of backup". In details it shows: has data:yes, has app:No. But folder size is same as on source system. Simple to test on single device: backup any app, upload to box.com. Uninstall app and delete it's backup. Sync back from box to titanium backup. And this app is not restoreable anymore. Same test succeeds with google drive. Wrote support, but no answer. Ended moving files between devices via oneplus file manager file dash.
Folder organizer labels does not work anymore
How I can backup and move titanium settings and labels from one device to another? "Auto sync tb settings" checkbox does not generate any file on source device for me
UI issues trimming part of the labels / texts
And it's not only me. See one of the most thanked comment on play store from 2019-03-18:
App data backup / restore works, but that's about it. * It only backs up the main .apk file in a split apk. Restoring a backup of split apk will most likely cause the app to crash.Google is pushing app bundles hard, so these will become more and more common. * It doesn't backup Messages / call logs correctly (DB location moved to /data/user_de/0 sometime in Kit-Kat? This backs up the old location) * Backups occasionally fail reporting no space left, despite having more than enough available * Lots of UI issues, such as dark text on dark buttons - nearly illegible * Developer is unresponsive to support emails
Click to expand...
Click to collapse
I don't want to say farewell to my old beloved friend, but lack of support and such issues is not acceptable for me. Any recommendations for reliable backup app?
I think I found alternative: Swift backup.
Supports all new android features (split apks + permision restore). Also app has extremely active and supportive telegram group with app author in constant contact with users. Requested one feature, and it got implemented in a few moments!
I also now start running into hanging restores using trusty old Titanium Backup. So it stopped working properly. I indeed reckon it is due to split apks. So I am now also stuck wondering whether to ask for updating TB or move over to using something else. I will have a look at your found alternative, thanks.
Necrothreading here . But in 2020 Titanium still freezes on split APKs and doesn't support DE app data. I also took a look at Swift but immediately rejected it because it won't run even in a basic mode without GApps and a sign-in - useless when testing developer ROMs where the gapps might be broken.
Any other 2020 root backup solutions that work?
Those apps are not taken care because people don't root their phones nowadays. Would recommend you to use TWRP for backup.
had the same issue, but I fixed it with disabling this android setting: "Verify apps over USB". This setting is under system > developer options, so you will have to enabled developer mode..
I found this advice elsewhere, so I thought I'd put it here too. I'm looking for an alternative for titanium, (I'm happily using SMS Backup and Restore), but haven't found anything I like just yet.
Mr. Fitzie said:
had the same issue, but I fixed it with disabling this android setting: "Verify apps over USB". This setting is under system > developer options, so you will have to enabled developer mode..
I found this advice elsewhere, so I thought I'd put it here too. I'm looking for an alternative for titanium, (I'm happily using SMS Backup and Restore), but haven't found anything I like just yet.
Click to expand...
Click to collapse
cash_h said:
Those apps are not taken care because people don't root their phones nowadays. Would recommend you to use TWRP for backup.
Click to expand...
Click to collapse
Swift Backup
And
Helium
Sent from my SM-S767VL using Tapatalk
Swift is perfect
Sent from my OnePlus7Pro using XDA Labs
Mr. Fitzie said:
had the same issue, but I fixed it with disabling this android setting: "Verify apps over USB". This setting is under system > developer options, so you will have to enabled developer mode...
Click to expand...
Click to collapse
I disabled "Verify apps over USB" and it allowed my hanging restores to complete.
HOWEVER, the apps in question then crashed every time I tried to open them. So not truly a working solution.
dadnammit said:
I disabled "Verify apps over USB" and it allowed my hanging restores to complete.
HOWEVER, the apps in question then crashed every time I tried to open them. So not truly a working solution.
Click to expand...
Click to collapse
did you take a look at logcat for details of the crash? I think I had similar issues, and it turns out I needed to change permissions/ownership on a single directory (/sdcard?). I had to do this once, and then all subsequent restores have been working fine. it's quite easy to do with "adb logcat" and then just try to start the app.
The best thing I did was not to try to restore everything on the new phone, but just selectively restore apps that I missed from the old phone over time. apps like signal/whatapp need specialized restore processes anyway due the encryption, and the storage of data outside of the app data location.
hth/
spart0n said:
Swift is perfect
Sent from my OnePlus7Pro using XDA Labs
Click to expand...
Click to collapse
SWIFT requires GAPPS. If you're trying to move away from Google, it won't work.
I have noticed on my own phone that Titanium Backup often does not restore the APK properly. However, I have had great success with it in restoring app data and I can always download and install the app from APKMonk, APKMirror F-Droid or my backup APK. Unfortunately, without GAPPS, the Titanium Backup PRO key will not work and the free app is too limiting. Titanium Backup does have the capability of using a license file and I have tried multiple times to contact the programmer to acquire or re-buy the license file but I have heard nothing back from them since I started pestering them a month ago, not from their TitaniumTrack website, not from the legacy page and not by direct email to Mr. Bourquard. I'm going to keep trying but there have been no updates to the app in Google Play since 24 Nov 2019 (the TitaniumTrack website has a change log but no update date). I hope he isn't dead ...
Shadeclan said:
SWIFT requires GAPPS. If you're trying to move away from Google, it won't work.
I have noticed on my own phone that Titanium Backup often does not restore the APK properly. However, I have had great success with it in restoring app data and I can always download and install the app from APKMonk, APKMirror F-Droid or my backup APK.
Click to expand...
Click to collapse
The problem of apps with Split APK's makes it harder to make your own backup APK, and if you can't find the full APK on a mirror, you can be in trouble.
I have found a good solution using SAI ( https://play.google.com/store/apps/details?id=com.aefyr.sai&hl=en&gl=US ).
I backup the app with TiB (which, as you say, does a good job still with the app data). And I backup the APKs with SAI. Between the two, I can rollback/restore/etcetera.
dadnammit said:
The problem of apps with Split APK's makes it harder to make your own backup APK, and if you can't find the full APK on a mirror, you can be in trouble.
I have found a good solution using SAI ( https://play.google.com/store/apps/details?id=com.aefyr.sai&hl=en&gl=US ).
I backup the app with TiB (which, as you say, does a good job still with the app data). And I backup the APKs with SAI. Between the two, I can rollback/restore/etcetera.
Click to expand...
Click to collapse
That's not a bad idea.
I recently migrated away from Google and have /e/OS loaded on my phone without GAPPS. I can use Aurora Store to access Google Play but SAI is also available in the /e/ store so I'll get it from there. I had looked at and rejected SAI because it doesn't save app data but I'll try combining the two.
I'm not sure why Swift Backup is not talked about more often. It's one of the best backup app out there. Way better than what Titanium offers.
Well, unfortunately Titanium hasn't been updated in ages...
simplydat said:
I'm not sure why Swift Backup is not talked about more often. It's one of the best backup app out there. Way better than what Titanium offers.
Click to expand...
Click to collapse
Just wish the app would grab the data, too.
Shadeclan said:
Just wish the app would grab the data, too.
Click to expand...
Click to collapse
I also search a new Backup ap and tried swift.
I tried it with some apps and the datas are also restored
deadmeiker said:
I also search a new Backup ap and tried swift.
I tried it with some apps and the datas are also restored
Click to expand...
Click to collapse
As I explained earlier, Swift requires the Google Play store, which I purposely do not have installed on my phone.
Have you guys not heard of oandbackup ? It's not updated since 2019 but I think it does a pretty good job, the github page also mentions about how to restore the files manually and setting security context etc. I haven't tried it but I am about too.
Shadeclan said:
As I explained earlier, Swift requires the Google Play store, which I purposely do not have installed on my phone.
Click to expand...
Click to collapse
It is no longer mandatory to have GApps, though it is still mandatory to sign to google account. You can still do local back up

Categories

Resources