Xiaomi Poco F1 [ROOT, Unlock Bootloader, with STOCK RECOVERY, OTA UPDATES etc!]

ctsuresh

Senior Member
Jun 8, 2017
189
13
0
Guys. I'm so sorry if this question has been asked before...
If I root my Poco F1, each time that I want to flash .zip of new ota, my data will erase? Thanks in advance
Nope, I did two recent updates nothing happened.

---------- Post added at 12:19 PM ---------- Previous post was at 11:40 AM ----------

Can't boot into TWRP. Console says everything is okay and it's finished. The phone doesn't boot and stays with grey screen. When I try to reboot it into TWRP it boots to Mi-recovery. Anyone can help?
After Twrp flash completes. Make sure you boot to twrp by unplugging the phone and hold volume + and power button simultaneously.
 
  • Like
Reactions: hosseinito

hosseinito

Senior Member
Jul 14, 2014
192
21
38
Nope, I did two recent updates nothing happened.

---------- Post added at 12:19 PM ---------- Previous post was at 11:40 AM ----------



After Twrp flash completes. Make sure you boot to twrp by unplugging the phone and hold volume + and power button simultaneously.
Thanks mate?
 

anirudh281998

Senior Member
May 3, 2016
201
27
0
Delhi
Nope, I did two recent updates nothing happened.
What is the procedure you follow for that?

Recently I tried installing OTA update, but it failed.
Steps I followed:
1. Flashed stock recovery, so that OTA can be installed.
2. Uninstalled magisk (using magisk manager app).
3. Go to System updater, downloaded ota and flash begins.
4. Phone reboots and enters mi recovery to proceed flashing, but it fails and flashing doesnt even start.
5. Phone reboots and nothing changed (same old rom, no data loss)
 

ctsuresh

Senior Member
Jun 8, 2017
189
13
0
What is the procedure you follow for that?

Recently I tried installing OTA update, but it failed.
Steps I followed:
1. Flashed stock recovery, so that OTA can be installed.
2. Uninstalled magisk (using magisk manager app).
3. Go to System updater, downloaded ota and flash begins.
4. Phone reboots and enters mi recovery to proceed flashing, but it fails and flashing doesnt even start.
5. Phone reboots and nothing changed (same old rom, no data loss)
I will not flash manually, Through miui updater it automatically updates so I will loose Twrp and Magisk, I will flash them again that's it.


Detail method- when I get a ota update I will download it then it asks for reboot so it will go Twrp and fails. Then system reboot normally without any update. Then again I get a ota update for downloading but this time it will download full rom, then same again reboots to Twrp and flash success then reboot to system with new version updated. But you will loose magisk and Twrp.
 
  • Like
Reactions: anirudh281998

anirudh281998

Senior Member
May 3, 2016
201
27
0
Delhi
I will not flash manually, Through miui updater it automatically updates so I will loose Twrp and Magisk, I will flash them again that's it.


Detail method- when I get a ota update I will download it then it asks for reboot so it will go Twrp and fails. Then system reboot normally without any update. Then again I get a ota update for downloading but this time it will download full rom, then same again reboots to Twrp and flash success then reboot to system with new version updated. But you will loose magisk and Twrp.
Thanks. This is what I did indirectly. After I was rebooted to my previous rom, I manually downloaded full recovery zip rom, and flashed it using twrp. Lost magisk and twrp but update was installed. Installed twrp and magisk again.

---------- Post added at 02:07 AM ---------- Previous post was at 01:59 AM ----------

For anyone who wants to update MIUI:
1. Go to Magisk -> Select "Uninstall" -> Restore Images. Reboot your phone. This restores stock boot image.
2. Go to updater app, and download and install OTA.
3. OTA will fail and phone will reboot.
4. Update again by going to Updater app (This time it downloads full rom instead of OTA), and let it install (it will install from TWRP, no issues)
5. After update, re install TWRP and Magisk. (Because the update installed stock recovery and we uninstalled Magisk in step 1)

OR

1. Go to Magisk -> Select "Uninstall" -> Restore Images. Reboot your phone. This restores stock boot image.
2. Download latest Recovery ROM from MIUI website and flash it using TWRP (no wipes, only flash)
3. After rebooting, flash TWRP and Magisk.

NOTE: If your data partition was not encrypted previously, updated MIUI might attempt to encrypt and you will lose apps (internal storage remains saved). To avoid it, flash DisableForceEncryption_Treble.zip just after flashing Update (DONT REBOOT without flashing it, else encryption takes place)
Link DisableForceEncryption_Treble.zip: https://forum.xda-developers.com/attachment.php?attachmentid=4702413&d=1549734051
 
Last edited:

TNSMANI

Forum Moderator
Staff member
Jan 8, 2014
4,398
3,648
243
Chennai
Thanks. This is what I did indirectly. After I was rebooted to my previous rom, I manually downloaded full recovery zip rom, and flashed it using twrp. Lost magisk and twrp but update was installed. Installed twrp and magisk again.

---------- Post added at 02:07 AM ---------- Previous post was at 01:59 AM ----------

For anyone who wants to update MIUI:
1. Go to Magisk -> Select "Uninstall" -> Restore Images. Reboot your phone. This restores stock boot image.
2. Go to updater app, and download and install OTA.
3. OTA will fail and phone will reboot.
4. Update again by going to Updater app (This time it downloads full rom instead of OTA), and let it install (it will install from TWRP, no issues)
5. After update, re install TWRP and Magisk. (Because the update installed stock recovery and we uninstalled Magisk in step 1)

OR

1. Go to Magisk -> Select "Uninstall" -> Restore Images. Reboot your phone. This restores stock boot image.
2. Download latest Recovery ROM from MIUI website and flash it using TWRP (no wipes, only flash)
3. After rebooting, flash TWRP and Magisk.

NOTE: If your data partition was not encrypted previously, updated MIUI might attempt to encrypt and you will lose apps (internal storage remains saved). To avoid it, flash DisableForceEncryption_Treble.zip just after flashing Update (DONT REBOOT without flashing it, else encryption takes place)
Link DisableForceEncryption_Treble.zip: https://forum.xda-developers.com/attachment.php?attachmentid=4702413&d=1549734051
In your second method, if you boot to recovery before booting to system, TWRP will be preserved and you will need to flash Magisk alone.

I don't think that you need to uninstall Magisk either in the first or the second method (I may be wrong though). When the Updater senses that your system is modified, it will straightaway download the full ROM. If you then flash it through TWRP and boot into recovery before booting into system, both TWRP and Magisk will be preserved. You will save some time and clicks. This is how I do it in my OP3, I think the F1 will also behave similarly.
 

anirudh281998

Senior Member
May 3, 2016
201
27
0
Delhi
In your second method, if you boot to recovery before booting to system, TWRP will be preserved and you will need to flash Magisk alone.
Rebooting to recovery before booting to system, it will boot to TWRP but after that when we reboot, system installs stock recovery. ie System always installs stock recovery on 1st boot after update.
I don't think that you need to uninstall Magisk either in the first or the second method (I may be wrong though). When the Updater senses that your system is modified, it will straightaway download the full ROM. If you then flash it through TWRP and boot into recovery before booting into system, both TWRP and Magisk will be preserved. You will save some time and clicks. This is how I do it in my OP3, I think the F1 will also behave similarly.
The updator should detect modifications, but it doesn't do so (atleast for me). It always tries OTA, if it fails, then only it proceeds with full recovery ROM.
Regarding Magisk uninstallation, I agree that its not needed, but Magisk documentation recommends to do so.
 
  • Like
Reactions: TNSMANI

TNSMANI

Forum Moderator
Staff member
Jan 8, 2014
4,398
3,648
243
Chennai
Rebooting to recovery before booting to system, it will boot to TWRP but after that when we reboot, system installs stock recovery. ie System always installs stock recovery on 1st boot after update.
True that stock ROM installs stock recovery but rebooting to recovery (TWRP) and flashing Magisk preserves TWRP for me in OP3. May be MiUI is different.
 
  • Like
Reactions: anirudh281998

ctsuresh

Senior Member
Jun 8, 2017
189
13
0
My Poco battery drastically coming down. Can anyone advise me how to get better battery life.

Mostly draining with android system. Pl help.
 

bseos

Senior Member
Aug 9, 2009
118
108
0
Melbourne
Perfect! Been using this method since I bought my phone months ago with every update since.

Update: There is another method which has recovery flashed on the phone "permanently", though I haven't tried it thought it post it here for anyone interested.
Fail-proof Steps to Keep MIUI OTA Update On Poco F1 with Orange Fox
What is Orange Fox?

My Poco battery drastically coming down. Can anyone advise me how to get better battery life.
Mostly draining with android system. Pl help.
I've read some users reports of initially having 7-8+ of battery time, but that it had come down to 5 hours. They had to factory reset their phones to fix.
 
Last edited:
  • Like
Reactions: ctsuresh

ferbulous

Senior Member
May 12, 2012
249
22
48
Perfect! Been using this method since I bought my phone months ago with every update since.

Update: There is another method which has recovery flashed on the phone "permanently", though I haven't tried it thought it post it here for anyone interested.
Fail-proof Steps to Keep MIUI OTA Update On Poco F1 with Orange Fox
What is Orange Fox?

I've read some users reports of initially having 7-8+ of battery time, but that it had come down to 5 hours. They had to factory reset their phones to fix.
I'm using method 1 (which is a lot simpler)
It's just that after flashing magisk with twrp, just before it reboots it ask if I want to install twrp and I said to yes to that.
Did I just screwed up for ota updates?
 

kato2050

Member
Jun 16, 2016
13
0
0
guys help me , i Can not find my boot img , when trying adb devices while i am in fast mode , it does not show me any thing Second this command Is -al adb does not recognize it
Sorry for my bad English
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone