[Xiaomi Mi 11] Pho3nX:
■ INSTALLATION ■​

[STEP 1] >> BEFORE iNSTALLATiON <<

You must have a "Unlocked" Bootloader (for using TWRP, install custom ROM).

For Unlock your Bootloader, you must use Mi Unlock Tool

in Fastboot Mode

A/ Sign/Create in with your Mi Account

B/ If your device appair "Locked" the first time, it's normal

C/ Click "Unlock" and waiting, a remaining time will appair, at this time you will wait 168 hours (1 week)

/!\ If you trying again asking unlock before the 168 hours, counter will be resetted ! /!\

/!\ Unlock Bootloader will Erase ALL YOUR DATA, be sure to have backup your data BEFORE ! /!\

D/ After waiting 168+ hours, unlock your bootloader will be granted

E/ Always in Fastboot Mode > Mi Unlock, click "Unlock" and waiting... Your device is resetted and bar progress / pourcent appair, your Bootloader has been unlocked, Data has been erased.

You could verify Unlock status in Mi Unlock, your status should be "Unlock".

Well, now...

[STEP 2] >> iNSTALLATiON FROM TWRP <<

This rom is installed from a Custom Recovery TWRP (not fastboot) available here : twrp-3.5.1-venus

A/ Put your device on Fastboot Mode

B/ From your computer, using CMD shell in Administrator for run ADB commands

If you do not have already ADB installed on your computer, You can found all links here :

How to Install ADB on Windows, macOS, and Linux - XDA

C/ For

Run

TWRP, put the command in CMD

fastboot boot twrp-3.5.1-venus.img

To change TWRP language to English, press bottom right button (Sixth) and click on the Earth logo and select English.. (like the screenshot)

WE HAVE ONLY BOOT IN TWRP AT THIS STEP, IF YOU WANT DEFINITIVELY INSTALL TWRP INSTEAD STOCK RECOVERY YOU MUST INJECT KEY

D/ For install ROM :

> FROM OFFiCiAL MIUI ROM OR ANOTHER MIUI WiTH ANOTHER CANAL (Stable <-> Weekly) <

You must FORMAT your Data :

/!\ FORMAT DATA will Erase ALL YOUR DATA, be sure to backup your data BEFORE ! /!\

After that, you must reboot TWRP.

Redo the step a/, b/ and c/ OR Reboot > Recovery (if you have install TWRP with Inject Key)

So after FORMAT DATA and reboot in TWRP, installation is here :)

- TWRP > Install > Data\Media > Select your "OneOS-ROM*.zip"

- Wipe > Dalvik Cache / ART Cache

- Reboot > System

> ONLY FOR iNSTALL ONEOS ROM UPDATE / OTA <

- TWRP > Install > Data\Media > Select your "OneOS-ROM*.zip" *

- Wipe > Dalvik Cache / ART Cache

- Reboot > System

* If you are already Root or want install Root, just flash Magisk after flashing ROM (Attached Files)

■ ROOT ■

​

IF YOU WANT ROOT, INSTALL MAGISK

The Easiest way to install Magisk, especially on a Custom ROM is the "old school" method, flash your root app (Magisk) directly from your custom recovery (TWRP).

You will reflash Magisk after each ROM update

Now Magisk has changed, normally it's advised to manualy patch boot under Magisk and inject Boot "Magisked" from Fastboot / ABD command for Boot once with Root access granted and finally apply from Magisk Root definitively... But you must do that each time, each new OTA/Upgrade... Boring

So for TWRP/Root lovers, the "old school" method is simple.

Go only here from the official Github website

Download the Magisk APK (you can shoose Stable or Canary version)

Rename the .apk file extension to .zip, for example: Magisk-v2X.0.apk → Magisk-v2X.0.zip. If you have trouble renaming the file extension (like on Windows), use a file manager on Android or the one included in TWRP to rename the file.

Flash the zip just like any other ordinary flashable zip.

Reboot and check whether the Magisk app is installed. If it isn’t installed automatically, manually install the APK.

MAGISK UNINSTALLATION

If for some reasons you do not want keep root or if a unstable magisk module block boot system, you can also uninstall Magisk from the recovery... always the old school method ^^

From System (ROM)

The easiest way to uninstall Magisk is directly through the Magisk app.

From Recovery (TWRP)

If you insist on using custom recoveries, rename the Magisk APK to uninstall.zip and flash it like any other ordinary flashable zip.