Tuesday , September 22 2020

How To Install Xiaomi Pocophone F1 Firmware [Unbrick Guide]

Instructions on how to install the new firmware version (official or custom) on the Xiaomi Pocophone F1 smartphone, step-by-step instructions on how to unlock the bootloader, and restore the brick, installing the modified TWRP recovery and obtaining Root superuser rights.

Firmware Xiaomi Pocophone F1 using a PC via Fastboot

With this instruction you can:

  • Install firmware
  • Install custom recovery TWRP recovery
  • Restore the Pocophone F1 smartphone with boot loop (cyclic phone reboot) due to unsuccessful firmware or any other fraud with it
  • Restore the original state of the device (stock, clean firmware) and remove all traces of interference in the system.
  • Update or, conversely, lower the firmware version of your choice.

1 To install the official firmware via fast boot, you need to download the firmware and driver program for the Pocophone F1 smartphone, in accordance with the OS of your PC. The downloaded installation files need to be unpacked to any folder on the PC, I usually unpack the archive to the root folder, for example, “D: \\ Xiaomi”

Program for flashing Pocophone F1 for windows tools
for Linux tools

2. Then you need to download the official firmware for Pocophone F1 – Fastboot Image of the latest official firmware Poco F1

3. Unzip the contents of the folder in the * .tgz image (archive) of the firmware into the “unpacked” folder “Xiaomi”.

4. Next, I will tell you how to install drivers for Fastboot mode. For Linux and macOS, you do not need to install drivers; they are by default included with these OSs.

4.1. Turn off the smartphone and then turn it on while holding down the power button + volume down key and then connect it to the PC, so you turn on bootloader/boot mode on the phone,

4.2. We go to the PC device manager. The “Android” or “Xiaomi Poco f1” device with a yellow exclamation mark should be displayed there.

4.3. Right-click on the device and select the option – “Update drivers”. Then – “Search for drivers on this computer.” Be sure to check “Include subfolders”. Click the “Browse” button and specify the path to the “usb_drivers” folder in the previously unpacked “Tools” folder.

4.4. Click the “Next” button. We are waiting for the installation to complete. All drivers are installed.

5. Before flashing the smartphone, you need to make Unlock Bootloader Xiaomi Pocofone F1 (unlock the bootloader on your device)

In order to unlock the bootloader on Poco F1, you need to go to the phone’s settings in me – the “For Developers” menu (Go to “Settings” -> “About phone” -> 7 times click on “Build number”)
In the appeared tab “ For developers ”in the main settings menu, activate the item:“ Factory unlock ”-“ (Enable OEM Unlock) ”.

Note: The operation of manually unlocking the bootloader can be omitted since the bootloader will automatically unlock when flashing the image and will be locked back after the firmware process is completed.

6. Now we proceed directly to the process of flashing Pocophone .

6.1 Restart the phone to Bootloader / Fastboot mode (bootloader). On the device turned off, simultaneously press and hold the power button + volume down key and connect the device to the PC

In the folder where the ADB program is saved, you need to hold shift and right-click in the empty area, in the context menu that appears, select “open the command window” and write in the command line:

adb reboot bootloader

And enter the command to check whether your PC sees the connected smartphone:

fastboot devices

If everything is fine, the drivers are successfully installed and the phone is connected correctly – you will see the following answer:

<device serial number> fastboot or product: beryllium

6.2 At the command prompt, run one of the following commands:

fastboot oem unlock
or
fastboot flashing unlock

Teams are equivalent, choose any.

6.3 Return to the previously unpacked “Xiaomi” folder. Select and run one of the automatic firmware scripts in accordance with the OS used and the desired firmware mode:

Windows :

“ flash_all.bat ” – for automatic firmware removal of all data on the device and subsequent preservation of the status of the open bootloader.
“ Flash_all_except_storage.bat ” – for automatic firmware with saving all data on the device and then blocking the bootloader.
“ Flash_all_lock.bat ” – for automatic firmware removal of all data on the device and subsequent blocking of the bootloader.

Linux / macOS :

“ flash_all.sh ” – for automatic firmware deletion of all data on the device and subsequent preservation of the status of the open bootloader.
“ Flash_all_except_storage.sh ” – for automatic firmware saving all data on the device and then blocking the bootloader.
“ Flash_all_lock.sh ” – for automatic firmware deletion of all data on the device and subsequent blocking of the bootloader.

After starting the script, the Pocophone F1 firmware process will begin, it usually lasts a couple of minutes, at which time you can go to the kitchen to make tea with cookies for yourself. At the end of the firmware, the phone will reboot itself. Please note that the first download after applying any update can be quite long.

Install custom firmware on the Pocophone F1

The easiest and most common way to install custom (or modified) firmware on a smartphone is to install through TWRP recovery.

Install TWRP Recovery on Pocophone F1

TWRP recovery flashed if there are root rights obtained through SuperSU (CF-Auto-Root). Otherwise, this will cause a boot loop (cyclic reboot).

Temporary loading of TWRP – TWRP is not installed on the smartphone, but only one pink-up is launched in order to perform certain tasks. TWRP firmware – Installing TWRP on a permanent basis. It is the application of kernel modification (boot), Violates the integrity of the kernel (boot).

First of all, you need to obtain developer rights and unlock the bootloader. We go to the settings – about the device – we tap on the MIUI version until it says that you have become a developer. Further settings – additionally – for developers (developer mode), we look to enable the factory to unlock and debugging via USB. In this menu, we look at the unlock status of the bootloader (the easiest way), sometimes the item may vary slightly.

Download from the previous paragraph “Required firmware for firmware” for your OS. And unpack any folder on your PC (preferably in the root of the disk)

Then download custom TWRP recovery for Pocophone F1 twrp 3.2.3.0 beryllium unzip all downloaded good into a previously created folder.

According to the instructions above, you need to install drivers for fast boot mode and unlock the bootloader of the smartphone

After unlocking the Pocophone F1 and installing all the drivers, the smartphone must be put into Bootloader Mode (bootloader mode), for this, on the phone off, simultaneously press the power key + volume down key and connect the smartphone to the PC with a standard USB cable.

Open the previously created folder, and there we hold down the Shift key + right-click on the empty area of ​​the folder. In the menu that appears, click on the item “Open the command window”.
If you have Windows 10, run the command line directly from the address bar of the utility folder by entering the command “cmd”.

In the PowerShell menu that opens, write the command

cmd

then we write a command

fastboot getvar current-slot

this is done in order to see which section on the phone is currently selected, by default it is always “A”.

If you have it like in the pictures, then write the following

fastboot set_active b

The following message should appear.

Next, we prescribe such a command that activates the download of recovery to the smartphone.

fastboot flash boot_b twrp.img

Next, before you write the next command, you need to hold down the volume key + (that is, up) after you hold down we enter the command

fastboot reboot

and press Enter. Next, we are waiting for the download of TWRP-recovery.

As soon as you boot TWRP-Recovery, you will be prompted to enter a password to unlock the Data section, just click Cancel, make Swipe and go to TWRP itself.

After you have done everything that you needed in TWRP, before rebooting the phone, you need to install the partition again, otherwise the phone will not boot. How to do it ? very simple. In TWRP, click Reboot at the bottom and select Slot A, then just click Reboot System.

What this instruction gives us is an almost-working TWRP (why almost, in order to log in to TWRP again, you will need to repeat Point 5 of this instruction, that is, select section B to enter Recovery.).

That’s all, on your smartphone custom TWRP recovery is installed, now you can install any Non-official firmware on Pocophone.

Install custom firmware on Xiaomi Pocophone F1

If during the use of the firmware, some fixes, kernels were not installed correctly, something was deleted in the system, errors, glitches, or the device does not boot into the system, etc., get out because of this, download the firmware that you have now on onboard, for recovery, drop it on the phone, wipe both caches and flash the firmware, everything should work, except that the various modes, custom kernels and other “goodies” will be deleted to restore the system since you had before … without flashing with at the top of the firmware you need to do Backup from under TWRP

In order to install custom firmware on a smartphone, the bootloader and the installed custom TWRP Recovery must be unlocked on this phone. If there is no 1st and 2nd – read above.

And so, to install the modified firmware on Xiaomi Pocophone F1 you need to:
Download any TWRP firmware you like for Poco f1, for example:

Nitrogen-OS-P-beryllium (9.0) download
LINEAGE OS 16 PIE UNOFFICIAL download
Omni ROM unofficial Pie (9.0) download
Carbonbon pie download

Or any other firmware for Xiaomi Pocophone f1 for installation through custom recovery TWRP recovery.

Reboot the phone in TWRP Recovery Mode in one of the following ways:
a) Turn off the phone. When the phone is turned off, press and hold the Volume up (+) and Power rocker until the recovery is loaded.

In TWRP Recovery, wipe everything except SD and OTG. In the main menu:

Wipe> Advanced Wipe> checkmark Dalvik, Cache, System, Data, Internal Storage.

Attention: all data will be deleted, the phone will be completely clean!

Tap Back, Tap Reboot recovery, and swipe to the right.

Connect the phone using the USB cable and move the firmware archive to the phone. If there is a USB flash drive (sd-card / usb otg-flash), then I recommend uploading the firmware to the USB flash drive (if you upload the firmware to the phone’s internal memory and flash it from TWRP, then in Additional Settings – Memory – Other it will be blocked by this firmware.

I recommend throwing the firmware to a flash drive or OTG-flash drive. in this case, the size of the Other will remain the same, but at least 200 MB is always occupied there anyway. It
also applies to backups from TWRP. I recommend making them on a flash drive or OTG-flash drive).

Click the Install button, select the archive with the firmware, and swipe right to confirm the desire to update the archive. We are waiting for nothing to change on the screen for a long time. Calmly, you can go make yourself a cup of tea with cookies, we are waiting for the end of the firmware.

After flashing the firmware, you need to clean the trash for yourself, for this we press the Wipe cache / Dalvik button, and then boldly restart the smartphone by pressing Reboot System for this.

A good sign of a successful firmware is the running three dots under the Mi logo. The first load can last about 10 minutes, continue to eat liver with tea.

In the same way, we can sew mods, fixes, etc. through TWRP separately to the firmware.
In case you did not back up the firmware and thanks to the mod, fix, etc. the phone does not boot (it often hangs on the MI logo), you can artificially reboot into recovery (power button + volume plus, to the victory ”), make wipes cache and flash our firmware on a new one, in which case the firmware will boot successfully in 99%, thereby avoiding data loss

Leave a Reply

Your email address will not be published. Required fields are marked *