soft bootloop after setting screenlock ( after dirty flash to Android 10 MIUI 11) - Xiaomi Poco F1 Questions & Answers

hi people, looking to your advice and suggestions.
I was on Android 9 Miui 10. Last night I did a dirty flash to Android 10 Miui 11. There was no issues during this process and the phone booted up fine with no loss of data.
Steps I took -
1) Disabled Magisk modules
2) Removed all screenlock and Google and MIUI accounts
3) Made a Nandroid backup before flashing
Today morning, I tried to set up screenlock on Android 10 MIUI 11. Added the pattern lock, and added a fingerprint. Strangely when I tried to add one more fingerprint (for my left index finger), it asked me to set pattern lock again. Well I set it again, and added the new fingerprint. Same thing happened when I set the face unlock. I added the pattern lock again. But, the patternlock never turned to ON status, even though fingerprint and facelock was showing ON.
When I tried to lock the screen and to test it out, I was able to unlock with swipe (with no pattern, fingerprint or face unlock required). I haven't set any smart unlock as well.. I thought perhaps a reboot will help, but now I'm stuck on a soft bootloop ( the phone boots upto to the lockscreen and reboots before I can do anything )
Is there any suggestions on what I can do ? Please advise. Thanks in advance
video : https://youtu.be/sSkUW6exUWY

Fix
Managed to fix it my myself. FYI
1) Boot TWRP Recovery click Advanced> File Manager> data> system and delete 6 files (ref : https://forum.xda-developers.com/android/software-hacking/remove-lockscreen-recovery-t3530008)
1.access_control.key
2.access_control_password_type.key
3.locksettings.db
4.locksettings.db-shm
5.locksettings.db-wal
6./data/system/users/0/settings_fingerprint.xml
Bootup was successful
2) After bootup, you might find it difficult to set the screenlock password (won't take affect). Follow this -
In a web browser (on any device), log into Gmail with the account you used when setting up your phone.
Go to https://myaccount.google.com/intro/find-your-phone
Press "Lock your phone"
Enter "abcd"
Your phone's screen is now locked. Unlock it with "abcd"
You can now change your screen lock.
(ref - https://android.stackexchange.com/q...key-to-unlock-settingssecurity-keeps-crashing)

hjmrox said:
hi people, looking to your advice and suggestions.
I was on Android 9 Miui 10. Last night I did a dirty flash to Android 10 Miui 11. There was no issues during this process and the phone booted up fine with no loss of data.
Steps I took -
1) Disabled Magisk modules
2) Removed all screenlock and Google and MIUI accounts
3) Made a Nandroid backup before flashing
Today morning, I tried to set up screenlock on Android 10 MIUI 11. Added the pattern lock, and added a fingerprint. Strangely when I tried to add one more fingerprint (for my left index finger), it asked me to set pattern lock again. Well I set it again, and added the new fingerprint. Same thing happened when I set the face unlock. I added the pattern lock again. But, the patternlock never turned to ON status, even though fingerprint and facelock was showing ON.
When I tried to lock the screen and to test it out, I was able to unlock with swipe (with no pattern, fingerprint or face unlock required). I haven't set any smart unlock as well.. I thought perhaps a reboot will help, but now I'm stuck on a soft bootloop ( the phone boots upto to the lockscreen and reboots before I can do anything )
Is there any suggestions on what I can do ? Please advise. Thanks in advance
video : https://youtu.be/sSkUW6exUWY
Click to expand...
Click to collapse
Hi there,
Good that you resolved on your own.
Also, this bug can be resolved this way. Try to setup second space. If you are already setup earlier with a password then follow the other member guide until the removal of locksettings db files. Then reboot and try setup the second space.. while setting up it will request to setup the password or pattern for first space and finger prints for second space. Once done move to first space and setup the fingerprints there for first space.
Just making a note here.. so somebody can make use of it in need at desperate hours...
I have spent sometime to figure this bug in the first space but setting up second space solved the bug.
Hope this helps.
Thanks.

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

Can't unlock my Phone after update

