[GUIDE][alioth] How to install Xiaomi.eu ROM for Xiaomi Redmi K40


minotavros

Members
Dec 21, 2016
368
67
Yesterday unlock my bootloader and installed latest xiaomi.eu weekly rom without any problem.
For those who confused correct steps I follow these steps and successfully installed rom.

1. Unlock bootloader. Then when the phone reboot and ask for miui password, powered off my device and go to fastboot mode again.
2. Boot to twrp as described here until step 4.


3. Then press on home button(not reboot to twrp) in twrp and installed latest weekly rom zip.

4. After flash finishing go back and choose "format data"

5. Reboot to system and after 5 minutes the device booted on new rom.
Also as I can see the twrp remains after installation new rom

Poco F3 via Tapatalk
 
  • Like
Reactions: steelcow

Faris Silmy

Members
Mar 19, 2016
2
15
The steps I done is :
1. Unlock bootloader
2. After phone reboot, I go to stock recovery and wipe data.
3. After phone reboot again, I boot into fastboot mode using "Vol-" and "Power" button
4. I boot the TWRP.
5. I copy xiaomi.eu V12.5.3.0 RKHCNXM zip file into the device, that time still showing internal storage and flash it via TWRP.
6. I reboot to system but stuck in Redmi Logo twice before it go to TWRP again. This time the internal storage cannot be read.
7. I flash TWRP image using USB OTG in "Settings"--->"Install Recovery Ramdisk" and reboot to recovery.
8. I install rom zip file again using USB OTG and reboot to system but end up into TWRP recovery again.
9. I use "Format Data" button in TWRP ("Wipe" Menu), now works and boot up into system after long time waiting. You will see the MIUI logo stuck for about 3 to 5 minutes if not mistaken before setup page showed up.

@Poney70 Can you tell me which step I have made is wrong?

Thank you random citizens! You saved my phone, I experienced the same things, thanks, this really helps
 
  • Like
Reactions: steelcow

LordDifre

Members
Apr 27, 2021
1
3
Hello! :)

For this recent device, you can't flash TWRP via fastboot but fastboot boot TWRP. ;)

Here are my recommended steps for the first Xiaomi.eu ROM installation:

1) Boot to stock Recovery and "Wipe Data" [ Do NOT let your phone boot into system after the wipe! => Hold (ASAP) " Vol - " and " Power " buttons simultaneously in order to boot in Fastboot mode ]

2) Boot TWRP (do NOT flash TWRP)

3) Put Xiaomi.eu in internal storage and flash it

4) Reboot your device and voilà!
Hi, I'm trying to follow your steps, but I have problems with the step 3.

To push the Xioami.eu rom inside the internal storage I run through adb: adb push ROM.zip /sdcard/

Code:
C:\Flash>adb push xiaomi.eu_multi_HMK40_POCOF3_V12.5.3.0.RKHCNXM_v12-11.zip /sdcard/
adb: error: failed to copy 'xiaomi.eu_multi_HMK40_POCOF3_V12.5.3.0.RKHCNXM_v12-11.zip' to '/sdcard/xiaomi.eu_multi_HMK40_POCOF3_V12.5.3.0.RKHCNXM_v12-11.zip': remote write failed: No space left on device
xiaomi.eu_multi_HMK40_POCOF3_V12.5.3.0.RKHCNXM_v12-11.zip:...pushed, 0 skipped. 38.2 MB/s (3629504023 bytes in 90.570s)
Things I've tried:
  • Push to /storage/, but same output. I can push small test files, but not the rom itself.
  • In TWRP the "Format Data" option, but the issue persists.
  • From Mount, enable MTP and try to copy the file through Windows. It says that the device do not respond or that it has been disconnected.

Where exactly do I have to copy the files?
Thanks for the help in advance.
 

Poney70

Donator
Oct 3, 2019
4,463
337
Where exactly do I have to copy the files?
Thanks for the help in advance.
If you can't copy files in internal storage, follow these steps:

