Password won't work after TWRP restore - Nexus 9 Q&A, Help & Troubleshooting

I used TWRP 3.0.2.0 to backup my N9 a couple of days ago. Today I used the backup to restore my N9 but now my password doesn't work. I tried restoring again and it still does not work. Google Device Manager won't let me reset it. It says I already have a password lock. Is there anything I can do or do I have to factory reset?

In case you mean your lockscreen password not working after you restored your nandroid, that's normal and will happen everytime unless you completely remove the lockscreen pattern before making a nandroid backup. Nevertheless you can remove the lockscreen aftewards in TWRP by doing what the OP of this thread suggests: http://forum.xda-developers.com/nexus-6p/general/psa-twrp-backups-lockscreen-security-t3245070

Master05 said:
In case you mean your lockscreen password not working after you restored your nandroid, that's normal and will happen everytime unless you completely remove the lockscreen pattern before making a nandroid backup. Nevertheless you can remove the lockscreen aftewards in TWRP by doing what the OP of this thread suggests: http://forum.xda-developers.com/nexus-6p/general/psa-twrp-backups-lockscreen-security-t3245070
Click to expand...
Click to collapse
Thank you very much! This was the issue.

Related

Update ROM, keep all settings?

Hello,
im am using the latest official ROM by HTC (2.73.405.5).
Can i upgrade to another ROM (Modaco or smth else..) without losing all my settings, apps, messages and files?
Thank you,
m0jo.
..or can i create a nandroid backup, install a new rom, and if i dont like it, just roll back to my old rom with all my settings using nandroid restore?
*bump* sorry guys
if you have the recovery image, yes a nandroid backup will keep all your settings.
including app settings and everything, like EVERYTHING ahahah
If you read modaco's post with his rom, I think he says you dont have to "wipe" (from the recovery image) if you come from your version. (double check though).
so i think youd keep all if not then most of your settings if you dont wipe and just install the rom.
ps i thought i read somewhere that his rom might not be up to speed if you dont wipe first, but by all means, if you have a nandroid backup, then try it out!
(ps i found this out the hard way but updating back to ruu from htc website erases reovery image) not that this is even that relevent
just make a nandroid backup, then update without wiping. if it doesn't work restore the backup and find another way or fix the problem, if it works be happy...
thank you.
but next time pls tell me that all my settings ARE gone AND my phone loses a lot of features so i have to reinstall the official ROM... :/
i cant see how you lost your settings if you didnt do a wipe... but then thats why we said do a nandroid backup! so restore to that from your recovery image
all my settings are gone, i had to configure my phone like i started it the first time.. The only thing that was not lost, were my apps. But some of them are gone though.
m0jo said:
all my settings are gone, i had to configure my phone like i started it the first time.. The only thing that was not lost, were my apps. But some of them are gone though.
Click to expand...
Click to collapse
then you did something wrong. if you don't wipe then your settings won't be deleted. modaco's custom rom 3.0 does NOT delete your settings during installation, i have done it like 30 times. also you were told several times to make a nandroid backup. if you did you can restore it and EVERYTHING is back like before. if you didn't do it is entirely your fault, don't blame us.
and what features exactly are you missing? mcr3.0 is full of features, you are eather dumb, blind or drunk

[FIXED] Password Issue After Full Restore with TWRP.

