Deleting the password/pin file in recovery mode? - Xiaomi Redmi Note 7 Pro Questions & Answers

My daughter locked herself out of her phone and she doesn't live near me so I can't get the phone into my hands to fiddle with it myself. I think I rooted the phone before I gave it to her so I want to know if there is a way to delete the password/pin file in recovery?

There's no way to delete that pin lock , all you can do is format data or either contact your daughter further.

Related

How can i put a boot password, or alternatively disable the recovery/download modes?

Is there any way to add a password when it boots? If no, then is there any way to disable the recovery/download mode?
How hard can it be to add a password? I was searching and apparently the problem is that the boot thing is read only and that we would have to make our own update.zip or w.e.
But why not just make a windows program that makes our own version of the clockword mod recovery update file. Just input one word (the password) and it'll make a slightly different update file or w.e
But even so since right now the boot password thing isn't developed yet (I would but i don't know how, same old story...), is there any way to just simply disable the boot menus?
I ask these things in case someone steals the phone and overrides all the security by flashing. if the modes are disabled and there's a simple screen lock or w.e then the theif can't do anything. can't enter the rom nor can he change it.
So is there any way now that I missed? if not how possible is it to develop something to make either things possible?
I have the same question. Isn't it ridiculous to have such an insecure phone? Is there still no solution?
Can you modify the bootloader in order to pw-protect download and recovery mode?

[Q] Bypassing lock screen password by rooting

Hi all a friend dropped her Galaxy Note 10.1 into me yesterday to see if I could help retrieve her password. I tried entering the password wrong so many times to see if forgot password comes up but nothing. She obviously skipped registering with google. She has photos on it that she wants off it. I told her she would lose everything if I reset it and it might be her only option. Can I root it or install Cwm on it or some custom recovery to bypass the password or does it need USB debugging to be turned on which I very much doubt is turned on unless she hit it by mistake !! I came across these methods maybe method 3 might work ? Not sure.
Method 3 (new):
It’s a quite simple method than the other two. By using this method you can crack / unlock both, pattern lock as well as pin / password lock. But before you use this method, your device must have a custom recovery like CWM installed on it. Note that you may also require to root your device just in case if it doesn’t work by having CWM only (it’s a far rare case though). It should work with CWM Recovery alone.
So, lets get started: firstly download a Lockscreen bypass file from the link given below:
Pattern / Password Bypass for Android
Copy the downloaded zip file on your device’s internal / external memory by any means.
Now, boot into recovery mode on your phone / tab. Note that, each device has a different method (key combinations) to get into recovery mode. If you don’t know how to boot into recovery, you can Google it or ask us in comments below (include your device model along with the comment).
After getting into recovery, select install zip from sdcard followed by choose zip from sdcard. Navigate to the file you’ve just transferred on your phone. Hit Power button to select the file and confirm the installation by selecting ‘Yes – Install LockScreen_Security_bypass.zip’.
As soon as installation gets completed, select ‘reboot system now’ to restart the phone.
Once the phone gets rebooted, you’ll see that the pattern / password lock is still there. But don’t panic, just enter any pattern / password and it will get unlocked by itself.
Thanks to XDA Recognized Contributor dr.ketan for this awesome script. You can find his original thread here.
That’s it! You’ve successfully unlocked / cracked the pattern lock of your Android device. Do let us know if you face any difficulty while unlocking the pattern lock. We’ll be more than happy to help you out.
Nobody able to help me before I have to factory reset it any help would be appreciated :good:
Hi.
All the methods that I know of require USB-debugging to be on. Sorry
Jooztk said:
Hi.
All the methods that I know of require USB-debugging to be on. Sorry
Click to expand...
Click to collapse
No problem thanks for the reply. Looks like I'll have to reset it so.
If you can connect with adb from recovery you could snag the files from there. If your on stock recover it can be done but I'm not sure how. Cwm has the option to mount usb
Sent from my GT-I9505G using xda app-developers app

