[Xiaomi Poco F1 Guides, News, & Discussion] urbanman2004:
This guide is for those who still own a functional Xiaomi Pocophone F1 which released back in 2018, and still want to get more "life" out of it since Xiaomi will unlikely offer anymore system updates. Shout out to @Retrial for the numerous amounts of resources he's made available online and @bgcngm for his contribution by providing the latest installment of LineageOS 20.

Now, throughout this guide, I have linked the page or post based on information I gathered to put this guide together in order to credit that person instead of having to name drop them individually. These are fully detailed instructions to make it easier for newbs.

I've spent the time figuring all of this stuff out so hopefully you won't have to. PLEASE DO NOT PM ME FOR HELP. REPLY TO THIS GUIDE BELOW, THANKS. NOW LET'S BEGIN!!!

1. Since the release of this device, Xiaomi has switched up their bootloader unlocking process so with that being said, these instructions are being laid out on the premise that the bootloader to your device has already been unlocked so if you need further assistance accomplishing this task, please refer to this guide I made previously that breaks down the process.

2. Once the bootloader is unlocked and after the device reboots for the first-time prompting the initial setup, power off device and put it in fast boot mode (Vol down + Power button).

3. Download the latest version of ADB Installer. Setup Fastboot:

a. Run the ADB setup file, and answer each of the following questions accordingly followed by the 'Enter' key:

"Do you want to install ADB and Fastboot?" type Y

"Install ADB system-wide?" type Y

"Do you want to install device drivers?" type N

After completing the installation, you should see the ADB folder located in "C:\".

b. Ensure USB Debugging is already enabled on your device prior.

c. Download and install the latest Xiaomi USB Drivers for your PC, connect the device to the computer via USB cable, and confirm that your phone shows up recognized as "Android Bootloader Interface".

NOTE: If you experience the following error: "Windows encountered a problem installing the drivers for your device – Android ADB Interface... The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering."

To counteract this issue, it's necessary to 'disable driver signing enforcement' in Windows to install Unsigned Xiaomi drivers:

Hold down the Shift key while accessing the Start menu to restart your PC.

Once the "Choose an option" screen appears, go to "Troubleshoot" –> "Advanced options" –> "Startup Settings" –> "Restart".

After your PC restarts, select "7" for startup setting "Disable driver signing enforcement".

d. Launch "Command Prompt" on your PC and run the command:

cd C:/adb

To show a list of devices (including your phone) connected to your PC, enter the command:

fastboot devices

4. Download the TWRP recovery file by REIGNZ v2 and here [twrp-beryllium-v3.7.0-A12-V2.img] and copy it into the ADB install folder.

NOTE: Boot loop after updating LineageOS via TWRP recovery

NOTE: "Press any key to shutdown" error while in fastboot mode:

This is due to Windows automatically installing Kedacom Device Driver when using a Ryzen PC. No matter how many times you install drivers, your PC will install this driver again, forcing you to have to resort to using an Intel PC.

NOTE: Use TWRP by REIGNZ based on A9, NOT A12 to flash DFE.

5. Flash custom recovery file in CMD, run commands:

fastboot flash recovery "twrp-beryllium-v3.7.0.img"

fastboot boot twrp-beryllium-v3.7.0.img

NOTE: If receiving error: "FAILED (remote: Requested download size is more than max allowed)", try using a different USB (3.0) port.

6. Your device should've automatically boot into TWRP custom recovery; If a Password Prompt appears, tap "cancel" to enter into the main menu.

a. Go to Wipe –> Advanced Wipe, and wipe just the 'data' partition; click 'Back' to the main menu.

b. Download Disable Force Encryption [by Retrial] (DFE) then copy it to "This PC\POCO F1\Internal Storage\TWRP"

c. Install DFE, "Reboot System" followed by holding the Vol Up + Power button to enter into TWRP custom recovery.

7. Now your device is ready for a custom ROM; Download Poco F1 LineageOS and vendor 13.0 firmware.

a. Since LineageOS doesn't automatically come included with Google Apps [for legal reasons] so you're going to need to download Retrial-NikGApps-19-04-2023 or other equivalents separately.

b. Copy over the ROM files into "This PC\POCO F1\Internal Storage\TWRP": the vendor 13.0 firmware, the LineageOS build, and the Google Apps downloaded earlier.

c. Start by installing the vendor firmware followed by the LineageOS file, and the Google Apps.

d. Lastly, clear the "Cache & Dalvick" and "Reboot System" back to Android.

NOTE: Do NOT forget about installing the vendor firmware to prevent further issues.

8. LineageOS 20 based on Android 13 should now be fully functional.

a. Your Mi Account must be added to your Mi Settings

Wipe –> Format Data

9. Go to Settings –> About phone –> Scroll down to "Build number," tap it 7 times to become a "Developer".

a. Go "back" –> System –> Developer options –> Scroll down to "Verify apps over USB" and disable it then scroll down to "Default USB configuration" and change it to "File Transfer".

10. Now, you will need to install Magisk by using the Patch Image method.

a. Pull down the Notification Bar from the top of the screen and change "Charging this device via USB" to "File Transfer".

b. Open

Lineage OS build

[e.g., "lineage-20.0-20230422-nightly-beryllium-signed"] and copy "boot.img" to the phone's internal storage (e.g., "Download" folder).

c. Download the latest version of Magisk (Magisk v26.1) and copy it to the phone's internal storage and use the native "Files" app to install the apk.

NOTE: Magisk binaries (ZIP) are included within Magisk Manager APK file and you don't have to download it separately.

d. Launch Magisk from the app drawer and go to "Install" under Magisk –> "NEXT" (beside "Options") –> "Select and Patch a File" (beside "Method") select the "boot.img" you copied internally –> "LET'S GO".

e. Copy the generated patched file from your device and place it into the ADB folder; NOTE: you may have to unplug and replug then reconnect the USB cable for the device to refresh itself in order to reveal the newly generated file. Flash it via fastboot by running the following commands:

cd C:/adb

fastboot flash boot boot.img

f. Reboot into the new ROM and voila!

fastboot reboot

g. Use an app such as Root Checker or BusyBox Checker to confirm root status.

h. To bypass/restore SafetyNet validation, open the Magisk app, go to Settings (cogwheel icon) and enable MagiskHide (instructions).

i. To check the device's SafetyNet status, use an called SafetyNet Helper Sample or SafetyNet Checker in the Play Store.