[ROM]LineageOS 20 - Xiaomi Mi 8

Search This thread

tanagno

Member
Dec 10, 2022
13
2
You will have to root it, then flash safetynet fix and tinker a little in Magisk settings, but it's easy and there are guides on the internet on how to do it.
Yeah i ve done it to PE but the banking even if i hide root don't work as expected. The fingerprint even if i set it up and work a couple of times then the app turn of the setting. Not something major..
 

Hockpold

Member
Jan 4, 2021
14
3
Just a message to say thanks to the all maintainers for keeping that devices alive.

It's the first time I kept a smartphone THAT long (5 years?) and I hope it will continue as I'm not confident enough to try to do build Lineage myself.
 

Davidr2006

Member
Jan 2, 2016
8
0
EI'm wanting to use this ROM for daily use, and I have some questions Do I need to root it? (!Only if you want to use the correct Google Pay) otherwise I can use it normally that all apps will work after installing GAPPS, right?
 

Cooper A

Senior Member
Aug 26, 2015
87
20
I just tried this rom, but with root. Everything worked for me except the banking apps oc.
However I hear some noise when I making phone calls but its not a big deal - yet.
But I dont like the bulk design of the AOSP QS and the UI. So I thinking to going back to stock again.

Found some minor bugs:
- Pulling down the quick settings menu and long-pressing on the settings gear icon does not work for reaching theme ui - where u can modify the QS setting.
- There is a missing switch at the battery manager where you can switch "smart" charging.

However the usbC port started to wear off and not just for me. I think this phone will die soon.
 

Kaimane

Senior Member
Apr 25, 2007
65
3
Wow. @infrag, you are my hero! Flashed firmware from 12.0.3.0 Chinese and it fixed audio stutter (install 12.0.3.0 version depending on your phone version - chinese or global - if unsure, flash global).

Y'all can find firmware here (60+ mb).

Or just install latest it firmware from this topic.
I would like to tell you briefly about my experience. I also had the problem with sound stuttering. Mainly when I was using Android Auto. @Silac_8, your tip about flashing the firmware has also led to success for me. Odd thing is, I already had the latest firmware on my MI8 (LineageOS 20, latest MindTheGApps, latest Magisk) before, which I installed over again. Still, after flashing, the stuttering sound in Android Auto was gone and never came back.
Here's how I went about it:
  • Check if you need the global or Chinese firmware (based on the IMEI): here
  • Download the latest stable firmware here
  • adb reboot recovery
  • adb sideload fw_dipper_miui_MI8_V12.5.2.0.QEACNXM_f5ec813d1c_10.0.zip (in my case the Chinese version)
  • Reboot and meanwhile keep your fingers crossed that the problem is fixed.
 
  • Like
Reactions: raffsantana

mkz14

Senior Member
Feb 17, 2011
291
68
Everytime I flash a new version, Gapps stop working. I install new version of gapps and never works again.

Gapps says I don't have internet connection and everything is messed up

So I can never update or what?
 

mkz14

Senior Member
Feb 17, 2011
291
68
After flash Gapps need wipe data and cache
No, It wasn't th at. All gapps permissions for Wi-Fi were turned off. This happens to me in two phones with every LOS20 update. I got to reinstall gapps and then reconfigure all aplicacionts to enable wifi permissions.

Took me quite some time to find it tho
 

acehood88

New member
Feb 10, 2018
4
0
No, It wasn't th at. All gapps permissions for Wi-Fi were turned off. This happens to me in two phones with every LOS20 update. I got to reinstall gapps and then reconfigure all aplicacionts to enable wifi permissions.

Took me quite some time to find it tho
try NikGApps
i never reinstall gapps after update ota
 

wordlesswind

Member
May 19, 2016
9
2
When I update the ROM, I lose Magisk, and from the console output of Recovery, it seems that the survival script did not run successfully and it could not find the Magisk binary.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Will this be merged into the main lineage tree and builds soon? Couldn't figure out if that has been done already.
    No thanks to me as I didnt do anything but:
    Audio fix was merged so should be in the next builds.
  • 32
    Please note: I no longer maintain this ROM as my phone screen has cracked and I've moved on to a different device. Bgncm will probably continue to maintain it for mi8 as its similar to his other devices. Thanks for those that supported in the past and perhaps we will meet again in the future on a different device.

    LineageOS is a free, community built, aftermarket firmware distribution of Android 12, 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: https://github.com/LineageOS/android_device_xiaomi_dipper
    Kernel source code: https://github.com/LineageOS/android_kernel_xiaomi_sdm845



    Compatibility:
    Compatible with Xiaomi Mi 8
    Builds are based off the Xiaomi's Android 10 firmware.



    Recommended firmware is latest MIUI stable firmware.



    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
    Format /system, /data and /cache
    Install MIUI firmware
    Install LineageOS zip package
    Install a Google Apps package of your choice.

    Important notes:
    * Required * firmware version must be based on MIUI *-based builds.
    Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.

    All LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
    16
    Please note: I no longer maintain this ROM as my phone screen has cracked and I've moved on to a different device. Bgncm will probably continue to maintain it for mi8 as its similar to his other devices. Thanks for those that supported in the past and perhaps we will meet again in the future on a different device.
    11
    Dear @infrag

    I have a big smile on my face ... because I see that the NFC change was merged a couple of hours ago.


    Was this the merge you were waiting for?
    Yes. NFC should now work fine in official builds so now can be promoted to 19.1 builds once accepted. I've lodged the request so should hopefully not be too far away.
    8
    Last year I figured out the cause of the issue and I informed Qualcomm and Linux kernel maintainers, I didn't want to keep you folk waiting for them to fix it so I'd made a temporary fix.
    It seems that they have fixed it in both the upstream kernel and the CLA audio-kernel now, but they didn't backport it to a sdm845 tag!
    I've made an experimental build with the required fixes backported. If all goes well, I'll submit a patch to Lineage Gerrit.
    I've attached the build below, you'll have to flash it as a boot.img via recovery or fastboot, let me know if it fixes the problem.
    I haven't had much time to test it, so make sure you're on lineage-20.0-20230216.
    8
    Lineage-19.1 builds in OP.