DFE: Disable Forced Encryption (version numbers? treble?) - Xiaomi Poco F1 Questions & Answers

I successfully followed a guide to rooting my phone using TWRP, DisableForceEncryption (DFE), and Magisk. I now want to flash the latest (stock) ROM and re-apply DFE.
But there seem to be many versions of DFE available, some with/without version numbers, and some with/without the word "treble". And all are anonymous uploads on file-locker sites... :-/
What does "treble" mean? Does the DFE version number correspond to the Magisk version? I couldn't find a DEF v20 anywhere...
Who produces DFE -- is there an official website/source for the latest version(s)?
Cheers

For the latest MIUI Stock Rom you don't need dfe.

ConradB said:
For the latest MIUI Stock Rom you don't need dfe.
Click to expand...
Click to collapse
Thanks. So, I can just just flash the latest ROM in TWRP, and... it won't overwrite TWRP, or lose root access, or cause any boot/encryption problems...?
Presumably I'd need to re-flash Magisk (after flashing the ROM) to retain root access...?
Will the phone be re-encrypted after updating to the latest stock ROM?

esuhl said:
Thanks. So, I can just just flash the latest ROM in TWRP, and... it won't overwrite TWRP, or lose root access, or cause any boot/encryption problems...?
Presumably I'd need to re-flash Magisk (after flashing the ROM) to retain root access...?
Will the phone be re-encrypted after updating to the latest stock ROM?
Click to expand...
Click to collapse
Which version is at the moment installed?

IF by latest stockrom you mean miui 10.3.8 then when i flashed the vendor firmware and didnt flash dfe, i was locked out and I lost all the data!

In Miui Roms firmware and vendor are always integrated. There is IMHO no reason to flash only the vendor.

ConradB said:
Which version is at the moment installed?
Click to expand...
Click to collapse
I have MIUI 10.3.7.0 and want to upgrade to MIUI 10.3.8.0. The file I have downloaded is miui_POCOF1Global_V10.3.8.0.PEJMIXM_b5d72aa3ba_9.0.zip.
YasuHamed said:
IF by latest stockrom you mean miui 10.3.8 then when i flashed the vendor firmware and didnt flash dfe, i was locked out and I lost all the data!
Click to expand...
Click to collapse
Yes -- all the guides I've read say that, having installed a custom recovery to root the device, all subsequent ROM updates need to have DFE (or some similar software) applied in order to prevent a boot-loop. This article gives a lot of information, although most of it goes over my head.
https://miui.blog/any-devices/dm-verity-opt-encrypt-force-encryption-disabler-xiaomi/
ConradB said:
In Miui Roms firmware and vendor are always integrated. There is IMHO no reason to flash only the vendor.
Click to expand...
Click to collapse
What do you mean by "flashing the vendor"...?

esuhl said:
I have MIUI 10.3.7.0 and want to upgrade to MIUI 10.3.8.0. The file I have downloaded is miui_POCOF1Global_V10.3.8.0.PEJMIXM_b5d72aa3ba_9.0.zip.
Yes -- all the guides I've read say that, having installed a custom recovery to root the device, all subsequent ROM updates need to have DFE (or some similar software) applied in order to prevent a boot-loop. This article gives a lot of information, although most of it goes over my head.
https://miui.blog/any-devices/dm-verity-opt-encrypt-force-encryption-disabler-xiaomi/
What do you mean by "flashing the vendor"...?
Click to expand...
Click to collapse
First backup your data
Flash 10.3.8.0 dirty in twrp
wipe cache, dalvik cache in twrp
reboot the device (not rooted)
reboot into twrp and flash magisk 19.3 (i don´t know if the newer Versions will work with MIUI Rom)
reboot into system
thats it
the other guy flashed the vendor partition only, without a reason in miui and ran into encryption.
Here is a very good site "Globe Rom" https://mi-globe.com/miui-firmware-rom-builder-features/65/
Click on MIUI 9.6.27 and Change to MIUI 10.3.8.0 then create your own rom with including Magisk and other nice tools.
You can flash the Globe Rom according to the same instructions as above and Magisk is after the first reeboot
immediately active.

