Android asks pattern before booting - Xiaomi Redmi Note 3 Questions & Answers

Hi, few days ago i tried lineage official. after flashing it asked me if i want password before every boot. i said yes. now i uninstalled lineage and came back to miui. but it still asking me the pattern. how do I remove it. because of that i am being unable flash unofficial roms. Unofficial roms fail saying unable to decrypt or something like that.

Hi
Use the MiFlash tool to reflash the stock ROM , but make a backup of your data

I am sure you didn't format /data, /cache, and dalvik-cache before you switch back to stock. The decryption asks password to decrypt /data. It is okay for the recovery to wipe the /data partition without password though. You can't just access the data, wiping is allowed.
Also, use Xiaomi Flash Tool to flash original OS. It'll wipe everything with no hassle.
Please don't expect to use /data partition on different OSes.

Related

Issues with encryption on a custom ROM

Hello, I unlocked my bootloader today. Immediately after flashing the official TWRP, I booted into it through ADB, and flashed DFE. After rebooting, I went back to TWRP, wiped data, cache, dalvik, system and flashed the latest vendor with pixel experience. ROM booted just fine, but after rebooting to TWRP again, it was asking me for password. I can get into TWRP by entering my device pin, and I can get back into the ROM, but during boot it always asks me for my pin. What should I do to fix this? Should I flash DFE with the ROM?
try "Format Data"
Your Data is already Encrypted. You need to Format your data/internal storage. Make sure to backup your data first before doing that.

Serious Questions from experienced user

Recently I have been having issues with custom roms where features are either being overwritten or possibly data wipes in recovery are not actually happening. Example Havoc OS 2.3 has call recording feature but never has the feature in settings of the dialer. I always flash open gapps nano and this has always only ever enabled dialer framework for Google contacts restore. I have tried this on every version of recovery available TWRP Unofficial, Official, OrangeFox, and RedFox. In the past issues like this before all this encryption you could just wipe all internal storage and have no worries of remnants. Can you still do this?
Personally I like OrangeFox because DM Verity and Disable Force Encryption happen automatically. But certain roms like DOT OS won't even boot because of reboot to recovery trying to decrypt data partition. The password does not exist because I have already wiped and formatted data partition. The only way out of this is to flash Miui EU stable or Global. Only question is why and how could this happen? (Note: I cannot still get DOT OS to fully boot clean flash at all).
Lastly If vendor firmware exists on it's own partition and not part of system partition, TWRP advanced wipe does not include vendor, why the need to flash it before every Rom if there is no need to update it? After all if dev builds a Rom on 9.3.25 vendor and you have that installed that will be the best vendor firmware to keep because the entire Rom is built/updated on it....correct?

problem with encryption

hi today i unlock my poco, and try to flash recovery and mi globe, i flash the orange fox 9.0, and flash the rom, the problem its when i boot to system, a message of my phone was encrypted and i need to perform a wipe data, i try wiping data, and wipe sd, and nothing change, also i flash again and flash then the disableencryptiontreble 17.3, and the same things happen, some solution??
have you tried to format data? not just wipe data
chanta96 said:
hi today i unlock my poco, and try to flash recovery and mi globe, i flash the orange fox 9.0, and flash the rom, the problem its when i boot to system, a message of my phone was encrypted and i need to perform a wipe data, i try wiping data, and wipe sd, and nothing change, also i flash again and flash then the disableencryptiontreble 17.3, and the same things happen, some solution??
Click to expand...
Click to collapse
i have the same issue, tried different recovery projects, OFRP and TWRP. both seem to have the same issue, with the message "encryption unsuccessful" and if i tried to press the "RESET DEVICE" button i get stuck in a boot loop.
i also factory reset my device, formatted everything via the recovery project menu then booted into recovery and installed the CUSTOM ROMS.
tried also to DFE but nothing seem to change even with encryption disabled.
but i scarcely manged to bypass this issue by; after wiping everything boot into recovery and install whatever rom you want and install gapps after it, better still install firmware vendor if the rom of your choice doesnt include them.
never mind, i fixed it.
in my case i was trying to flash LineageMicroG 16 on my Device and i kept getting that error and i did the following to fix it;
wiped everything and wrote "yes" to format the date and swiped for a factory reset through recovery wipe option then i booted into recovery and flashed LineagemicroG 16 after that i flashed optimus drunk kernel and booted into system and everything seemed to work fine, the kernel is what fixed the problem.

