Removed unlock pattern, but data is still encrypted! - Xiaomi Mi A2 / 6X Questions & Answers

On my phone I had an unlock pattern. I removed it in the settings, but lineageos still asked for the pattern. Unfortunately now the old pattern did not work anymore. I still could unlock the phone with fingerprint. I tried to remove the pattern again, but for this action the old pattern was needed and did not work. After the phone ran out of battery I restarted the phone. Now I can not even unlock the phone with fingerprint, because the first unlock after boot needs to be with the pattern.
I tried to decrypt my data with twrp, but it also needs a pattern, which doesnt work anymore.
Is there any chance to get my data back?

Related

[Q] phone locked need help

my phone is locked and im not sure what i can do. i forgot my pattern and when i tried to put in my password it says it was wrong. i got to change my password on google but it still wont let me in with the new password. any help with this would be greatly appreciated.
If you had enabled usb debugging, then you can remove the pattern lock using ADB. If you hadn't enabled usb debugging then the only option is the forgot my password, which will email the pattern to you.
Like you said it is not working for you, the extreme method would be to perform a factory reset. You will lose all the data in the phone (not sd card). Use factory reset as last resort only..
thats the problem i can no longer get to any pattern lock. it wont let me. and its not accepting my gmail and password for some reason. im not sure if i can do anything.
unlock bootloader and flash sense rom over without wipe

Can't get into Nexus 6 that has encryption

So I am a developer, making a lockscreen app. Part of the app allows it to set a system lock for double protection. Upon doing this, it set PIN needed for phone to start up. The pin I had set wouldn't work so I entered it in too many times and it wiped my device. The weird thing is, the default password "0" worked in TWRP but NOT to boot Android. Now, after it wiped my device, it boots up to the Android screen, and tells me to enter my PIN again.. It still doesn't work, but tells me in -1 attempts my device will be wiped. How can I just get this all to go away and start again? I have root and TWRP installed. Is there anything I can do?
I can't even boot into Android because it asks for the PIN, even though it already wiped it. I can't use my phone at all.
Flash factory images?
Sent from my Nexus 6 using Tapatalk
Will this mess up TWRP?
DRatJr said:
Will this mess up TWRP?
Click to expand...
Click to collapse
does it matter? it takes 10-15 seconds to flash twrp, or reflash. but anyways i have a feeling that itll ask again, i hope not.
Yea. I would fastboot erase and reflash everything. If bootloader is locked you are hosed.
DRatJr said:
So I am a developer, making a lockscreen app. Part of the app allows it to set a system lock for double protection. Upon doing this, it set PIN needed for phone to start up. The pin I had set wouldn't work so I entered it in too many times and it wiped my device. The weird thing is, the default password "0" worked in TWRP but NOT to boot Android. Now, after it wiped my device, it boots up to the Android screen, and tells me to enter my PIN again.. It still doesn't work, but tells me in -1 attempts my device will be wiped. How can I just get this all to go away and start again? I have root and TWRP installed. Is there anything I can do?
I can't even boot into Android because it asks for the PIN, even though it already wiped it. I can't use my phone at all.
Click to expand...
Click to collapse
Contact the previous owner for his unlocking gesture or code/pin and Gmail account, then factory reset and login with his account and when done delete this accoubt in /settings/accounts/. Then data factory reset again and it should be fixed imo. Or send your phone to the prev. owner so he can do it himself. Look here too http://forum.xda-developers.com/nexus-6/general/guide-properly-prepare-nexus-6-resale-t3104504.
I've had this phone since it came out haha. I haven't stolen it or anything. The problem came because I was solely testing on Samsung devices. Here, I set a backup PASSWORD in case you couldn't unlock your phone. My app was a device admin so it had the ability to set phone lock and lock the phone. What happened was when I tested it on my Nexus, between making the password and setting the password there is the option of "require at boot", which mysteriously, my app automatically selected. Now the issue comes in when I rebooted my phone and Google did NOT let me put a PASSWORD it, but required a PIN. This was an impossible scenario because the android lock screen was set with a PASSWORD, not a PIN.
The even weirder thing was that my app automatically sets the backup android pin to "0" if no backup password is set. When I tried 0 at boot it wouldn't work. BUT when I tried it in TWRP 0 was the only thing that decrypted the phone. I am still not sure why this whole thing happened (Google not letting me put a PASSWORD instead of a PIN if the device is encrypted. My app automatically selecting require PIN at boot, and the backup "0" working in TWRP when it wouldn't work to boot Android).
So @gee2012 I know it may seem like another thread where someone stole a Nexus and wanted to break in to use it. But I assure you I am the only one to ever own this phone. This was just a weird scenario that hopefully won't happen again.
But for the sake of the question:
Flashing factory images worked! Thanks @HolyAngel
DRatJr said:
I've had this phone since it came out haha. I haven't stolen it or anything. The problem came because I was solely testing on Samsung devices. Here, I set a backup PASSWORD in case you couldn't unlock your phone. My app was a device admin so it had the ability to set phone lock and lock the phone. What happened was when I tested it on my Nexus, between making the password and setting the password there is the option of "require at boot", which mysteriously, my app automatically selected. Now the issue comes in when I rebooted my phone and Google did NOT let me put a PASSWORD it, but required a PIN. This was an impossible scenario because the android lock screen was set with a PASSWORD, not a PIN.
The even weirder thing was that my app automatically sets the backup android pin to "0" if no backup password is set. When I tried 0 at boot it wouldn't work. BUT when I tried it in TWRP 0 was the only thing that decrypted the phone. I am still not sure why this whole thing happened (Google not letting me put a PASSWORD instead of a PIN if the device is encrypted. My app automatically selecting require PIN at boot, and the backup "0" working in TWRP when it wouldn't work to boot Android).
So @gee2012 I know it may seem like another thread where someone stole a Nexus and wanted to break in to use it. But I assure you I am the only one to ever own this phone. This was just a weird scenario that hopefully won't happen again.
But for the sake of the question:
Flashing factory images worked! Thanks @HolyAngel
Click to expand...
Click to collapse
Who talked about stolen devices mate, I surely didn`t! I thought that you bought a used Nexus 6 mate, and the previous owner didn`t delete his account :silly:
gee2012 said:
Who talked about stolen devices mate, I surely didn`t! I thought that you bought a used Nexus 6 mate, and the previous owner didn`t delete his account :silly:
Click to expand...
Click to collapse
Oh sorry :/ haha. Wasn't sure if it seemed that way. But nah this has been my baby since unboxing lol