How to temporarily disable the recovery?

Sorry for this n00bie question, but is there any way how to temporarily disable the Recovery?
Cause anyone can access the recovery from boot and can reset your phone and everything..
So in case that your phone was stolen, they can just reset your phone (if they knew) when they don't know your lock screen password or whatever...
JnFrks said:
Sorry for this n00bie question, but is there any way how to temporarily disable the Recovery?
Cause anyone can access the recovery from boot and can reset your phone and everything..
So in case that your phone was stolen, they can just reset your phone (if they knew) when they don't know your lock screen password or whatever...
Click to expand...
Click to collapse
There were some attemps for pin protecting the recovery BUT there is NO way at all as on nearly every phone you can easily replace the recovery using a computer. IF you wan't to secure your phone, please use the android encryption.
LS.xD said:
There were some attemps for pin protecting the recovery BUT there is NO way at all as on nearly every phone you can easily replace the recovery using a computer. IF you wan't to secure your phone, please use the android encryption.
Click to expand...
Click to collapse
Okay, thanks for the answer
CASE CLOSED.

System UI Stopped Running

Hello.
Today I installed updates from via Aptoide (i know, dumb idea, but i thought, if smth isnt fitting, i can just deinstall the update) on my Galaxy S7, suddenly the UI crashed, cuz it appears that an App, i dont remember the name since it updated everything, has overwritten the system ui settings. All i remember is, it was a Samsung App.
Now the problem is, i just have a black screen.
I never synchronised my data and would loose like 200 contacts and the last years of my life in pictures and films...
I also hv all my passwords in a password safe on my phone, a lot of documents and so on, but the contacts and private life stuff is even more important.
So, for no chance I will wipe all my data to have a working phone again.
I tried to wipe the cache. Not working.
I tried to go into Secure Mode, but the UI is missing there too.
Maybe im too dumb to install the ADB correctly, but its not even finding a device when I connect the phone with the PC, even though im in Recovery/Apply Update from ADB.
I didnt allow the debbging by ADB in the phones options when it was working. So i dont know whether that could cause the problem or im not able to use configure the ADB drivers right on my PC.
I also tried to just connect the phone with my PC to save the data, but i need to enter the PIN on the Phone to get access to the phone storage.
I also thought about using a custom Recovery to just Save my data, but a friend told me that the phone would recognize that and encrypt the files on my phone then.
I hope you can help me out and excuse my stupid update behavior and my english skills. :/ Ive already learned smth from that incident.
Kind Regards.
RCEPaul said:
Hello.
Today I installed updates from via Aptoide (i know, dumb idea, but i thought, if smth isnt fitting, i can just deinstall the update) on my Galaxy S7, suddenly the UI crashed, cuz it appears that an App, i dont remember the name since it updated everything, has overwritten the system ui settings. All i remember is, it was a Samsung App.
Now the problem is, i just have a black screen.
I never synchronised my data and would loose like 200 contacts and the last years of my life in pictures and films...
I also hv all my passwords in a password safe on my phone, a lot of documents and so on, but the contacts and private life stuff is even more important.
So, for no chance I will wipe all my data to have a working phone again.
I tried to wipe the cache. Not working.
I tried to go into Secure Mode, but the UI is missing there too.
Maybe im too dumb to install the ADB correctly, but its not even finding a device when I connect the phone with the PC, even though im in Recovery/Apply Update from ADB.
I didnt allow the debbging by ADB in the phones options when it was working. So i dont know whether that could cause the problem or im not able to use configure the ADB drivers right on my PC.
I also tried to just connect the phone with my PC to save the data, but i need to enter the PIN on the Phone to get access to the phone storage.
I also thought about using a custom Recovery to just Save my data, but a friend told me that the phone would recognize that and encrypt the files on my phone then.
I hope you can help me out and excuse my stupid update behavior and my english skills. :/ Ive already learned smth from that incident.
Kind Regards.
Click to expand...
Click to collapse
Damn that's crazy I be knowing how you feel like when you make that one mistake and it messes up your phone if your able to use a custom recovery I suggest you flash it and find a decryptor zip to remove decryption from your device and then factory restore from twrp or you could do a hard reset from your phone to factory restore just make sure you remember the last Google account you used when you set up your phone account as to your data like pictures and stuff if you wipe threw custom recovery you won't lose that as internal storage is its only partition not wiped by factory reset however with stock recovery factory reset wipes data and internal storage partition
([emoji813]9/[emoji725]/9[emoji813])
So a friend and me figured out that you can access the phone by pc in secure mode by not even entering the PIN.
So i have the files now, but cant get access onto my contacts, not even with software, since ADB is deactivated in phones options.
Any hint how to get them extracted too?
RCEPaul said:
So a friend and me figured out that you can access the phone by pc in secure mode by not even entering the PIN.
So i have the files now, but cant get access onto my contacts, not even with software, since ADB is deactivated in phones options.
Any hint how to get them extracted too?
Click to expand...
Click to collapse
That's interesting if I knew I would of told you
([emoji813]9/[emoji725]/9[emoji813])
Which recovery works with Samsungs encryption and could restore the files?
Im noob in such things, sorry-
RCEPaul said:
Which recovery works with Samsungs encryption and could restore the files?
Im noob in such things, sorry-
Click to expand...
Click to collapse
Xda is your friend you need to research and next time keep it simple modifying there phone is not for everybody it's a process and something can always go wrong cause you can't plan for everything
([emoji813]9/[emoji725]/9[emoji813])

