[PATCH] Stable to Weekly BootFix (only working for devices that were shipped with Android 9 or below)


Poney70

Donator
Oct 3, 2019
5,488
337
Hello all! :)

For users who are wanting to install the latest Weekly ROM version but currently having Stable ROM version, you will generally be faced to this following issue if you don't do a clean installation => Your device is only rebooting into TWRP and it can't boot to system anymore unless if you flash the previously installed Stable ROM version. :(

This patch will fix this boot issue so you will be able to use the Weekly ROM version without losing your data. ;)


IMPORTANT: Your device must have been shipped with Android 9 or below! How to know this info? Search your device on this website then check the "Platform > OS" line => https://www.gsmarena.com/

Download link: TWRP_Stable_to_Weekly_BootFix_v1.2.2.zip
(mirror link: here)

== Use it at your own risks (backup first) ==


Steps to follow:

1) Stable ROM version MUST be installed on your device
(If you already installed the Weekly ROM version over the Stable one, please reflash your last Stable ROM version first)

2) Install the BootFix patch in TWRP

3) Flash the Weekly ROM version (+ Wipe Dalvik & Cache)

4) Install the BootFix patch in TWRP

5) Reboot your device

IMPORTANT: I recommend to NOT delete the "bootfix" file found in the "/sdcard" folder because you will surely have to install my BootFix patch after installing a Weekly ROM update (to be able to boot to system). If you remove this file by mistake, you have to redo all steps above.

Feedbacks are welcome!
 
Last edited:
Works perfectly !
Thanks, you made my day.

What about if I want to go back to stable version (considering I'm waiting for android 11 release).
But maybe stable isn't a good choice after all
 
Works perfectly !
Thanks, you made my day.

What about if I want to go back to stable version (considering I'm waiting for android 11 release).
But maybe stable isn't a good choice after all
No problem. :)

"Stable" ROM isn't a good choice on Xiaomi, "Weekly" are stable enough. ;)

Going to "Stable" from "Weekly" is generally a downgrade so it's recommended to format data.
 
First of all Happy New Year! You answered me on beta 12.5 release post. So u said if I dirty flash my eu 12.0.5 stable to 12.5 beta, it wont boot, right? What do I do to upgrade my phone? I rly wanna experience the 12.5.
 
Even if I didn't delete the "bootfix" file found in the "/sdcard" , I had to flash you're patch when dirty going from 20.12.9 to 20.12.28
 
First of all Happy New Year! You answered me on beta 12.5 release post. So u said if I dirty flash my eu 12.0.5 stable to 12.5 beta, it wont boot, right? What do I do to upgrade my phone? I rly wanna experience the 12.5.

Do what's explained in first post
 
Even if I didn't delete the "bootfix" file found in the "/sdcard" , I had to flash you're patch when dirty going from 20.12.9 to 20.12.28
Yes I know that. ^^
I will try to make an "addon.d" script to auto-apply the bootfix after a dirty flash, in the new patch version (1.1). :)

EDIT: xiaomi.eu ROMs don't support "addon.d" scripts... :(
 
Last edited:
  • Love
Reactions: lafaire
Hello all! :)

For users who are wanting to install the latest Weekly ROM version but currently having Stable ROM version, you will generally be faced to this following issue if you don't do a clean flash => Your device is only rebooting into TWRP and it can't boot to system anymore unless if you flash the previously installed Stable ROM version. :(

This patch will fix this boot issue so you will be able to use the Weekly ROM version without losing your data. ;)


IMPORTANT: Your device must have been shipped with Android 9 or below! How to know this info? Search your device on this website then check the "Platform > OS" line => https://www.gsmarena.com/

Download link: TWRP_Stable_to_Weekly_BootFix_v1.0.zip


...........


Can you please mirror it somewhere else? the Mega link seems to be down :(
 
Hello @Poney70 , does this bootfix helps MI9SE being stuck on bootloader or TWRP as it was happening few weeklies back?
 
I'm using a Mi 10 Ultra and the bootfix does not work for me. Are you developing any similar fixes for phones shipped with Android 10? Thanks!
 
I'm using a Mi 10 Ultra and the bootfix does not work for me. Are you developing any similar fixes for phones shipped with Android 10? Thanks!
Nope, you should wait for a TWRP version (for your device) with dynamic partition support. ;)
 
Thanks Poney70,
Understood. So no other way to move from stable to weekly (Android 11) at the moment other than a clean install? Thanks again.

Sent from my M2007J1SC using Tapatalk
 
Thanks Poney70,
Understood. So no other way to move from stable to weekly (Android 11) at the moment other than a clean install? Thanks again.

Sent from my M2007J1SC using Tapatalk
It should be possible to unpack/repack "system.img" file but I don't know how to do that. ;)
 
Me neither! Will wait for next stable version I think. Thanks for your help.

Sent from my M2007J1SC using Tapatalk
 
I did follow the steps and got my phone into recovery loop, what should I do?
You have to flash the Stable version you had before yes...
You can check if you have a "bootfix" file in the root of your phone storage. If you don't have it after installing my zip, it can't work. ;)
 
Hi,
I use the patch with success for a while now, but for the latest K20Prp udate 21.6.2 I have a twrp bootloop again. As soon as I try the previous version, it works again.
Do you think there is a workaround again?
I see on the rom's thread that some ppl have problems too.
Should I wait for next week's beta to see?
Thanks!
 
Hi,
I use the patch with success for a while now, but for the latest K20Prp udate 21.6.2 I have a twrp bootloop again. As soon as I try the previous version, it works again.
Do you think there is a workaround again?
I see on the rom's thread that some ppl have problems too.
Should I wait for next week's beta to see?
Thanks!
Hello,

Patch may not work because of no space left in /system partition... :(

Try again on a next Weekly ROM version...
 
  • Like
Reactions: lafaire
Hi,
I use the patch with success for a while now, but for the latest K20Prp udate 21.6.2 I have a twrp bootloop again. As soon as I try the previous version, it works again.
Do you think there is a workaround again?
I see on the rom's thread that some ppl have problems too.
Should I wait for next week's beta to see?
Thanks!
You can remove (or move to /sdcard) some application you don't need from /system/priv-app, "Weather" app for example. Then flash BootFix again.
It worked for me.
 
  • Like
Reactions: Poney70 and lafaire