Xperia Z3+ dual - Need to remove screen lock

Due to some personal issues, I was not using my phone since the past 6 months. Now when I started it back, I am not able to enter the proper screen lock(Pattern) and I never ever made an account on myXperia. I tried many ways which included google find my device but find my device is not allowing me to change screen lock, it just allows to make sound and "Lock and erase" option which basically does nothing.
I actually need my data intact and after a little search on internet, I came to know that i need to unlock my bootloader and then flash a recovery and remove the screen lock file but unlocking bootloader will result in factory reset and hence my data will be lost.
By default the phone doesn't allow usb debugging when connected to pc, if some how I am able to allow usb debugging then I can recover my data.
Please help guys.

HTC M9 no longer encrypted since update

I recently upgraded my HTC M8 for an M9, I installed all stock updates bringing it to Android 7.0, flashed TWRP to recovery, encrypted the device and installed Magisk.
My device was encrypted (Asked for password at power on, TWRP requested a password to mount the partition) and had been rebooted a few times, every time asking for the decryption password, until Magisk updated about 10 days ago. I only noticed it a few days later, on a reboot that it didn't ask for a password. I did a full power off just to make sure there was no caching going on and again it no longer asked for the password. Going into TWRP I confirmed that the device is no longer encrypted and can be mounted and read without a decryption password.
Despite the phone now being decrypted, Android still believes it is and the encryption check box is ticked and greyed out (Because you can't turn it off when it's on....well usually anyhow).
Why did it decrypt with Magisk's update? How can I enable encryption again?
It's probably still encrypted, just that the password has been reset. There was a few reports like this when v16.0 dropped, no idea why.
Try reapplying the password at boot in Android security settings.
Didgeridoohan said:
It's probably still encrypted, just that the password has been reset. There was a few reports like this when v16.0 dropped, no idea why.
Try reapplying the password at boot in Android security settings.
Click to expand...
Click to collapse
Yeah that was it. I'm assuming it still was 'encrypted' because it didn't go through the hour long process encrypting the device, but it's kind of pointless having encryption that still gives you access to the contents of the device without any kind of security verification :laugh:
It was still prompting for a PIN as a screen lock (So I didn't think of resetting the PIN), but having an unlocked bootloader means it's trivial to bypass a screen lock for data access.
Anyhow, I set the PIN again and it prompted for enhanced security, I selected that and it's back to asking for a PIN to access the data so that's good
Thanks for your help!

Lost pin code... How to unlock phone?

Help.. I have a Huawei P10 (VTR-L09) with Android 8.0 and stock rom and recovery. I've lost the pin code and now it requires the pin after a phone reboot... So I can't access my phone anymore.
Every solution I find on the internet is either only for Samsung or not supported for this phone. Does anyone know how to unlock it now?
Please note that USB Debugging is not enabled in settings as I got the phone back from repair only a few weeks ago so only got fastboot commands. But I really do not want to factory restore it...
Thanks for any assistance!
You could contact your Phone company and tell them you've lost your Pin and PUK. They only need the Numbers from your Sim-card.
Thx for your message GAMaus, but I've lost the phone pin and not the SIM pin. Do you think they can really help me with that?
Marcoevich said:
Thx for your message GAMaus, but I've lost the phone pin and not the SIM pin. Do you think they can really help me with that?
Click to expand...
Click to collapse
my friend was with the same situation, he goes to service center and they fix it but he lose all data.
or try with some gsm repair service maybe they can unlock without losing any data, but if your device is encrypted in my opinion is not possible without factory reset
It's not possible to unlock your phone without the correct PIN. Only chance to get into your phone is to wipe data in eRecovery. But this will remove all your user data except the data on SD.
You're also not able to get your data through TWRP because the /data partition is encrypted. To decrypt, you need your PIN.
But there's one question I have: The P10 has a great fingerprint reader and you're telling me, that you didn't assign your fingerprint for unlocking your phone?
Jannomag said:
It's not possible to unlock your phone without the correct PIN. Only chance to get into your phone is to wipe data in eRecovery. But this will remove all your user data except the data on SD.
You're also not able to get your data through TWRP because the /data partition is encrypted. To decrypt, you need your PIN.
But there's one question I have: The P10 has a great fingerprint reader and you're telling me, that you didn't assign your fingerprint for unlocking your phone?
Click to expand...
Click to collapse
he probably was forced to put his pin because of that 3 days option
Jannomag said:
But there's one question I have: The P10 has a great fingerprint reader and you're telling me, that you didn't assign your fingerprint for unlocking your phone?
Click to expand...
Click to collapse
Yeah the fingerprint doesn't work after startup because Huawei wants you to remember your pin... But fortunately I could try endless possibilities with the pincode (only sometimes I needed to wait a few hours). But in the end I got the pincode correct, so I can use my phone again
Thanks everyone!

Categories

Resources