Pattern unlock on Custom ROM - Xiaomi Mi A1 Questions & Answers

I have a custom ROM(Evolution X) installed on my Mi A1. I wasn't able to unlock my phone using the saved pattern today but could unlock it using my fingerprint. Foolishly, I restarted my phone thinking that would solve the issue. The pattern was recognized during the "Enter pattern to start device" phase but I can't unlock the screen after that as it is necessary to input pattern after a restart. The system UI restarts when I try to unlock using a pattern.
I don't have TWRP on my device as I hotboot it during ROM flashing.
My problems are:
- I can't hotboot TWRP as my default USB mode is "Charging" and to change that I need to unlock the phone
- Because of the above problem device is not showing up on adb/fastboot.
I can however boot into Android recovery.
Can someone guide me on how to unlock my phone?

I'm pretty sure the "charging" USB mode have nothing to do with the problem, as I regularly connect to adb in charging mode. Maybe you forget to turn on USB debugging?
However, I think you can still get into fastboot and boot the TWRP, because I don't think fastboot gonna be affected by that.
If the above cannot help then the only way now is flash the stock rom to clear the password.

Related

Huawei P9 Lite stuck on bootloop, can't enter recovery mode

Hello, I'm new to xda, in fact I registered just to ask for help. My p9 lite got stuck on huawei logo, when i try to turn off the device it just reboots 2 times and then just stays on huawei logo. I can enter fastboot and rescue mode, but i have not enabled usb debugging and oem unlock on the device earlier. To be honest this is my first android device, in the past i used only windows phones, so you could say i'm completely new to this. Any suggestions on how to recover my phone or flash any rom into it? I'd be very glad if someone helped me find the solution to this problem. Not sure if i made a thread in the correct place, direct me if i'm mistaken
There are few different versions of P9 Lite, look at the back of the phone to the bottom to see the numbers beside VSN and let us know.
1) Also when the phone is turned off plug in the usb to a computer or charging adapter
2) Hold down volume up & power
3) Let go of the power button when you feel the buzz while still holding the volume up button
4) Download latest version & recovery.
5) Go to Settings>Developer Options>USB Debugging On
5B) If you don't see Developer Options in settings, then go to Settings>About Phone>Build Number & ( tap the Build Number untill it unlocks)
6) Update us on the status, hope it works out.
GloryNation said:
There are few different versions of P9 Lite, look at the back of the phone to the bottom to see the numbers beside VSN and let us know.
1) Also when the phone is turned off plug in the usb to a computer or charging adapter
2) Hold down volume up & power
3) Let go of the power button when you feel the buzz while still holding the volume up button
4) Download latest version & recovery.
5) Go to Settings>Developer Options>USB Debugging On
5B) If you don't see Developer Options in settings, then go to Settings>About Phone>Build Number & ( tap the Build Number untill it unlocks)
6) Update us on the status, hope it works out.
Click to expand...
Click to collapse
tried to enter recovery, still not work. can't go to developer options because phone is stuck on logo, can't power off. couldn't find any solution that works anywhere, been searching for more than 6 hours, still no use. phone model is VNS-L21 forgot to mention earlier
What exactly were you doing before this happened and does your computer recognize your phone when plugged in at all.
Try holding volume up & down together & plug phone in when it reboots on you, & report back with what you see. If anything at all.
GloryNation said:
What exactly were you doing before this happened and does your computer recognize your phone when plugged in at all.
Try holding volume up & down together & plug phone in when it reboots on you, & report back with what you see. If anything at all.
Click to expand...
Click to collapse
I tried to install nougat update, computer recognizes it only in fastboot. holding volume buttons haven't changed anything still no progress. the thing is i had installed nougat a moth or so ago and it worked fine, then rolled back to marshmallow and now this. i'm pretty sure i tried to install correct package, because it was the same i had installed earlier
Did you download a adb tool on your computer that have the 'fastboot.exe' file? If so open that folder,
Have the mouse curser hover in that folder, hold down shift & right click the mouse
Open command prompt
Connect phone as is in fastboot mode
Type adb devices & press enter
Type adb continue & press enter
Hi,
I have the same issue as ellanyx.
my phone can only be stucked while booting or if I connect my phone to a computer, I'm able to boot it in fastboot.
as ellanyx, I didn't enable usb-debug nor OEM unlock option...
so when I'm in fastboot, I type the command "fastboot oem unlock xxxxxx" (hopefully the different data needed are the correct ones mentioned on the box of the phone) I get this error message:
C:\Users\Dieu\Downloads\SRKToolHuawei-STABLE-V1.3-20160619>fastboot oem unlock xxxxx
...
FAILED (remote: Command not allowed)
finished. total time: 0.016s
and off course the other options like "fastboot flash recovery recovery.img "... doesn't work.
I can't use the adb commands neither.
when I type the commande, as mentioned above, "adb devices" or "adb continue", nothing works.
So I'm a bit desesperate
do you have any solution for this kind of issue?
thanks
Dude, so the last firmware on your phone was MM or N? If it was MM you should put stock firmware appropriate for your model in dload folder on SD card and put volume+volume-power, and thats it. If you stack on N,....then I dont know because dload method doesnt work with N, or maybe works if you can find stock firmware with recovery for N.
Regards
Unfortunately I can't update with the 3 button update otherwise it would indeed solvemy problem.
pyromana said:
Unfortunately I can't update with the 3 button update otherwise it would indeed solvemy problem.
Click to expand...
Click to collapse
Probably you didnt have correct Oeminfo for MM if dload method didnt work....Try to conect phone with Toolkit and follow procedure for flashing oeminfo and custombin, after that flash stock recovrry and b161 via dload metod. You will find it on forum here.
Regards
the procedure from SRK toolkit?
would it be possible to provide it? because I can't unlock the OEM and I didn't tick the USB debug think.
Maybe problem with the ps not phone so u can not connect with adb
Try with different pc you must have flash oem with fast boot without enable adb from phone if u in fastboot
I can only boot my phone in fastboot (vol- + power) and not in recovery (vol+ + power).
also when using the SRK toolkit, the first screen tells me to be sure that the usb debugging is enable, which I haven't done...
if I'm not mistaken, fastboot is to use the fastboot command and recovery the adb commands
the connection with fastboot works on my computer, the link is made. however when I type the command to unlock the OEM, I get an error stating that the command is not allowed.
when I use the SRK toolkit, with the different questions, he tries to connect the phone with adb and waiting.... waiting...
is there a command to reboot in recovery but from fastboot? in the otherway around it exists but it doesn't seem that from fastboot to recovery it exists.
thanks.
Alexxxx1 said:
Dude, so the last firmware on your phone was MM or N? If it was MM you should put stock firmware appropriate for your model in dload folder on SD card and put volume+volume-power, and thats it. If you stack on N,....then I dont know because dload method doesnt work with N, or maybe works if you can find stock firmware with recovery for N.
Regards
Click to expand...
Click to collapse
dload method works on N. I downgraded my phone from unofficial N update back to official MM update using this method yesterday. You just have to enable OEM at developer options on settings.
It looks like people can't be bothered to read the 1st post properly before they reply.
HE CAN NOT BOOT TO ANDROID SO HE CAN NOT ENABLE OEM OR ACTIVATE USB DEBUGGING!!!!
What he CAN do, is go into eRecovery and Fastboot.
With that in mind, I would suggest using the dload method through fastboot.
Also, make sure it is Huawei SRK Tools 2.0 that is used, as it actually asks if you are in debug mode or fastboot.
Note that there is a few bugs in SRK 2.0:
The TWRP recovery file has the wrong filename in the package, so it WILL fail unless you name it correctly.
Also, when trying to root, do NOT use the "P9 Lite" method as that WILL fail too. Use the "P9/P9 Plus" method.
I am trying to set up a complete guide that can restore the phone when it is stuck in fastboot, however I apparently went a step too far...
ellanyx said:
Hello, I'm new to xda, in fact I registered just to ask for help. My p9 lite got stuck on huawei logo, when i try to turn off the device it just reboots 2 times and then just stays on huawei logo. I can enter fastboot and rescue mode, but i have not enabled usb debugging and oem unlock on the device earlier. To be honest this is my first android device, in the past i used only windows phones, so you could say i'm completely new to this. Any suggestions on how to recover my phone or flash any rom into it? I'd be very glad if someone helped me find the solution to this problem. Not sure if i made a thread in the correct place, direct me if i'm mistaken[/QUOTE
Do you have TWRP recovery ?
---------- Post added at 09:55 AM ---------- Previous post was at 09:50 AM ----------
ellanyx said:
Hello, I'm new to xda, in fact I registered just to ask for help. My p9 lite got stuck on huawei logo, when i try to turn off the device it just reboots 2 times and then just stays on huawei logo. I can enter fastboot and rescue mode, but i have not enabled usb debugging and oem unlock on the device earlier. To be honest this is my first android device, in the past i used only windows phones, so you could say i'm completely new to this. Any suggestions on how to recover my phone or flash any rom into it? I'd be very glad if someone helped me find the solution to this problem. Not sure if i made a thread in the correct place, direct me if i'm mistaken
Click to expand...
Click to collapse
Boot into fastboot mode and flash a custom recovery by meticulus. Link : meticulus.co.vu
Then whenyou get stuck hold power and vol down button for 2 minutes the phone will reboot and then when it says that your device has been unlocked and cant be trusted then only press vol up key ( dont press power button then). The u get into huawei recovery. From that u should power off the phone. Now get a custom rom by meticulus into your device sd card ( Cyanogenmod 13 is recommended ). Then insert sd card in a powered off phone. Now press vol up and power key and flash gapps and custom rom and you are good to go.
Click to expand...
Click to collapse
So, MY question:
I have tried 4 times to get Nougat installed, but every time I got the SMALL package (1.25gb) which means it is not complete.
I decided to try ONE more time, but think I have made a serious mistake.
I was on B161 and tried to downgrade to B160 without upgrading to Nougat first.
This has caused my phone to be stuck at boot with the message "Your device is booting now..."
I can NOT get into eRecovery or fastboot no matter what I do.
If I just leave the phone, then it discharge very fast, but as soon as I plug it in, it starts up and gets stuck at the same screen again.
Does anyone have ANY idea about how I can get out of this problem?
UPDATE:
I have managed to boot to fastboot while connected to my pc.
The phone is unlocked but FRP is LOCKED, which means I can't flash anything.
I read about using Miracle Loader to remove the FRP lock, but it can't "see" my phone. Maybe I am doing it wrong?
SnowmanDK said:
So, MY question:
I have tried 4 times to get Nougat installed, but every time I got the SMALL package (1.25gb) which means it is not complete.
I decided to try ONE more time, but think I have made a serious mistake.
I was on B161 and tried to downgrade to B160 without upgrading to Nougat first.
This has caused my phone to be stuck at boot with the message "Your device is booting now..."
I can NOT get into eRecovery or fastboot no matter what I do.
If I just leave the phone, then it discharge very fast, but as soon as I plug it in, it starts up and gets stuck at the same screen again.
Does anyone have ANY idea about how I can get out of this problem?
UPDATE:
I have managed to boot to fastboot while connected to my pc.
The phone is unlocked but FRP is LOCKED, which means I can't flash anything.
I read about using Miracle Loader to remove the FRP lock, but it can't "see" my phone. Maybe I am doing it wrong?
Click to expand...
Click to collapse
Try to relock and then unlock the bootloader again. And make sure oem unlocking is enabled in dev options
Arsaam said:
Try to relock and then unlock the bootloader again. And make sure oem unlocking is enabled in dev options
Click to expand...
Click to collapse
Please read my previous post again
I can NOT boot normally. And as FRP is locked, then I can't relock or unlock the bootloader.
SnowmanDK said:
Please read my previous post again
I can NOT boot normally. And as FRP is locked, then I can't relock or unlock the bootloader.
Click to expand...
Click to collapse
Go to fast boot mode and from their try to flash meticulus recovery.
You can also try the adb method as well.
Visit meticulus.co.vu

Bootloop in zuk z1, bootloader locked

Hi Team,
Couple of days back i manually restarted My lenovo zuk z1 device and since then it is in endless boot loop, and i am severly constrained on multiple counts which are:
1. USB debugging disabled, and now there is no way for me to enable it, therefore cannot use adb commands.
2. OEM unlock is disabled, therefore bootloader is locked, i have tried unlocking it using fastboot command , but it fails for obvious reasons.
3. Using stock ROM , never flashed/updated either ROM or Recovery .
Things i can do or have done are :
1 . i can access cyanogen recovery and therefore i can reboot to bootloader as well .
2. i can manually power down the phone using recovery menu.
3. i have factory reset phone multiple time and it still reboots and optimizies apps and then again repeats it continuoulsy.
4. i have tried qfil but it only recognizes my device for very short moment, it starts the download and fails at "converting to etl mode" , therefore flashing with qfil is also not working for me.
I am not sure if i have any more options left at my disposal, please help me get out of this mess.

stuck in boot loop no recovery locked bootloader no adb access just fastboot

hi
someone gave me this broken phone so i don't know what happened to get it to this point
here's the breakdown of what it's doing and what i've tried
it's a sprint variant
bootloader ver mata-8a1a76e
baseband ver 2.0.c4-m2.0.2
secure boot yes
device state locked
no power and won't turn on unless connected with a usb cable to laptop or charger but when connected stays on until unplugged
i've tried multiple cables
stuck in boot loop on powered by android screen
with vol up and power just boot loops back to the powered by android screen like there is no recovery
with vol down and power boots into fastboot mode and is visible in simple adb under the fastboot tab i'm able to see the serial number but not under the adb tab there's no devices listed
when i try to use erase or flash commands it says cannot be done in a locked state which tells me the bootloader is locked and the oem and usb debug is not turned on
it says the active slot is b but won't let me change slots because of locked statues
is there anyway to turn on oem unlock and usb debug with it not booting i've tried all of the flashing unlock bootloader commands in simple adb's fastboot tab but nothing is working i can see and talk to the phone with fastboot but because of locked bootloader i can't do anything.
any help would be great it's not important it's just a phone to play around with abd and roms to see what i can do and try to teach myself somethings but it was stock the guy that gave it to me dosen't know anything about phones he dropped it and broke the touch screen and just got another one
so if anyone could point me in the right direction or tell me if it's possible to get oem unlock and usb debug turned on in a non booting no adb connection but fastboot connectable phone with no bootable recovery
if you need anymore info just let me know
thanks in advance
hippiehemp
hippiehemp said:
hi
someone gave me this broken phone so i don't know what happened to get it to this point
here's the breakdown of what it's doing and what i've tried
it's a sprint variant
bootloader ver mata-8a1a76e
baseband ver 2.0.c4-m2.0.2
secure boot yes
device state locked
no power and won't turn on unless connected with a usb cable to laptop or charger but when connected stays on until unplugged
i've tried multiple cables
stuck in boot loop on powered by android screen
with vol up and power just boot loops back to the powered by android screen like there is no recovery
with vol down and power boots into fastboot mode and is visible in simple adb under the fastboot tab i'm able to see the serial number but not under the adb tab there's no devices listed
when i try to use erase or flash commands it says cannot be done in a locked state which tells me the bootloader is locked and the oem and usb debug is not turned on
it says the active slot is b but won't let me change slots because of locked statues
is there anyway to turn on oem unlock and usb debug with it not booting i've tried all of the flashing unlock bootloader commands in simple adb's fastboot tab but nothing is working i can see and talk to the phone with fastboot but because of locked bootloader i can't do anything.
any help would be great it's not important it's just a phone to play around with abd and roms to see what i can do and try to teach myself somethings but it was stock the guy that gave it to me dosen't know anything about phones he dropped it and broke the touch screen and just got another one
so if anyone could point me in the right direction or tell me if it's possible to get oem unlock and usb debug turned on in a non booting no adb connection but fastboot connectable phone with no bootable recovery
if you need anymore info just let me know
thanks in advance
hippiehemp
Click to expand...
Click to collapse
Hi, were you able to fix this issue?
I have the same exact problem here, its been few months actually, but still trying to figure this out.
download the offical firmware images and flash with fastboot
bootloader lock has not effect on flashing stock firmware or whatever slot its on
Legitsu said:
download the offical firmware images and flash with fastboot
bootloader lock has not effect on flashing stock firmware or whatever slot its on
Click to expand...
Click to collapse
Are you sure of that? Because Essential specifically instructs to enable "OEM Unlocking" and unlock the BL before flashing the factory image via fastboot...
Legitsu said:
download the offical firmware images and flash with fastboot
bootloader lock has not effect on flashing stock firmware or whatever slot its on
Click to expand...
Click to collapse
Oh God...
Please stop...
You are full of bad information...
You cannot use fastboot with a locked bootloader .. it is the Essential way...
hippiehemp said:
hi
someone gave me this broken phone so i don't know what happened to get it to this point
here's the breakdown of what it's doing and what i've tried
it's a sprint variant
bootloader ver mata-8a1a76e
baseband ver 2.0.c4-m2.0.2
secure boot yes
device state locked
no power and won't turn on unless connected with a usb cable to laptop or charger but when connected stays on until unplugged
i've tried multiple cables
stuck in boot loop on powered by android screen
with vol up and power just boot loops back to the powered by android screen like there is no recovery
with vol down and power boots into fastboot mode and is visible in simple adb under the fastboot tab i'm able to see the serial number but not under the adb tab there's no devices listed
when i try to use erase or flash commands it says cannot be done in a locked state which tells me the bootloader is locked and the oem and usb debug is not turned on
it says the active slot is b but won't let me change slots because of locked statues
is there anyway to turn on oem unlock and usb debug with it not booting i've tried all of the flashing unlock bootloader commands in simple adb's fastboot tab but nothing is working i can see and talk to the phone with fastboot but because of locked bootloader i can't do anything.
any help would be great it's not important it's just a phone to play around with abd and roms to see what i can do and try to teach myself somethings but it was stock the guy that gave it to me dosen't know anything about phones he dropped it and broke the touch screen and just got another one
so if anyone could point me in the right direction or tell me if it's possible to get oem unlock and usb debug turned on in a non booting no adb connection but fastboot connectable phone with no bootable recovery
if you need anymore info just let me know
thanks in advance
hippiehemp
Click to expand...
Click to collapse
Same problem here. After a official upgrade i can only access to fastboot mode. Select recovery, start, etc... reset the phone and returns to fastboot mode.
Secure boot - yes
only diference - Bootloader version mata-b9326aa and baseband 2.0.c4-M2.0.10
YaKuM0 said:
Same problem here. After a official upgrade i can only access to fastboot mode. Select recovery, start, etc... reset the phone and returns to fastboot mode.
Secure boot - yes
only diference - Bootloader version mata-b9326aa and baseband 2.0.c4-M2.0.10
Click to expand...
Click to collapse
If the bootloader is locked, and you can't get to recovery to sideload, you're stuck

Bricked by locking the bootloader?

So, the thing is - in the morning I have locked my device's bootloader, I did not install anything or else, just in minimal adb fastboot typed "fastboot oem lock", because I needed my bl to be locked to run some apps properly. Little did I know, it was a global rom on a chinese phone, and it also locked my device from booting the system, because it landed in state "this miui version cannot be installed on this device". As many people may know, it made my xiaomi able to run only fastboot or recovery menu, it just cannot boot the system. For the last 6 hours straight I have been looking for any resonable solutions, doable on the spot, but all I can see is EDL. Before anyone asks - I have already tried MiFlash (it won't run because device is locked), also minimal adb fastboot gives error "token verify failed", so I know i have to use something to unlock my phones bootloader. Of course, there is another BUT - I did not turn on usb debugging and mi boot unlock in settings, so using Mi Unlock on pc with fastboot turned on gives result in "Please add your account in "MIUI's Settings > Developer optionss > Mi unlock status", which, as I said, I cannot do.
So we come to my question - is there any reasonable way to turn on this "Mi unlock status" and USB Debug without turning on whole system, or any other way to unlock bootloader/turn on it properly?
Greetings from Poland and thank you for your help
Which recovery do you have? Maybe you could try to restore system and data if it is twrp/fox.
If it's stock recovery give the mi assisant a try, never used it myself though, but worth a try.
Also look here https://c.mi.com/thread-2224746-1-0.html
and here https://c.mi.com/thread-2312140-1-0.html

How to access my android phones data with only fastboot mode access and no developer

Hello,
I have an Asus Zenfone Max Pro M1 device. Few hours back, it shutdown suddenly:crying: and i cannot reboot it. What all i tried are:
1) When i try to Restart, it shuts down after showing asus logo.
2) When i try to access Recovery Mode by pressing Volume Down and Power Button, it shuts down after showing asus logo.
3) I can Only Access CSC FASTBOOT MODE. But no Developer options enabled.
NB: Please note that Developer options is disabled and usb debugging is OFF.:crying:
All tutorials on web says i need to reinstall rom for wich i need to unlock bootloader which will eventually delete my data.
Can someone help me on how i can get my datas back in this situation?
You can't unlock bootloader until you enable OEM unlock in developer options, so there is no method to get your data. You need to wipe
Same problem.... not able to unlock bootloader
Also fastboot rom,qfill failed to repair this problem
Having the same problem. Did anyone figured out what the issue might be or how to proceed? If I would lose the phone, it'll hurt, but not critical. But at least the data ...
Thank you

Categories

Resources