Can't remove pattern lock at boot startup (secure boot) - Xiaomi Redmi 3s Questions & Answers

I have flashed resurrection remix through twrp. In security section, by mistake I choose yes to secure boot at startup while setting pattern lock. Now I can't remove pattern lock at boot startup and I can't disable secure boot. I also tried removing all locks, wipe data and many stuffs. But didn't helped. Pls suggest some solutions to remove lock at boot ( secure boot).

Are you talking about device encryption?

sanam279 said:
Are you talking about device encryption?
Click to expand...
Click to collapse
yes, i think he is ...???
and i want to know how to stop device encryption..??

G. Leela Krishna Sai said:
yes, i think he is ...???
and i want to know how to stop device encryption..??
Click to expand...
Click to collapse
Hmmm now you need to format all of your internal storage

Or just flash rm pass. If doest not help, also if u have some thing u don't want to loose then flash miui and the log in to ur id and then. Goes on, or just format data.

Related

PAC-ROM - Which version should I download?

http://en.miui.com/thread-492490-1-1.html
Has anyone installed this thing? I don't know which one should I put on my phone. Everytime I want to return to MIUI phone gets stuck on bootloop, forcing me to use cable with switch to unbrick it. I think it happens because of encryption. And since this is my first Xiaomi phone I don't know where to check if my phone is encrypted. Help me.
You have to disable DM-Verify in Advanced in TWRP before boot
toji12 said:
You have to disable DM-Verify in Advanced in TWRP before boot
Click to expand...
Click to collapse
Before booting new ROM, right ?
Yep
toji12 said:
Yep
Click to expand...
Click to collapse
But now phone wants some password.
Your phone is encrypted?
Maybe your phone is encrypted by you. There is a function to encrypt all the data on your phone using a password.

[Guide] How to remove encryption from your Pixel 2 XL

In an effort to keep this chatter out of other threads, here is the info that you seek. I didn't discover this process @DespairFactor and Bryant (not sure of his XDA handle) get the credit.
First you need to go through the Google set up and Skip everything except, the unlock Theft Protection. It will then ask you if you want to add the Google account and you say no. If at any point you say yes to something or add a pin / fingerprint it will encrypt. Then you need to reboot to the bootloader and run, fastboot format userdata then, Boot and Skip through the set up again. As long as you do not add a pin / password or a google account you will stay un-encrypted. This will work on the stock boot.img.
Reserved
Any advantage of doing it? In theory it should work faster, but is it visible?
Hola
And further to @DforDesign's question, I take it that having a decrypted device helps with existing TRWP and available custom kernel installations? I haven't reviewed the Development sub-forums yet as I am still awaiting my device.
Thanks for the guide.
If you do stay unencrypted, isn't all we can do for now is just edit the build prop? Anything else? I thought magisk would still bootloop
DforDesign said:
Any advantage of doing it? In theory it should work faster, but is it visible?
Click to expand...
Click to collapse
Depends on if you talk to people that wear tin foil hats, that also gives you your answer.
so after the setup, can you add your google account, fingerprint/pin later?
xryousukex said:
so after the setup, can you add your google account, fingerprint/pin later?
Click to expand...
Click to collapse
Then you will lose twrp after doing that process. It will be encrypted.
Let me make sure I'm understanding this.
I already set up my 2 XL with pin and fingerprint, so now it's encrypted making seeing root file tree impossible (like sdcard, download folder).
If I reset my device, and say NO to everything requiring pin or fingerprint on the device, I can set it up normally and still have access to the root file tree?
So long as I don't password, pin, fingerprint protect the device, I'll continue to have access to these files, right?
But this also means no google account activity (Gmail, contacts , photos, etc) right?
Yes for now, that's exactly what that means, at least for now until TWRP , or AOSP recovery is update and worked on to work with our device.
Az Biker said:
Let me make sure I'm understanding this.
I already set up my 2 XL with pin and fingerprint, so now it's encrypted making seeing root file tree impossible (like sdcard, download folder).
If I reset my device, and say NO to everything requiring pin or fingerprint on the device, I can set it up normally and still have access to the root file tree?
So long as I don't password, pin, fingerprint protect the device, I'll continue to have access to these files, right?
But this also means no google account activity (Gmail, contacts , photos, etc) right?
Click to expand...
Click to collapse
You understand correctly. The only thing I'm not sure about is whether or not a factory reset will be enough. We used format userdata in fastboot to achieve it. It may be a good test to see if simply linking a Google account will trip encryption.
I can add my google account as long as i dont set a pin or fingerprinter my phone's internal storage is visible via TWRP with no issues.
Let me add something we discovered. It seems to be on the pin/pattern setup only. I think you can do everything else to stay decrypted in twrp. Now might thought was to setup everything they way you want without pin/pattern and you can then backup. Then save that backup on a PC. After that you lock your device via pin/pattern. If for some reason something screws up instead of setting everything up again. Just factory reset and skip everything and place backup on SD card then boot twrp and try to restore. Someone want to test this theory lol????
Sent from my Nexus 6 using Tapatalk
bryantjopplin said:
Let me add something we discovered. It seems to be on the pin/pattern setup only. I think you can do everything else to stay decrypted in twrp. Now might thought was to setup everything they way you want without pin/pattern and you can then backup. Then save that backup on a PC. After that you lock your device via pin/pattern. If for some reason something screws up instead of setting everything up again. Just factory reset and skip everything and place backup on SD card then boot twrp and try to restore. Someone want to test this theory lol????
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Thanks for confirming
Great! Thanks. I can't use TWRP on the Nov patch but I have a question... I'm now using a permissive kernel. Can I simply wipe userdata to unencrypt? Can you confirm? Is the command fastboot format userdata?
Thanks in advance!
Mike02z said:
Great! Thanks. I can't use TWRP on the Nov patch but I have a question... I'm now using a permissive kernel. Can I simply wipe userdata to unencrypt? Can you confirm? Is the command fastboot format userdata?
Thanks in advance!
Click to expand...
Click to collapse
Yes, but twrp is still not functional
bryantjopplin said:
Yes, but twrp is still not functional
Click to expand...
Click to collapse
Thanks. I didn't realize we needed twrp. I was thinking we could just use fastboot erase userdata in leu of twrp.
Can't you just factory reset and then flash Magisk before re-setting up your phone? I thought Magisk disabled force encrypt by default.
Mike02z said:
Thanks. I didn't realize we needed twrp. I was thinking we could just use fastboot erase userdata in leu of twrp.
Click to expand...
Click to collapse
No you can, I thought you were thinking format userdata would fix twrp. Sorry
TheSt33v said:
Can't you just factory reset and then flash Magisk before re-setting up your phone? I thought Magisk disabled force encrypt by default.
Click to expand...
Click to collapse
Tried it, no luck. Removed my Google account, reset phone, did not log into my Google account and did not set up any PIN or password and it's still encrypted. I'll try fastboot erase userdata and cache and see if that works.

