transferring all settings, apps and data to replacement Nexus 6P? (fingerprint issue) - Nexus 6P Q&A, Help & Troubleshooting

I have a Nexus 6P, and need to transfer everything on it (settings, apps, data, etc.) to a new replacement device (also a 6P). Both devices are rooted and have TWRP installed.
I have a TWRP nandroid backup from the original device, and I'm having issues restoring it onto the replacement. When I restore the cache, data, and system backup options, everything seems to work perfectly except for the screen lock and fingerprint security settings. (In addition to the nandroid backup, I also copied the Internal Storage partition of the old device to the new one.)
When I restore the backup and boot up the new device, it has all my settings except for the fingerprints I had saved in Nexus Imprint. I have tried to set up the fingerprints again, and get a "fingerprint not enrolled" error that prevents me from registering my fingerprints again.
I've experimented a little, and have made two backups on the original device -- one with my original screen lock and fingerprint settings, and a second with the finger prints deleted and no screen lock. I've also tried deleting the *.key files locksettings.db from /data/system with no luck. I can access the new device and set up the screen lock again, but can't figure out how to register my fingerprints to use the sensor again.
Please help me get this figured out. I still have the original device on hand, if there's anything I need to change or I need to make a new backup with different settings. (I also have Titanium Backup pro, or could try Helium if that would help.) Ideally I'd like to find a way to transfer everything -- user apps (plus settings and data, as well as system settings -- without having to set everything up manually on the new device.
Thanks!

Related

Backup game data before factory reset

My battery died whilst some apps were updating and ever since I have been getting a lot of crashes and various other problems.
So I'm thinking of doing a factory reset but I have a couple of questions:
I have used the nexus root toolkit to make backups before but can anyone tell me if this backs up game data such as progress and in particular, in-app purchases?
Does restoring from this backup restore app settings or just put the apps back on?
shaneydroid said:
My battery died whilst some apps were updating and ever since I have been getting a lot of crashes and various other problems.
So I'm thinking of doing a factory reset but I have a couple of questions:
I have used the nexus root toolkit to make backups before but can anyone tell me if this backs up game data such as progress and in particular, in-app purchases?
Does restoring from this backup restore app settings or just put the apps back on?
Click to expand...
Click to collapse
Although it back ups the apps etc I had a few issues using the backup tool it was telling me to install apps and that info was missing etc. So the best thing to do is plug your unit into an PC and drag the file data (Android/data) onto your desktop, this way once you have factory reset and done your back up you can drag that file back onto your device and you will have all game progress saved. If you have an emulator installed some of the Memory cards are hidden in the file system meaning you will have to find them in FPse or whatever you use and back them up as well, to be honest I just use root browser and email them to myself :good:
Ugh! Pretty gutted now.
Decided to cover all bases. Did a regular backup using the toolkit. Did another backup with all the shared data using the toolkit and manually copied the data to my computer as suggested above.
After the factory reset I restored the full backup with shared data. Although some games have retained settings, some haven't and NONE have any of the in-app purchase stuff.
So copied back all the data I copied to PC and still nothing.
As an example, Bad Piggies HD. My son bought a load of in-app stuff after the PIN was reset (without my knowledge) and none of the stuff is there and all levels are locked again.
<EDIT>
Tsk! I've now discovered that the restore has only restored about half my apps, let alone settings!

fingerprint issue when restoring TWRP backup on new 6P - wanna transfer apps/settings

I have a Nexus 6P, and need to transfer everything on it (settings, apps, data, etc.) to a new replacement device (also a 6P). Both devices are rooted and have TWRP installed.
I have a TWRP nandroid backup from the original device, and I'm having issues restoring it onto the replacement. When I restore the cache, data, and system backup options, everything seems to work perfectly except for the screen lock and fingerprint security settings. (In addition to the nandroid backup, I also copied the Internal Storage partition of the old device to the new one.)
When I restore the backup and boot up the new device, it has all my settings except for the fingerprints I had saved in Nexus Imprint. I have tried to set up the fingerprints again, and get a "fingerprint not enrolled" error that prevents me from registering my fingerprints again.
I've experimented a little, and have made two backups on the original device -- one with my original screen lock and fingerprint settings, and a second with the finger prints deleted and no screen lock. I've also tried deleting the *.key files locksettings.db from /data/system with no luck. I can access the new device and set up the screen lock again, but can't figure out how to register my fingerprints to use the sensor again.
Please help me get this figured out. I still have the original device on hand, if there's anything I need to change or I need to make a new backup with different settings. (I also have Titanium Backup pro, or could try Helium if that would do it.) Ideally I'd like to find a way to transfer everything without having to set everything up manually on the new device -- user apps, settings, and data (as well as system settings like homescreen setup, widgets, etc.).
Thanks!
indiecognition said:
I have a Nexus 6P, and need to transfer everything on it (settings, apps, data, etc.) to a new replacement device (also a 6P). Both devices are rooted and have TWRP installed.
I have a TWRP nandroid backup from the original device, and I'm having issues restoring it onto the replacement. When I restore the cache, data, and system backup options, everything seems to work perfectly except for the screen lock and fingerprint security settings. (In addition to the nandroid backup, I also copied the Internal Storage partition of the old device to the new one.)
When I restore the backup and boot up the new device, it has all my settings except for the fingerprints I had saved in Nexus Imprint. I have tried to set up the fingerprints again, and get a "fingerprint not enrolled" error that prevents me from registering my fingerprints again.
I've experimented a little, and have made two backups on the original device -- one with my original screen lock and fingerprint settings, and a second with the finger prints deleted and no screen lock. I've also tried deleting the *.key files locksettings.db from /data/system with no luck. I can access the new device and set up the screen lock again, but can't figure out how to register my fingerprints to use the sensor again.
Please help me get this figured out. I still have the original device on hand, if there's anything I need to change or I need to make a new backup with different settings. (I also have Titanium Backup pro, or could try Helium if that would do it.) Ideally I'd like to find a way to transfer everything without having to set everything up manually on the new device -- user apps, settings, and data (as well as system settings like homescreen setup, widgets, etc.).
Thanks!
Click to expand...
Click to collapse
Use titanium backup for apps. And then just restore from last android backup during setup. You can choose to restore your 6P settings and which apps you use. It remembers where you put everything on MM. Even your folders and where they where. Then when it's done restore app data with TB.
Thanks, the built-in Android backup/copy from nearby device worked a lot better and more thoroughly than I'd assumed. Between Helium, TiB, and nandroid backups on hand just in case I need to get more restored for an app or two (which I can extract in Titanium Backup), I think I'm set.
I did realize that the fingerprint and/or screen lock information is saved somewhere in the data partition in TWRP backups. It'd be great if someone can find them and come up with a way to remove them before restoring. Since I was transferring between two of the same devices, using TWRP to restore a nandroid backup should've worked except for the lock features. I wouldn't have restored system (and especially not EFS and Vendor) onto the new device. But data is mostly stuff for user-setup, so it'd be good to be able to have the option to remove or replace the few device-specific contents so it can be used to restore after RMAs, etc. At least for Nexus devices, that'd be a nice way to do a one-shot backup and restore.
indiecognition said:
Thanks, the built-in Android backup/copy from nearby device worked a lot better and more thoroughly than I'd assumed. Between Helium, TiB, and nandroid backups on hand just in case I need to get more restored for an app or two (which I can extract in Titanium Backup), I think I'm set.
I did realize that the fingerprint and/or screen lock information is saved somewhere in the data partition in TWRP backups. It'd be great if someone can find them and come up with a way to remove them before restoring. Since I was transferring between two of the same devices, using TWRP to restore a nandroid backup should've worked except for the lock features. I wouldn't have restored system (and especially not EFS and Vendor) onto the new device. But data is mostly stuff for user-setup, so it'd be good to be able to have the option to remove or replace the few device-specific contents so it can be used to restore after RMAs, etc. At least for Nexus devices, that'd be a nice way to do a one-shot backup and restore.
Click to expand...
Click to collapse
If you were looking for just that its in
data/system/locksettings.db
If you erase that with twrp file manager after a restore you can log in and change your lock settings. There are more lock setting files in the same directory you can delete but the locksetting.db is what keeps you locked out even with the right pin/pattern/password. I have heard it doesn't play nice across devices though. So the route you took should be better IMO.
That only works when restoring a backup to same device. There is a hardware key for the fingerprint reader somewhere else in Data partition tied to device. So, like OP found, when restoring a nandriod to a new device the fingerprint reader won't register fingerprints or work at all bc the hardware is different.
Gizmoe said:
If you were looking for just that its in
data/system/locksettings.db
If you erase that with twrp file manager after a restore you can log in and change your lock settings. There are more lock setting files in the same directory you can delete but the locksetting.db is what keeps you locked out even with the right pin/pattern/password. I have heard it doesn't play nice across devices though. So the route you took should be better IMO.
Click to expand...
Click to collapse
I found that, and it works fine to access the device and setup the lockscreen. But the Nexus Imprint settings are separate from locksetting.db (and the *.key files in the same folder). I just wish there was a way to easily or automatically remove all of the security or lock settings from a TWRP backup and keep the other app and user settings and data. Maybe an option in TWRP or TiB for restoring a backup archive onto a new device that filters out anything that's unique to each device. Or prior to restoring the data parition, TWRP could merge any device-specific files/folders from the new device into an additional file to be kept with the original backup. Something like that.
Some things like call/SMS history, widgets, and a few app settings didn't transfer perfectly using the combo of google's Android backup and Titanium Backup that I went with. And a selective restore from TWRP files might not be hard to develop.
StephenMSmith said:
That only works when restoring a backup to same device. There is a hardware key for the fingerprint reader somewhere else in Data partition tied to device. So, like OP found, when restoring a nandriod to a new device the fingerprint reader won't register fingerprints or work at all bc the hardware is different.
Click to expand...
Click to collapse
I covered that. It's in the last part of what I wrote. But you were more elaborate.
---------- Post added at 11:18 AM ---------- Previous post was at 11:16 AM ----------
indiecognition said:
I found that, and it works fine to access the device and setup the lockscreen. But the Nexus Imprint settings are separate from locksetting.db (and the *.key files in the same folder). I just wish there was a way to easily or automatically remove all of the security or lock settings from a TWRP backup and keep the other app and user settings and data. Maybe an option in TWRP or TiB for restoring a backup archive onto a new device that filters out anything that's unique to each device. Or prior to restoring the data parition, TWRP could merge any device-specific files/folders from the new device into an additional file to be kept with the original backup. Something like that.
Some things like call/SMS history, widgets, and a few app settings didn't transfer perfectly using the combo of google's Android backup and Titanium Backup that I went with. And a selective restore from TWRP files might not be hard to develop.
Click to expand...
Click to collapse
Yeah security is good, but it's making the days of transferring data and modifying partitions much harder.
Gizmoe said:
I covered that. It's in the last part of what I wrote. But you were more elaborate.
---------- Post added at 11:18 AM ---------- Previous post was at 11:16 AM ----------
Yeah security is good, but it's making the days of transferring data and modifying partitions much harder.
Click to expand...
Click to collapse
I had these problems too. How exactly do I disable those security settings? In the my file manager, I can't seem to find what I need. Can someone please explain how I go about disabling these settings so I can make a nandroid? Thanks so much.
Not sure if this is the full list but works for me.
To clear fingerprint/Nexus Imprint data, delete/move to backup:
Code:
/data/fpc/ # this seems to be related to inability to add/remove imprints, perhaps the hardware ID, I haven't checked the contents of global.db
For each user (e.g. 0), delete/move to backup:
Code:
/data/system/users/0/fpdata/
/data/system/users/0/settings_fingerprint.xml # You can actually rename fingerprints without problems, this file seems to just reference the hardware storage
myshen said:
Not sure if this is the full list but works for me.
To clear fingerprint/Nexus Imprint data, delete/move to backup:
Code:
/data/fpc/ # this seems to be related to inability to add/remove imprints, perhaps the hardware ID, I haven't checked the contents of global.db
For each user (e.g. 0), delete/move to backup:
Code:
/data/system/users/0/fpdata/
/data/system/users/0/settings_fingerprint.xml # You can actually rename fingerprints without problems, this file seems to just reference the hardware storage
Click to expand...
Click to collapse
This works!!! Thank you!!!!
myshen said:
Not sure if this is the full list but works for me.
To clear fingerprint/Nexus Imprint data, delete/move to backup:
Code:
/data/fpc/ # this seems to be related to inability to add/remove imprints, perhaps the hardware ID, I haven't checked the contents of global.db
For each user (e.g. 0), delete/move to backup:
Code:
/data/system/users/0/fpdata/
/data/system/users/0/settings_fingerprint.xml # You can actually rename fingerprints without problems, this file seems to just reference the hardware storage
Click to expand...
Click to collapse
u are awesome
thanks
myshen said:
Not sure if this is the full list but works for me.
To clear fingerprint/Nexus Imprint data, delete/move to backup:
Code:
/data/fpc/ # this seems to be related to inability to add/remove imprints, perhaps the hardware ID, I haven't checked the contents of global.db
For each user (e.g. 0), delete/move to backup:
Code:
/data/system/users/0/fpdata/
/data/system/users/0/settings_fingerprint.xml # You can actually rename fingerprints without problems, this file seems to just reference the hardware storage
Click to expand...
Click to collapse
Just got an N6P RMA. Deactivated screen lock and fingerprints on the old device, then made a full nandroid backup in TWRP. Restored boot, system, data, and cache partitions onto the new device.
Initially the new phone couldn't register fingerprints after the restore. Deleted the folders that myshen suggested. Had to reboot, but was able to add my fingerprints with no problem after that. :good: Worked like a charm.
Thanks for the great tip!
myshen said:
Not sure if this is the full list but works for me.
To clear fingerprint/Nexus Imprint data, delete/move to backup:
Code:
/data/fpc/ # this seems to be related to inability to add/remove imprints, perhaps the hardware ID, I haven't checked the contents of global.db
For each user (e.g. 0), delete/move to backup:
Code:
/data/system/users/0/fpdata/
/data/system/users/0/settings_fingerprint.xml # You can actually rename fingerprints without problems, this file seems to just reference the hardware storage
Click to expand...
Click to collapse
I can't believe this isn't pinned. This is a major, major issue for anyone RMAing their phone or anything like that. Thank you so much for this solution, it was not easy to find!!!
kwest12 said:
I can't believe this isn't pinned. This is a major, major issue for anyone RMAing their phone or anything like that. Thank you so much for this solution, it was not easy to find!!!
Click to expand...
Click to collapse
It is pinned.
https://forum.xda-developers.com/nexus-6p/general/psa-twrp-backups-lockscreen-security-t3245070
after multiple attempts of using TB to restore phone, i did a twrp backup, and this worked. thank you
myshen said:
Not sure if this is the full list but works for me.
To clear fingerprint/Nexus Imprint data, delete/move to backup:
Code:
/data/fpc/ # this seems to be related to inability to add/remove imprints, perhaps the hardware ID, I haven't checked the contents of global.db
For each user (e.g. 0), delete/move to backup:
Code:
/data/system/users/0/fpdata/
/data/system/users/0/settings_fingerprint.xml # You can actually rename fingerprints without problems, this file seems to just reference the hardware storage
Click to expand...
Click to collapse
you got any idea where "fpc" went with android 9 on the pixel 3? i'm having the the same problem .. could only find "settings_fingerprint.xml" and deleted this, but problem persits .. thx in advance!
androidfreak11 said:
you got any idea where "fpc" went with android 9 on the pixel 3? i'm having the the same problem .. could only find "settings_fingerprint.xml" and deleted this, but problem persits .. thx in advance!
Click to expand...
Click to collapse
Amazing how we all run into issues which have been looked at by many people and solutions proposed over a period of time....
Anyhow, I faced the same issue. The trick as outlined above didn't seem to work at first.I did a 'find /data -name fpdata'. It turned its now living in a different folder: /data/vendor_de/0/fpdata. A quick 'mv /data/vendor_de/0/fpdata /data/vendor_de/0/fpdata.org' from root shell, followed by reboot fixed the issue.
There seems to be no 'fpc' folder anywhere in 9.
devsk said:
Amazing how we all run into issues which have been looked at by many people and solutions proposed over a period of time....
Anyhow, I faced the same issue. The trick as outlined above didn't seem to work at first.I did a 'find /data -name fpdata'. It turned its now living in a different folder: /data/vendor_de/0/fpdata. A quick 'mv /data/vendor_de/0/fpdata /data/vendor_de/0/fpdata.org' from root shell, followed by reboot fixed the issue.
There seems to be no 'fpc' folder anywhere in 9.
Click to expand...
Click to collapse
All I ever did is erase locksettings.db in /data/system and all was fine. Haven't used the 6p in a bit though.
Gizmoe said:
All I ever did is erase locksettings.db in /data/system and all was fine. Haven't used the 6p in a bit though.
Click to expand...
Click to collapse
I faced this issue on Pixel 3, where I restored from a /data backup from my earlier Pixel 3.

Best way to backup everything before flashing new ROM?

Hi everyone, so I was wondering what was the best way to backup everything, apps, apps' data and system settings before flashing a new ROM or the same but with new base (which usually requires a clean install).
I've been told that the TWRP backup isn't that great because it'll bring over the "junk" from the previous version, and it doesn't really backup photos for instance.
Samsung's SmartSwitch, at least for me, doesn't backup applications at all. I've tried the phone version as well as the computer one, the phone one crashes once it gets to the app part, the computer one finishes but then there are no apps backed up.
I tried Titanium Backup but I don't know exactly which is the best option, should I be backup just apps and data? Or system data as well? If the correct way is both and let's say that the new ROM is "more" debloated", wouldn't I be putting back in the bloatware by backing up system data as well?
As far as system is concerned I just want to backup something like alarms, memo, system settings like brightness and I think that's more or less it.
Thanks a lot to anyone that helps me, I've been making tons of backup recently trying to find the best solution but couldn't.
Personally I use Titanium Backup, including unlimited external AppData (see in Settings). By that I get at least 80% of my apps back with all the settings done. My photos/videos are stored on my SD and backupped via google photos.
Always looking for a better and easier way to do all this, but for the moment that works pretty well. Still takes 1 - 1&1/2 hours to switch rom, restore backups and set up all my apps that could not be backupped completely.

Q: Best Backup for Note3 Marshmallow Custom ROMs (backup EVERYTHING)?

After flashing and trying out many Custom ROMs on my Note3, I've been burned several times by having backups that don't work.
For example.
1. Had Lollipop 5.0.1 ROM, backed up everything to Samsung Smart Switch and Samsung Kies. Everything backed up, verified it manually. However, after upgrading to CustomROM MM 6.0.1 I cannot restore anything except contacts. No call log, no SMS, no apps and their settings (this takes most time to manually re-install). So Smart Switch and Kies are useless for me.
2. I also backed up everything in Titanium Pro when doing MM6.0.1 -> MM6.0.1 full wipe install. However, when restoring the backed up apps I had many force closes, many apps didn't work at all, many got their Google Play market issues borked (no amount of manual removal/reinstall helped this) and some could not be restored with my custom settings. So, Titanium Pro is near useless for me.
3. I also backed up to Google's own Marshmallow Backup feature. I got _most_ apps backed up, but not all of their settings and not all restored properly. Again, this is nowhere near 100% success and I had to manually re-install Launcher, it's desktop layout icons/positions, all widgets, all call logs, all SMS messages. Lots of work. This has been the "best so far, but nowhere near good" backup that I've been able to find.
So, is there anything out there on Android 6.x that just works? Always. No questions asked. Restores properly. Has clear reports on how/why/when it fails?
Helium Pro and MyBackup Pro both have tons of recent horrible user reviews. I'm not sure they are any better and rather not risk again all my apps/settings/data, because there's another for-pay software that almost works, sometimes
So, any recommendations?
How do you back all your:
- all contacts
- all call/text logs
- all SMS/MMS messages
- all user installed apps and their settings, all system settings
- all accounts and their passwords
- Launcher & setting and incl. desktop, lock screen, icon positions, app re-naming, etc. (I'm using Nova Prime)
Media files, incl. photos I can and always to backup manually.
Of course, I'm not looking to backup a whole ROM, incl kernel/system/baseband modem. Just the apps/settings and everything else.
Titanium backup can do all the things. Except backing up google password for example because I'm not sure which app is storing it.
Sent from my SM-G925F
Rosli59564 said:
Titanium backup can do all the things. Except backing up google password for example because I'm not sure which app is storing it.
Sent from my SM-G925F
Click to expand...
Click to collapse
Thanks, I already have Titanium Backup *root* and have tried it, but it fails on so many issues still.
Even the google backup is better, IMHO (i.e. more reliable on the average).
Never had TB pro fail over many many years .
That with a Nandroid/ Clockwork mod recovery covers all my needs .
Contacts i backup to sim card and Google.
Dont require text/ calls backup nor SMS messages .
>>
- all user installed apps and their settings, all system settings
- all accounts and their passwords
- Launcher & setting and incl. desktop, lock screen, icon positions, app re-naming, etc. (I'm using Nova Prime)>>>
Restored via Clockwork Mod backup restore data .

TiBu sucks? am I doing something wrong?

Hi, after rooting my phone with Magisk and having installed TiBu I proceeded to backup all user app + system data then I installed System app remover and removed some system apps that supposedly were "safe" to remove (briefing) but after a reboot I end up in a bootloop. I had to wipe everything and start from scratch (install ROM + Magisk)
On my first try I did not restore my data using Google + Samsung backup. I tried to restore my apps + system data using TiBu but after several hours of waiting to restore, it did not progress and stuck at 0%
On my second try I restored my data using google+samsung backup. After everything was set and ready I used TiBu's "Restore missing apps + all system data". This time TiBU did progress and completed the restore. After a reboot I start to notice that most of my apps/system settings customization are not even there... To name a few:
I had Full screen gestures instead of the navigation buttons. TiBu did not restore this
I had several accounts that TiBu did not restore (google, outlook, twitter, steam, blizzard, twitter and the list keeps going)
Simple things like Gboard was not even restored as default input method
Settings like one hand mode, edge lightning, quick panel layout, adaptive brightness, screen resolution (the list keeps going) were not restored the way I had them
TL;DR: TiBu did little to nothing despite having the pro version and the appropriate backup
My device:
Galaxy S10+ (Exynos SM-G975F)
Android 10 (G975FXXU3BSKO_G975FOWO3BSKO_ARO) patched with Magisk v20.2-11b7076a (20109)
I feel like I wasted my money..... worst spent 6+ dollars of my life
TiBu is a powerful tool if you know how to use it, in a majority of the cases restoring any complete system backup is always a bad idea. If you ever want to restore system data, you need to use nandroid backup or selected apps in TiBu. When you restore user apps (missing apps in your case) all their data is restored and restored to the level of functionality they had before backing up.
For full-screen gestures, it's likely some mismatch between existing settings and restored system settings.
As for the accounts, it was likely because of restoring the app itself, they would have been there even before you backed them up.
Again, for system settings, you can't rely on TiBu in One UI, restoring system settings barely works in stock android.
My workflow is like this, If I am just tinkering with the system but my phone is stable, I do a nandroid backup (backup in recovery) and try out the mod/feature if it suits me, I continue with it, if not I restore back.
If I know I want to format, I generally need to do this when I've messed up in the system and need to start over. I install all I need in TWRP, setup the system only restoring call and SMS backup from Samsung Cloud, restore missing apps and go through the phone settings and set them up again. This ensures no ****ups from the previous install come back and now that I end up doing it regularly, I can do all this under 30 mins.
firesword14 said:
TiBu is a powerful tool if you know how to use it, in a majority of the cases restoring any complete system backup is always a bad idea. If you ever want to restore system data, you need to use nandroid backup or selected apps in TiBu. When you restore user apps (missing apps in your case) all their data is restored and restored to the level of functionality they had before backing up.
For full-screen gestures, it's likely some mismatch between existing settings and restored system settings.
As for the accounts, it was likely because of restoring the app itself, they would have been there even before you backed them up.
Again, for system settings, you can't rely on TiBu in One UI, restoring system settings barely works in stock android.
My workflow is like this, If I am just tinkering with the system but my phone is stable, I do a nandroid backup (backup in recovery) and try out the mod/feature if it suits me, I continue with it, if not I restore back.
If I know I want to format, I generally need to do this when I've messed up in the system and need to start over. I install all I need in TWRP, setup the system only restoring call and SMS backup from Samsung Cloud, restore missing apps and go through the phone settings and set them up again. This ensures no ****ups from the previous install come back and now that I end up doing it regularly, I can do all this under 30 mins.
Click to expand...
Click to collapse
Thank you for taking your time to reply this thread, I am clearly new at this and I am barely scratching the surface. Gonna try and search more info about this "nandroid backup" (not even know what this is and how it works) you mention and see how it works. As for "TRWP" I read something about it but per the offical site: "Long story short, TWRP support for Android 10 is going to take a while." and that is why I did not pay attention to this app

Categories

Resources