About keeping OTA and TWRP - Xiaomi Poco F1 Questions & Answers

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

Related

MIUI 9 and redwolf recovery

I am currently on miui 9.2.1 and i want to flash recovery and root my device.
So,i don't want to break miui ota updates and saw videos about redwolf recovery on youtube and my question is which rom file of miui should i flash on my phone
I have already miui 9.2.1 zip file which i used for flashing my phone via mi flash tool can i use that or any other zip?
And before flashing that zip should i clean data,dalvik,cache
Or should i directly flash that zip file
Before you flash MIUI, you will first need to install Redwolf Recovery. The version of MIUI can be your current one or the latest one.
Install Redwolf Recovery
Boot to Recovery
To enable MIUI OTA Support, click Advanced->Special Actions
Scroll to the bottom and check off "Include system in OTA survival", "Aggressive stock recovery deactivation", and "Support MIUI Incremental OTA"
Clear Dalvik/Cache, Cache (no need to clear data, unless you want to start fresh)
Install MIUI, and reboot (no need to flash lazyflash zip file as Redwolf does it automatically after any install)
Your device now supports OTA. Note that whenever you install OTA, it may seem like it takes forever or it's frozen. Don't worry, just leave it. (May take up to 10 mins)
yohyah said:
Before you flash MIUI, you will first need to install Redwolf Recovery. The version of MIUI can be your current one or the latest one.
Install Redwolf Recovery
Boot to Recovery
To enable MIUI OTA Support, click Advanced->Special Actions
Scroll to the bottom and check off "Include system in OTA survival", "Aggressive stock recovery deactivation", and "Support MIUI Incremental OTA"
Clear Dalvik/Cache, Cache (no need to clear data, unless you want to start fresh)
Install MIUI, and reboot (no need to flash lazyflash zip file as Redwolf does it automatically after any install)
Your device now supports OTA. Note that whenever you install OTA, it may seem like it takes forever or it's frozen. Don't worry, just leave it. (May take up to 10 mins)
Click to expand...
Click to collapse
Bro which miui should i install will that file work which i used to flash my device with pc using mi flash tool?
Prince19971234 said:
Bro which miui should i install will that file work which i used to flash my device with pc using mi flash tool?
Click to expand...
Click to collapse
You can use the current version of MIUI which you already have, or downloaded an updated version of the Stable or Developer MIUI to flash over.
yohyah said:
You can use the current version of MIUI which you already have, or downloaded an updated version of the Stable or Developer MIUI to flash over.
Click to expand...
Click to collapse
Okay bro
Thank you so much for your quick replies

How to ota update rooted phone?

I rooted my phone and don't know how to install ota updates after rooting phone without any data loss...
Can anyone guide me eith full steps?
Ikaushal said:
I rooted my phone and don't know how to install ota updates after rooting phone without any data loss...
Can anyone guide me eith full steps?
Click to expand...
Click to collapse
xiaomi provides ota to all roms just unroot it for a while and u will also loose twrp
Do I need to go back to the default kernel to get the ota ?
Ikaushal said:
I rooted my phone and don't know how to install ota updates after rooting phone without any data loss...
Can anyone guide me eith full steps?
Click to expand...
Click to collapse
You can install ota after being rooted. There is a custom recovery ORANGEFOX RECOVERY which offers ota. You have to install miui from it and after that you can install ota from it.
You can try flashfire. Download it through google play. You won't lose your data nor root. You can google the steps or go to youtube for more info.
If you want to update to latest stable pie,follow these steps:
1. DOWNLOAD THE GLOBAL STABLE 10.1.3
2. disable all MAGISK MODULES
3. reboot to recovery and flash the latest GLOBAL STABLE PIE ROM
4. wipe cache and dalvik
5. FLASH FED 17.3.zip
6. reboot
[email protected] said:
xiaomi provides ota to all roms just unroot it for a while and u will also loose twrp
Click to expand...
Click to collapse
I unrooted the phone but still not able to update it..
SamyakJ said:
You can install ota after being rooted. There is a custom recovery ORANGEFOX RECOVERY which offers ota. You have to install miui from it and after that you can install ota from it.
Click to expand...
Click to collapse
Will give it a try
mecoromeo said:
You can try flashfire. Download it through google play. You won't lose your data nor root. You can google the steps or go to youtube for more info.
If you want to update to latest stable pie,follow these steps:
1. DOWNLOAD THE GLOBAL STABLE 10.1.3
2. disable all MAGISK MODULES
3. reboot to recovery and flash the latest GLOBAL STABLE PIE ROM
4. wipe cache and dalvik
5. FLASH FED 17.3.zip
6. reboot
Click to expand...
Click to collapse
Flashfire has been discontinued
Ikaushal said:
I rooted my phone and don't know how to install ota updates after rooting phone without any data loss...
Can anyone guide me eith full steps?
Click to expand...
Click to collapse
wihout rebooting the device:
install OTA zip from TWRP
restore recovery image (TWRP),
re-install magisk
wipe dalvik/cache
voilà, that's all it needs. I've done it many times running llineage16.
SamyakJ said:
You can install ota after being rooted. There is a custom recovery ORANGEFOX RECOVERY which offers ota. You have to install miui from it and after that you can install ota from it.
Click to expand...
Click to collapse
Does ORANGE FOX works with updating OTA if the /system partion is modified? Getting error 7 in TWRP with decryption. Help please!
I use Magisk :
1) Uninstall Magisk to restore stock boot image
2) Flash the update through TWRP with encryption support
3) Flash Magisk again
nilg0lap said:
Does ORANGE FOX works with updating OTA if the /system partion is modified? Getting error 7 in TWRP with decryption. Help please!
Click to expand...
Click to collapse
See you have to flash ORANGEFOX RECOVERY using any other TWRP recovery. After you have flashed the recovery you have been asked for password just cancel it. Now go to wipe clear data and reboot to recovery(this will decrypt the device). After that you have to copy the desired miui rom and flash it(copy it from your computer or use sd card or usb to flash). After that flash magisk and you are good to go.

Will unlocking and installing TWRP recovery will make OTA unavailable?

Hi,
I am new here! I want to install BSG camera port. So if i unlock my device and install TWRP, will i be then able to get the OTA updates?
karthi7491 said:
Hi,
I am new here! I want to install BSG camera port. So if i unlock my device and install TWRP, will i be then able to get the OTA updates?
Click to expand...
Click to collapse
If you flash closed beta which is usually the latest rom then you won't get otas if you flash open beta or stable version then you can get otas.
When you flash otas they replace your twrp with miui recovery.
Yes, but you should download the full rom update and install via twrp, because installing directly will remove twrp & root
karthi7491 said:
Hi,
I am new here! I want to install BSG camera port. So if i unlock my device and install TWRP, will i be then able to get the OTA updates?
Click to expand...
Click to collapse
When you install TWRP and Magisk, the OTA will detect the root and will download the full ROM. Then you flash the full ROM via TWRP, boot back into TWRP to avoid the ROM overwriting it and flash Magisk for good measure and then boot into system.

is it safe to flash MIUI global 10 fastboot rom with twrp?

hello,
so I was just wondering is it safe to flash MIUI 10 global rom with twrp? I know that it will probably replace the twrp with stock recovery, but it is easily fixed. I had to restore old backup and right now I'm on MIUI beta rom but with beta roms being shut down starting from 1st july, I just want to convert to the latest MIUI global rom which is avilable here on thier offical site and it is called Version: V10.3.4.0.PEJMIXM (MIUI10)
so again my question:
1. is it safe to flash this rom with TWRP?
2. will i need fastboot zip file if I choose to flash with TWRP?
3. or can I just download the normal zip and flash it through local update feature? please take note that twrp is installed on my phone
so that's all.. thanks for your time:good:
alifarhad said:
hello,
so I was just wondering is it safe to flash MIUI 10 global rom with twrp? I know that it will probably replace the twrp with stock recovery, but it is easily fixed. I had to restore old backup and right now I'm on MIUI beta rom but with beta roms being shut down starting from 1st july, I just want to convert to the latest MIUI global rom which is avilable here on thier offical site and it is called Version: V10.3.4.0.PEJMIXM (MIUI10)
so again my question:
1. is it safe to flash this rom with TWRP?
2. will i need fastboot zip file if I choose to flash with TWRP?
3. or can I just download the normal zip and flash it through local update feature? please take note that twrp is installed on my phone
so that's all.. thanks for your time:good:
Click to expand...
Click to collapse
No,I recommend downloading the full (recovery) rom and flashing it in twrp, and then flashing the 'Disable Force Encryption' zip and later magisk if needed.., wipe dalvik cache & reboot
This way you don't lose twrp or anything else on your phone
Schumanzuar said:
No,I recommend downloading the full (recovery) rom and flashing it in twrp, and then flashing the 'Disable Force Encryption' zip and later magisk if needed.., wipe davlik cache & reboot
This way you don't lose twrp or anything else on your phone
Click to expand...
Click to collapse
Hi ethanks for your reply. What do you mean by full rom? Does twrp allow flashing miui global roms just like any other custom roms?
alifarhad said:
Hi ethanks for your reply. What do you mean by full rom? Does twrp allow flashing miui global roms just like any other custom roms?
Click to expand...
Click to collapse
Of course it does..
I'm talking about the full rom also called as recovery rom (Example :-
https://en.miui.com/getrom-355.html?m=yes&mobile=2
Visit this link to see the latest miui stable & beta ROMs for Poco f1, both of them are full ROMs aka recovery ROMs of the latest miui for Poco f1
1) I assume you have already unlocked bootloader etc..
First you have to have the essential files i.e the rom zip file you want to install, disable Force Encryption zip file, Magisk zip file (All files links will be available in the main Poco f1 thread)
2) Next you boot into twrp (Power + volume up button)
Next select install, navigate to the downloaded rom zip file and swipe to flash (DONT reboot after flash, click back)
3) Now again select install & now flash the disable Force Encryption zip file (This is very important & should be done during every rom flashing)
4) Next go back & flash Magisk for root
5) Wipe dalvik cache and reboot
Schumanzuar said:
Of course it does..
I'm talking about the full rom also called as recovery rom (Example :-
https://en.miui.com/getrom-355.html?m=yes&mobile=2
Visit this link to see the latest miui stable & beta ROMs for Poco f1, both of them are full ROMs aka recovery ROMs of the latest miui for Poco f1
1) I assume you have already unlocked bootloader etc..
First you have to have the essential files i.e the rom zip file you want to install, disable Force Encryption zip file, Magisk zip file (All files links will be available in the main Poco f1 thread)
2) Next you boot into twrp (Power + volume up button)
Next select install, navigate to the downloaded rom zip file and swipe to flash (DONT reboot after flash, click back)
3) Now again select install & now flash the disable Force Encryption zip file (This is very important & should be done during every rom flashing)
4) Next go back & flash Magisk for root
5) Wipe dalvik cache and reboot
Click to expand...
Click to collapse
Thanks it's much clearer now.
alifarhad said:
Thanks it's much clearer now.
Click to expand...
Click to collapse
Did you flash stable rom ?
And did you erase the data or internal storage?
I am on beta as well and have unlocked bootloader and twrp & magisk installed with Force encryption Disabled.
I want to switch to 10.3.5.0 Stable ROM.
But I don't know whether to erase Data partition or not.
gohil.mitul said:
Did you flash stable rom ?
And did you erase the data or internal storage?
I am on beta as well and have unlocked bootloader and twrp & magisk installed with Force encryption Disabled.
I want to switch to 10.3.5.0 Stable ROM.
But I don't know whether to erase Data partition or not.
Click to expand...
Click to collapse
1) Use migrate app from play store to take a backup of current phone app data, the backup is stored in a flashable zip format
2) Next boot to twrp, choose wipe and select davlik, cache, system, data later follow my steps in my previous comment to flash new rom
3) Set up phone etc, Make sure Magisk is installed properly
4) Next boot into twrp & flash the migrate zip file located in migrate folder, reboot after flashing, you will get a notification about migrate backup once rebooted, open it and restore everything or select choose to restore for selective restore of data

DFE: Disable Forced Encryption (version numbers? treble?)

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?

Categories

Resources