UPDATED on 2023-08-16 add update flashing steps
TL;DR LineageOS GSI 20 Light (2023-06 version)
works for most of the things except auto-rotate and (fixed default setting disable auto rotate at home screen lol) newer bluetooth connection (my 5.3 earbud failed, but the old bluetooth speaker works) lol default setting disabled the phone to scan newer bluetooth items...Now everything works
I know I should wait for xiaomi to release source code to have official custom roms, but I am impatient. I did something similar to the post
https://forum.xda-developers.com/t/...experience-plus-gsi-for-your-poco-f5.4589783/ but with AndyYan's [GSI][13] LineageOS 20 TrebleDroid-based
https://forum.xda-developers.com/t/gsi-13-lineageos-20-trebledroid-based.4517345/ i.e. fastboot flashing LineageOS20 GSI
The light version of LineageOS GSI 20 works for EVERYTHING out of the box
https://forum.xda-developers.com/t/gsi-13-lineageos-20-light.4509315/ so this is now the recommended one.
The image I use is bvN
of LineageOS 20 GSI TD version please use Light version as it works better. Personally I don't use GAPP and safety net so don't ask me about them.
Steps for flashing GSI rom with fastboot:
Already done section B (Unlock bootloader/wait for 1 week)
1) Download GSI image you need (vN of LineageOS 20 GSI Light for my case) and extract it (xz -d XXX.xz)
2) Turn off the phone, then press volume down and power button to boot into fastboot mode (or any other method to boot into fastboot like with adb command)
3) Disable verification with a vbmeta.img file, or flash an empty one with "fastboot flash vbmeta vbmeta.img" will work also,
fastboot --disable-verification flash vbmeta vbmeta.img
4) reboot to fastboot again
fastboot reboot fastboot
5) Flash the rom with
fastboot flash system [image name of your choice]
I didn't need to delete anything to get more space for the rom, guess it is related to rom size. It auto resized the existing partitions. If you fail to flash directly you may consider delete something first with command like "fastboot delete-logical-partition [something]"
P.S. I did not have enough spaces after multiple flashing, so yes you may delete something like "fastboot delete-logical-partition product_a"
[OPTIONAL] In theory if you need GAPP / microG and your rom does not include them, you should flash them now
P.S. Tested it worked to use the wipe in recovery directly as using command may prompt error, at the end you will still need to use the one in recovery
6) Reboot to recovery
fastboot reboot recovery
7) Select wipe data here
8) Select reboot to system in recovery tools and you will boot into the rom you flashed
If you need to update the rom to a newer version manually you skip the data wiping part, that is :
1) Download GSI image you need (vN of LineageOS 20 GSI Light for my case) and extract it (xz -d XXX.xz)
2) Turn off the phone, then press volume down and power button to boot into fastboot mode (wordings looks orange)
3) reboot to fastboot again (wordings will turn blue)
fastboot reboot fastboot
4) Flash the rom with
fastboot flash system [image name of your choice]
5)
fastboot reboot
For LineageOS 20 GSI Light version WIFI, Phone calls (including microphone) SMS and mobile data works out of the box, however bluetooth cannot find my Redmi Buds 4 Pro so but my old bluetooth speaker works (earbud is with with newer version of bluetooth 5.3 LE) need to change bluetooth scanning setting to use.
For LineageOS 20 GSI TD version (2023-05 version) on POCO F5 WIFI, SIM mobile data and receiving SMS work out of the box (of course some LineageOS "features" are still there, like SIM card with mobile data should always be in slot one, if you have no mobile data after inserting the card restart the phone and it will work). Nearly forgot to mention the screen sizing of both LineageOS 20 GSI TD and Light works out of the box unlike Pixel Experience plus GSI mentioned in
https://forum.xda-developers.com/t/...experience-plus-gsi-for-your-poco-f5.4589783/ Perhaps we may create a list of GSI on POCO F5 to know what features are working.
LineageOS 20 GSI TD version (2023-05 version):
WIFI: working
Mobile data: working
Speaker: working
Microphone: not working (the permission controller shows the apps have accessed to it but no sound)
Phone calls: no sound
SMS: can send and received SMS
Bluetooth: tested with earbud (bluetooth 5.3) can paired but no sound
Auto-rotate: Works
LineageOS 20 GSI Light version (2023-08-14 version):
WIFI: working
Mobile data: working (
2023-08-14 versoin I have no 5G plan so I don't know about 5G, but it seems that currently I can only use 3G even my data plan is 4G ?LTE setting is not working correctly, might be ISP related instead of ROM issue Solved, can be fixed with "Reset Wi-Fi, mobile & Bluetooth" option in settings, some sort of bug I guess)
Speaker: working
Microphone: working
Phone calls: working
SMS: can send and received SMS
Bluetooth: works (for new bluetooth items need to enable bluetooth scanning setting, if not then only older bluetooth items can be scanned)
Auto-rotate:
failed(default disabled at home screen)Works(need to enable in setting to make rotation works in home screen)
Split-screen: works
Camera: working (need to enable in setting)
Guess I still need to wait for official custom rom for all functions.
Guess I will use LineageOS 20 GSI Light version now
Hope it helps.