[Discontinued] [ROM][OFFICIAL] LineageOS 16.0 - Xiaomi Mi 8

Search This thread

BlanknessWhite

New member
Mar 18, 2020
1
0
LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

GPL compliance:


Device tree source code: LineageOS/android_device_xiaomi_dipper
Kernel source code: https://github.com/LineageOS/android_kernel_xiaomi_sdm845

Working:
Camera (and flashlight)
IR Camera
WiFi
NFC
Bluetooth
Telephony (Calls and Data)
Audio (Record and Playback)
Video Playback
Sensors
GPS
HW crypto (FBE)

To make Google Pay work there is currently a .zip that need to be flashed as shown in the post below:
https://forum.xda-developers.com/showpost.php?p=79672865&postcount=2284

Compatibility:
Compatible with Xiaomi Mi 8
Builds are based off the Xiaomi's Android 9 firmware with proprietary blobs.
Downloads:
Official download links: https://download.lineageos.org/dipper

Notice:
No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.

Installation:
Reboot to recovery (TWRP recovery for Mi 8)
Format /system, /data and /cache
Install MIUI P based firmware.
Install LineageOS zip package
Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)

Important notes:
* Required * firmware version must be based on MIUI P-based builds.
GApps can only be flashed on clean installs.
Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.
Credits & collaborations:
bgcngm
infrag
joe2k01
All LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!



Unofficial Builds:
Build 17/08/2019
https://drive.google.com/open?id=1evOopo9SgAC_fAQilbNovaVkBKF0mgzb




TWRP 3.3.0.0:
Build 05/06/2019
Build on Android 9.0 TWRP sources

https://drive.google.com/open?id=1OcmasmRO1athTFL5zvy-vgytMtDHMfwT
The ROM is very great!Goodbye,MIUI
 

G A S T

Senior Member
Apr 20, 2018
251
108
Xiaomi Mi 4
Samsung Galaxy S6
I'm in a somewhat similar position in that I need VoWiFi because of poor signal in my office. Did you ever figure out how to get it working on LOS 16? I have WiFi calling enabled in settings and I know provider supports it as SIM card in a different phone can make VoWiFi calls. As best can tell its not enabled/supported in LOS build. See screen capture from Network Cell Info Lite.

No. I didn't figure it out. It's not clear if the fault is on provider side or on system side.
 

G A S T

Senior Member
Apr 20, 2018
251
108
Xiaomi Mi 4
Samsung Galaxy S6
Great! Am I dreamin'?

HUUUUUUUGE thanks @infrag!!!
 

Attachments

  • Screenshot_20200401-211811_Updater.png
    Screenshot_20200401-211811_Updater.png
    79 KB · Views: 169
Last edited:

G A S T

Senior Member
Apr 20, 2018
251
108
Xiaomi Mi 4
Samsung Galaxy S6
Sry! Pic Upload did not work in that ****ty xda-app. ?

Now it worked. ? Do not understand...


And one thing I don't understand too:
I used to use an own gapps-cfg-file with LOS 16 and OpenGApps Pico to punch out some more useless Google stuff from the package. How do I do this during the upgrade? How can the cfg-file be recognized during the recommended sideload install? Is it ever possible?
Since the Mi 8 is Treble device but doesn't support seamless updates due to only one partition slot, so afaik, it should work with the cfg-file which is still on my device under sdcard-path since the initial installation.
 

Attachments

  • Screenshot_20200401-211811_Updater.png
    Screenshot_20200401-211811_Updater.png
    79 KB · Views: 199
Last edited:

G A S T

Senior Member
Apr 20, 2018
251
108
Xiaomi Mi 4
Samsung Galaxy S6
I think we should now stop posting here and all switch over to the LOS 17.1-Thread. Official LOS 16 is EoL on the Mi 8 since 25th of march.

One last hint at this place to all of you who are considering to update their dipper to LOS 17.1:

You urgently need to install that inofficial 3.3.1-2 TWRP package from Mauronofrio here:
https://sourceforge.net/projects/ma.../twrp-3.3.1-2-dipper-mauronofrio.img/download

Do NOT use the latest official dipper TWRP 3.3.1-1 from july 2019 (or older) like I did or you will experience a lot of pain in the ass during your first OTA-update via the updater in Los 17.1 because every partition will be encrypted then and the system will run into infinty bootlop. ?
 
Last edited:
  • Like
Reactions: Szynkars and Moldeb

Jord5s

Member
Apr 1, 2019
6
0
Durban
I need a working custom recovery for equuleus (mi 8 pro) running on Android 10... Please can someone help! I really want to root my phone so I can get my modding on.

Sent from my MI 8 Pro using Tapatalk
 

G A S T

Senior Member
Apr 20, 2018
251
108
Xiaomi Mi 4
Samsung Galaxy S6
I've been on infrag's TWRP since he released it, you can find it on OP and I never had issues.

I do not now if this is really "infrag's recovery", but I do know that it's just the same version as this one here
https://eu.dl.twrp.me/dipper/.

And as you can see in the linked TWRP list and as stated in the OP
"TWRP 3.3.0.0:
Build 05/06/2019
Build on Android 9.0 TWRP sources"
it's completely outdated and therefore you'll run into trouble during the LOS 17.1 update, when you don't follow to Ferr1s and mine advice to install the above linked unofficial 3.3.1-2 TWRP package from Mauronofrio. The latest OrangeFox might work for you too, but I don't like it and so I haven't tested it.*

By the way - my official TWRP 3.3.1-1 worked fine too until the first update installation via Updater + TWRP. Believe me or not, but you MUST update your TWRP-Version when you don't want to get trouble with LOS 17.1. I just want to help people here avoiding mistakes. And I don't want infrag or other contributors to be blamed for occuring errors that are only caused by people who are not willing to update their TWRP for mystical reasons. Just please don't cry afterwards when you don't stick to this advice. I really don't get it why some people resist to learn from others and only learn from their own pain... :(

*Edit:
Correction of one sentence above - Orange Fox Recovery does not seem to work properly with LOS 17.1 (read the OF-Thread in this xda section), so you better stick with the above mentioned TWRP. Mauronofrio will try to publish it as official.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 98
    https%3A%2F%2Fimg.xda-cdn.com%2Fy-LtXHGCDBH0KxFw9MxWAPF3guk%3D%2Fhttp%253A%252F%252Fi.imgur.com%252F2okPze5.png

    LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

    GPL compliance:


    Device tree source code: LineageOS/android_device_xiaomi_dipper
    Kernel source code: https://github.com/LineageOS/android_kernel_xiaomi_sdm845

    Working:
    Camera (and flashlight)
    IR Camera
    WiFi
    NFC
    Bluetooth
    Telephony (Calls and Data)
    Audio (Record and Playback)
    Video Playback
    Sensors
    GPS
    HW crypto (FBE)

    To make Google Pay work there is currently a .zip that need to be flashed as shown in the post below:
    https://forum.xda-developers.com/showpost.php?p=79672865&postcount=2284

    Compatibility:
    Compatible with Xiaomi Mi 8
    Builds are based off the Xiaomi's Android 9 firmware with proprietary blobs.
    Downloads:
    Official download links: https://download.lineageos.org/dipper

    Notice:
    No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.

    Installation:
    Reboot to recovery (TWRP recovery for Mi 8)
    Format /system, /data and /cache
    Install MIUI P based firmware.
    Install LineageOS zip package
    Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)

    Important notes:
    * Required * firmware version must be based on MIUI P-based builds.
    GApps can only be flashed on clean installs.
    Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.
    Credits & collaborations:
    bgcngm
    infrag
    joe2k01
    All LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!



    Unofficial Builds:
    Build 17/08/2019
    https://drive.google.com/open?id=1evOopo9SgAC_fAQilbNovaVkBKF0mgzb




    TWRP 3.3.0.0:
    Build 05/06/2019
    Build on Android 9.0 TWRP sources

    https://drive.google.com/open?id=1OcmasmRO1athTFL5zvy-vgytMtDHMfwT
    23
    Official builds incoming. Waiting on the final commit: https://review.lineageos.org/c/LineageOS/hudson/+/243257
    For now you can enjoy or not enjoy the wiki.
    https://harryyoud.co.uk/lineage-previews/243255/3/devices/dipper/
    22
    So there hasnt been an update for a while since I've been working on building vendor img. Hopefully I'll have a test build up in the next few days. As it is it boots but there are a few bugs that I'm trying to sort out first.
    Secondly:
    I'll ask Bruno about what the process is to get mi8 official. I cant imagine there will be much required. I cant say it bothers me if mi8 is official or not but theres enough people here who seem to care so I'll give it a go.
    16
    I just wanted to say thanks to all have donated to me. It is definitely not a requirement to donate and I wasn't sure if I should post anything here to sound like I'm encouraging it but I'd feel remiss to not say anything.
    So Thanks very much!
    15
    Latest unofficial is close to perfect for me, everything works fine, it's smooth and battery life is astounding but gps is unusable on Waze, it kept moving my location all over the place once I started driving :/

    ew. Looks like my gps crash fix lost us some satellites.
    I'll do some testing and make another build soon.