Hi,
I noticed the same question today at the miui forum, so I decided to help and share my experience with you.
To upgrade a Poco F1 running a custom ROM all you need first are two things: a fastboot ROM provided by Xiaomi
http://en.miui.com/a-234.html
and @CosmicDan's encryption disabler (twrp-3.2.3-beryllium-cosmic_FBE-Disable.zip) > https://github.com/cosmicdan/MIUI_Kitchen/releases
Having the latest fastboot ROM downloaded - no matter if dev oder stable - extract the .tgz and edit this file with your favorite editor:
flash_all_except_storage.sh (Linux/Unix/Mac)
or
flash_all_except_storage.cmd (Windows)
and comment out these 6 lines:
so system.img and recovery.img won't get flashed and there's no reboot after flashing all partitions to prevent encryption.
save and close your edited script and execute it with your poco rebooted in fastboot mode. as soon as all new partitions are flashed you'll get a message:
for example finished. total time: 43.419s
then long press and hold power + vol up until you're back in twrp, or if you didn't install it before you'd have to reboot to fastboot (vol down + power) and boot it with
fastboot boot twrp-3.2.3-beryllium-cosmic-20180915.img
then flash CosmicDan's twrp-3.2.3-beryllium-cosmic_FBE-Disable.zip to keep encryption disabled.
optionally flash magisk to patch your kernel if you had installed it before or otherwise your custom ROM probably won't boot.
thanks a lot to @CosmicDan who did the community great jobs with his work, so many times!!
hope it helps + best regards
I noticed the same question today at the miui forum, so I decided to help and share my experience with you.
To upgrade a Poco F1 running a custom ROM all you need first are two things: a fastboot ROM provided by Xiaomi
http://en.miui.com/a-234.html
and @CosmicDan's encryption disabler (twrp-3.2.3-beryllium-cosmic_FBE-Disable.zip) > https://github.com/cosmicdan/MIUI_Kitchen/releases
Having the latest fastboot ROM downloaded - no matter if dev oder stable - extract the .tgz and edit this file with your favorite editor:
flash_all_except_storage.sh (Linux/Unix/Mac)
or
flash_all_except_storage.cmd (Windows)
and comment out these 6 lines:
Code:
#fastboot $* -S 200M flash system `dirname $0`/images/system.img
#if [ $? -ne 0 ] ; then echo "Flash system error"; exit 1; fi
#fastboot $* flash recovery `dirname $0`/images/recovery.img
#if [ $? -ne 0 ] ; then echo "Flash recovery error"; exit 1; fi
....
#fastboot $* reboot
#if [ $? -ne 0 ] ; then echo "Reboot error"; exit 1; fi
save and close your edited script and execute it with your poco rebooted in fastboot mode. as soon as all new partitions are flashed you'll get a message:
for example finished. total time: 43.419s
then long press and hold power + vol up until you're back in twrp, or if you didn't install it before you'd have to reboot to fastboot (vol down + power) and boot it with
fastboot boot twrp-3.2.3-beryllium-cosmic-20180915.img
then flash CosmicDan's twrp-3.2.3-beryllium-cosmic_FBE-Disable.zip to keep encryption disabled.
optionally flash magisk to patch your kernel if you had installed it before or otherwise your custom ROM probably won't boot.
thanks a lot to @CosmicDan who did the community great jobs with his work, so many times!!
hope it helps + best regards
Last edited: