[ROM][OFFICIAL] LineageOS 20 weeklies for Xiaomi Poco F1

Search This thread

bgcngm

Recognized Developer
2okPze5.png

LineageOS is a free, community built, aftermarket firmware distribution of Android 13 (T), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

GPL compliance:
yG18r6g.png

Working:
  • Camera (and flashlight)
  • WiFi
  • Bluetooth
  • Telephony (Calls and Data)
  • IMS (RCS, VoLTE and WiFi Calling)
  • Audio (Record and Playback)
  • Video Playback
  • Sensors
  • GPS
  • Encryption (FBE)
  • WiFi Display

Broken:
  • Nothing (?)

Compatibility:
Compatible with all Xiaomi Poco F1 variants.​
Builds are based off the Xiaomi's Android 10 firmware with proprietary blobs from MIUI v12.0.3.0 global stable package.​

Device wiki:
Downloads:
Installation:
  • Follow instructions found in the respective wiki page
 

AtomicStryker

Senior Member
Nov 19, 2015
227
125
Read the upgrade instructions, had to sadly ignore them because i no longer have a cable/port/adb combo that allows adb to sideload successfully (i just get errors when he starts to transmit).
EDIT [i am lying, adb works but fastboot does not]

So i remained on the Reignz TWRP, and from a recent LOS 19.1:

- flash LOS 20
- flash MindTheGapps 13
- flash Magisk
- flash NGK kernel
- Wipe dalvik/cache
- reboot system

-> Bootloop. Well theoretically this must work, so maybe try less at once? I did see that Magisk re-flashed itself automatically in TWRP, so attempt 2:

- flash LOS 20
[Magisk automatically reflashes itself]
- flash MindTheGapps 13
- reboot system

Works now.. but i am always eager to ruin myself so i will try to reflash NGK now.
EDIT: Yup NGK+TWRP causes bootloop. I will reflash LOS20 again ... and try LOS recovery with NGK maybe.
EDIT2: LOS recovery with NGK bootloops also. Stock kernel it is.
EDIT3: Working good with stock kernel. Magisk works, camera works, banking and auth apps work. Thank you :)


Another oddity: The updater app immediatly came up and recommended i upgrade to the LOS20 i just flashed. Uh huh?
 
Last edited:

TioCareca

Senior Member
Sep 8, 2010
2,919
1,575
Barreiro
Xiaomi Poco F1
Read the upgrade instructions, had to sadly ignore them because i no longer have a cable/port/adb combo that allows adb to sideload successfully (i just get errors when he starts to transmit).
EDIT [i am lying, adb works but fastboot does not]

So i remained on the Reignz TWRP, and from a recent LOS 19.1:

- flash LOS 20
- flash MindTheGapps 13
- flash Magisk
- flash NGK kernel
- Wipe dalvik/cache
- reboot system

-> Bootloop. Well theoretically this must work, so maybe try less at once? I did see that Magisk re-flashed itself automatically in TWRP, so attempt 2:

- flash LOS 20
[Magisk automatically reflashes itself]
- flash MindTheGapps 13
- reboot system

Works now.. but i am always eager to ruin myself so i will try to reflash NGK now.
EDIT: Yup NGK+TWRP causes bootloop. I will reflash LOS20 again ... and try LOS recovery with NGK maybe.
EDIT2: LOS recovery with NGK bootloops also. Stock kernel it is.
EDIT3: Working good with stock kernel. Magisk works, camera works, banking and auth apps work. Thank you :)


Another oddity: The updater app immediatly came up and recommended i upgrade to the LOS20 i just flashed. Uh huh?
NGK has some problems for now, wait for update or use orange fox...
 

GeForce66

Senior Member
May 28, 2011
168
90
St. Pölten
Xiaomi Poco F1
Read the upgrade instructions, had to sadly ignore them because i no longer have a cable/port/adb combo that allows adb to sideload successfully (i just get errors when he starts to transmit).
EDIT [i am lying, adb works but fastboot does not]

So i remained on the Reignz TWRP, and from a recent LOS 19.1:

- flash LOS 20
- flash MindTheGapps 13
- flash Magisk
- flash NGK kernel
- Wipe dalvik/cache
- reboot system

-> Bootloop. Well theoretically this must work, so maybe try less at once? I did see that Magisk re-flashed itself automatically in TWRP, so attempt 2:

- flash LOS 20
[Magisk automatically reflashes itself]
- flash MindTheGapps 13
- reboot system

Works now.. but i am always eager to ruin myself so i will try to reflash NGK now.
EDIT: Yup NGK+TWRP causes bootloop. I will reflash LOS20 again ... and try LOS recovery with NGK maybe.
EDIT2: LOS recovery with NGK bootloops also. Stock kernel it is.
EDIT3: Working good with stock kernel. Magisk works, camera works, banking and auth apps work. Thank you :)


Another oddity: The updater app immediatly came up and recommended i upgrade to the LOS20 i just flashed. Uh huh?
I know this is off-topic, but I guess you used Reignz V3.6.2 that he tested for A13 support?
Interesting that apparently A13 again uses other encryption than A12? I though now with A13 FBE would be the new standard but there is something new again? :p
So official 3.7.0 TWRP will not work with A13 I guess.

Looking forward to jump to A13 this weekend based on all the positive feedback so far - thank you bgcngm for your hard work!
 
Last edited:

pmcmm

Senior Member
May 15, 2016
185
86
Xiaomi Poco F1
hello there,

I've just dirty flashed LOS20, and I'm having problems connecting anything via bluetooth, any idea how to fix this without clean installing?

Another question, I'm using MindTheGapps 13 as recommended here, but I was looking for something the minimum google services, do you think I can use NikGapps?

Thanks
 

pmcmm

Senior Member
May 15, 2016
185
86
Xiaomi Poco F1
alright, I couldn't fix it, I had it reinstalled clean. Everything is working nicely and the new camera is a very welcome improvement.

I'm still facing issues with bluetooth though. I'm able to use it and connect normally, but when listening to audio, it seems that the connection is weak, and I can often hear cuts in the connection, or noise. Anyone having the same?
 

Abdel1993

Senior Member
Sep 20, 2019
56
61
EDIT: Yup NGK+TWRP causes bootloop. I will reflash LOS20 again ... and try LOS recovery with NGK maybe.
EDIT2: LOS recovery with NGK bootloops also. Stock kernel it is.
This problem is a known issue since the day before yesterday. Several people are experiencing this with the upgrade from 19.1 to 20. For now, running the stock kernel should be fine.
 

Retrial

Recognized Contributor & Translator
Jun 10, 2015
2,626
6,874
Athens
Samsung Galaxy S4
Xiaomi Poco F1
Installation Guides📚
Official way of installation can be found at OP.

