Encryption Disabler - Xiaomi Mi 8 Lite Questions & Answers

Hello, is there an encryption disabler for the Mi 8 Lite? in order to clear the memory for flashing Xiaomi.EU, the recovery says something about encryption, i checked a Xiaomi tutorial, and it said to use an Encryption Disabler, any help?

Maybe u enabled an option to give a code before booting android, try to disable it.

use Format Data in twrp, type yes and swipe. it formats your internal memory and there won't remain any encription.

Related

How do I RE-ENABLE disk encryption/use password with TWRP?

I have a LG G5 H850, with 6.0.1 and stock V10c-EUR-xx.
I disabled disk encryption using the no-verity-opt-encrypt.zip utility by jcadduono.
Now I wiped again using TWRP, but encryption is still disabled as the boot.img/partition still has his modifications to the fstab files (where he does
the change s/\bforceencrypt=/encryptable=/g etc.)
How to I set that back to as it was?
I got into this sitation as I kept finding TWRP could not access the partition - asked for password and there was none.
I do want to use encryption but in my first hour of setting up the phone I had a problem where when I booted into TWRP it would ask for a password and it was not "default_password", and I had not set anything and never used lock screen/pin etc. I tried setting a lock screen/boot screen password - the phone worked but TWRP could not access the filesystem. I tried the cryptfs application and still TWRP was not able to decrypt/access the partition.
Then I tried a terminal with vdc cryptfs changepw command and that just locked me out of the phone completely, as the new or old boot password would not work.
So I went for the no-verity-opt-encrypt.zip solution - but I dont want an unencrypted phone either. Now I want to try encryption and TWRP again - this time setting a pin at the first setup screen opportunity to see if that gets set as the password that TWRP could use. However I can't remove the disable encryption patch!
Ideally I am trying to get to a setup where:
encryption is enabled
I want to be able to boot TWRP and access the encrypted filesystem and install more zip files such as xposed/supersu updates etc anytime in the future.
I dont want to use the "no-verity-opt-encrypt.zip" patch.
I do not want TWRP to be locked out from modifying the encrypted system partition.
Additionally, I havbe not been able to install xposed using TWRP and the zip file (http://dl-xda.xposed.info/framework/sdk23/arm64/xposed-v86-sdk23-arm64.zip) .
In TWRP it installs, I dont see any errors, but on boot up I have no xposed icon. I have been able to install it by downloading the apk and installing as an untrusted source, not sure if there is something wrong in having to do it this way?
Thanks.
current TWRP build for G5 doesn't support encryption
you can use encryption but in TWRP you won't be able to access some partitions (if I remember right is data partition but I might be wrong here)
in order to do so, you need to restore base firmware with LGUP that will turn encryption back on
Thanks. I got it working by flashing just the boot using LG-H85010C-Flashable.Boot.zip
tomb007 said:
Thanks. I got it working by flashing just the boot using LG-H85010C-Flashable.Boot.zip
Click to expand...
Click to collapse
may i ask how did you root it after that? because everytime i try to rooted while encrypted,i flash the zip in twrp (with no errors) but system still has no root! the only way i could root was to format /data in twrp, hence have a decrypted phone!
I am looking for the same thing as you are : encrypted phone with twrp and root access.
I rooted using TWRP adding supersu at the time of installing the OS before the OS encrypts the partition. Once the partition is encrypted TWRP can no longer access it, and I can no longer install supersu or anything else.
I may have installed root before encrypting, then reflashed the boot partition so that encryption is re-enabled, then ran twrp to reapply supersu - which would fail to put files on the encrypted partition - but this is fine as they were already there, and let the twrsp supersu installation modify the boot partition.
The result is an encrypted phone with root and TWRP. However, TWRP can not access the encrypted partition so I don't think I can update supersu using TWRP, and I dont think I can patch the OS easily without wiping the encrypted data and reinstalling everything due to this. As I am not sure if updating the OS works without wiping data, I have yet to try that.
you shouldnt have to mess with data at all to use supersu while encrypted.
my g5 is encrypted and always has been (besides in various testing) and there's never been an issue of flashing supersu.
though there may be some issues if trying to restore encryption and flashing supersu in the same reboot cycle.
and yes, data partition in twrp cant be accessed in twrp if encrypted.. but you can just push a file to the /tmp directory while in twrp and then flash anything... or enable adb sideload and flash something that way... or use an external sd card and put the file on there. the only thing you really miss out of if using twrp while encrypted is being able to manipulate the data partition... it does not stop you from flashing files or running scripts that modify /system or other partitions (besides /data).
supersu uses the unencrypted /cache/ partition to work in when you flash it while encrypted so an encrypted /data partition should not be relevant.

H870 Oreo TWRP without ForceEncryption

Hi,
Finally I made update to Oreo on my phone. Of course I had same problem as rest of us with force encryption. I could mount data partition only once, after data format. After reboot, phone encrypts data and I couldn't mount it. After few hours of reading ant testing I found working solution.
1. Unlock Bootloader
2. Flash Eliminater74 TWRP - V3.2.3 For H870 and boot to recovery
3. FORMAT data (option where You have to type "yes") and then reboot back to recovery. Check if data partition is visible. If yes go to step 4
4. Flash Universal DM-Verity, ForceEncrypt, Disk Quota Disablers
5. Flash Magisk17.1
Now after every reboot, data partition is correctly mounted and has no encryption. Tested only on H870 v20C. I also didn't test Backup & Recovery options, only installed couple of zip.
Hope this temporary solution will help until someone implement option to turn off force encryption in TWRP or some kernel.
Chamelleon said:
Hi,
Finally I made update to Oreo on my phone. Of course I had same problem as rest of us with force encryption. I could mount data partition only once, after data format. After reboot, phone encrypts data and I couldn't mount it. After few hours of reading ant testing I found working solution.
1. Unlock Bootloader
2. Flash Eliminater74 TWRP - V3.2.3 For H870 and boot to recovery
3. FORMAT data (option where You have to type "yes") and then reboot back to recovery. Check if data partition is visible. If yes go to step 4
4. Flash Universal DM-Verity, ForceEncrypt, Disk Quota Disablers
5. Flash Magisk17.1
Now after every reboot, data partition is correctly mounted and has no encryption. Tested only on H870 v20C. I also didn't test Backup & Recovery options, only installed couple of zip.
Hope this temporary solution will help until someone implement option to turn off force encryption in TWRP or some kernel.
Click to expand...
Click to collapse
I saw that dm-verity deal also and wondered how it would work on the h872 running oreo. I'm guessing it would but I'd have to go into that thread and read over the info again.
Sent from my LG-H872 using Tapatalk
It might be working. Yesterday checked backup and it seems to be working l.
Very good! I have done! Thank you very much!
isn't formatting data enough?

password required after installing MIUI pie

Hi,
So I just unlocked my bootloader, installed TWRP and then I installed the latest TWRP version of MIUI Pie beta.
The setup wizard has firstly asked me for my Mi account password which I provided. But then, right after it asked me if I want to restore from a Google backup, it asked me to "Confirm my password". First, I thought it's asking for my previously used lockscreen password. However, only a numeric keyboard shows up! And my lockscreen password also contained letters.
I tried to wipe data through TWRP and even flash the zip file which removes the lockscreen lock, however the issue still happens. At this point I was afraid I would not be able to use the device anymore, but luckily I went back to MIUI 10 Oreo and completed the setup successfully.
I still want to try Pie. Has anyone else had this issue?
Thanks.
Hi. I had same issue. I needed to format everything. What i did: format system then i flashed the pie rom. When that was done I formatted. Everything else including data and internal storage. This helped.
Make sure you backup your personal data because you will lose everything.
Android P has a handy little thing called Force Encryption. Once you flash it it auto encrypts to protect your data. You can find zips that turn it off or you can use a recovery that has it built in like OrangeFox.
Or it could be asking for your google account password...
Its asking for your mi account password, just upgraded to pie yesterday. Whenever upgrading disable all fingerprint and other lock screen password ,then upgrade to newer build like from oreo to pie and enable them again.
Likely you have to do in Twrp > WIPE > FORMAT DATA, back up your internal storage on pc bcoz you will lose everything

Twrp on redmi 6a

I flashed twrp on my redmi 6a, but i haven't been able to succeed at formatting data, or anything from advanced wipe. Also ADB sideload has refused to start. First i thougt it was because of the encrypted data and tried every way to decrypt like flashing universal disabler before magisk. I noticed that preserve force encryption in magisk was unticked but twrp still asked for the password and also my root was screwed big time and most apps couldn't find it, so i flashed the stocked rom and started afresh, now i want to try resurrection remix(not sure it's a good idea) but process is involved with formatting data and advanced wipe. I'm using twrp 3.2.3.2-cactus. Some help
it seems that no one can solve encryption problem in twrp?
All google result said that this should be formatting data partition. One question is: how could the format partition data whlie the partition is untouchable?
adista said:
it seems that no one can solve encryption problem in twrp?
All google result said that this should be formatting data partition. One question is: how could the format partition data whlie the partition is untouchable?
Click to expand...
Click to collapse
Use the TWRP-1020 one.
jonaaa, how does that work any different.

Disable internal storage encryption without wipe data

Is there anything way that i can disable data encryption? Both TWRP and orange fox not allow me to install anything and asking for password, i tried both lock password and mi password but nothing. I am trying to root my phone, i also tried to make a patched boot image with magisk manager but not install button was showing up.Any solution?
Stock rom with miui global 10.3.1.0 version
tzagaritos said:
Is there anything way that i can disable data encryption? Both TWRP and orange fox not allow me to install anything and asking for password, i tried both lock password and mi password but nothing. I am trying to root my phone, i also tried to make a patched boot image with magisk manager but not install button was showing up.Any solution?
Stock rom with miui global 10.3.1.0 version
Click to expand...
Click to collapse
Don´t waste your time trying to decipher the password, they´re advanced algorithms that Android uses to make the Encryption-By-Default to protect data user not a personal password that can be easily decoded.
You can flash any zip using adb sideload through Advanced options in recovery, the problem would be trying to boot up due to AVB implementation, I never cared about format data when is needed so my important files I ever have on my external SDCard.
Some members refer that such recovery can decrypt data or not, this is not a problem by its own but the ability to boot. The simple way to decrypt data is formatting it.
As a side note decrypt data will be required just in some cases like when you unlocked for first time, when you are coming back to a Miui upgraded rom then to an AOSP one but most of custom roms based on Miui don´t have encryption like ROS, Xiaomi.eu or Mi-Globe.
SubwayChamp said:
Don´t waste your time trying to decipher the password, they´re advanced algorithms that Android uses to make the Encryption-By-Default to protect data user not a personal password that can be easily decoded.
You can flash any zip using adb sideload through Advanced options in recovery, the problem would be trying to boot up due to AVB implementation, I never cared about format data when is needed so my important files I ever have on my external SDCard.
Some members refer that such recovery can decrypt data or not, this is not a problem by its own but the ability to boot. The simple way to decrypt data is formatting it.
As a side note decrypt data will be required just in some cases like when you unlocked for first time, when you are coming back to a Miui upgraded rom then to an AOSP one but most of custom roms based on Miui don´t have encryption like ROS, Xiaomi.eu or Mi-Globe.
Click to expand...
Click to collapse
thanks a lot , i did not know that i could flash zip files in that way, you saved me thanks again
use the custom TWRP by wzsx150, decryption is working with that one https://forum.xda-developers.com/mi-8-Lite/development/mi-8-lite-twrp-t3850019
borg4571 said:
use the custom TWRP by wzsx150, decryption is working with that one https://forum.xda-developers.com/mi-8-Lite/development/mi-8-lite-twrp-t3850019
Click to expand...
Click to collapse
Is possible to send me the img file through Google drive or anything familiar;its a mess trying yo download from the Chinese site
I have Android pie

Categories

Resources