Magisk fixes password encryption problem - Xiaomi Redmi Note 7 Questions & Answers

Hi to everyone! Even if I don't know how (I really wish to understand and to know how things works there) I found out that, flashing magisk, Prevent the error "TO START ANDROID, PLEASE ENTER PASSWORD" to appear... Lot of yours knows that problem... No password will be accepted. Tried:
- Mi Password
- Google Password
- LockScreen Password
- "default_password"
but none of those works...
In the recovery, and in the O.S., No password will be accepted, causing all your data to be LOST!
For example, after flashing the custom recovery for the first time, (I don't know how it is possible but, even just flashing the custom recovery without booting to it) will trigger this error, and you will be FORCED TO FORMAT /DATA, because data will be unrecoverable because of this bug/error.
But.... Magisk...
I don't know how it does/how things works, I really would like to understand... But the fact is, if you flash magisk after any mod/any flashing, then, that error, will NOT APPEAR. Don't ask me why, I ask it to you.
I hope to be useful. Just flash magisk after any mod, and you will be safe!

Related

Cannot Decrypt Note 3

:crying::crying::crying::crying::crying::crying: :crying::crying::crying::crying:
I have installed our company email powered by google on my Note 3. Automatically it will ask to download a google device policy, and will ask you to encrypt your phone. It will also ask you to change the screen lock into a password and will disable all the other options such us pattern and etc. Now I want to install a custom ROM and wipe everything. I have tried wiping it in different ways including TWRP. I have tried deleting the company email, uninstalled the google device policy but still the same thing. I went through settings and tried to decrypt it, and it will boot but still not decrypted. I have tried installing custom ROMs thinking that it might resolve but after the installation it will still ask for the password and when it boots, it gets stuck. I need your expertise please. I've read from different blogs and unfortunately they are having the same issue. What will I do? The last thing that i'm doing right now is reflashing it with it's original software throug ODIN. I'm still downloading it but I have read it somewhere that he also tried it and it didn't work. Please please developers help me on this.
Thanks,
Marlowe D.
:crying::crying::crying::crying::crying: :crying::crying::crying::crying:
Resolved
With desperation, I was able to resolved it on my own. I just tried to do wrong passwords for 10 times and it will erase everything on your device which is good as new.

TWRP Restore Problem with Fingerprint security

I have a nexus 6P running rooted stock rom and I wanted to try out a new rom. Before flashing the new rom, I made a nandroid backup via TWRP. Now, the rom that I was backing up had fingerprint security setup with backup passcode for unlocking the phone.
So I tried new rom and it didn't work (read-too many issues and too many crashes). Decided to revert back to my original setup. Went back into TWRP and restored the backup.
After booting the phone up, I can't log in to my phone anymore. As you know after every reboot, fingerprint sensor doesn't work unless you enter the backup passcode. So I am entering my passcode and its not accepted. I have tried entering passcode many times but to no avail. I know my passcode so possibility of me forgetting it is not valid.
Has anybody else seen or ran into this issue yet?
The step folks are missing is Prior to installing a backup you Must Change security to None before you even start a backup This clears password, pin and saved finger prints. I believe once security is changed it is safe to backup and then install backup. You will need to reenter Pin and Fingerprints.
Born<ICs said:
The step folks ...
... is changed it is safe to install backup.
Click to expand...
Click to collapse
You mean clear the security before making a backup ... right?
if not, how would I change security on a backup file of rom that had security enabled.
I have never used lock screen security before so never ran into this issue.
No, dig through this forum for tech details. But my understanding is anytime you make/install a backup or reflash rom or go back to stock you must reset you Security options in settings to None. You have security now, probably Fingerprints, and the required Lockscreen Pin.
If you try to install backup or Rom or whatever without doing so you get what you experienced. There is a path out of it if you read further.
Pin or Pattern on boot after restoring Nandroid
Born<ICs said:
No, dig through this forum for tech details. But my understanding is anytime you make/install a backup or reflash rom or go back to stock you must reset you Security options in settings to None. You have security now, probably Fingerprints, and the required Lockscreen Pin.
If you try to install backup or Rom or whatever without doing so you get what you experienced. There is a path out of it if you read further.
Click to expand...
Click to collapse
The interesting thing is, I intentionally chose to enter pattern/pin on rebooting. The strange (actually may not be strange .....but strange to me) thing is that even when I move on to different Roms, that initial choice is remembered and embedded since even after choosing not to require pin/pattern when rebooting, I get prompted. Also the pin/pattern works during recovery, it also works on the initial startup after restoring a backup but then fails after successful fingerprint use (it will actually say "wrong pin" or "wrong pattern") at the end of the booting process. The thing is, I have only used one pin and at other times one password ever with this device. Eventually I had to do a factory reset to solve this issue (thank goodness I was able to back up my internal storage to my computer in TWRP recovery mode).

custom binary frp-lock resurrected everytime by google?

So I'm using androman's pre-rooted firmware for my G-361f, and have been able to install the fixed twrp. (Thanks guys!) I have oem-unlocked and adb-debugging selected in developer options, and have toyed with the seandroid-permissive boot.img from the androman thread. If I put my device into download-mode, it says frp-unlocked. However, if I register a gmail account to access google-play, then turn my device off, it will not boot because the 'custom binary frp-lock' is back again. (even though settings were unchanged)
No problem-flash stock rom with odin and start from the beginning, but to get the twrp recovery to work requires a factory reset, and so it's inconvenient to have to keep repeating the process.
My solution has been to delete my gmail account from the phone immediately every-time, as soon as I have whatever I need from google-play, but it seems like a cumbersome solution. I havn't found any other mention of this issue, so I'm wondering if I've missed something obvious? Is there a more permanent fix?
Thanks

Why does my phone keep getting decrypted?

I'm very confused by the behavior of my Nexus6p right now. I would like my phone to be fully encrypted, IE, you pick up the phone and can access absolutely none of my data without typing in a password. So I've clean flashed it several times, usually whenever a new update comes out. And each time I do this, the phone behaves how I want, when it boots, I get a password screen that says "enter a password to continue boot". It goes on this way for a day or so usually, and then suddenly this password screen stops showing up and I get the "you must enter a password after restarting" screen that clearly has already decrypted my data because I can see notifications and even play music through bluetooth without entering the password.
After each clean flash, I have been installing various mods. This time around, I have the things I've flashed down to TWRP 3.1.0, Magisk 12, and ElementalX 4.08. In the security settings, the phone still reads as encrypted, so I'm very confused. Is this normal behavior for this device, or is it one of the above things I have flashed? Either way, how do I fix this so that my data actually stays encrypted when the phone boots?
I have had similar issues to fix I formated everything and then installed the rom installed newest vendor image and then kept on eye on what I allowed special access to my phone
Keeper was wanting special access so I stopped using them and switched to last pass I have not lost decryption on phone boot
Also decided to pay for esexplorer pro to get ride of any possible infected ads
Your phone data is still encrypted, but your security settings are not optimized for what you want to accomplish. Make sure your Lockscreen has a password/PIN/Gesture set. There is the password on BOOT when encrypted, a password on Lockscreen when the screen is off, and In Settings>>Notifications>>Gear Icon>>"On the lock screen"- there are three settings. Default is set to "Show ALL notification content". Set it to NOT show notifications for now until you set which ones you want to show or hide. TWRP and EX are not causing your issue. Magisk might be but I don't use it. Uninstall just to be sure and/or check in the dedicated Magisk thread. This is on the stock 7.1.2 ROM. If you are running a custom ROM, YMMV.
So if I understand the issue correctly, you clean flash and you have the prompt to enter your credentials before booting finishes. Eventually you get set up and upon a reboot you notice that the prompt is gone?
Check your apps. You're using an app that requires an accessibility service (see Settings / Accessibility / Services). Granting an app accessibility service will do away with the boot entry of your pin/pattern/password. Set up your apps again and either don't use the app in question or just don't grant it the accessibility service for whatever feature requires it.
Known issue, btw. I forget why it happens, Google may turn up the results you're looking for.
Edit: Despite it not asking for that prompt on boot, your phone is still encrypted, by the way. This also has absolutely nothing to do with TWRP, EX, Magisk or how you choose to have your notifications hidden on lock screen.
2nd: Sadly, just revoking the service won't usually restore the prompt while booting. You'll need to clean flash again and not grant it in the first place.
That makes sense, I was looking in the wrong place. That's a really irritating design decision, there's no sense in having the encryption at all if you're just going to store the material necessary to decrypt the data in the clear.
For now, changing my password seems to have returned the encryption prompt while leaving the accessibility services working to the best of my observation.
It will probably go away again shortly​, most likely after the app uses the accessibility service. If it does, revoke the service and change your password again or clean flash. I don't believe there is a way to keep both 100% of the time.

[Help] Decrypt storage, locked out from device

Hi everyone,
so in my immense stupidity, I actually managed to set my phone password wrongly, and now I can't get in. Spent a day trying passwords to find the typo but that was unsuccessful.
I have crDroid Android 11, bootloader unlocked, rooted with magisk, and TWRP 3.5.0.
How can get my phone back? I would love to save the internal storage since I have important stuff, but you know, if wiping it is the only way I have to go for it.
Thanks in advance.
Use this method. I have seen many people online suggesting it works.
Remove /Bypass Lockscreen With Recovery
Recently when i restored my data using TWRP i faced a problem at lock screen. I was not able to unlock my phone with the pin i set Earlier..So after so many attempts i was able to find a solution for that problem.(works with pattern,pin etc)...
forum.xda-developers.com
You are essentially removing lockscreen settings completely and should work as you still have TWRP access.
madman said:
Use this method. I have seen many people online suggesting it works.
Remove /Bypass Lockscreen With Recovery
Recently when i restored my data using TWRP i faced a problem at lock screen. I was not able to unlock my phone with the pin i set Earlier..So after so many attempts i was able to find a solution for that problem.(works with pattern,pin etc)...
forum.xda-developers.com
You are essentially removing lockscreen settings completely and should work as you still have TWRP access.
Click to expand...
Click to collapse
Thanks for the responce, but unfortunately that didn't work.
I deleted the files as explained in the thread you linked but now the lockscreen doesn't work at all, it's just a black screen. The power menu appears if I hold the power button, but nothing else. I tried swiping in some direction on the black screen but it doesn't unlock.
Also tried to sideload the rom again (dirty and clean flash), and magisk, still no luck.
Read the entire thread but nothing helpful.
DarkLudo77 said:
Thanks for the responce, but unfortunately that didn't work.
I deleted the files as explained in the thread you linked but now the lockscreen doesn't work at all, it's just a black screen. The power menu appears if I hold the power button, but nothing else. I tried swiping in some direction on the black screen but it doesn't unlock.
Also tried to sideload the rom again (dirty and clean flash), and magisk, still no luck.
Read the entire thread but nothing helpful.
Click to expand...
Click to collapse
Is TWRP able to decrypt the data? I'm guessing that's a no as the password is not accepted by the lockscreen. If TWRP was magically OK with the password, you could have adb pulled the files.
But apart from reseting the lockscreen using TWRP, I don't know a way to fetch the files.
madman said:
Is TWRP able to decrypt the data? I'm guessing that's a no as the password is not accepted by the lockscreen. If TWRP was magically OK with the password, you could have adb pulled the files.
But apart from reseting the lockscreen using TWRP, I don't know a way to fetch the files.
Click to expand...
Click to collapse
TWRP can decrypt if the correct passoword is provided. Tried pulling with adb the files anyway, even if they are encrypted, but the phone doesn't allow that either.
Thanks anyway

Categories

Resources