Related
I ran into this last night, so I wanted to post this so others don't run into as well. Yesterday I was going to flash a few rows to try them out, so I made a backup in TWRP. Later when I restored the backup, it asked for my pin once the phone booted. I entered in my pin, but it said it was the wrong one. I tried restoring the backup again, but same error kept occurring. Eventually I had to do a factory reset. I'm guessing that there is no way to restore a pin, pattern, etc. So before you make a backup, be sure to turn off any lock screen security measures so you don't run into the same problem!
Problem
If you have a TWRP backup and you had a secure lock screen, when you restore it will not be the same pin/pattern/password. You will not be able to get past the lock screen.
Also if you try to restore a back up from one phone to another, it can render the fingerprint scanner useless until you factory reset. You'll get red text on your lockscreen that states "Fingerprint hardware not available"
Solution
Restore your backup. Then while still in TWRP go delete /data/system/locksettings.db
This should let you swipe to unlock your phone. Your fingerprints will still be saved and can be used once you set up a secure lock screen
Problem
If you made a backup of one Nexus 6P, and got a new Nexus 6P and restored the old phone's backup, then it may be a little different to fix.
Solution
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
Thanks to @mikexda for providing us with a solution.
Thanks to @jparnell8839 for providing the feedback on restoring backups.
Thanks to @myshen for providing a solution for when you restore a backup to a new 6P
I just ran into the same thing! Caused a great deal of grief! Oh well!
Are your phones encrypted?
tech_head said:
Are your phones encrypted?
Click to expand...
Click to collapse
no my phone is not encrypted
Just tested this out and had the same problem. It does work OK if you remove security before the backup. For those keeping track, I am encrypted.
midas69 said:
Just tested this out and had the same problem. It does work OK if you remove security before the backup. For those keeping track, I am encrypted.
Click to expand...
Click to collapse
So when you say remove security, you mean Screen lock = None, yes?
m0h1t said:
So when you say remove security, you mean Screen lock = None, yes?
Click to expand...
Click to collapse
Think its PIN, Password, and or Finger Print.
scoot05redss said:
I just ran into the same thing! Caused a great deal of grief! Oh well!
Click to expand...
Click to collapse
Tell me about it... I was frustrated as hell!
tech_head said:
Are your phones encrypted?
Click to expand...
Click to collapse
My phone is not encrypted.
midas69 said:
Just tested this out and had the same problem. It does work OK if you remove security before the backup. For those keeping track, I am encrypted.
Click to expand...
Click to collapse
Looks like it doesn't matter whether you are encrypted or not.
m0h1t said:
So when you say remove security, you mean Screen lock = None, yes?
Click to expand...
Click to collapse
Yes precisely! So as long as you remove it before the backup you are fine. Any back ups that had lock screen security will be useless and you will be unable to get back in.
Now what about the people that will miss this thread? I know I almost did. Going to forward this in the root guide and hope to see it there.
I've made this thread a sticky temporarily.
One should do their homework before messing with devices.
Sticky will help, I hope!
Bummer. Do we know what's breaking it and what needs to be fixed, e.g. TWRP or something else?
sirxdroid said:
Bummer. Do we know what's breaking it and what needs to be fixed, e.g. TWRP or something else?
Click to expand...
Click to collapse
Looks like twrp which I'm sure they are looking at...
Interesting. Curious, if you restore a back up and re-enable the fingerprint, do you have to set it up again or does it save that info? Might lead credence to Jerry's paranoia about fingerprints not really being secure.
nrfitchett4 said:
Interesting. Curious, if you restore a back up and re-enable the fingerprint, do you have to set it up again or does it save that info? Might lead credence to Jerry's paranoia about fingerprints not really being secure.
Click to expand...
Click to collapse
From my experience, once you disable the lock screen security, the finger prints are deleted and you would have to set them up again. So there would be no way for them to survive a back up.
Ok, I just restored from a nandroid TWRP Backup and I re-entered my pattern fine? Maybe it's a pin issue?
You can't use your Google account to reset the PIN?
Syystole said:
Ok, I just restored from a nandroid TWRP Backup and I re-entered my pattern fine? Maybe it's a pin issue?
Click to expand...
Click to collapse
So, at this point, it looks like the pattern restores fine but the pin won't and will lock you out. Can we confirm this?
jackdubl said:
So, at this point, it looks like the pattern restores fine but the pin won't and will lock you out. Can we confirm this?
Click to expand...
Click to collapse
Strange because the pattern really is a PIN, it gets converted into a PIN anyway from what I recall.
Pattern fails also. Found out yesterday the hard way.
Hi, I've got an old Z Ultra that I'd like to use as a tablet. It's the perfect size and spec for me. I can use it for browsing at home and then slip it in my pocket if I wanna take it with me.
There's a problem though - there's a screen lock on it and I can't for the life of me remember the pattern. Surprisingly, there's no backup PIN or recovery option.
So, I know this sounds really dodgy, but I really want to bypass the lock WITHOUT deleting the data. It'll have all my old text messages from my late father and I can't bear to just wipe them.
Any suggestions?
daaabs said:
Hi, I've got an old Z Ultra that I'd like to use as a tablet. It's the perfect size and spec for me. I can use it for browsing at home and then slip it in my pocket if I wanna take it with me.
There's a problem though - there's a screen lock on it and I can't for the life of me remember the pattern. Surprisingly, there's no backup PIN or recovery option.
So, I know this sounds really dodgy, but I really want to bypass the lock WITHOUT deleting the data. It'll have all my old text messages from my late father and I can't bear to just wipe them.
Any suggestions?
Click to expand...
Click to collapse
Is the bootloader unlocked or locked?
Bootloader locked
If you had it connected to wifi or a sim inserted with google logged in then maybe it pops up here https://www.google.com/android/devicemanager
Guide here: https://www.ifixit.com/Guide/Android+Device+Manager+-+Bypass+Screen+Lock+on+any+Android+Device/34600
If not signed in to google or able to connect to wifi or sim..bad luck. You can try hack it with some recovery software
Try dr.phone as mentioned here: https://www.androidphonesoft.com/resources/forget-lock-password-android.html
Its a dodgy software but perhaps worth a try if you have a spare computer to mess around with.
Bootloader unlocked
You can boot a twrp recovery and backup the file mmssms.db and mmssms.db-journal in /data/user_de/0/com.android.providers.telephony
You can also first make a nandroid backup in twrp and then extract the database from the backup as mentioned here:
https://forum.xda-developers.com/cr...de-extract-restore-contacts-sms-call-t3259492
And here is some more random guides compiled in a thread:
https://forum.xda-developers.com/showthread.php?p=49666433
Hi,
this update (V30 to pie, recieved today) just destroyed all of my home screen configurations (folders, arrangements, widgets, links to websites) -> really annoying.
Also my navigation bar cannot be set to black anymore -> any help?
system seems very laggy, hope that sorts after all app updates are through.
this is not a nice expierence.
carlaron said:
Hi,
this update (V30 to pie, recieved today) just destroyed all of my home screen configurations (folders, arrangements, widgets, links to websites) -> really annoying.
Also my navigation bar cannot be set to black anymore -> any help?
system seems very laggy, hope that sorts after all app updates are through.
this is not a nice expierence.
Click to expand...
Click to collapse
From what I noticed, the navigation bar can be set black with a black theme, however, it still becomes white in certain apps (eg. Chrome).
I didn't see a way to make it black universally.
carlaron said:
Hi,
this update (V30 to pie, recieved today) just destroyed all of my home screen configurations (folders, arrangements, widgets, links to websites) -> really annoying.
Also my navigation bar cannot be set to black anymore -> any help?
system seems very laggy, hope that sorts after all app updates are through.
this is not a nice expierence.
Click to expand...
Click to collapse
After a big update like from Oreo to Pie is always very advisable to factory reset the phone. You'll be surprised.
Edvin73 said:
After a big update like from Oreo to Pie is always very advisable to factory reset the phone. You'll be surprised.
Click to expand...
Click to collapse
surprised of how awfull it is to restore an android phone?
there are so many apps (like home banking) that are linked to the phone and cannot be backed up... I try to avoid that. But I guess it is time to switch to Samsung S10 soon was hoping to wait a little longer till the prices go down.....
but the pie update also seems to drain my battery even faster. what a mess
carlaron said:
surprised of how awfull it is to restore an android phone?
there are so many apps (like home banking) that are linked to the phone and cannot be backed up... I try to avoid that. But I guess it is time to switch to Samsung S10 soon was hoping to wait a little longer till the prices go down.....
but the pie update also seems to drain my battery even faster. what a mess
Click to expand...
Click to collapse
Well, the battery drain is just another reason to factory reset and it's kinda ironic that you'll have to set your new phone anyway.I told you to factory reset because I solved a lot of problems on my phones through the years after major updates. It's not mandatory but very advisable. At the end it's your phone and your will to do it and set it again.
Edvin73 said:
Well, the battery drain is just another reason to factory reset and it's kinda ironic that you'll have to set your new phone anyway.I told you to factory reset because I solved a lot of problems on my phones through the years after major updates. It's not mandatory but very advisable. At the end it's your phone and your will to do it and set it again.
Click to expand...
Click to collapse
it is probably what I have to d. but it sure makes it easier to move away from a 15 month old phone.... I just didn't expect LG pushing me away. I was loyal for some time, and I really think this is one of the most beautiful phones of its time; but it sure does not perform well (anymore).
is there any "small" cache reset that will not delete everything?
in case it is interesting for someone:
Last SOT test from a few days ago (before the update) was 4:45 with normal use, mostly indoors, which is not great, but good enough, since I use my phone alot and sometimes charge 2-3 times a day.
will try a regular test with pie in a few days, but I am too busy to have it under similar conditions...
Edvin73 said:
After a big update like from Oreo to Pie is always very advisable to factory reset the phone. You'll be surprised.
Click to expand...
Click to collapse
This. It's a new UI and UX, clean install is not difficult thanks to Google backup. I will definitely do a clean install.
Trickymaster said:
This. It's a new UI and UX, clean install is not difficult thanks to Google backup. I will definitely do a clean install.
Click to expand...
Click to collapse
a clean install is actually difficult; (as well as to switching to other brand phones)
- my messaging apps loose all there messages (some have manual backup)
- banking apps loose there unique keys -> need to be reauthorized with the bank
- two factor auth apps need to carefully be restored
...
of course if you have a few plain games that are cloud synced, this does not matter; but if you actually use the phone it is not so easy to restore all data; (especially ensuring that nothing of importance gets lost)
I will go as far as wipe cache partition i/o factory reset. Every phone has it flaws at some point.
sure.
its just bad that there is not a streamlined backup method; LGs "mobile switch" is a mess, and gets stuck regularly on messaging apps with many files(?)
best results with preinstalled apps was actually with Huawei/honor; they seem to work quite well (but I don't like there aggressive power management)
I don't like to reset a phone before I have everything setup in a different phone (2 factor etc...) because I would hate to loose data and money.
so now I either get a cheap crap phone; or another LGV30 (cheap as hell at the moment, but getting old), or a new samsung, which I didn't plan on before autumn and new phones released....
carlaron said:
a clean install is actually difficult; (as well as to switching to other brand phones)
- my messaging apps loose all there messages (some have manual backup)
- banking apps loose there unique keys -> need to be reauthorized with the bank
- two factor auth apps need to carefully be restored
...
of course if you have a few plain games that are cloud synced, this does not matter; but if you actually use the phone it is not so easy to restore all data; (especially ensuring that nothing of importance gets lost)
Click to expand...
Click to collapse
I had the same struggles you have. :laugh:
Ultimately I had to give up and switch back to Android Messenger. It backs up all messages. For 2-factor authentication I use Authy so it can restore my codes from the cloud. But you are correct, I use Android on my Chromebook and setup a 2nd two factor method (email) in my accounts before I reset my phone. I'm annoyed by games, I had to restart so many already even though Google Play Games promises to save the progress. Hope you find another way.
carlaron said:
it is probably what I have to d. but it sure makes it easier to move away from a 15 month old phone.... I just didn't expect LG pushing me away. I was loyal for some time, and I really think this is one of the most beautiful phones of its time; but it sure does not perform well (anymore).
Click to expand...
Click to collapse
This is pretty much mandatory on any device. When flashing a new OS zip in TWRP, it's always a clean install. 7-8 and 8-9.
Even if not rooted and take an OTA, you either have to let the update settle or just factory reset. I've seen MANY people throughout the years on XDA complain about the newest OS version.
The general reply will always be factory reset.
Sent from my LG-H932 using XDA Labs
---------- Post added at 04:27 AM ---------- Previous post was at 04:24 AM ----------
carlaron said:
I don't like to reset a phone before I have everything setup in a different phone (2 factor etc...) because I would hate to loose data and money.
so now I either get a cheap crap phone; or another LGV30 (cheap as hell at the moment, but getting old), or a new samsung, which I didn't plan on before autumn and new phones released....
Click to expand...
Click to collapse
You are very misinformed here. 2factor will just send you a text. If you are that worried, turn it off till you setup the device again.
Sent from my LG-H932 using XDA Labs
BROKEN1981 said:
You are very misinformed here. 2factor will just send you a text. If you are that worried, turn it off till you setup the device again.
Click to expand...
Click to collapse
I have severa websites that are set up to use 2 factor authentification. If I delete the app before I remove 2factor on those sites or set it up new, I am looked out.
If I loose the key to interpret the text correctly I am ****ed
Where am I misinformed? elaborate
I noticed that the PIE update fixed issues with the camera; that pictures would not get saved, when closing the app (too fast) after taking a picture.
carlaron said:
I noticed that the PIE update fixed issues with the camera; that pictures would not get saved, when closing the app (too fast) after taking a picture.
Click to expand...
Click to collapse
And we told you to stop doing that. The fix for that was to leave the camera open in the background, until the camera finished its process.
https://forum.xda-developers.com/lg-v30/help/lg-v30-photos-saving-quick-exit-camera-t3894278
You were taking a picture and immediately force closing the camera before the HDR function could finish.
You also complained about the January update to AOD.
---------- Post added at 06:08 AM ---------- Previous post was at 06:03 AM ----------
carlaron said:
I have severa websites that are set up to use 2 factor authentification. If I delete the app before I remove 2factor on those sites or set it up new, I am looked out.
If I loose the key to interpret the text correctly I am ****ed
Where am I misinformed? elaborate
Click to expand...
Click to collapse
You are misinformed because pretend this is a new phone you are setting up.
How would you go about that? You would use the same two factor authentication on the new phone. You can't say two factor authentication wouldn't work on new phone or nobody could ever get a new phone...
Plus, there are SMS Backup and restore apps. WhatsApp has cloud backup if you turn it on Many messaging apps like Hangouts sync across different devices.
If you're rooted, there's TWRP and Titanium Backup -- where you can restore data to ALL apps.
carlaron said:
Hi,
this update (V30 to pie, recieved today) just destroyed all of my home screen configurations (folders, arrangements, widgets, links to websites) -> really annoying.
Click to expand...
Click to collapse
1) I use Nova launcher and periodically export configuration backups to Gmail or Google Drive. You can also store them on your device, like microSD card. At any point in time, on this phone or another, then you can download and restore those home screens/desktops. I have 5 screens with apps arranged by most use (home screen), spreading out then by categories.
2) A little too late now, but Google also makes backups of your home screen configuration and when you Factory Reset your phone or buy a new phone, and you first sign in, Google will ask if you wish to restore that most recent configuration remembered from your most recent device. However, by this point in time, Google has now backed up the "new" Pie configuration you do not want. This is why you should have factory reset at the very beginning.
So... No one mentioned LG backup here? I find it suprisingly good
Mrxyzl said:
So... No one mentioned LG backup here? I find it suprisingly good
Click to expand...
Click to collapse
It really is!!
Sent from my LG-H932 using XDA Labs
I have a stock VZW Galaxy S10 Plus purchased from Verizon, after an update to may Android security I noticed close to all my apps now had permissions to modify system, as well as many switches "Greyed out" and certain functions trying to force me to use WiFi. I have been dealing with it for over a month, in recovery the text at the top is displayed 2 times. And at the bottom it says Missing 2fs file... I have factory reset the phone more times than I can count, and with a root folder spy app I am able to see some folder that I am pretty sure should not be in a stock rom. (Lazy script) ... it was showing enterprise billing , and other things....
Things changed after using Verizon sw app connect to my PC. But I am sure the problem is still there.
T
I know **""this is not Possible """** is the standard response. Verizon was no help, Samsung sent me to **UBreak I fix** nothing changed. And the last option was to send it in to Samsung..... I want to know what/how it happened. I always have my phone with me. I am happy to share any screen captures, and I'm trying to post some screen recordings of me scrolling through the folders on my phone. I also have trace logs. But not even sure how to read it.
This is wrecking my life . More that the Covid shut down. .....
I want to find out how it was done, just replacing the phone will not satisfy me anymore.......
Oh, I also have 2 Sledge, And 2. Snote3.... that now look like they have problems......
I know this is the place to find the answer. Help me get to the. *Root * of the problem??? Lol.... please.
since the bootloader is locked,
it seems theres no way to unlock the phone anymore.
I have used this pattern for more than 3 years
so it can not be wrong.
It got corrupted. Could be a single event upset in the data partition. If it reoccurs after a factory reset either the firmware has been corrupted or there's been a hardware failure.
Malware is also a possibility.
blackhawk said:
It got corrupted. Could be a single event upset in the data partition. If it reoccurs after a factory reset either the firmware has been corrupted or there's been a hardware failure.
Malware is also a possibility.
Click to expand...
Click to collapse
I haven't reset yet, trying to find ways to save data
but it's miui with locked bootloader
so it seems theres no way
sigh
ccaye said:
I haven't reset yet, trying to find ways to save data
but it's miui with locked bootloader
so it seems theres no way
sigh
Click to expand...
Click to collapse
That's one reason I don't set device locks.
also tried to clear the data cache but with stock recovery
it seems no way to do it
blackhawk said:
That's one reason I don't set device locks.
Click to expand...
Click to collapse
yeah i agree
after search on google found out there are alot ppl exprienced same bug as i had
but on xda seems like no one had this before
it seems the bug happens on various brand
should just unlocked the bootloader once i have the phone
ccaye said:
yeah i agree
after search on google found out there are alot ppl exprienced same bug as i had
but on xda seems like no one had this before
it seems the bug happens on various brand
should just unlocked the bootloader once i have the phone
Click to expand...
Click to collapse
That would make the phone less secure. You still would have the issue of file encryption to deal with.
Androids rarely crash but it happens.
A drop or near lighting strike can also destroy data. Redundantly and regularly backing up critical data is the only sure way to prevent data lose.
blackhawk said:
That would make the phone less secure. You still would have the issue of file encryption to deal with.
Androids rarely crash but it happens.
A drop or near lighting strike can also destroy data. Redundantly and regularly backing up critical data is the only sure way to prevent data lose.
Click to expand...
Click to collapse
true but i more worry about app's data
some apps just way too hard to back up and restore
i was going to try use EDL method to pull the file out
and reflash the phone then put the file back in
but i haven't try it
ccaye said:
true but i more worry about app's data
some apps just way too hard to back up and restore
i was going to try use EDL method to pull the file out
and reflash the phone then put the file back in
but i haven't try it
Click to expand...
Click to collapse
If a data critical app doesn't allow for import/export of its data, I don't use it.
I use Poweramp and especially Color Note because of this. Text and Gmail are cloud backup. Less data critical apps don't concern me. I never install any social media, shopping or banking apps.
I make installable copies of all my app; no Playstore needed for a reload. Everything I need for a full reload is on my SD card, that in turn is redundantly backed up. Current load on this device will be 3 yo this June. I don't upgrade or update the firmware and rarely any of the apps.
The result is a very stable, fast Android that needs minimal maintenance.... more playtime, less downtime.