Lock screen

I have a question if I put a lock screen on my J327U(rooted) will it lock me out of my phone if I reboot it cause I disabled my encryption and I'm afraid it will rencrypt my phone and lock me out on reboot will it?
Blackjesus135 said:
I have a question if I put a lock screen on my J327U(rooted) will it lock me out of my phone if I reboot it cause I disabled my encryption and I'm afraid it will rencrypt my phone and lock me out on reboot will it?
Click to expand...
Click to collapse
Putting a lock screen on your device won't re-encrypt your device.
What did you do to disable encryption?
ashyx said:
Putting a lock screen on your device won't re-encrypt your device.
What did you do to disable encryption?
Click to expand...
Click to collapse
I booted into recovery and I clicked wipe data it disabled encryption and frp lock I was just wondering if putting a lock screen would enable it again well thanks ashlyx
Blackjesus135 said:
I booted into recovery and I clicked wipe data it disabled encryption and frp lock I was just wondering if putting a lock screen would enable it again well thanks ashlyx
Click to expand...
Click to collapse
Wiping data in recovery will not disable encryption. It will remove it temporarily, but will re-encrypt at first boot.
ashyx said:
Wiping data in recovery will not disable encryption. It will remove it temporarily, but will re-encrypt at first boot.
Click to expand...
Click to collapse
I can still reboot normally I tried it a couple times but if I put a lock screen nothing will change right?
Blackjesus135 said:
I can still reboot normally I tried it a couple times but if I put a lock screen nothing will change right?
Click to expand...
Click to collapse
Nothing will happen, you will still be encrypted.
ashyx said:
Nothing will happen, you will still be encrypted.
Click to expand...
Click to collapse
Is there a way to disable encryption forever?
Blackjesus135 said:
Is there a way to disable encryption forever?
Click to expand...
Click to collapse
Flash my encryption boot patch with TWRP or Flashfire then factory reset.
ashyx said:
Flash my encryption boot patch with TWRP or Flashfire then factory reset.
Click to expand...
Click to collapse
How do I get TWRP for my J327U?

Decrypt 5T

I found a workaround to decrypt 5T
1. Boot into TWRP
2. Format Data > Yes > Enter
3. Mount storage
4. Download no-verity flashable zip: https://drive.google.com/file/d/0B0pr-ZA5b-1pWHp5aDkzaC1ydUk/view
5. Transfer no-verity flashable zip to your 5T
6, Flash it
7. Reboot
U didn't have any side effects or errors with a zip for the 5, not 5T?
yung40oz84 said:
U didn't have any side effects or errors with a zip for the 5, not 5T?
Click to expand...
Click to collapse
I only tested briefly but nothing at all
Are there benefit?
Do u still have to enter password in twrp
what's this?
I know everyone wants as much performance they can get. In the days of the Nexus 6 and prior, un-encrypting the phone made it faster. With today's flagship phones is is completely unnecessary. You can certainly try and dycrypt if you want but you won't gain any additional performance on the 5t
Mike02z said:
I know everyone wants as much performance they can get. In the days of the Nexus 6 and prior, un-encrypting the phone made it faster. With today's flagship phones is is completely unnecessary. You can certainly try and dycrypt if you want but you won't gain any additional performance on the 5t
Click to expand...
Click to collapse
True..however it just takes away that first step in TWRP "Mount Decrypt" you go right to the home page. Just convenience not performance.
Will this remove the dm-verity message at boot up I got when I had the OP3? Is that message even a thing for the 5T?
showofdeth said:
Will this remove the dm-verity message at boot up I got when I had the OP3? Is that message even a thing for the 5T?
Click to expand...
Click to collapse
Not sure about a message ? When I boot into TWRP it opens on the Mount page and I have to enter a password
to Decrypt before the main page comes up.....this should remove the Mount/Decrypt page and go right to the main page
hopefully on the 5T a well....
If anyone decrypts and is able to remove enforce fbe I have some files for the OP5T for dualboot you can test. Ported over front he OP5. Pm me if interested.
I tried everything under the sun to get the FBE enforced encryption to not encrypt device on boot with stock or any stock ROM, including FreedomOS and Audax. I cannot get it to work. It either does not boot at all or says encryption failed and I have to factory reset and wipe data. I tried every TWRP, every disable dm verity zip, every kernel, combination of flashing. Must wait for a proper zip to disable the forced FBE encryption for OP5T.
That sucks...I was hoping for that...hope a Dev comes up with something soon....
sent from OnePlus 5T
skyeking69 said:
Not sure about a message ? When I boot into TWRP it opens on the Mount page and I have to enter a password
to Decrypt before the main page comes up.....this should remove the Mount/Decrypt page and go right to the main page
hopefully on the 5T a well....
Click to expand...
Click to collapse
That is not true. If you don't set Android to also use your screen lock password to bet used at boot, the default password for decryption will be "default_password" and TWRP will decrypt without asking. As decryption is done in hardware, you should not notice any difference in speed.
showofdeth said:
Will this remove the dm-verity message at boot up I got when I had the OP3? Is that message even a thing for the 5T?
Click to expand...
Click to collapse
It is more likely that decrypting will trigger such message, unless you have something installed that will suppress such warnings, e.g. Magisk.
This zip worked fine for me. I'm running audax decrypted.
dreinulldrei said:
That is not true. If you don't set Android to also use your screen lock password to bet used at boot, the default password for decryption will be "default_password" and TWRP will decrypt without asking. As decryption is done in hardware, you should not notice any difference in speed.
Click to expand...
Click to collapse
Ok how do I set Android not to use my screen lock password at boot?
---------- Post added at 01:19 PM ---------- Previous post was at 01:19 PM ----------
slebit said:
This zip worked fine for me. I'm running audax decrypted.
Click to expand...
Click to collapse
What zip ?
skyeking69 said:
What zip ?
Click to expand...
Click to collapse
The one from first post...
skyeking69 said:
Ok how do I set Android not to use my screen lock password at boot?
Click to expand...
Click to collapse
Set a screen lock pin or pw, when Android asks to protect boot process, choose no.
If this helped, there's a thanks button.
dreinulldrei said:
skyeking69 said:
Ok how do I set Android not to use my screen lock password at boot?
Set a screen lock pin or pw, when Android asks to protect boot process, choose no.
If this helped, there's a thanks button.
Click to expand...
Click to collapse
all it asks for is what notifications to display when screen is locked ?
Click to expand...
Click to collapse
I am using freedom os. I backup all my data into titanium and if I move to another rom my all data will be deleted or not ??
Can I access that data on another rom ??

Samsung Galaxy J5 Prime

Is there a way to remove a forgotten pattern lock without losing any data? Thanks in advance
MahathirMohamad_ said:
Is there a way to remove a forgotten pattern lock without losing any data? Thanks in advance
Click to expand...
Click to collapse
If oem lock and usbdebug at developer option are active you can esealy flash twrp via odin and then flash new rom for your phone with twrp.btw it will delete all your apps but your files will be keep if you don't wipe internal storage
But i think there is another way at twrp without flashing a new rom
Just do a little search
amirizad_7436 said:
If oem lock and usbdebug at developer option are active you can esealy flash twrp via odin and then flash new rom for your phone with twrp.btw it will delete all your apps but your files will be keep if you don't wipe internal storage
But i think there is another way at twrp without flashing a new rom
Just do a little search
Click to expand...
Click to collapse
Unfortunately I dont think OEM Lock and USB Debugging is active. . Guess its time to factory reset then..
MahathirMohamad_ said:
Unfortunately I dont think OEM Lock and USB Debugging is active. . Guess its time to factory reset then..
Click to expand...
Click to collapse
Yep!

Categories

Resources