Will unlocking and installing TWRP recovery will make OTA unavailable? - Xiaomi Poco F1 Questions & Answers

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.

Related

Replace TWRP with stock recovery to install OTA

Today I've flashed the recovery with TWRP to install SuperSU.
Is there any possibility of installing the stock recovery to be able to install Android updates normally again without losing all data and SuperSU?
You sir, are not alone with this question. Been eagerly looking for an answer for the same question..
reconman said:
Today I've flashed the recovery with TWRP to install SuperSU.
Is there any possibility of installing the stock recovery to be able to install Android updates normally again without losing all data and SuperSU?
Click to expand...
Click to collapse
Use the search function, it has already been covered.
Anarchist77 said:
Use the search function, it has already been covered.
Click to expand...
Click to collapse
I can't find anything for the G5, only for other phones.
The only option I currently know of is to flash the whole KDZ and then install TWRP and SuperSU again. Is there another way?
As long as the system is modified in any way, the only way to install ota updated is through LGUP because before applying the update there is a system integrity check ran and if that fails you will most likely get into bootlops or worst
Here is what I did to get a 10D rooted system
Thank you @gwolfu.

Will I receive OTA updates after installing TWRP and Magisk?

As the title states, will I receive OTA updates for my Redmi 5 after I install TWRP and flash Magisk?
morin_khuur said:
As the title states, will I receive OTA updates for my Redmi 5 after I install TWRP and flash Magisk?
Click to expand...
Click to collapse
I installed TWRP and Magisk, and I received OTA update, but with custom recovery, the phone can't install it, (it just reboots to TWRP when you press update).
I've read that you can install updates via TWRP but I am not sure from where to download the updates as currently, the official Xiaomi page is down, I presume because of the MIUI 10 update...
You can re-install the stock recovery and maybe unroot the phone and then try again, at least that's what i've read on other forums, but didn't test it myself yet.
iamboredatwork said:
I installed TWRP and Magisk, and I received OTA update, but with custom recovery, the phone can't install it, (it just reboots to TWRP when you press update).
I've read that you can install updates via TWRP but I am not sure from where to download the updates as currently, the official Xiaomi page is down, I presume because of the MIUI 10 update...
You can re-install the stock recovery and maybe unroot the phone and then try again, at least that's what i've read on other forums, but didn't test it myself yet.
Click to expand...
Click to collapse
Yes, although we still receive OTA update package from MIUI host, we can't update OTA with TWRP recovery for rosy at present. TWRP hasn't supported ota incremental update zips yet. We need some one can build RedWolf Recovery for rosy to have OTA incremental update supported
Yes u will receive update but u have to flash it via TWRP

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

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.

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

Categories

Resources