Installation Guides: 👨‍🏫
Clean Install via TWRP:

  • Backup your data to PC or SDCard if you have.
  • Downland:
    - TWRP by REIGNZ v2 [twrp-beryllium-v3.7.0-A12-V2.img] - [Current Bugs/Issues & Workarounds]
    - Latest build of Official LineageOS ROM and optional LineageOS Recovery from the same link, if you want to flash that later.
    - Optional A13 GApps of your choice.
  • Boot, flash and reboot to TWRP. [Check Install Custom Recovery Guide]
  • Select Wipe > Advanced Wipe -> Select Dalvik / ART Cache, System, System_EXT, Data, Internal Storage, Vendor, Cache and then Swipe to Wipe.
  • Reboot to recovery once again (needed due to a current issue with TWRP by REGINZ) and then Format data > type yes.
  • Transfer the files you previously downloaded into Internal Storage, while you are connected and into TWRP from PC to your Device. If you have SDcard or USB OTG you can also use that.
    [TWRP by REIGNZ have an issue, if PC doesn't recognize the device, press in twrp menu, Advanced > File Manager > and find and select sdcard folder aka Internal Storage > go back and now your pc should be able to recognize the device]
  • Flash ROM > GApps. NOTE: ROM IS FORCE ENCRYPTED
  • [Optional] Flash LineageOS recovery by pressing "Install Image > Navigate and Select the LineageOS Recovery > Flash it to recovery partition.
  • Reboot and Enjoy!
  • [Optional] In case you want to change Kernel to NGK or SC [SE version - aka System_Ext], flash it after the first boot of the ROM.
  • [Optional] In you case you want Root, flash Magisk after the first boot of the ROM.
SafetyNet & Certified Play Store:⚠️
  • Official LineageOS doesn't pass SafetyNet or have certified Play Store by default. [Read here why]
  • Root your device with Magisk and Follow this Guide (or this) to pass SafetyNet and have certified Play Store. [YouTube Video Guide]

OTA Upgrade/Update:
⚠️Warning⚠️

  • Only use OTA if you are encrypted. Simply go to updater and press install, everything will be automatic.

Dirty Installation via TWRP:
{Manually Upgrade/Update the ROM}

  • Download:
    - TWRP by REIGNZ [twrp-beryllium-v3.7.0-A12.img] - [Current Bugs/Issues & Workarounds]
    - Latest build of Official LineageOS ROM and optional LineageOS Recovery from the same link, if you want to flash that later.
    - Optional A13 GApps of your choice.
  • Wipe System, System_Ext, Dalvik ART/ Cache, Cache, Vendor.
  • Flash ROM > GApps > [Optional]Magisk.
  • Reboot and Enjoy!
Notes:🗒️
 
Last edited:

AtomicStryker

Senior Member
Nov 19, 2015
227
125
I'm still facing issues with bluetooth though. I'm able to use it and connect normally, but when listening to audio, it seems that the connection is weak, and I can often hear cuts in the connection, or noise. Anyone having the same?
I had to unpair my existing bluetooth devices and re-pair them, (presumably because the upgrade changed the phones bluetooth ID) but it seems to work perfectly for me.
 

marsa47

Senior Member
Aug 1, 2010
58
39
Xiaomi Poco F1
- I am on this ROM since 01.01, no major issues so far.

- Just FYI, DFE zip (Disable Force Encryption) from Retrial collection doesn't seem to work on this ROM. For the sake of testing, I tried both A13 DFE and the older zip (which worked on LOS19.1) with clean installations. When I check in the settings, the phone was encrypted every time, no matter what I do.

- On the other hand, I can report that unofficial TWRP A12 by Reignz (twrp-beryllium-v3.7.0-A12.img) can decrypt storage on LOS20.

- One small glitch I found: If I lit up the screen (press power button) while charging, the phone stays on the lockscreen with the display on, never turning off by itself. Of course if I press power button or double tap I can turn it off. Also if I just disconnect power cable, display turns off in few seconds like it should. But if I just press power once and leave it, it will stay on the lockscreen forever.

- Bluetooth is fully working for me. I am using 2 different BT headsets for few hours every day. Not a single issue so far.
 

Retrial

Recognized Contributor & Translator
Jun 10, 2015
2,626
6,874
Athens
Samsung Galaxy S4
Xiaomi Poco F1
- Just FYI, DFE zip (Disable Force Encryption) from Retrial collection doesn't seem to work on this ROM. For the sake of testing, I tried both A13 DFE and the older zip (which worked on LOS19.1) with clean installations. When I check in the settings, the phone was encrypted every time, no matter what I do.

- On the other hand, I can report that unofficial TWRP A12 by Reignz (twrp-beryllium-v3.7.0-A12.img) can decrypt storage on LOS20.
The DFE not seem to working with the TWRP by REIGNZ based on A12. Instead you should try to flash DFE via TWRP by REIGNZ but based on A9.

The purpose of A12 based twrp is to decrypt A12+ encrypted ROMs. If you don't need encryption (which I recommend everyone to use encryption), then use TWRP by REIGNZ A9 and flash DFE.
 
Last edited:

noah001

Member
Jan 23, 2018
19
4
any way to get F2FS working ? With flashed fstab i get recovery reboot and without i get a bootloop
 

Top Liked Posts

  • 1
    So I was a silly bugger and installed this with Nikgapps basic which didn't have a setup wizard. Not having it broke all sync functions so contacts etc wouldn't work. Just a tip for anyone who has the same problem so doesn't have to waste 30mins like me trying to find a workaround
  • 9
    I've not noticed it on my device
    Nevermind, I have figured it out. Turns out that the "latest" update to the touchscreen driver introduced this issue. The touchscreen was being flashed with a wrong firmware, which in my case was leading to these touchscreen issues from time to time. I have just pushed the fix and it will be available in the next build.
    6
    Installed 18032023 build just fine. Android security patch date is still 5th February. No issues so far.
    Yes, March's ASB was not merged in time for that build. Next one will already include it.
    4
    To all people who have trouble with their banking apps, I did reverse engineer my banking app some time ago and found they use "Rootbeer" implementation from Github:
    https://github.com/scottyab/rootbeer

    So if some expert here can compile a list of steps to trick all of the detection methods we might get somewhere - this is the most comprehensive detection implemention I have seen so far. I even detects just LineageOS without root already as "unsafe".

    I could just re-compile the app with "rootbeer" always returning "false", but I am not sure how that will fair with a) my own signature applied (probably play store might flag it) and b) future updates, where I would have to recompile the app each time.

    Even my countries local "McDonalds" app has root detection, though they don't use Rootbeer.

    Such a shame companies don't trust root users any more, even though in my opinion we use our devices in a more responsible way than most.
    3
    Good news then. Will March security patch be in tomorrow's build?
    No, we are still testing.
    3
    Just for reference my stock lineage without root is showing the following results with rootbeer.
    I do not have any problems with banking apps.
  • 28
    2okPze5.png

    LineageOS is a free, community built, aftermarket firmware distribution of Android 13 (T), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

    GPL compliance:
    yG18r6g.png

    Working:
    • Camera (and flashlight)
    • WiFi
    • Bluetooth
    • Telephony (Calls and Data)
    • IMS (RCS, VoLTE and WiFi Calling)
    • Audio (Record and Playback)
    • Video Playback
    • Sensors
    • GPS
    • Encryption (FBE)
    • WiFi Display

    Broken:
    • Nothing (?)

    Compatibility:
    Compatible with all Xiaomi Poco F1 variants.​
    Builds are based off the Xiaomi's Android 10 firmware with proprietary blobs from MIUI v12.0.3.0 global stable package.​

    Device wiki:
    Downloads:
    Installation:
    • Follow instructions found in the respective wiki page
    14
    Yes, that turned out to be my problem with bluetooth. Turning off the AAC HD setting fixes the audio issue. I dont know how big of an issue that is for audiophiles, in my headphones i dont notice any difference on and off. In any case, its a bug.
    It will be fixed in upcoming builds.
    9
    I've not noticed it on my device
    Nevermind, I have figured it out. Turns out that the "latest" update to the touchscreen driver introduced this issue. The touchscreen was being flashed with a wrong firmware, which in my case was leading to these touchscreen issues from time to time. I have just pushed the fix and it will be available in the next build.
    7
    Installation Guides📚
    Official way of installation can be found at OP.

    Installation Guides: 👨‍🏫
    Clean Install via TWRP:

    • Backup your data to PC or SDCard if you have.
    • Downland:
      - TWRP by REIGNZ v2 [twrp-beryllium-v3.7.0-A12-V2.img] - [Current Bugs/Issues & Workarounds]
      - Latest build of Official LineageOS ROM and optional LineageOS Recovery from the same link, if you want to flash that later.
      - Optional A13 GApps of your choice.
    • Boot, flash and reboot to TWRP. [Check Install Custom Recovery Guide]
    • Select Wipe > Advanced Wipe -> Select Dalvik / ART Cache, System, System_EXT, Data, Internal Storage, Vendor, Cache and then Swipe to Wipe.
    • Reboot to recovery once again (needed due to a current issue with TWRP by REGINZ) and then Format data > type yes.
    • Transfer the files you previously downloaded into Internal Storage, while you are connected and into TWRP from PC to your Device. If you have SDcard or USB OTG you can also use that.
      [TWRP by REIGNZ have an issue, if PC doesn't recognize the device, press in twrp menu, Advanced > File Manager > and find and select sdcard folder aka Internal Storage > go back and now your pc should be able to recognize the device]
    • Flash ROM > GApps. NOTE: ROM IS FORCE ENCRYPTED
    • [Optional] Flash LineageOS recovery by pressing "Install Image > Navigate and Select the LineageOS Recovery > Flash it to recovery partition.
    • Reboot and Enjoy!
    • [Optional] In case you want to change Kernel to NGK or SC [SE version - aka System_Ext], flash it after the first boot of the ROM.
    • [Optional] In you case you want Root, flash Magisk after the first boot of the ROM.
    SafetyNet & Certified Play Store:⚠️
    • Official LineageOS doesn't pass SafetyNet or have certified Play Store by default. [Read here why]
    • Root your device with Magisk and Follow this Guide (or this) to pass SafetyNet and have certified Play Store. [YouTube Video Guide]

    OTA Upgrade/Update:
    ⚠️Warning⚠️

    • Only use OTA if you are encrypted. Simply go to updater and press install, everything will be automatic.

    Dirty Installation via TWRP:
    {Manually Upgrade/Update the ROM}

    • Download:
      - TWRP by REIGNZ [twrp-beryllium-v3.7.0-A12.img] - [Current Bugs/Issues & Workarounds]
      - Latest build of Official LineageOS ROM and optional LineageOS Recovery from the same link, if you want to flash that later.
      - Optional A13 GApps of your choice.
    • Wipe System, System_Ext, Dalvik ART/ Cache, Cache, Vendor.
    • Flash ROM > GApps > [Optional]Magisk.
    • Reboot and Enjoy!
    Notes:🗒️
    6
    Installed 18032023 build just fine. Android security patch date is still 5th February. No issues so far.
    Yes, March's ASB was not merged in time for that build. Next one will already include it.