1) Reboot once your device to System (MIUI) and finish the first configuration wizard

2) Hold " Vol - " and " Power " buttons simultaneously to boot in Fastboot mode

3) Use "fastboot boot twrp.img" command to boot TWRP

Now try to copy the file and install it. After installation, go in "Wipe" menu of TWRP => Use "Format Data" button => Type 'yes' to confirm => After that, reboot your device.

:)
 
Last edited:

jawsdragon

Members
Jun 13, 2021
1
3
Hello. I'm pretty new to flashing and even forum stuffs. But idk if I missed it. But is OTA update still not possible? Also do I have to update the rom every week?
 

Frederik VDP

Members
Aug 10, 2013
107
40
Hello. I'm pretty new to flashing and even forum stuffs. But idk if I missed it. But is OTA update still not possible? Also do I have to update the rom every week?
OTA is possible, but you will reboot into recovery when you press install.
If you are on the weekly rom, a new build will be provided every thursday, you don't have to install it. But if you aren't planning on installing weekly builds, I suggest you just install the stable roms.
 

aXeSwY

Members
Jun 8, 2021
4
5
My POCO F3 6GB/128GB was stuck in the POCO logo following this guide, the guide itself is safe and correct the only issue is with downloaded ROM (the weekly version)

I downloaded ---> xiaomi.eu_multi_HMK40_POCOF3_V12.5.2.0.RKHCNXM_v12-11-fastboot
Reapplied the same steps and it went from the POCO logo in boot to the MIUI logo in less than a minute, in 10 min or so it fully booted up so if you run into the same issue the fix is available.
 

likwix

Members
Apr 11, 2021
5
3
Hello everyone,

I'm currently using MIUI 12.5.2.0 (stable version) on my alioth.
If I want to update the system through the "update functionnality", here is what happen after downloading it:
37425
37426
37427


But if I click on "Yes", nothing happen.

So I checked on the previous post here and I'm still a bit confused.
If I want to update, I'm supposed to :
1) download "TWRP-3.5.1-alioth-Nebrassy-2" version of TWRP
2) boot it (and not install it), running fastboot boot twrp.img
3) manually select the ROM already downloaded by the system update and run the installation

BUT...
... I don't want to lose my data (or get some loop issues obviously) and some posts mentions we have to wipe data...
So in this case (upgrading from 12.5.2.0 to 12.5.3.0) is the wiping step necessary?
I prefer to ask before doing something wrong...
 

minotavros

Members
Dec 21, 2016
368
67
Hello everyone,

I'm currently using MIUI 12.5.2.0 (stable version) on my alioth.
If I want to update the system through the "update functionnality", here is what happen after downloading it:
View attachment 37425View attachment 37426View attachment 37427

But if I click on "Yes", nothing happen.

So I checked on the previous post here and I'm still a bit confused.
If I want to update, I'm supposed to :
1) download "TWRP-3.5.1-alioth-Nebrassy-2" version of TWRP
2) boot it (and not install it), running fastboot boot twrp.img
3) manually select the ROM already downloaded by the system update and run the installation

BUT...
... I don't want to lose my data (or get some loop issues obviously) and some posts mentions we have to wipe data...
So in this case (upgrading from 12.5.2.0 to 12.5.3.0) is the wiping step necessary?
I prefer to ask before doing something wrong...
Not necessary to wipe data when updated from stable to stable rom

From poco f3 via Tapatalk
 
  • Like
Reactions: Poney70

leort

Members
Jun 17, 2021
3
3
I am the newbie of flashing rom, I watch the video at #1 and didn't found any steps are related to TWRP.
So my question is that the video of #1 is it not work anymore?
I am waiting to unlock my K40 BL and will flashing it in there days so I want to learn more about that. Thanks!
 

gogocar62

Members
Apr 22, 2021
210
57
How to install Xiaomi.eu ROM for Redmi K40 / Poco F3 using TWRP

