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

Vol up + power for recovery

flash TWRP:

  adb reboot bootloader

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

  fastboot boot twrp.img

allow changes

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 [ ]

  adb reboot recovery

Magisk (hides state of bootloader - might say locked)

  adb sideload magisk [ ]

vendor firmware

  adb sideload vendor-firmware [ from ]

wipe cache

  adb sideload DFE   <-- forgot this!

  adb sideload los [ ]


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.


  • [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)
  • Vodafone (GSM, WCDMA)
  • 3 (GSM, WCDMA, LTE band 3 only)

Camera - port of MIUI 10 camera