Hello all,
Last i encountered a issue regarding the password right after a reboot to system when i fully restored with TWRP.
I was really furious becouse i had no idea how to fix this.
After a couple of tries i have found a fix.
When you are about to do a nandroid backup,
Stay in system,
Go to settings-> lockscreen-> password-> And choose none.
I repeat none. If you dont you will encounter the problem.
Now you can go to TWRP and do a nandroid backup. Do whatever you want and after you did what you want, and you want to restore, you can do it without any problems. Reboot and then you can go set a security again.
paulo boë said:
Hello all,
Last i encountered a issue regarding the password right after a reboot to system when i fully restored with TWRP.
I was really furious becouse i had no idea how to fix this.
After a couple of tries i have found a fix.
When you are about to do a nandroid backup,
Stay in system,
Go to settings-> lockscreen-> password-> And choose none.
I repeat none. If you dont you will encounter the problem.
Now you can go to TWRP and do a nandroid backup. Do whatever you want and after you did what you want, and you want to restore, you can do it without any problems. Reboot and then you can go set a security again.
Pls hit thanks if this helped. That way i can see how many people got the same problem as me
Click to expand...
Click to collapse
If you forgot the unlock password, you can try this: [Guide]Hacking And Bypassing Android Password/Pattern/Face/PI. There are more similar guides.
#Henkate said:
If you forgot the unlock password, you can try this: [Guide]Hacking And Bypassing Android Password/Pattern/Face/PI. There are more similar guides.
Click to expand...
Click to collapse
Its not about forgetting... Ill explain tomorrow. In my country its 2.28 am.
#Henkate said:
If you forgot the unlock password, you can try this: [Guide]Hacking And Bypassing Android Password/Pattern/Face/PI. There are more similar guides.
Click to expand...
Click to collapse
There is this weired glitch. That for example your code is 1234, you make a nandroid backup, install a new rom, then decided that that rom wasnt good and you want to restore. After restore you reboot to system and then when you type in you passcode, 1234, it just gives you an error that the code is wrong.
paulo boë said:
There is this weired glitch. That for example your code is 1234, you make a nandroid backup, install a new rom, then decided that that rom wasnt good and you want to restore. After restore you reboot to system and then when you type in you passcode, 1234, it just gives you an error that the code is wrong.
Click to expand...
Click to collapse
Well, the purpose of the guide ive shared is to remove lockscreen password / pattern and it is helpful in the case youve mentioned.
But yeah, the workaround youve mentioned is okay too.
Yesterday, ive just experienced this on my Huawei Nova when i restored my backup. After reboot, i have to type the lockscreen password as i cant unlock with fingerprint first time after reboot and i was typing the right password, but it was telling me that its wrong. Whats strange is that ive restored the backup 2-3 times before and there wasnt any problem with it.
And ive just used those commands (like in that guide):
Code:
adb shell
su
cd /data/system
rm *.key
reboot
Then the password was gone. However, i still had to type the password to set up a new one and it turned out that i could type anything (even "1") and then i could set up a new password.

Can anyone help.

Not long ago I started a thread about how good this phone was and how I have never had a problem...….ironically....I just broke it
I hadn't installed a new rom in over a year, so I updated TWRP to the latest, took a full backup, and installed the firehound rom, after the install the phone booted to a pure black screen, like screen off black, so went back to recovery, wiped it and restored my backup, only now when it starts I get a screen of text in another language have no idea, but there is a button I have no choice but to press, when I do, it reboots to recovery and does something and I noticed it wiped data, then booted again back to the same screen of foreign writing....the first line says encriptacao sem exito.
in recovery it says something about krypt keeper I think it was
anyone have any ideas?
What version of twrp ?? Maybe your backup has become corrupted and you will have to do a clean installation, even having to format the internal memory. Once I backed up a rom along with the pin code and after installing a rom and did not like it, to return the backup my device simply did not unlock even though entering the password correctly.
Thanks for the reply, I fixed it this morning. I know about not making backups with passwords and stuff set so always take them off before a backup, not sure what TWRP version but it is the latest as of yesterday. and the backup was taken with and restored in the same version right before flashing. I think somehow my internal storage had been encrypted, as you said, I had to wipe everything internal and formatted data, then installed new rom and all is good now, luckily thanks to the google overlords, nothing of any importance was lost as it is all backed up to them, only thing is it takes a little longer to get all my apps back after losing my titanium backup flashable user apps zip. but oh well haha.

Data transfer trough TWRP between 2 devices.

