Controlling android device with linux - Android Q&A, Help & Troubleshooting

So I got my android phone screen broken and I need all the data that the device has. The issue is that since the screen is broken, I'm not able to tap the "Enter" to make the lock screen to accept my password. So I was wondering if there is a way to bypass this lockscreen WITHOUT WIPING THE DATA as other methods suggests or just controlling my device using my pc keyboard so I can hit enter and unlock the device.
The USB tranasfer data requires me to unlock the device to accept traffic from my pc that's the main reason I need to unblock it. Keep in mind that I can't turn on any feature like any developer tool like USB debugging since I cannot access it.
Anyone0 know if this is possible?

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

How do I enable debugging on a FULLY STOCK pattern locked Alcatel Raven (a574bl)?

With the pattern to the screen lock forgotten, I desperately need to gain access to my Alcatel Raven.
I need to recover photos, sms/mms messages, contacts, saved app login info (that didnt have permission to sync to my google account) and music files.
I have many obstacles to overcome however...
no root access, only stock recovery, bootloader locked, developer tools not yet unlocked and debugging not enabled.
I do have the credentials for my google account that it's signed into, but because it is running Nougat 7.1.1, I get no forgot password option after 5 failed attempts and android device manager is useless for unlocking the device. Dr Fone and other 3rd party unlocking software either needs debugging enabled or is not compatible with my device model. I do have wifi access and bluetooth, but the phone has no carrier service as far as making and recieving calls and/or sms/mms. It does have an sd card slot but as previously stated it only has stock recovery mode and the bootloader is locked. I do have access to adb and cygwin on my laptop and I am confident that with debugging enabled I can handle the rest. The part I cannot figure out is how to enable debugging on this device with the screen (pattern) locked and without using an otg cable (which I have no access to unless I order one) and I'm not even sure if an otg cable would work with this particular device model or not.
Can anyone help me!?!?!?

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?

Forgot pattern and secure boot

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.

Screen locked - how to retrieve data from the phone?

I have a problem with my Xiaomi Mi 9 Lite. Some time ago I've setup a screen lock with password I can't remember. How can I disable it? USB debugging is off, bootloader is locked, no custom rom/recovery is installed. What I want to achieve is to not lose any data so in this case is there any possibility to copy the data from the device?
Thank you for any support.
Contact to your service provider or product manufacturer provide them with the information they ask for, and see if they can help you. They are the only ones who will assist you in these matters.
@ghoscik
The door to any Android device is ADB ( read: Android Debug Bridge ) enabled ( Settings -> Developer options -> USB debugging ). This is the first setting every Android user should make when he starts using an Android device. Doing so then most problems can get solved by user itself.

Categories

Resources