Related
Hi,
I can finally unlock the bootloader - which AFAIK wipes user data. Now, since I've used the phone heavily over the waiting period, there's a lot to backup and reintegrate later on.
What's the quickest way to do so?
MTP-copy all of Internal Storage to PC -> unlock -> copy back?
(I am experienced with unlocking, rooting, flashing Roms and recoveries, but haven't had a non-rooted phone for about 8 years, so I am a bit out of the loop on non-root backup procedures)
TIA!
Using adb pull, you could probably get your internal storage.
Iirc the canonical dirs are:
/storage/emulated/0
/storage/emulated/legacyHelium should be sufficient for apps.
For me unlocking didn't wipe data.
Only wipe was when I installed developer rom to be able to unlock.
So the process should be unlock, flash twrp and then flash magisk to maintain twrp and avoid the bootloop. Then you can backup with root and clean flash if you want.
Twrp can't decrypt data but it's not needed to flash magisk. Anyway you can flash orangefox (latest version, beta 6) from twrp and it can decrypt data to access it from recovery.
omnomnomkimiiee said:
Using adb pull, you could probably get your internal storage.
Iirc the canonical dirs are:
/storage/emulated/0
/storage/emulated/legacyHelium should be sufficient for apps.
Click to expand...
Click to collapse
Thanks.
Any advantage of using adb vs. just mounting the device via mtp? Last I've used adb for file transfer it was slower than even mtp...
jes0411 said:
For me unlocking didn't wipe data.
Only wipe was when I installed developer rom to be able to unlock.
Click to expand...
Click to collapse
do you mean "to be able to root"? because otherwise I don't follow...
So the process should be unlock, flash twrp and then flash magisk to maintain twrp and avoid the bootloop. Then you can backup with root and clean flash if you want.
Twrp can't decrypt data but it's not needed to flash magisk. Anyway you can flash orangefox (latest version, beta 6) from twrp and it can decrypt data to access it from recovery.
Click to expand...
Click to collapse
Thanks. This is gonna sound very noob, but since I'm new to MIUI - is data already encrypted in stock MIUI? Otherwise I'll need orangefox only for switching between future custom ROMs, right?
santoo said:
do you mean "to be able to root"? because otherwise I don't follow...
Thanks. This is gonna sound very noob, but since I'm new to MIUI - is data already encrypted in stock MIUI? Otherwise I'll need orangefox only for switching between future custom ROMs, right?
Click to expand...
Click to collapse
I mean to unlock because I can't bind my mi account in stable and had to install developer rom to bind account.
Yes data is already encrypted on stock rom. If you need to access data partition in recovery you need orangefox. But it's not needed to flash magisk.
To use custom roms you don't need orangefox because you can format data from twrp and then flash the rom. I started using orangefox since I tried miui 10 oreo beta because I was unable to avoid encryption on that rom.
jes0411 said:
I mean to unlock because I can't bind my mi account in stable and had to install developer rom to bind account.
Yes data is already encrypted on stock rom. If you need to access data partition in recovery you need orangefox. But it's not needed to flash magisk.
To use custom roms you don't need orangefox because you can format data from twrp and then flash the rom. I started using orangefox since I tried miui 10 oreo beta because I was unable to avoid encryption on that rom.
Click to expand...
Click to collapse
Thanks for the explanations!
I plan on just unlocking bootloader, enabling cam2 and installing a current gcam today - I'll wait with flashing until miui10 stable is released in the next week or so, so I can do a "fair" comparison between Lineage and Miui (and possibly some others)
jes0411 said:
For me unlocking didn't wipe data.
Click to expand...
Click to collapse
A quick heads-up, just in case anyone stumbles upon this thread:
As of MIUI 9.5.17 global stable, using official MIUI unlock 3.3.525.23, unlocking the bootloader DOES WIPE user data & factory-resets the phone (to be more precise - it wipes the complete internal storage).
SD is, as expected, left alone.
santoo said:
A quick heads-up, just in case anyone stumbles upon this thread:
As of MIUI 9.5.17 global stable, using official MIUI unlock 3.3.525.23, unlocking the bootloader DOES WIPE user data & factory-resets the phone (to be more precise - it wipes the complete internal storage).
SD is, as expected, left alone.
Click to expand...
Click to collapse
I only shared my experience.
My data was wiped when I installed developer rom to bind account but when I unlocked bootloader after 360h data remained intact. When I flashed twrp phone didn't boot but I solved it flashing magisk.
jes0411 said:
I only shared my experience.
Click to expand...
Click to collapse
Yes, and I thank you for it.
I was not accusing you of anything - things may well have changed with different versions of MIUI or different versions of the unlock tool, or between chinese/global versions. Just a warning for others that, at least with the versions I posted, having a backup is reaaaaally nice :good:
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
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
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...
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?