Hi at all!
After yesterdays update over WiFi (don't know which exactly, but I think it's MiUI8 6.9.8) my Redmi Note 3 (Qualcomm, 32GB) wouldn't let me unlock the device neither with fingerprint nor pattern. Before I updated it was normally unlocking. Normally I use fingerprint, so at first I thought i forgot the pattern, but after several attempts the phone went into lock mode. I am 99% sure I know the right pattern, but it won't unlock.
I already read this guide: http://en.miui.com/thread-5684-1-1.html and tried this https://www.youtube.com/watch?v=NMAPEhH5z-8
But I have still several problems:
- USB debugging not enabled
- no recovery installed
- no root or open bootloader or anything like that
- no backup of all photos, which are on the phone itself and not on the SD card (I just came back from holidays)
- no cloud or similar backup
- Mi Pc Suite does not detect phone
- Google Device Manager states "Since Google has verified that a screen lock is already set, the password that you entered won't be needed." if I try the send a new lockscreen.
This method (with flash afterwards) could help me, I guess, but I still would loose everything: http://forum.xda-developers.com/redmi-note-3/how-to/guide-reboot-to-edl-mode-fastboot-test-t3398718
I have absolutely no idea how i can unlock my phone without loosing any data (especially the photos).
Please if anyone has an Idea, help me!
Same happened to me so I restored my backup, once the restore had finished I removed the finger print and pin number (I had read about this on the xiaomi Forum). Then did the update again and this time it was OK
sounds easy, how did you restore the backup?
Before restoring any backup, I suggest you hard restart your phone. long press the power button.
but if I make a Hard Reset I will loss everything on the phone.
Is there maybe a possibility to insert some sort of file or command via EDL mode, that USB debbuging will be enabled? http://forum.xda-developers.com/redmi-note-3/how-to/guide-reboot-to-edl-mode-fastboot-test-t3398718
No not the hard reset. I was talking about hard restart. The phone will just restart.
ahh I see, sorry my fault.
But nonetheless I din't made any backup ever with this phone.
same problem here
my phone redmi note 3(qualcomm 32gb) is also locked just yesterday ! it shows try again after 120 minutes and after the time completed it shows pattern and it will be locked again and shows the same dialouge after trying my correct password ! actually we shoud get forgot password option behind the emergency option ! please do give a reply to me if you find any solution it means a lot to me !
Well I am afraid I can't help you either... after searching for 2 days I found no solution and flashed my phone. so all data was lost...

Forgotten pattern unlock, fingerprint works

I can unlock my phone OK with my fingerprint, but I can't remember my pattern unlock (well, I think I can, but the phone doesn't accept it). I need the pattern to modify the fingerprint unlock, e.g. to add more fingers. Anyone know how to reset the pattern when fingerprint is working OK?
I'm on stock .253.
pelago said:
I can unlock my phone OK with my fingerprint, but I can't remember my pattern unlock (well, I think I can, but the phone doesn't accept it). I need the pattern to modify the fingerprint unlock, e.g. to add more fingers. Anyone know how to reset the pattern when fingerprint is working OK?
I'm on stock .253.
Click to expand...
Click to collapse
Well This Is Very Easy To Fix .
Follow The Steps:
1) Identify the Gmail registered with the device.
2) Check whether "Android Device Manager" is enabled in Settings-> Security -> Device Administrators if not enabled ,then enable it .
3) Login to Device Manager
https://www.google.co.in/android/devicemanager
4) There you will find an option to "Lock the device" . Lock it with new Password/Pattern.
That's It
Hope It Helps
Please hit Thanks If worked!
Note: Do Connect The Phone To Internet!
heptyle said:
Well This Is Very Easy To Fix .
Follow The Steps:
1) Identify the Gmail registered with the device.
2) Check whether "Android Device Manager" is enabled in Settings-> Security -> Device Administrators if not enabled ,then enable it .
3) Login to Device Manager
https://www.google.co.in/android/devicemanager
4) There you will find an option to "Lock the device" . Lock it with new Password/Pattern.
That's It
Hope It Helps
Please hit Thanks If worked!
Note: Do Connect The Phone To Internet!
Click to expand...
Click to collapse
Thanks. I think this would have worked, or I could have used myxperia.sonymobile.com similarly. Unfortunately I rebooted the phone, and it turns out, even with fingerprint enabled, that it needs a pattern to unlock the first time after rebooting! I had to wipe it with Xperia Companion (there seems to be no on-device recovery user interface that we can use), which was annoying.
I've now set it up again and made very sure I knew the pattern before adding fingerprints!
pelago said:
Thanks. I think this would have worked, or I could have used myxperia.sonymobile.com similarly. Unfortunately I rebooted the phone, and it turns out, even with fingerprint enabled, that it needs a pattern to unlock the first time after rebooting! I had to wipe it with Xperia Companion (there seems to be no on-device recovery user interface that we can use), which was annoying.
I've now set it up again and made very sure I knew the pattern before adding fingerprints!
Click to expand...
Click to collapse
Oops!

Messed up fingerprint scanner by restoring TWRP backup from another phone

So first I installed CM13 + gapps to a new honor 5x phone and it went pretty well until I restored my backup from TWRP (which from another device)
first the issue was my lock screen is giving me incorrect pins. deleted something in the system/data and bypassed it.
then I cannot use my fingerprint scanner (but the pin for lockscreen works now) it shows four fingerprints enrolled (which was mine in the twrp backup) but it says "fingerprint hardware not available" on the lockscreen
so i deleted something in the system / data / user.db which removed the 4 enrolled fingerprint: https://forum.xda-developers.com/honor-5x/how-to/fingerprint-issue-restoring-twrp-backup-t3435170
but now i cannot register the fingerprint. decided to just revert to my stock backup (emui)
and now the fingerprint setting is missing. it appears in the search menu, but whenever I input my pin to register a fingerprint id, it just goes backs to the screenlock settings menu pls haaalp meee
update:
tried reverting back to stock rom by flashing boot.img and system.img from an update.zip (extracted)
was able to use fingerprint scanner again but when I install CM13 (without restoring my backup)
it wont let me get past the set up lock screen password.
whenever I enter my pin, and confirm pin, it wont let me click next. tried skipping it in the setup wizard and went to the lock screen settings and it still wont let me click next after confirming my new pin

Is pocophone encrypted by default?

Hi there..
I'm trying ti understand device encryption before i install a custom ROM on my poco. (Any links explaining how encryption works on android would be greatly appreciated)
My first question is whether the pocophone encryption is turned on by default.
Under the encryption settings, the "encrypt device using lock screen password" slider is set to off.
However, every time I reboot the phone, i am forced to enter the lock screen password as fingerprint and facial recognition do not work. I assumed that this is because encryption had been enabled on my phone by default. But then why is the slider set to off?
mahela007 said:
Hi there..
I'm trying ti understand device encryption before i install a custom ROM on my poco. (Any links explaining how encryption works on android would be greatly appreciated)
My first question is whether the pocophone encryption is turned on by default.
Under the encryption settings, the "encrypt device using lock screen password" slider is set to off.
However, every time I reboot the phone, i am forced to enter the lock screen password as fingerprint and facial recognition do not work. I assumed that this is because encryption had been enabled on my phone by default. But then why is the slider set to off?
Click to expand...
Click to collapse
The option that you are talking about under encryption settings, is the same as "Android secure start up" on AOSP. If you enable this option, you need to enter your device password while you restart the phone. Or else your device won't even boot up (and you won't see the lockscreen) completely and you will be stuck. It's an extra layer of security on top of lockscreen password/pattern/pin. Now coming to your second question, it's a security feature on android where no other unlock methods will work except PIN/Password/Pattern after you restart the device everytime. And it has nothing to do with encryption or decryption. Even if you decrypt the ROM, you will still have to enter your password or pin or pattern on every reboot. Only then all other unlock methods will start working. Some ROMs have a feature where you can bypass this security and unlock the device straight away on every reboot without entering the default pin or password/pattern. But they also put a disclaimer that it's not safe.
Thanks for the info.. But one of the questions "Is the Pocophone F1" encrypted by default?" is not yet answered. I am very interested to know. And (while I am asking) if not, "How can I do encrypt it"?
Yes, it is encrypted by default.

Categories

Resources