[AIO] [Guide] [Unlock bootloader] [TWRP[ROM Flashing] [Root]

What was the wait time for you?

  • Less than 72 hrs

    Votes: 11 29.7%
  • More than 72 hrs

    Votes: 4 10.8%
  • Same 72 hrs

    Votes: 22 59.5%

  • Total voters
    37

Sahil_Sonar

Senior Member
Aug 29, 2018
284
670
113
Thane
Xiaomi Pocophone F1 [Beryllium]

WARNING: Before attempting to root your device, do note that by unlocking your bootloader and modifying your device with root, ROMs, etc... you are NOT risking voiding your warranty! I am NOT responsible for what you do to your device either, so follow these instructions at your own risk. Make sure you know what you're doing, it's best to understand the process rather than just copy and paste commands and such.


Unlocking the bootloader

You will have to apply for unlocking bootloader for that make sure you do have MI Account if not then create now, Once you are done with then visit here and make sure you use same mi account you have in your phone then wait for 2-3 days. After that download, the latest MI Unlock tool(Shared in download section) Run mi*.exe as admin and simply sign in there as well. Now move to your phone --> Settings app --> About phone --> Tap on MIUI for 6-7 times and you will see "you are a developer now", go back to main settings additional options --> Developer options --> Turn on OEM Unlocking and USB Debugging. Also allow USB Debugging from this PC ;) If you still didn't get simply revoke all and connect usb then in adb type "adb devices", you will see a prompt on your mobile just tick and allow. You will also see an option called as "Mi Unlock status" click on it and click on "Add account and device" Now turn off your phone and go to fastboot mode for that press and hold volume down + power key. You will see "FASTBOOT MODE" on your phone now move to your PC and connect USB. Now once your phone appears in Mi Unlock Tool just click on "Unlock" "It will pop up some prompts" agree with them by clicking "Unlock anyway", It simply means your data will be wiped and warranty will be void! Once that's done it will reach till 99%(In most cases) and will show wait for some hours like for me it said to wait for 72hrs. This may vary user to user. Now once your waiting time is over try again. If it shows press any key to poweroff on your phone when you connect in fastboot then try changing the port or simply reset your device and redo changes that we did (Follow above process again as USB debugging will be off by default, reset ) Now you are done with unlocking the bootloader let's move to TWRP​

Flashing TWRP
This is one of easiest step, just open cmd in adb folder and type following codes :
Code:
 adb reboot bootloader
Code:
 fastboot flash recovery *your recovery name.img
Code:
 fastboot boot recovery.img
We are done with flashing TWRP now let's move to encryption issues!

DFE

Now this is most critical. If you skip you will have to flash stock ROM again so don't mess here!
Download vendor image, dfe, your favorite custom ROM, Gapps, Magisk(Everything mentioned in the download section ;)
Boot into TWRP --> Wipe --> Format data! Reboot to recovery from TWRP menu and flash DFE. Now, go to system and setup MIUI and then come back to TWRP for flashing your favorite custom ROM. Now in TWRP --> Wipe --> Advance wipe choose system, data, dalvik & cache --> Swipe to wipe. Now copy those files to your Sdcard. Then go back to main TWRP page and choose --> Install, Now follow the order of flashing these files(most important)
* Flash vendor image i.e beryllium-9.4.8-9.0-vendor-firmware.zip(This is optional if you had latest MIUI ROM then you can skip this)
* Flash ROM & Gapps
* Flash DFE i.e DisableForceEncryption.zip
* Flash Magisk(up to you, only if you want root)
* Reboot

Enjoy! You are done with it. Yea.. ik Download section is mentioned below!

Here's a quick tip always flash DFE whenever you update ROM as the vendor might be changed, This will ensure the safe running of the device!

 
Last edited:

TNSMANI

Forum Moderator
Staff member
Jan 8, 2014
4,398
3,648
243
Chennai
Same, all i want is Magisk and twrp with global (or beta) miui ota and I am not sure what to do
You can't have the cake and eat it too!

By flashing Magisk, you modify /system and you lose the ability to receive and flash OTA.

AFAIK, there is no official TWRP version which can handle OTAs. The unofficial ones were created for specific purposes and so they fail in some other respect.
 

Dearminder

Senior Member
Aug 11, 2016
219
50
38
You can't have the cake and eat it too!

By flashing Magisk, you modify /system and you lose the ability to receive and flash OTA.

AFAIK, there is no official TWRP version which can handle OTAs. The unofficial ones were created for specific purposes and so they fail in some other respect.
How about the Orange fox recovery? Doesn't it support OTA?
 

samy2015

Senior Member
Jan 14, 2015
256
25
0
28
Baghdad
Why its so complicated on poco ? my last phone was mi a1 it was super easy to unlock bl , twrp and root
now i have poco and came here to check rooting and other stuff then shocked by these complications ?
 

thapaavijeet

Senior Member
Feb 25, 2018
199
88
0
Bangalore
I'm in MIUI stable now and whenever I try to connect my phone in fastboot mode to the mi unlock tool, it automatically exists fastboot mode and I get a black screen with a message, "press any key to shutdown".
Is that normal?
MI unlock has also not been able to detect my phone. I wonder what's wrong.
 
Last edited:

TNSMANI

Forum Moderator
Staff member
Jan 8, 2014
4,398
3,648
243
Chennai
I'm in MIUI stable now and whenever I try to connect my phone in fastboot mode to the mi unlock tool, it automatically exists fastboot mode and I get a black screen with a message, "press any key to shutdown".
Is that normal?
MI unlock has also not been able to detect my phone. I wonder what's wrong.
Re-install the drivers available in the Unlock tool.
 

Deadshotyt

New member
Sep 22, 2019
1
0
0
Help me

Bro I requested for bootloader unlock, they gave me 72 hours time, then by mistakenly in middle time I sign out my mi acc from my device and again sign in, then again 72 hours later I try to unlock but now it is showing couldn’t unlock, error -1, I tried with different computer, what to do now ?, how can I unlock bootloader now? With new Mi account? Or with this one? Please help , and sorry for my bad English
 
Last edited:

mini2015

Senior Member
Feb 17, 2016
192
34
38
Its mentioned here as .... Once that's done it will reach till 99%(In most cases) and will show wait for some hours like for me it said to wait for 72hrs. This may vary user to user. Now once your waiting time is over try again.Once that's done it will reach till 99%(In most cases) and will show wait for some hours like for me it said to wait for 72hrs. This may vary user to user. Now once your waiting time is over try again. ...

DO i have to wait 72 hours to unlock ?? or its just a message and unlock done within secs/ mints
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone