this quote from my post, i did same for magisk.zip file
I did all and after step 11 it boots to MIUI instead of recovery. The lineageos recovery doesn't start.Thanks for the pointer. I tried it and finally got LineageOS working on my Redmi 9 that had MIUI 13 (bootloader unlocked) already.
Here are the steps I did:
Download twrp-3.4.2_A12-lancelot-dimenzino.img from https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/lancelot
Download miui_LANCELOTEEAGlobal_V22.214.171.124.SJCEUXM_f7755ce0ba_12.0.zip (or similar, should be the version currently on your phone) from https://xiaomirom.com/en/rom/redmi-9-lancelot-europe-fastboot-recovery-rom/.
Open miui_LANCELOTEEAGlobal..., extract vbmeta.img and rename it to vbmeta-miui.img.
Open https://download.lineageos.org/devices/lancelot, download
lineage-20.0-20230322-nightly-lancelot-signed.zip and vbmeta.img and recovery.img from the same build. Rename the latter two to vbmeta-lineage.img and recovery-lineage.img).
Download MindTheGapps-13.0.0-arm64-20221025_100653.zip from https://androidfilehost.com/?fid=14871746926876840643
Copy these files to your SD card:
1) Boot into fastboot. "FASTBOOT" in orange letters must be on screen.
2) fastboot --disable-verity --disable-verification flash vbmeta vbmeta-miui.img
3) fastboot flash recovery twrp-3.4.2_A12-lancelot-dimenzino.img
boot into recovery
4) fastboot reboot recovery
(TWRP comes up)
5) In TWRP, do wipe/factory reset.
6) In TWPR, install miui_LANCELOT..._12.0.zip, then reboot.
(MIUI logo comes up for a few mintues, then MIUI 12.5 starts)
7) In MIUI, power off phone
8) Boot into fastboot. "FASTBOOT" in orange letters must be on screen.
9) fastboot --disable-verity --disable-verification flash vbmeta vbmeta-lineage.img
10) fastboot --disable-verity --disable-verification flash recovery recovery-lineage.img
11) fastboot reboot recovery
(LineageOS recovery comes up)
12) In LOS recovery, install lineage-...-signed.zip and MindTheGapps....zip. Then reboot to system. It asks whether to erase data. Answer yes.
13) LineageOS boots. Yay!
IMEIs etc are all preserved.
Weird. Did you use the exact version I had used.
Is your phone an EEA model?
Hello. I'm in Spain and i'm Spanish. The phone was bought trough an Spanish operator, years ago.Is your phone an EEA model?
So is the phone on or off? If on: What exactly is on screen? What happens when you press power button for 10s?
When you cannot get to fastboot and recovery, there still is SP Flash Tool with MTK bypass utility. You can use that to install MIUI 12. Not sure if you need a fastboot or a recovery FW download for that. In SP flash tool, use "Download only" mode and remove the checkmark for "preloader".
I have little time today and tomorrow, but I try to support you.
Then it should be EEA.
Ok, I also had the same once.
Keep it on the charger. I read there's a way to recover once the battery is full drained. I tried that but it did not work for me. It also is not good for the battery.
Download MTK bypass utility. You should find some tutorials. You also need "MTK exploits_collection" and maybe need to install some USB drivers.When I press the power button it happens the same as told: screen goes black and Redmi and Powered by android appear again.
I have installed SP Flash Tool but haven't found the "preloader" checkmark anyway and don't know which settings put. I assume there should be any tutorial... Oh.. this is just a headache
Regarding apps getting killed, you may investigate what consumes RAM.Lucky you!
I’ve installed LineageOS back in July on a Redmi 9 that my SO started using only this week, and she complains that apps get killed as soon as they are no longer in the foreground (even very lightweight apps such as stopwatch).
Has anyone else encountered this issue? How did you solve it?
Also, earphone volume during calls feels low even at max volume. Sounds (See what I did here?) familiar?
I've submitted a bug report at LineageOS. Let's see what happens.It doesn't matter, I'll use the sim card in another phone to activate call forwarding if necessary. Another thing I noticed is that the display doesn't turn on when I receive notifications.
I've looked everywhere in the settings, but I couldn't find anything. Thank you.
I have been using it for two weeks now (lineage-20.0-20230322-nightly-lancelot-signed), everything is fine. Performance is way better than MIUI 13. Boots faster, feels more snappy, apps stay alive in background. On MIUI 13, Whatsapp often was killed in background, so if someone messaged me, I would get notified hours later.