Forgot pattern and secure boot - Android Q&A, Help & Troubleshooting

Hello,
I am really dumb and changed my phone pattern yesterday for one that i found fancy on the moment trying out different pattern. Well i forgot it.
I have a One Plus 6t and it's stock rom and locked bootloader, it does have secure boot enabled and it's encrypted.
Is there a way to unlock the phone without wiping data ?
I have access to my computer, the phone have adb enabled and the computer is administrator for the phone.
I can't have access to anything because i did restart it and now it doesn't unlock since it's encrypted.
Anyone have been in the same situation and found a workarround ?
I have some really important data inside that phone that are stored nowhere else.
Thanks

Note:
Connecting to PC and launching adb, it seems like it does take the command, is there anything i can do from there ?
lot of permission denied and 'adb locksettings' doesn't work

If there was a way to access the data without the password/pin/pattern, that would defeat the whole purpose of secure bootloader and encryption.
So no, there is no known way of doing this.

Related

[Guide] How to Unlock & ByPass a Pattern Lock on Android Device Without Loosing Data

[Guide] How to Unlock & ByPass a Pattern Lock on Android Device Without Loosing Data
So you are here cuz you probably have had set a Pattern lock on your android device, and baaah BAD LUCK you forgot the the pattern. So just rather than getting a whole factory reset of your devise we have a very easy and nice tutorial to get your Phone unlocked while not even loosing a single contact out of your Phone.
Well many other are here cuz they want to spy on a friends android device but damn th patternlock is not letting them. So chill out and Spy tight as we have a set of instruction and a very nice post on Unlocking a Friends android Pattern lock.
Hello friends today we are here to help you about how to bypass the pattern lock on an android device. Have you sometime suffered with Locked out? Do you know how to bypass the patternlock? Did you try it out on your own anytime?
Pattern lock on an android device provides users a great security which further prevents your smartphone with any accidental taps like theft or misuse. If a user wants to use this security feature on their android device then they have to customize it under the settings option in menu.
It happens that sometimes users forget the pattern of lock of their devices and in panic they start guessing the pattern and finally comes with a problem of locked out. Users and dear users don’t be so panic as if is facing any problem there is a definite solution to that problem as well. If you face a locked out then you can bypass the pattern lock.
There is very commonly used method to bypass android pattern lock which you have forgotten bu that will for sure make you loose all your data and all your contacts and everything. in other words it will make the phone a device the same as your bought with everything wiped off including all applications. This can be dony by going into the recovery mode of any android device. and then select factory reset option. This is not recommended as for 2 reasons, first, It will clear all your data, second, we have a better option left with us !
You don’t know how to bypass the pattern lock. No worries at all. We will help you out and you just need to follow some ADB commands and then you can finally bypass the pattern lock on an android device. Just go through the following guide tutorial very carefully step-by-step so as to bypass the pattern lock.
SOME BASIC STEPS BEFORE YOU BEGIN Unlock & ByPass a Pattern Lock on an Android Device Without Loosing Data
The very first and important need is the ADB drivers that must be installed in your PC.
Then it is really important that the USB debugging must be enabled before your device being locked.
You should be very carefull while installing the drivers of your device. This technique will not work without installing the specific drivers.
Users might feel really annoyed and irritated when they tried the pattern lock several times in panic and unfortunately their android smartphone displayed locked out. Further users cannot access their android smartphone and at last need to bypass the pattern lock.
HOW TO BYPASS THE PATTERN LOCK ON AN ANDROID DEVICE
Just Follow the easy tutorial to Unlock an android’s pattern lock without factory reset after when you have forgotten it. And yes its that easy as it sounds.
Users need to connect their android device via USB cable to PC.
You must now open the folder where you installed ADB driver.
Now you just have to click right on the screen’s blank area along with hold the shift key and select “OPEN COMMAND WINDOW”.
A window command will prompt and then you just need to type the following:
adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value=0 where name='lock_pattern_autolock';
update system set value=0 where name='lockscreen.lockedoutpermanently';
.quit
Once it has been done then you have to reboot your android device.
Now it is all done and set.
After following this guide tutorial now you can access your android device as the pattern lockhas been completely disabled.
There is another method not to bypass the lock pattern on and android device but to get your device being unlocked. It is through G MAIL. When you face problem of locked out just click on forgot pattern and follow the basic instructions that follow.
If this guide tutorial really helped you out then please share your experiences with us. And if still any problem persists you can ask for our help and we are there to help you out.
That was it now you can easily unlock any of your friends Phone without even letting him know and making use of it for your propose. But ill not recommend this as the so called friend of yours may punch punch back in your face.
So anything not working with the post or anything you are confused with, just let us know in the comment section below or contact us from the top menu.
​
Should we type it just as you mentioned or there is something about the spaces or should It be typed like a paragraph as you mentioned

Locked device using Android Device Manager. Can't remember password.

Device is a SM-N916S from Samsung (Galaxy Note 4 S-LTE Exynos 5433 ver.) for anyone that's wondering. It's current state : Completely stock with no root. USB debugging disabled. No Samsung Account linked to device. Can't change password through ADM. No more guesses left for the password anymore, any more will reset the phone.
So yeah. For the past few days I've been trying to bypass Android Device Manager's remote "Lock" feature that's meant to keep your data safe from theives. As for why? Long story short : I tried to pull a cruel prank on my brother by remotely locking his device through ADM. I have since forgotten the password (it was a random combination of letters and numbers that I thought I could remember, but obviously not.) and trying to set a new password through Android Device Manager just gives me the infamous "Since Google has verified that a screen lock is already set, the password you entered won't be needed." error message.
Now, if this was phone that belonged to me, I would just install a custom recovery and remove the password with a password disable zip, but unfortunately, that is not an option here. Oh yeah, I should probably mention that I CANNOT void the warranty (as in trip the KNOX counter) under ANY circumstances and would very much like to avoid a factory reset. Am I out of luck here? Or is anyone here aware of a method that can be used to bypass the ADM lock / or a way to backup data without root access / adb. Thanks.

Vodafone VFD 300: Unlocking bootloader not allowed - says it's "secure".

This is a problem, and it's doing my nut. I have a Vodafone Smart Mini 7, which I desperately want to root, to get all of Google's bloatware and the stuff the original network provider put on it.
I've already unlocked it to all networks, but the bootloader is being a PITA. I've done the usual with adb and fastboot, namely put it into USB Debugging, and then done this;
Code:
adb devices
adb reboot bootloader
fastboot getvar all
When I get to the section on the bootloader, it advises me that it's Secure.
I tried to use
Code:
fastboot oem unlock
and when I confirm on the phone that I want to unlock it, I get told that Remote Unlock is not allowed.
I assume that the fact that fastboot getvar all says that the bootloader is secure, means I need some sort of key to get it off. My old network provider don't know where to get it from, my tech team don't know where to get it from and I'm screwed.
Anyone got any ideas on whether I can get round the "secure" part of this, like some way of finding the key for it? Thanks
TootyRooty said:
This is a problem, and it's doing my nut. I have a Vodafone Smart Mini 7, which I desperately want to root, to get all of Google's bloatware and the stuff the original network provider put on it.
I've already unlocked it to all networks, but the bootloader is being a PITA. I've done the usual with adb and fastboot, namely put it into USB Debugging, and then done this;
When I get to the section on the bootloader, it advises me that it's Secure.
I tried to use
and when I confirm on the phone that I want to unlock it, I get told that Remote Unlock is not allowed.
I assume that the fact that fastboot getvar all says that the bootloader is secure, means I need some sort of key to get it off. My old network provider don't know where to get it from, my tech team don't know where to get it from and I'm screwed.
Anyone got any ideas on whether I can get round the "secure" part of this, like some way of finding the key for it? Thanks
Click to expand...
Click to collapse
I have the exact same issue I read some threads and nothing solid has come out of it some say they managed to get root but others say they bricked the phone
Any news on this topic? I too have one i desperately would like to root because it is permanently full and you cant do anything wih it. The Google apps and the apps installed by my service provider take up all the onboard storage space. I downloaded only Whatsapp and Facebook Lite and bam,the phone is completely full and useless as it cant do updates,runs extremely slow and does all sorts of random stuff like restarting on its own etc. driving me utterly insane.

Forgot pattern sequence on G5 SE h840. Is the a way to unlock?

Hello guys,
first of all sorry for the dummy question, but I don't know how I can solve this problem. so...
I have changed the pattern sequence of my phone with a complicated one. when doing that, I saved a screenshot of the sequence but, instead to put it to the sd card as a though, the phone saved it on the internal memory (damn!).
After some days my phone has been restarted and now is asking for the pattern that I have forgot because I used to unlock it for days via the damn fingerprint!
I tried via google to unlock the phone with no luck.
There is no developer mode active on the phone, and when I connect an usb cable I can't put it to usb mode because it asks to put the unlock sequence.
Is there a way to unlock the phone or a way to get the screenshot from the internal memory? obviously I want to avoid to hard reset and lost everything.
I think hard resetting from recovery menu is the best possible option. I don't think there is a way to bypass the security honestly. I'm sorry but I think that resetting is the best option here
if you could bypass the pattern there wouldnt be any point to having the pattern in the first place. everything on your phone is encrypted. the pattern is the encryption key. just ask the fbi how upset they were about this.

Secure startup (easy full device encryption bypass?)

In Android 9 Pie (and earlier versions) there is a setting ‘Secure startup’, which is applicable in case of full device encryption (which comes by default in all new Android phones AFAIK). When ‘Require password when device turns on’ is enabled, the password must be entered at phone start and the phone won’t boot if no password is entered. When the other option ‘Do not require’ is enabled the phone starts and I can even receive phone calls, I just cannot unlock the phone.
So my question is: if ‘Require password when device turns on’ is NOT enabled – does this mean that my phone is NOT encrypted and if for example gets stolen, the thief will be able to download all my data to a PC (without unlocking the phone)? If this is true this seems like an absurdly easy way to bypass full device encryption...
Your data is encrypted by default. You can have it set to not encrypt it but it is not something I would advice of you.
As for the secure start up. As long as you have a locked bootloader and a password there are less then .01% of people that can hack into your device.
zelendel said:
Your data is encrypted by default. You can have it set to not encrypt it but it is not something I would advice of you.
As for the secure start up. As long as you have a locked bootloader and a password there are less then .01% of people that can hack into your device.
Click to expand...
Click to collapse
My phone is rooted and the bootloader is not locked AFAIK (it's Exynos).
I am not asking about bruteforce and other hacking techniques that could be used, I am just asking whether my phone is encrypted after boot and before the screen is unlocked.
Yes it is encrypted. Has been since the day you first day Bought it.
OK, but how come then my phone boots and is almost fully operational when ‘Require password when device turns on’ is NOT enabled (e.g. I can receive phone calls, calendar events pop up on screen - although I cannot see what they are all about because the screen is locked)?
orifori said:
OK, but how come then my phone boots and is almost fully operational when ‘Require password when device turns on’ is NOT enabled (e.g. I can receive phone calls, calendar events pop up on screen - although I cannot see what they are all about because the screen is locked)?
Click to expand...
Click to collapse
Think of it as safe mode on PC. Not everything or all permissions are allowed when booting like that. It just a security feature and has nothing to do with encryption. It just locks out some info from being seen without the password.
Ill be honest with you. If you are worried about your data then dont be too worried. Unless you are someone important then your device is only useful for how much the hardware will get. Let me tell you how a phone theft goes.
1. Phone Stolen
2. Sim card removed
3. Device reset
4. If its locked then take it home and flash an OS to it or sell it to a pawn shop that is questionable.
Now the first 3 are normally done before you even know your device is gone (less then a minute)
Encryption bypass / Android (10) security issue after first unlock
zelendel said:
Yes it is encrypted. Has been since the day you first day Bought it.
Click to expand...
Click to collapse
I have discovered another security issue on a rooted device:
On my Magisk-rooted and encrypted Note 10+/Exynos (Android 10) I just found out, that the userdata (data/data ) partition is UNENCRYPTED and fully readable when viewed with an ADB viewer from my PC although the device is in lockscreen mode / locked!
This doesn't happen after reboot before the first unlock! After the device has been unlocked, accessed via ADB and re-locked (but not rebooted) it is (still) unencrypted, even after rebooting the PC!
Here the lockscreen password would not make much sense at every screenlock - it just unlocks the screen which can be bypassed and all data can be read via ADB anyway - it would only make sense once at boot. Is there a way to have two passwords (1 at boot and an easier one at screenlock) for example?
Is this a known bug? / Any ideas?

Categories

Resources