This has been a bit more involved than I was expecting:

https://www.cyanogenmods.org/forums/topic/download-lineage-os-16-for-poco-f1/

http://en.miui.com/thread-246705-1-1.html

https://forum.xda-developers.com/poco-f1/themes/b-s-g-google-camera-port-developed-mi-8-t3843130

Vol up + power for recovery

https://www.cyanogenmods.org/anti-rollback-protection-is-enabled-on-poco-f1-miui-10-2-stable-rom/

Install TWRP:

  adb reboot bootloader

  fastboot flash recovery twrp-3.2.3-2-beryllium.img

  fastboot boot twrp-3.2.3-2-beryllium.img

allow changes

Re-installing LineageOS

Wipe --> Advanced: Dalvik, Cache, System, data, Internal

adb reboot recovery # [need this for next step to work]

Wipe --> Format Data: yes # Sometimes I need to reboot and do this twice. No idea why.

adb sideload DisableForceEncryption_Treble_v18.0.zip # Do I need this every time? Not risking not doing it.

adb reboot recovery # You never know!

adb sideload magisk Magisk-v19.0.zip

adb sideload lineage-16.0-20200105-nightly-beryllium-signed.zip

adb sideload beryllium-9.6.27-9.0-vendor-firmware.zip

adb sideload open_gapps-arm64-9.0-nano-20200103.zip # Optional, but you must do it before first boot.

adb reboot system


Older notes, probably not useful now

wipe --> advanced --> /data        --> format data   [ (system, data, cache) Wipe the data partition (or do a factory reset), Cache partition, Dalvik Cache or ART cache and Format the System partition. ]

  adb reboot recovery

mount --> cache, system, vendor, data

advanced --> adb sideload

  adb sideload DFE [ DisableForceEncryption_Treble_v18.0.zip ]

  adb reboot recovery

Magisk (hides state of bootloader - might say locked)

  adb sideload magisk [ Magisk-v18.0.zip ]

vendor firmware

  adb sideload vendor-firmware [ beryllium-9.1.24-9.0-vendor-firmware.zip from https://mirror.akhilnarang.me/MIUI/beryllium/ ]

wipe cache

  adb sideload DFE   <-- forgot this!

  adb sideload los [ lineage-16.0-20190121-UNOFFICIAL-beryllium.zip ]

GApps if wanted [ Open GApps ]

DFE?

clear cache

reboot system

NEED TO re-flash DFE every time I flash a ROM or /vendor (actually just vendor but ROMs sometimes write to /vendor themselves, so it's safer) or I risk getting stuck in a bootloop or losing data.

Radios

  • [2G] GSM 900
  • [2G] GSM 1800
  • [3G] UMTS band 1/8
  • [4G] LTE band 1/3/7/8/20/38/40
In LineageOS these equate to GSM/WCDMA/LTE under Network & Internet --> Mobile network --> Advanced --> Preferred network type

In the UK, I believe these are the bands that are used:

  • O2 (GSM, WCDMA)
  • EE (GSM, WCDMA, LTE)
  • Vodafone (GSM, WCDMA)
  • 3 (GSM, WCDMA, LTE band 3 only)https://github.com/XEonAX/ANXCamera10/releases

Camera

https://github.com/XEonAX/ANXCamera10/releases - port of MIUI 10 camera

https://f.celsoazevedo.com/file/cfiles/gcm1/GoogleCamera_6.2.030_stable.apk

---

[FIX] How to solve "unable to mount data" error

1,618 posts
Thanks: 1,457
 
By Phil_Smith, Senior Member on 29th March 2018, 07:39 PM
Hey,

recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).

Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)

- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff