/xiaomi-dipper

Xiaomi Mi 8 automatic build

Primary LanguageShellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Ubuntu Touch device tree for Xiaomi Mi 8 (dipper)

This is based on Halium 9.0, and uses the mechanism described in this page. (actually a little modified to work in GitHub Actions, but in general it is the same)

You can download the ready-made artifacts from github: take the latest archive, unpack the OTA images.zip file (make sure that all files are created inside a directory called out/, then follow the instructions in the Install section. You can apply patches yourself, just use my script.

Or you can use installable ZIP archives from Releases. Just install it as any other Custom ROM. Do a full wipe and format data (WARNING!! ALL DATA WILL BE LOST, FORMATTING DATA IS NECESSARY IF YOU ARE DOWNGRADING FROM ANDROID 10 OR HIGHER), and install zip. Don't install Magisk, it wont work here, and may even destroy your system. Firmware and Vendor are already packed in zip so no need to additionally install vendor+fw.

Pre-requisites

As this is based on Android 9, it is required to install stock vendor.img from Android 9. You can Android 9 stock firmware from Xiaomi Firmware Updater(GLOBAL, RUSSIA, CHINA)

Copy these images to directory out/ above together with the artifacts.

Install

fastboot flash boot out/boot.img
fastboot flash recovery out/recovery.img
fastboot flash system out/system.img