Installation instructions xiaomi.eu for Redmi K40 / Poco F3

- Download ROM
WEEKLY - https://www.androidfilehost.com/?w=files&flid=326186
STABLE - https://androidfilehost.com/?w=files&flid=321331

- Insert the downloaded ROM into the phone's storage
- restart to fastboot and connect to PC

- Run TWRP via Fastboot toolkit
https://mega.nz/file/Ddg0iCzQ#GRdm-RMMxah-QGa4priEJJzLzihTbklLjed3XIZh8G4
Unzip the downloaded toolkit, run it by clicking on RUN_TWRP.bat

- Install rom
card / Install
37448


find the required ROM in the storage
37449


and start the installation Swipe to confirm flash
37450


after the installation is complete, select the house navigation key

- Perform Format Data
card / Wipe
37451


Format Data
37452


Type yes to confirm the format
37453


when formatting is complete, the phone restarts the system

- Done
wait for the system to start, the first boot may take longer.
 
Last edited:

Pinebanana

Members
Jun 17, 2021
5
3
Hi
I'm completely new to installing customs roms, and I'm trying to get the stable Xiaomi.Eu for my Poco F3 but I'm reading a dozen different guides and steps and I'm super confused, so if anyone could give me a clear step by step for the stable version boot I would much appreciate it!

The steps I've done so far:

I have unlocked the bootloader, but I did sign back in to the phone and check the unlock status, and I activated USB debugging since it was off again for some reason.

I have downloaded the ADB drivers, platform tools and TWRP.img (do I need to rename the img file, some post said so at least?)


And that's where I am now. So do I have to wipe the phone again and enter fastboot right after since I signed in after unlocking? And what do I do from there?
I'm also seeing 2 versions of the stable rom:

xiaomi.eu_multi_HMK40_POCOF3_V12.5.2.0.RKHCNXM_v12-11-fastboot.zip
and
xiaomi.eu_multi_HMK40_POCOF3_V12.5.3.0.RKHCNXM_v12-11.zip

which one do I need?
 

Pinebanana

Members
Jun 17, 2021
5
3
There is a detailed guide above you. You don't have to do anything just follow the instructions exactly.

You need xiaomi.eu_multi_HMK40_POCOF3_V12.5.3.0.RKHCNXM_v12-11.zip,

On the first page is an old installation method that is not used.
Thank you!

I don't need to be in fastboot mode for this method then? Because in fastboot I can't see my phone storage on PC so I can't put the rom there. Also do I just put the rom zip into the first folder of storage?

Also I don't need to have TWRP in my phone storage?
Installation:
1. fastboot boot twrp.img
2. copy that same twrp image to the device
3. go to Advanced > Install Recovery Ramdisk
4. select the image you copied

these steps?
 
Last edited:

gogocar62

Members
Apr 22, 2021
210
57
OMG It's so simple. Follow step by step
Have you read the instructions?
first insert rom into the phone, then boot fastboot.

do not mix different instructions
 
Last edited:
  • Like
Reactions: beicuxhaven

Pinebanana

Members
Jun 17, 2021
5
3
OMG It's so simple. Follow step by step
Have you read the instructions?
first insert rom into the phone, then boot fastboot.

do not mix different instructions

Like I said, I've never done this before so I wanna be sure I do stuff correctly. And I did read the instructions, you just edited it to have the set to fastboot after putting the rom into storage.

I'm just curious why there are different instructions in the first place. So just to make it clear, I don't need to have TWRP folder or TWRP.img in my phone storage? Your guide doesn't mention it but you do have a TWRP folder in the storage image.
 

gogocar62

Members
Apr 22, 2021
210
57
I don't need to have TWRP folder or TWRP.img in my phone storage?
You don't have to.

Follow my instructions and go step by step. Forget what you read elsewhere.

I'm just curious why there are different instructions in the first place
In the first place are the old instructions when there was no TWRP
 

Pinebanana

Members
Jun 17, 2021
5
3
You don't have to.

Follow my instructions and go step by step. Forget what you read elsewhere.


In the first place are the old instructions when there was no TWRP

Yes I understand, but I'm specifically talking about the instructions on the TWRP site that mention about the recovery ramdisk and putting the twrp.img into your phone storage. Don't you need twrp to get automatic updates for the rom? I'm sorry if I sound dumb or repeating but I'm a literal baby when it comes to this stuff.
 

Pinebanana

Members
Jun 17, 2021
5
3
Alright sorry to trouble you then. I know you said it's not necessary to have TWRP, but I was trying to clarify if it was beneficial, or if your steps do it automatically at some point.

I just want to be able to get the automatic updates on future stable versions and not have to wipe memory / do everything manually again.
 

gogocar62

Members
Apr 22, 2021
210
57
Everything will be done in my instructions.

When done, you will have TWRP and receive updates (no further erasing of memory)
 
  • Like
Reactions: Pinebanana

leort

Members
Jun 17, 2021
3
3
How to install Xiaomi.eu ROM for Redmi K40 / Poco F3 using TWRP

Installation instructions xiaomi.eu for Redmi K40 / Poco F3

- Download ROM
WEEKLY - https://www.androidfilehost.com/?w=files&flid=326186
STABLE - https://androidfilehost.com/?w=files&flid=321331

- Insert the downloaded ROM into the phone's storage
- restart to fastboot and connect to PC

- Run TWRP via Fastboot toolkit
https://mega.nz/file/Ddg0iCzQ#GRdm-RMMxah-QGa4priEJJzLzihTbklLjed3XIZh8G4
Unzip the downloaded toolkit, run it by clicking on RUN_TWRP.bat

- Install rom
card / Install
View attachment 37448

find the required ROM in the storage
View attachment 37449

and start the installation Swipe to confirm flash
View attachment 37450

after the installation is complete, select the house navigation key

- Perform Format Data
card / Wipe
View attachment 37451

Format Data
View attachment 37452

Type yes to confirm the format
View attachment 37453

when formatting is complete, the phone restarts the system

- Done
wait for the system to start, the first boot may take longer.
Thanks, it is a clear tutorial to explain how to install the ROM and TWRP. I will follow to do when my BL is unlocked.
Additionally, Cloud you briefly to explain how to do the ROM update and TWRP update? Many thanks for your help
If TWRP is release new update is it necessary to update it? Does it difficult?
 

beicuxhaven

Members
Dec 23, 2019
21
15
How to install Xiaomi.eu ROM for Redmi K40 / Poco F3 using TWRP

Installation instructions xiaomi.eu for Redmi K40 / Poco F3

- Download ROM
WEEKLY - https://www.androidfilehost.com/?w=files&flid=326186
STABLE - https://androidfilehost.com/?w=files&flid=321331

- Insert the downloaded ROM into the phone's storage
- restart to fastboot and connect to PC

- Run TWRP via Fastboot toolkit
https://mega.nz/file/Ddg0iCzQ#GRdm-RMMxah-QGa4priEJJzLzihTbklLjed3XIZh8G4
Unzip the downloaded toolkit, run it by clicking on RUN_TWRP.bat

- Install rom
card / Install
View attachment 37448

find the required ROM in the storage
View attachment 37449

and start the installation Swipe to confirm flash
View attachment 37450

after the installation is complete, select the house navigation key

- Perform Format Data
card / Wipe
View attachment 37451

Format Data
View attachment 37452

Type yes to confirm the format
View attachment 37453

when formatting is complete, the phone restarts the system

- Done
wait for the system to start, the first boot may take longer.
@gogocar62

thank you for your instructions. finally the problem is off the table. THANK YOU SO MUCH
 

aXeSwY

Members
Jun 8, 2021
4
5
Is it only me that can't find the "Pocket Mode" ? on my POCO X3 I can find it under the "Lock screen" option but nothing on my POCO F3