After factory reset Google Backup asks for pattern, can't restore

My Redmi Note 8 suddenly stopped accepting my correct pattern lock, so I was forced to reset. It turns out I had Google Backup enabled, which was a happy surprise. However, it asks me for the previous pattern lock of the phone, which it still won't accept. This is incredibly frustrating.
Is there anything I can do to get access to the backup file or be able to use it? Will it get deleted if I don't restore it right now, in the initial setup?
Thank you.
zoey_96 said:
My Redmi Note 8 suddenly stopped accepting my correct pattern lock, so I was forced to reset. It turns out I had Google Backup enabled, which was a happy surprise. However, it asks me for the previous pattern lock of the phone, which it still won't accept. This is incredibly frustrating.
Is there anything I can do to get access to the backup file or be able to use it? Will it get deleted if I don't restore it right now, in the initial setup?
Thank you.
Click to expand...
Click to collapse
Is this a second hand device? It seems that it is linked to another account.
If your device is unlocked, you are rooted and enabled previously USB debugging, you should pull your backup or some other partition.
The initial setup itself can't delete any data.
Interesting. If you did a factory reset with no internet connection would this thrwart it?
Be careful...
Never use bios, screen locks etc because this is what can happen. Ive gotten locked out of a bios before because of data corruption... with disastrous results. Had no lock been enabled nothing would have happen.
Data encryption for data hdds is an even worse idea... don't do it.
SubwayChamp said:
Is this a second hand device? It seems that it is linked to another account.
Click to expand...
Click to collapse
No, I had this phone for almost two years now and bought it new. Three weeks ago I tried to fingerprint unlock it with wet fingers and after several unsuccesful attempts it asked me for the pattern lock, which it didn't accept, even though I know the correct one. I've been trying to find a way to unlock it or make a backup ever since but found no solution, so I decided to reset.
After factory reset from recovery mode, it asked me if I wanted to restore a backup, and although I thought I probably didn't have one, I logged into the google account I used on the phone before the reset. Turns out I did have backup turned on! However, when I went to restore it, it asked me for the lock pattern at the time of the backup creation. Predictably enough, it didn't accept it, which is where I'm stuck now.
SubwayChamp said:
If your device is unlocked, you are rooted and enabled previously USB debugging, you should pull your backup or some other partition.
Click to expand...
Click to collapse
After factory reset, my device is indeed now unlocked. It is not rooted. I had USB Debugging enabled, but my laptop wasn't authorized, which is why in the end I couldn't unlock it or make a backup previously. I tried plugging it into the laptop in it's current state (waiting for the lock pattern to restore my backup) and tried adb, but it can't find my device at all. Previously, it just said unauthorized, so I suppose USB Debugging is now off.
SubwayChamp said:
The initial setup itself can't delete any data.
Click to expand...
Click to collapse
Plugging it into the computer allowed me to use mtp mode and I took a quick look into the files. All of my files are gone, so I'm pretty sure everything got deleted before the setup stage.
blackhawk said:
Interesting. If you did a factory reset with no internet connection would this thrwart it?
Be careful...
Click to expand...
Click to collapse
Sorry, I'm not sure what you mean. Thwart what? I factory reset from recovery mode so I don't think internet connection had any role there, but I did have it on before. And I connected to the wifi before it asked me to log into google.
zoey_96 said:
Sorry, I'm not sure what you mean. Thwart what? I factory reset from recovery mode so I don't think internet connection had any role there, but I did have it on before. And I connected to the wifi before it asked me to log into google.
Click to expand...
Click to collapse
Where's the lock screen code being stored after the factory reset?
In the phone or cloud?
If in the userdata partition it should be wiped.
blackhawk said:
Where's the lock screen code being stored after the factory reset?
In the phone or cloud?
If in the userdata partition it should be wiped.
Click to expand...
Click to collapse
From what I understand, it was used to encrypt the Google backup file, so it will ask for it even if you try to restore it on another device. So I suppose the answer is cloud.
zoey_96 said:
No, I had this phone for almost two years now and bought it new. Three weeks ago I tried to fingerprint unlock it with wet fingers and after several unsuccesful attempts it asked me for the pattern lock, which it didn't accept, even though I know the correct one. I've been trying to find a way to unlock it or make a backup ever since but found no solution, so I decided to reset.
After factory reset from recovery mode, it asked me if I wanted to restore a backup, and although I thought I probably didn't have one, I logged into the google account I used on the phone before the reset. Turns out I did have backup turned on! However, when I went to restore it, it asked me for the lock pattern at the time of the backup creation. Predictably enough, it didn't accept it, which is where I'm stuck now.
After factory reset, my device is indeed now unlocked. It is not rooted. I had USB Debugging enabled, but my laptop wasn't authorized, which is why in the end I couldn't unlock it or make a backup previously. I tried plugging it into the laptop in it's current state (waiting for the lock pattern to restore my backup) and tried adb, but it can't find my device at all. Previously, it just said unauthorized, so I suppose USB Debugging is now off.
Plugging it into the computer allowed me to use mtp mode and I took a quick look into the files. All of my files are gone, so I'm pretty sure everything got deleted before the setup stage.
Sorry, I'm not sure what you mean. Thwart what? I factory reset from recovery mode so I don't think internet connection had any role there, but I did have it on before. And I connected to the wifi before it asked me to log into google.
Click to expand...
Click to collapse
If you did factory reset device, then all is gone.
Regarding the status locked or not I referred to the bootloader, in case it is locked and the USB debugging is not already enabled then you have less chances to recover the device.
You should try flashing the device through EDL mode but old days (in my last RN8) it requires an authorized Mi account.
zoey_96 said:
From what I understand, it was used to encrypt the Google backup file, so it will ask for it even if you try to restore it on another device. So I suppose the answer is cloud.
Click to expand...
Click to collapse
If you can factory reset it now FPR isn't active.
So when it first boots up after the reset if you can shield it from internet access you can disable Google backup Transport and Framework.
I think these are the backup pathways but you'll need to verify this.
If you need that backup data though it a catch 22. Perhaps if you keep the phone powered on until the backup is done and fully disable screen lock before rebooting... you can have your data without the lockout.
I may be mistaken. This is interesting but I'm very glad it's not my experiment!

Categories

Resources