ConradB said:
First backup your data
Flash 10.3.8.0 dirty in twrp
wipe cache, dalvik cache in twrp
reboot the device (not rooted)
reboot into twrp and flash magisk 19.3 (i don´t know if the newer Versions will work with MIUI Rom)
reboot into system
thats it
Click to expand...
Click to collapse
Aha! It works! :laugh: Thank you so much! :victory:
So... now I've "disabled forced encryption", do I ever need to worry about it again? Can I flash a new version of TWRP, or use a custom ROM and just use Magisk to re-root?

esuhl said:
Aha! It works! :laugh: Thank you so much! :victory:
So... now I've "disabled forced encryption", do I ever need to worry about it again? Can I flash a new version of TWRP, or use a custom ROM and just use Magisk to re-root?
Click to expand...
Click to collapse
Just it of curiosity what does it say about encryption under Settings -> Security?
Sent from my POCO F1 using XDA Labs

esuhl said:
Aha! It works! :laugh: Thank you so much! :victory:
So... now I've "disabled forced encryption", do I ever need to worry about it again? Can I flash a new version of TWRP, or use a custom ROM and just use Magisk to re-root?
Click to expand...
Click to collapse
If you flash Miui-Roms than no dfe needed.
If you flash a custom rom you should flash dfe.

guhvanoh said:
Just it of curiosity what does it say about encryption under Settings -> Security?
Click to expand...
Click to collapse
Settings -> "Security status" just shows:
Find device -- Off
Security update -- 2019-09-01
Google Play Protect > (Looks fine / No harmful apps found)
"Additional settings" -> Privacy -> "Encrypted & credentials" shows as "Encrypted".
However, the sub-option "Encrypt device using lock screen password" is turned off.

So just remember that if you want to move to another custom ROM you're going to have to format data. You're system is encrypted.
Sent from my POCO F1 using XDA Labs

i am using this
Disable force Encryption treble + Magisk20.2.zip (JAN 2020)

YasuHamed said:
i am using this
Disable force Encryption treble + Magisk20.2.zip (JAN 2020)
Click to expand...
Click to collapse
I only found DFE uploaded by someone. How can I get latest version? Isn't here any thread of it?

Related

How to install OTAs on rooted poco F1 ?

There will(hopefully) be a lot of otas coming to Poco F1 for bug fixing. So if we are rooted with Magisk we cannot install Otas directly as magisk modifies our stock boot image. And since poco doesn't have A/B partitions we cannot install OTA's and still keep Magisk. That brings us to Flashfire which can preserve root. Flashfire doesn't work on MIUI 9.6.14.0 (it doesn't work on mine) .So how do we install OTAs while preserving Magisk ? Is it possible or do we have to flash stock recovery and stock boot image and lose magisk ?
OTA update method according to topjohnwu:
https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md
Would be helpful if somebody can post a diy in the guide section on how to apply OTAs on Magisk rooted devices.
I would be very interested as well!!
Go to recovery.
Flash Magisk zip to restore old kernel backup.
Boot to system, you will not have root.
Update.
You still have TWRP, install Magisk again.
Profit.
I did flash my ota via stock recovery . You need flash stock recovery then go to system update after done go back to twrp and your magisk
abdohop said:
I did flash my ota via stock recovery . You need flash stock recovery then go to system update after done go back to twrp and your magisk
Click to expand...
Click to collapse
Could you please be more specific?
1. Flash stock recovery (so you loose Twrp)
2. Boot to System and make update
3. Flash twrp again and root again with Magisk?
Thanks
---------- Post added at 07:59 AM ---------- Previous post was at 07:57 AM ----------
trax7 said:
Go to recovery.
Flash Magisk zip to restore old kernel backup.
Boot to system, you will not have root.
Update.
You still have TWRP, install Magisk again.
Profit.
Click to expand...
Click to collapse
You mean that flashing Magisk again will "undo" root?
DoudouJack said:
You mean that flashing Magisk again will "undo" root?
Click to expand...
Click to collapse
Yes.
trax7 said:
Yes.
Click to expand...
Click to collapse
Hi, just booted into TWRP and flashed Magisk zip file, I'm still rooted.
Do you mean then the uninstaller Magisk file? If so, it will remove packages as well and root will still be there... Could you please be more explicit? Thanks!
DoudouJack said:
Hi, just booted into TWRP and flashed Magisk zip file, I'm still rooted.
Do you mean then the uninstaller Magisk file? If so, it will remove packages as well and root will still be there... Could you please be more explicit? Thanks!
Click to expand...
Click to collapse
Magisk makes a backup of ur boot.img, which you need to use OTAs, to restore it, you can flash Magisk again to restore it. (that's how it should work)
trax7 said:
Magisk makes a backup of ur boot.img, which you need to use OTAs, to restore it, you can flash Magisk again to restore it. (that's how it should work)
Click to expand...
Click to collapse
In my case flashing Magisk again did not work. From Magisk Manager -> Uninstall either since it was "unable to download".
For those who would be in the same case, I did following steps to update:
- Download latest Magisk uninstaller (currently 17.3, I tested with 17.1 & 17.2)
- Boot into TWRP (I use an app for convenience), go to Install > flash the Magisk uninstaller zip and (optional) boot to system to make sure root is gone (with Root Checker e.g.)
- Power off device and boot into Fastboot, flash stock boot.img (you can find it in the ROM folder you used to install your ROM), boot to System and install OTA update via the update manager, then reboot
- At this point I was stuck in fastboot screen, I simply booted with TWRP (with decryption working) and it took care of installing the update, I then flashed Magisk from there.
DoudouJack said:
Could you please be more specific?
1. Flash stock recovery (so you loose Twrp)
2. Boot to System and make update
3. Flash twrp again and root again with Magisk?
Thanks
---------- Post added at 07:59 AM ---------- Previous post was at 07:57 AM ----------
You mean that flashing Magisk again will "undo" root?
Click to expand...
Click to collapse
Correct
Sandepp said:
There will(hopefully) be a lot of otas coming to Poco F1 for bug fixing. So if we are rooted with Magisk we cannot install Otas directly as magisk modifies our stock boot image. And since poco doesn't have A/B partitions we cannot install OTA's and still keep Magisk. That brings us to Flashfire which can preserve root. Flashfire doesn't work on MIUI 9.6.14.0 (it doesn't work on mine) .So how do we install OTAs while preserving Magisk ? Is it possible or do we have to flash stock recovery and stock boot image and lose magisk ?
OTA update method according to topjohnwu:
https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md
Would be helpful if somebody can post a diy in the guide section on how to apply OTAs on Magisk rooted devices.
Click to expand...
Click to collapse
Try this guide, https://forum.xda-developers.com/poco-f1/how-to/step-step-guide-flashing-ota-beta-t3878730
Darklouis said:
Try this guide, https://forum.xda-developers.com/poco-f1/how-to/step-step-guide-flashing-ota-beta-t3878730
Click to expand...
Click to collapse
Its ok I have already flashed several OTAs, custom roms and kernels on my pocophone.
Sandepp said:
Its ok I have already flashed several OTAs, custom roms and kernels on my pocophone.
Click to expand...
Click to collapse
Is that so? What custom recovery you used?
Darklouis said:
Is that so? What custom recovery you used?
Click to expand...
Click to collapse
Twrp with working decryption
Sandepp said:
Twrp with working decryption
Click to expand...
Click to collapse
About that recovery, data partition will not get encrypted when you flash OTA update?
Darklouis said:
About that recovery, data partition will not get encrypted when you flash OTA update?
Click to expand...
Click to collapse
It will but I am ok with encryption. If you don't want then flash disable force encryption from twrp after flahsing the ota or flash magisk which will disable force encryption.
Sandepp said:
It will but I am ok with encryption. If you don't want then flash disable force encryption from twrp after flahsing the ota or flash magisk which will disable force encryption.
Click to expand...
Click to collapse
Nice nice.. Thanks for the tip
Darklouis said:
Nice nice.. Thanks for the tip
Click to expand...
Click to collapse
You're welcome

About keeping OTA and TWRP

Just unlocked the bootloader , latest MIUI global beta. Here are the questions which needs valid answers
1. Need to flash TWRP and root. Which twrp image will not need any encryption disabler flashed every time I flash a rom? please give the link of the most stable and recent version of it.
2. I will flash magisk. How will it behave with OTA on miui global beta?
3. Will I receive OTA update? If I do, how to flash it properly? I dont want to roll back to stock recovery just to flash an ota and then again flash twrp. And I dont want to flash full rom either.
4. If I am able to flash OTA through twrp, do I have to wipe anything? Im asking if I will loose any data or not.
5. As far as I know, I need to unroot everytime before I flash OTA? what does that mean actually? If im rooted, will I not be notified of the OTA update through the updater app? Or do I have to manually downlaod the ota from the web?
6. And one more thing. I dont want the clock on the top left in any screen, lock or home. Which mod will remove the clock and add regular notification icon? (working with miui beta ofcourse)
Sohan_Saymum said:
Just unlocked the bootloader , latest MIUI global beta. Here are the questions which needs valid answers
1. Need to flash TWRP and root. Which twrp image will not need any encryption disabler flashed every time I flash a rom? please give the link of the most stable and recent version of it.
2. I will flash magisk. How will it behave with OTA on miui global beta?
3. Will I receive OTA update? If I do, how to flash it properly? I dont want to roll back to stock recovery just to flash an ota and then again flash twrp. And I dont want to flash full rom either.
4. If I am able to flash OTA through twrp, do I have to wipe anything? Im asking if I will loose any data or not.
5. As far as I know, I need to unroot everytime before I flash OTA? what does that mean actually? If im rooted, will I not be notified of the OTA update through the updater app? Or do I have to manually downlaod the ota from the web?
6. And one more thing. I dont want the clock on the top left in any screen, lock or home. Which mod will remove the clock and add regular notification icon? (working with miui beta ofcourse)
Click to expand...
Click to collapse
I can answer your questions partially.
2 & 3. Flashing TWRP and Magisk will result in OTA zip not being downloaded. Instead, the full ROM will be downloaded automatically.
4. AFAIK, you can't flash the OTA zip through TWRP.
5. If you want the OTA, you will have to be completely stock, no modifications to system files. Only then the OTA zip will download and only then you can flash it. You will ofcourse be notified of the availability of the OTA zip even if you are rooted but it will not download because it does a check of your system before downloading. Only the full zip will download if you are rooted.
It is much easier (atleast for me) to accept the full download and flash it through TWRP and then boot back to TWRP (to preserve it and to avoid overwriting by stock recovery) before booting into system. If you only wipe Dalvik and cache, there is no need to reflash TWRP and Magisk. Ofcourse if TWRP gets overwritten somehow, then flashing it and Magisk again is not a big thing.
tnsmani said:
I can answer your questions partially.
2 & 3. Flashing TWRP and Magisk will result in OTA zip not being downloaded. Instead, the full ROM will be downloaded automatically.
4. AFAIK, you can't flash the OTA zip through TWRP.
5. If you want the OTA, you will have to be completely stock, no modifications to system files. Only then the OTA zip will download and only then you can flash it. You will ofcourse be notified of the availability of the OTA zip even if you are rooted but it will not download because it does a check of your system before downloading. Only the full zip will download if you are rooted.
It is much easier (atleast for me) to accept the full download and flash it through TWRP and then boot back to TWRP (to preserve it and to avoid overwriting by stock recovery) before booting into system. If you only wipe Dalvik and cache, there is no need to reflash TWRP and Magisk. Ofcourse if TWRP gets overwritten somehow, then flashing it and Magisk again is not a big thing.
Click to expand...
Click to collapse
Thanx a bunch. Now I am ready to flash, but not sure which recovery should I use? and what about that force encryption disabler.zip thing? which recovery wont need that thing? its just too complex to flash various things everytime I update miui rom
Sohan_Saymum said:
Thanx a bunch. Now I am ready to flash, but not sure which recovery should I use? and what about that force encryption disabler.zip thing? which recovery wont need that thing? its just too complex to flash various things everytime I update miui rom
Click to expand...
Click to collapse
OrangeFox Recovery has a feature to disable force encryption without flashing the DFE.zip everytime you flash a custom rom.
And it supports MIUI OTA Updates.
Darklouis said:
OrangeFox Recovery has a feature to disable force encryption without flashing the DFE.zip everytime you flash a custom rom.
And it supports MIUI OTA Updates.
Click to expand...
Click to collapse
can i said like this.
unlock bl and install magisk will not lose any feature of MIUI.
how about custom rom? what feature i need to abandon from stock rom?
locolyric said:
can i said like this.
unlock bl and install magisk will not lose any feature of MIUI.
how about custom rom? what feature i need to abandon from stock rom?
Click to expand...
Click to collapse
unlock bl and install magisk will not lose any feature of MIUI.
Click to expand...
Click to collapse
You will not lose any feature
how about custom rom? what feature i need to abandon from stock rom?
Click to expand...
Click to collapse
Some custom roms are AOSP based so all MIUI bloatware or features are not available in AOSP based custom roms.
Darklouis said:
You will not lose any feature
Some custom roms are AOSP based so all MIUI bloatware or features are not available in AOSP based custom roms.
Click to expand...
Click to collapse
from my last experience unlock bootloader will wipe all f my data. is that same on poco f1?
locolyric said:
from my last experience unlock bootloader will wipe all f my data. is that same on poco f1?
Click to expand...
Click to collapse
Ohh yeah.. Unlocking Bootloader will wipe all data (internal partition and data partition) except on the sdcard partition

Can't install Magisk via TWRP

Hello. I was going through this guide --> https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-root-unlock-bootloader-t3852520
I've got a problem. I've unlocked bootloader and next I'm booting correctly to TWRP, but when I try to flash any zip of magisk manager I receive an error: "invalid zip file format". I'm using TWRP 3.2.3-0 from first post in guide - I was trying to use both 20181012 and 20181211 versions and no result - still the same error. What can I do? I'm using POCOPHONE F1 with MIUI Global 10.2.3.0
fajniejest said:
Hello. I was going through this guide --> https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-root-unlock-bootloader-t3852520
I've got a problem. I've unlocked bootloader and next I'm booting correctly to TWRP, but when I try to flash any zip of magisk manager I receive an error: "invalid zip file format". I'm using TWRP 3.2.3-0 from first post in guide - I was trying to use both 20181012 and 20181211 versions and no result - still the same error. What can I do? I'm using POCOPHONE F1 with MIUI Global 10.2.3.0
Click to expand...
Click to collapse
You have an old version of TWRP... You need to install a newer version - 3.2.3.2 - which you will find by doing a search for it here on XDA...
Just load img file on INTERNAL storage of phone, choose install>install image file> and click on recovery partition. After install go to home menu and restart recovery...
If you still have issues then download magisk again, it may be corrupt...
Cheers....
ultramag69 said:
You have an old version of TWRP... You need to install a newer version - 3.2.3.2 - which you will find by doing a search for it here on XDA...
Just load img file on INTERNAL storage of phone, choose install>install image file> and click on recovery partition. After install go to home menu and restart recovery...
If you still have issues then download magisk again, it may be corrupt...
Cheers....
Click to expand...
Click to collapse
First of all, I'm not going to install TWRP - I want only to boot into TWRP once for flashing Magisk's ZIP.
Second - in this guide OP says that Unofficial TWRP should be used. I've tried v1 and v2 TWRP from the guide. So which other TWRP should I try to boot into? This? https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-2-3-x-t3836241
fajniejest said:
First of all, I'm not going to install TWRP - I want only to boot into TWRP once for flashing Magisk's ZIP.
Second - in this guide OP says that Unofficial TWRP should be used. I've tried v1 and v2 TWRP from the guide. So which other TWRP should I try to boot into? This? https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-2-3-x-t3836241
Click to expand...
Click to collapse
I am new on this forum (pocophone) and i seee how messed up it is. You should definitly use official twrp
You don't need official TWRP, but I think you need to install Disable Force Encryption, before installing the Magisk app
This thread will be more helpful.
fajniejest said:
Hello. I was going through this guide --> https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-root-unlock-bootloader-t3852520
I've got a problem. I've unlocked bootloader and next I'm booting correctly to TWRP, but when I try to flash any zip of magisk manager I receive an error: "invalid zip file format". I'm using TWRP 3.2.3-0 from first post in guide - I was trying to use both 20181012 and 20181211 versions and no result - still the same error. What can I do? I'm using POCOPHONE F1 with MIUI Global 10.2.3.0
Click to expand...
Click to collapse
what are you trying to flash? If it is Magisk Manager, it is in apk format and you just click it to install. No TWRP.
If it is Magisk, which version are you trying to flash? Try 18.1. And preferably download any file from its source.
EDIT: If Magisk v18.1 is also not flashing, try Magisk Canary version. Some phones need that.
tnsmani said:
what are you trying to flash? If it is Magisk Manager, it is in apk format and you just click it to install. No TWRP.
If it is Magisk, which version are you trying to flash? Try 18.1. And preferably download any file from its source.
EDIT: If Magisk v18.1 is also not flashing, try Magisk Canary version. Some phones need that.
Click to expand...
Click to collapse
I'm trying to flash zip with Magisk Manager, as it is said in guide. I know that I can have an apk, but is it enough to just install apk without having custom recovery (but having bootloader unlocked)?
GrecoNeoV said:
You don't need official TWRP, but I think you need to install Disable Force Encryption, before installing the Magisk app
This thread will be more helpful.
Click to expand...
Click to collapse
I will try it if nothing from "my" guide will work, because I really don't want to lose my storage (I see that in this guide installing Magisk needs it)
fajniejest said:
I'm trying to flash zip with Magisk Manager, as it is said in guide. I know that I can have an apk, but is it enough to just install apk without having custom recovery (but having bootloader unlocked)?
I will try it if nothing from "my" guide will work, because I really don't want to lose my storage (I see that in this guide installing Magisk needs it)
Click to expand...
Click to collapse
Well Here is how i managed it to work. After i unlocked my bootloader i launched twrp and flashed beta magisk 19.0 (not latest anymore because 19.1 just today showed up) then i reminded that i forgot about DisableForceEncryption_Treble_v18.0.zip so i flashed iit and after it flashed again magisk 19.0, after reboot it everything was fine
GrecoNeoV said:
You don't need official TWRP, but I think you need to install Disable Force Encryption, before installing the Magisk app
This thread will be more helpful.
Click to expand...
Click to collapse
There is no need to flash DFE. I've unlocked my bootloader, installed TWRP, flashed PE and Magisk 19.0 all without DFE which I don't need.
@OP, you need TWRP version 3.2.3-2 at a minimum, which you can boot using 'fastboot boot twrp-<version>.img' . Then flash Magisk. You'll
need at least version 18.1.
HTH
guhvanoh said:
There is no need to flash DFE. I've unlocked my bootloader, installed TWRP, flashed PE and Magisk 19.0 all without DFE which I don't need.
@OP, you need TWRP version 3.2.3-2 at a minimum, which you can boot using 'flashboot boot twrp-<version>.img' . Then flash Magisk. You'll
need at least version 18.1.
HTH
Click to expand...
Click to collapse
The command is 'fastboot boot twrp-<version>.img'
tnsmani said:
The command is 'fastboot boot twrp-<version>.img'
Click to expand...
Click to collapse
Thanks for the correction. I really don't know where I got flashboot from.
Cheers!
guhvanoh said:
There is no need to flash DFE. I've unlocked my bootloader, installed TWRP, flashed PE and Magisk 19.0 all without DFE which I don't need.
@OP, you need TWRP version 3.2.3-2 at a minimum, which you can boot using 'fastboot boot twrp-<version>.img' . Then flash Magisk. You'll
need at least version 18.1.
HTH
Click to expand...
Click to collapse
So, to make it clear (and to not brick my poco... ):
1. I should use TWRP image from this link --> https://twrp.me/xiaomi/xiaomipocophonef1.html...
2. ...and I don't need to replace my recovery - just booting it once (as You described) is enough.
3. I should flash Magisk's ZIP, not MagiskManager's ZIP or Magisk.apk
4. No more flashing, clearing data and other operations needed.
Am I right?
1 - Yes.
2 - That's down to you. I have TWRP recovery installed and I have the app as well.
3 - You need to flash Magisk and install the apk. See this link for instructions on installing Magisk.
4 - Yes, you need to clear data, wipe dalvik and cache when installing a new ROM. If updating a current rom, I just wipe dalvik & cache.
HTH
Hey I know its not a thread related but if u install magisk can u tell me if you have 60fps screen recoding option? Because I already Dirty flashed rom once and nothing changed still cant unlock it :/
guhvanoh said:
1 - Yes.
2 - That's down to you. I have TWRP recovery installed and I have the app as well.
3 - You need to flash Magisk and install the apk. See this link for instructions on installing Magisk.
4 - Yes, you need to clear data, wipe dalvik and cache when installing a new ROM. If updating a current rom, I just wipe dalvik & cache.
HTH
Click to expand...
Click to collapse
Big thanks! Finally dealt with it. So grateful for Your help. :victory:
Dearminder said:
Hey I know its not a thread related but if u install magisk can u tell me if you have 60fps screen recoding option? Because I already Dirty flashed rom once and nothing changed still cant unlock it :/
Click to expand...
Click to collapse
Yes, I do. I've not tried it though...

What does this mean?

"This device uses dm-verity!
This means that swiping to allow system modifications will prevent you from being able to boot if you are using the stock kernel. In order to bypass dm-verity's boot prevention, you will have to install a kernel that has dm-verity disabled in the fstab."
Saw this on official twrp download page.I'm on latest global stable miui with stock everything and rooted with magisk.should i be concerned before flashing the official twrp recovery on stock kernel?
if you are flashing MIUI From twrp, and DON"T wana ROOT then yes you should never allow system modification because then device will never boot in to system due to DM-Verity. However if you are rooting yoru device, try reading Magisk Lines, It always patch fstab and disable Dm-verity, once its disabled; /system parition permisions wont be verified on boot. So when you boot in to twrp and you know you are going to flash Magisk, you can ALLOW SYSTEM MODIFICATION swip
on Custom Roms it doesn't matter, because twrp never ask such question. "allow system modification" is only limited to StockRoms
YasuHamed said:
if you are flashing MIUI From twrp, and DON"T wana ROOT then yes you should never allow system modification because then device will never boot in to system due to DM-Verity. However if you are rooting yoru device, try reading Magisk Lines, It always patch fstab and disable Dm-verity, once its disabled; /system parition permisions wont be verified on boot. So when you boot in to twrp and you know you are going to flash Magisk, you can ALLOW SYSTEM MODIFICATION swip
on Custom Roms it doesn't matter, because twrp never ask such question. "allow system modification" is only limited to StockRoms
Click to expand...
Click to collapse
I'm currently on miui and rooted with magisk.is it safe to flash twrp via unofficial twrp?
Ashiq.makkar said:
I'm currently on miui and rooted with magisk.is it safe to flash twrp via unofficial twrp?
Click to expand...
Click to collapse
yes as long as its TWRP for Beryllium, its safe to flash!
YasuHamed said:
yes as long as its TWRP for Beryllium, its safe to flash!
Click to expand...
Click to collapse
thanks for your help.everything works fine, thanks to u
Ashiq.makkar said:
thanks for your help.everything works fine, thanks to u
Click to expand...
Click to collapse
my pleasure sir!

Bootloop V11.0.6.0.QEJMIXM

Hi,
I am on 11.0.5.0 PEJMIXM PIE i was trying to upgrade to V11.0.6.0.QEJMIXM android 10 using dirty flash.
Using Twrp recovery 3.3 i installed the rom and installed magisk 20.4 and disable force encrypt 01.19.20 still my phone bootloops.
So i reverted back to 11.0.5.0 PEJMIXM
And the phone boots properly i dirty flashed 11.0.6.0 over 11.0.5.0 what i am doing wrong? I followed every steps carefully. My bootloader is unlocked officially.
Please guide me
Cheers
iaintken said:
Hi,
I am on 11.0.5.0 PEJMIXM PIE i was trying to upgrade to V11.0.6.0.QEJMIXM android 10 using dirty flash.
Using Twrp recovery 3.3 i installed the rom and installed magisk 20.4 and disable force encrypt 01.19.20 still my phone bootloops.
So i reverted back to 11.0.5.0 PEJMIXM
And the phone boots properly i dirty flashed 11.0.6.0 over 11.0.5.0 what i am doing wrong? I followed every steps carefully. My bootloader is unlocked officially.
Please guide me
Cheers
Click to expand...
Click to collapse
First of all remove any password or fingerprint you have on it. Also remove your google account. Backup your data. Now try flashing zips one by one. First flash the rom, boot it. Setup everything and reboot to recovery. Now flash magisk. If that doesn't work clean flash is your only way. Dirty flashing usually causes problems.
Use pitchblack recovery.
https://sourceforge.net/projects/pi...ium-2.9.1-20200411-0512-OFFICIAL.zip/download
And forget all common problems and encryption
callmebutcher101 said:
First of all remove any password or fingerprint you have on it. Also remove your google account. Backup your data. Now try flashing zips one by one. First flash the rom, boot it. Setup everything and reboot to recovery. Now flash magisk. If that doesn't work clean flash is your only way. Dirty flashing usually causes problems.
Click to expand...
Click to collapse
Thanks i will try ot
Mezoo23 said:
Use pitchblack recovery.
https://sourceforge.net/projects/pi...ium-2.9.1-20200411-0512-OFFICIAL.zip/download
And forget all common problems and encryption
Click to expand...
Click to collapse
Great will try it
iaintken said:
Hi,
I am on 11.0.5.0 PEJMIXM PIE i was trying to upgrade to V11.0.6.0.QEJMIXM android 10 using dirty flash.
Using Twrp recovery 3.3 i installed the rom and installed magisk 20.4 and disable force encrypt 01.19.20 still my phone bootloops.
So i reverted back to 11.0.5.0 PEJMIXM
And the phone boots properly i dirty flashed 11.0.6.0 over 11.0.5.0 what i am doing wrong? I followed every steps carefully. My bootloader is unlocked officially.
Please guide me
Cheers
Click to expand...
Click to collapse
Goto twrp and advanced wipe and type yes it will format all data and then reboot your phone must be boot
varunsngh786 said:
Goto twrp and advanced wipe and type yes it will format all data and then reboot your phone must be boot
Click to expand...
Click to collapse
Thanks

Categories

Resources