how can fix that?
I never encryped anything
I did a format but how in hell did get the phone encrypted?
hi the encryption comes with stock roms.... but you can format the smartphone if you want to
here you can see how to boot into twrp without overwriting the stock recovery
http://forum.xda-developers.com/le-max-2/how-to/protocol-backup-stock-rom-flash-stock-t3517151
Related
Hi!!
I am no stranger to running custom Android ROMs, but this is the first time I have dealt with storage encryption. My phone is rooted, S-OFF, TWRP recovery installed.
Of course, now that my Internal Storage is encrypted, I cannot access my new ROM .zip file from TWRP recovery to flash a new ROM.
I think I need to do some sort of wipe/reset to disable encryption, but I don't want to proceed without a clear understanding of what I need to do. Any ideas??!?!
Never mind.
Solution, in case anyone stumbles into the same issue:
Flash stock recovery, perform factory reset, load new ROM.zip, re-flash TWRP, flash away!
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.
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.
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 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...