Welcome to my nightmare part 3.
Everything started in this thread (https://forum.xda-developers.com/ga...-ui-update-causes-brick-t3938799#post79711614)
Then I moved to backup issues (https://forum.xda-developers.com/galaxy-s9-plus/help/google-drive-backup-backup-t3940831)
Today I tried to restore my backup on other device to see if it's Google issue or my device only.
Turns out that I was able to easily restore sgs9 backup on Xiaomi note 5.
So no matter what I tried to flash on my device it's impossible do restore trough Google drive backup directly.
I made a stupid thing since I'm hopeless and nobody answers my questions as they don't exist anywhere in internet.
I took the Xiaomi and made twrp data backup of restored apps in hope I can restore it through twrp on sgs9+
Well it ended with bootloop.
Next thing was factory reset through TWRP and it helped a bit.
Passing welcome screen on sgs9+ I used another Gmail account with different backup and it showed up. So I did factory reset again as it was faster than ending the initial setup.
Now it bootloops constantly, I made a clean flash of lineage vendor and gapps and it doesn't help at all.
Wtf I'm supposed to do?
Flash stock Oreo trough Odin and start again?
I'm losing my mind as there's no way to get my apps and data back.
As it looks that apps backup made with my device doesn't work for this device only. No matter the software stock or lineage

Question [Issue] Can't apply a lockscreen password after restoring DATA from TWRP backup.

Hey, so basically just title. Trying to set a password on my phone, but it doesn't work.
I have used the TWRP and the stock recovery to wipe and format all data. Everything is stock except for the fact I have TWRP installed.
After doing a fresh wipe + reformat, phone works exactly as expected. You can set a pincode, and do everything you want with a fresh phone. To remove variables in a scientific manner, I've also tried flashing in TWRP, then boot back to system, and trying to set a passcode again. Still works. Then boot into TWRP, and only restore back in the DATA partition, and bam. Passcode can no longer be set. So the issue definitely only occurs after using TWRP to restore the data partition.
Trying to set a password seems to work as expected at first; Enter the pincode once, then enter the pincode again a 2nd time to verify. At first everything looks good, but the pincode never actually got applied. Repeat infinitely, no password ever actually sticks. Can't register a fingerprint or face unlock, as without a password, the phone prompts an error that you need a password before you can use those features. I've included a picture of the password menu after trying to set a password; Notice how it says "turn ON password", where as normally its meant to say turn OFF password, thus implying no password was ever set (because it wasn't)
Anyone happen to know why this is and/or how to solve it? Phone works perfectly fine, it's just scary not being able to lock a phone with your personal stuff on it.
Also, seeing as my end goal is simply getting a phone with my data on it, is there a way to flash in the data partition using fastboot? Usually it'd be a simple command like "fastboot flash data data.img" but in this case, TWRP saves the DATA partition (many gigs) in multiple chunks, named data.f2fs.win000, data.f2fs.win001, etc etc. Theres a good dozen or so files and not sure how to flash them all in at once.
Any solutions still appreciated! I guess i could redownload all my apps and set them up manually from a wiped stock phone again, but that's a good few hours of fiddling that I'd like to avoid.
Zombnombs said:
Any solutions still appreciated! I guess i could redownload all my apps and set them up manually from a wiped stock phone again, but that's a good few hours of fiddling that I'd like to avoid.
Click to expand...
Click to collapse
fastboot flash data data.f2fs.win000
And so on for win001
Restore partationsif there any data image file then flash that file
pankspoo said:
fastboot flash data data.f2fs.win000
And so on for win001
Restore partationsif there any data image file then flash that file
Click to expand...
Click to collapse
i thought flashing data.f2fs.win000 would overwrite the old data? So if i then flash 001 and 002 wouldn't that erase the older data?
Zombnombs said:
i thought flashing data.f2fs.win000 would overwrite the old data? So if i then flash 001 and 002 wouldn't that erase the older data?
Click to expand...
Click to collapse
NO twrp decided big data partition in to. 000,0001,002 chunks and restore it to specific chunk.
As per my idea just try see what's happens
pankspoo said:
NO twrp decided big data partition in to. 000,0001,002 chunks and restore it to specific chunk.
As per my idea just try see what's happens
Click to expand...
Click to collapse
So let me see if i undesrtand you correctly. You're saying i should do "fastboot flash data data.f2fs.win000", wait and let that fully flash in, then do "fastboot flash data data.f2fs.win001", wait for that, and keep going for every single data file?
From my understanding, the flash command will overwrite the old data with the new data, hence isn't that kind of pointless?
What do you mean by
pankspoo said:
Restore partationsif there any data image file then flash that file
Click to expand...
Click to collapse
What data image files are you talking about?
There is obviously the dozen or so data win.000, to win001 and so on from the nandroid backup that we are trying to restore. Is there something else?
Show me u rs data backup pic

Categories

Resources