[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] berglh:
lineage-16.0-20181020-UNOFFICIAL-dipper

requirements:

ensure you're using a USB 2 controller/port to plug in your phone for fastboot operations

usb cable that came with your mi8

android-tools-adb

android-tools-fastboot

files:

dipper_global_images_8.10.11_20181011.0000.00_9.0_global_96f315bd01.tgz ref: http://en.miui.com/thread-4177418-1-1.html

recovery.img (infrag twrp 3.2.3.0)

vendor.img

lineage-16.0-20181020-UNOFFICIAL-dipper.zip

open_gapps-arm64-9.0-nano-20181026.zip (choose your package size for your needs)

Magisk-v17.1.zip (optional root)

other firmware (i think this is optional):

fw_dipper_miui_MI8Global_8.10.11_711e9be91c_9.0.zip

method:

the method that resulted in a working camera for me was to flash the dipper_global_8.10.11 fastboot package to the mi8 first and the basically follow the process outlined on the original post

1. fastboot

1.1 extract and flash dipper global 8.10, you need to use a different tool in windows to extract first like 7-zip

tar -zxvf dipper_global_images_8.10.11_20181011.0000.00_9.0_global_96f315bd01.tgz

1.2 boot phone into fastboot (vol-down + power)

1.3 from within the extracted folder, run flash_all

./flash_all.sh

or in windows

flash_all.bat

1.4 reboot phone to fastboot (vol-down + power)

1.5 flash infrag twrp 3.2.30

fastboot flash recovery recovery.img

1.6 reboot phone to recovery (twrp) (vol-up + power)

note: if you don't get into recovery before the MIUI ROM starts to load, you'll lose the twrp recovery ROM and it will be over written with the MIUI recovery ROM. it's a good idea to just (vol-up + power) from the fastboot screen; otherwise you'll need to do steps 1.4 to 1.6 again.

2. twrp

if all has gone well, you'll be in the twrp recovery screen

2.1 wipe > factory reset

2.2 wipe /system

2.3 power off, boot to recovery (vol-up + power)

2.4 wipe /system agian (otherwise the system partition is protected)

2.5 install vendor.img to vendor partition

2.6.1 install lineage-16.0-20181020-UNOFFICIAL-dipper.zip

2.6.2 open_gapps-arm64-9.0-nano-20181026.zip

2.6.3 Magisk-v17.1.zip (optional root)

note: 2.6 steps can be staged using the imaging tool by adding more zips

2.7 wipe dalvik/cache and reboot

3. enjoy this great dipper ROM :highfive: by [MENTION=1187148]infrag[/MENTION]

4. making google pay work

Thanks to [MENTION=9008274]0n3-70uch[/MENTION]

1) install MagiskManager apk from the Magisk website

2) install "MagiskHide Props Config" under Magisk>Downloads and reboot

3) enable developer options Settings>About Phone>Press on Build number about 10 times enable developer options

4) enable Local terminal in developer options and launch Terminal from launcher

5) type "su". Magisk will ask you for root permission.

6) write "props" and follow the steps for a new fingerprint

7) choose one of the fingerprints like Xiaomi Mi Mix 2s and reboot

8) profit [ verified as working NFC payments ]

other firmware:

if you're still having troubles, you may want to try the firmware package at the bottom of the file list. you should run through all steps in 2. twrp but flash the firmware after 2.3 and preform another reboot into the twrp recovery. i'm still unsure if you'd actually use this, but so far things are working for me by installing the fastboot global 8.10.11 images in block 1 of instructions.

---------- Post added at 12:01 PM ---------- Previous post was at 11:35 AM ----------

some things i noticed with this build after my process above:

1. front facing camera is only working at 5 mpx even though it's a 20 mpx sensor

2. can't see any HDR settings at all, photo quality is much worse than the MIUI camera app in MIUI 10 for now (to be expected I guess)

3. same weird alarm sound occurred again, played once doing random things in settings. after plugging in for USB debugging played constantly on loop on ring sink/channel

4. launcher seems to crash on the first login after a reboot

5. alto game just closes on start-up (maybe android p issue)

i think i can use the phone anyway for now, i'll test my aptX support later