Now the system only boots to recovery (TWRP 3.4), but no ROMs

Hello
I was at RUI C07 stock firmware.
I've managed to unlock the bootloader and to install TWRP 3.4.0. Then I've tried to flash derpfest (android 10), LineageOS and RevengeOS.
All of them seems to have flashed successfully, but TWRP always warns that there is no OS installed when I try to reboot. When I do reboot, it tries to load something, fails and goes back to TWRP.
What is the problem? Should I try to flash vbmeta? Where can I find it? I'm completely lost.
Thanks in advance
I've just followed the "unbrick guide" and there was little developement...Now the phone boots to fastboot/bootloader by default. I can boot to recovery if I request it. But if I just turn on the system or if I request system, it stops at the bootloader.
What a roller coaster ride!
What seems to have worked for me was to flash yet another ROM (crDroid). But this time I made sure that I've formatted DATA, and then I've wiped vendor, system, caches, internal disk.
I may have forgotten to format the data partition before, which might have been the cause for so much trouble.
If you are reading this, don't forget to format the data partition before flashing a custom ROM, at east when coming from the stock rom.

TWRP - Can't decrypt data/mount my storage.

TWRP recovery used to ask for a password to decrypt/mount my storage.
I flashed a new image to update the recovery and wiped my data too as I wanted to flash another rom,
but now when I'm opening the recovery with my password, it shows "Wrong Password"
and I can't mount storage and that's why I can't flash another rom.
Please help.
ajinkya0721 said:
TWRP recovery used to ask for a password to decrypt/mount my storage.
I flashed a new image to update the recovery and wiped my data too as I wanted to flash another rom,
but now when I'm opening the recovery with my password, it shows "Wrong Password"
and I can't mount storage and that's why I can't flash another rom.
Please help.
Click to expand...
Click to collapse
Did you do data partition format? Not only wipe, format is needed
Hello, to delete the encrypted partition if you don't know the password, you have to format it, but if you don't want to lose something of what there is, install Orangefox recovery, the same thing happened to me and this recovery mounts the partition even if it is encrypted. ...
Mine's worst, despite the efforts of wiping and formatting I still can't install a rom due to unable to mount storage problem. I hope anyone help me, this will speed up my nonstop search for a fix -_-
xdajbsolis said:
Mine's worst, despite the efforts of wiping and formatting I still can't install a rom due to unable to mount storage problem. I hope anyone help me, this will speed up my nonstop search for a fix -_-
Click to expand...
Click to collapse
Dear i am facing the same problem. This is what happens when we install a rom without logging out our passwords and accounts from the device. The Lockscreen password is the one which encrypts the storage. And when we try to flash another rom without decrypting our storage on the first hand.. It stucks.... TWRP will never be able to decrypt it. The only one solution which i have in my mind is to relock the bootloader through Stock Rom and then unlocking the bootloader might have the chances to resolve the issue. Just thinking to do so.......... Its an idea rather........
wasim_shahzad_81 said:
Dear i am facing the same problem. This is what happens when we install a rom without logging out our passwords and accounts from the device. The Lockscreen password is the one which encrypts the storage. And when we try to flash another rom without decrypting our storage on the first hand.. It stucks.... TWRP will never be able to decrypt it. The only one solution which i have in my mind is to relock the bootloader through Stock Rom and then unlocking the bootloader might have the chances to resolve the issue. Just thinking to do so.......... Its an idea rather........
Click to expand...
Click to collapse
I see but for some reasons I can't flash the exactly same firmware stock rom, it always says corrupted file, I dunno what will I do now, I tried every versions of my phone's stock roms all with the same error corrupted file. I'm using orange fox recovery cause I can't seem to find a compatible TWRP since I updated to latest firmware, by the way my phone is RMX2061_11_C23. I tried using adb sideload but with no luck. I'm still stuck...

Categories

Resources