[ROM]LineageOS 20 - Xiaomi Mi 8

Search This thread

haxnhaxn

Member
Dec 6, 2011
37
9
Thanks for your information. I tried installing different gapps version (using NikGapps) and couldnt fix it.
I would recommend MindTheGapps. I dont have good experience with NikGapps.
Switching Gapps is probably a bad idea, so I recommend a clean install (I know its a pain) and then MindTheGapps. Dont change anything regarding Gapps after OTA.
 

Erics9n

Member
Jul 8, 2019
38
14
Xiaomi Mi Pad 4 Plus
I would recommend MindTheGapps. I dont have good experience with NikGapps.
Switching Gapps is probably a bad idea, so I recommend a clean install (I know its a pain) and then MindTheGapps. Dont change anything regarding Gapps after OTA.
Thanks for your suggestions.
However I have luckily fixed my problem by manually installing latest Pixel Launcher APK.
 
  • Like
Reactions: haxnhaxn

M0ll0

New member
Jan 11, 2020
2
2
I'm trying to go from PE to LOS but I've been freaking out for 3 hours. Once done adb reboot bootloader, I try to do fastboot device but it comes out: "fastboot: usage: unknown command device". I already updated the drivers with disabled signature verification in Windows 11.

edit: ATM i've PE recovery and i'm trying to instal LOG recovery
after adb kill-server and adb start-server now device got recognised but error show up when flashing recovery:

fastboot flash recovery recovery.img
Warning: skip copying recovery image avb footer (recovery partition size: 0, recovery image size: 67108864).
Sending 'recovery' (65536 KB) FAILED (Write to device failed (Invalid argument))
fastboot: error: Command failed
 
Last edited:

M0ll0

New member
Jan 11, 2020
2
2
I'm trying to go from PE to LOS but I've been freaking out for 3 hours. Once done adb reboot bootloader, I try to do fastboot device but it comes out: "fastboot: usage: unknown command device". I already updated the drivers with disabled signature verification in Windows 11.

edit: ATM i've PE recovery and i'm trying to instal LOG recovery
after adb kill-server and adb start-server now device got recognised but error show up when flashing recovery:

fastboot flash recovery recovery.img
Warning: skip copying recovery image avb footer (recovery partition size: 0, recovery image size: 67108864).
Sending 'recovery' (65536 KB) FAILED (Write to device failed (Invalid argument))
fastboot: error: Command failed
resolved on different pc with intel cpu,
 

acehood88

New member
Feb 10, 2018
4
0
I'm trying to go from PE to LOS but I've been freaking out for 3 hours. Once done adb reboot bootloader, I try to do fastboot device but it comes out: "fastboot: usage: unknown command device". I already updated the drivers with disabled signature verification in Windows 11.

edit: ATM i've PE recovery and i'm trying to instal LOG recovery
after adb kill-server and adb start-server now device got recognised but error show up when flashing recovery:

fastboot flash recovery recovery.img
Warning: skip copying recovery image avb footer (recovery partition size: 0, recovery image size: 67108864).
Sending 'recovery' (65536 KB) FAILED (Write to device failed (Invalid argument))
fastboot: error: Command failed
Change usb port or cable.
 

k.stahanov73

Senior Member
Jan 1, 2019
129
5
Redmi Note 12 5G
colleagues! Does anyone have a second camera working - a telephoto on this firmware?
and second - if you turn on the AOD, do we have pixel burn-in protection? do the captions move across the screen?
 

peacenut

Member
Feb 4, 2023
13
6
HTC Desire HD
Xiaomi Mi 8
colleagues! Does anyone have a second camera working - a telephoto on this firmware?
and second - if you turn on the AOD, do we have pixel burn-in protection? do the captions move across the screen?
1. This gcam has working telephoto:
Download the 2nd one.
Screenshot_2023-04-02_19-59-58~2.png

That 1.7 is telephoto mode.

2. No. If you want to use AOD and avoid burn-in, use these options instead of "Always on" option:
Screenshot_2023-04-02_19-50-48.png
 
  • Like
Reactions: k.stahanov73

maormark

Senior Member
Jun 13, 2007
133
19
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.
There is a chance that you can release a patch for the pixelexperience community as well?. tnx
 

Irish_Dude

Senior Member
Dec 18, 2013
223
59
ROM is working flawlessly for me.

I rooted with Magisk and all banking apps work after flashing safety net fix in magisk. Battery life os good also

Great job @infrag
 

G A S T

Senior Member
Apr 20, 2018
277
112
Xiaomi Mi 4
Samsung Galaxy S6
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.
Oh, I did not read here for a while... 🙈
Which one is your new device? I already switched over to alioth. But it would be nice if Bgncm or someone else could take over the Maintainership here. But now:

Dear infrag,
thank you for your excellent Support of our great device! Without you we had probably never seen LOS on our phones.

Huge thanks for all those years! 🥲❤️

And btw. - with regards to meeting again in the future - I would buy or recommend every device for LOS that's maintained by you!

Bye @infrag 👋
 

hammerhead123

New member
Jan 7, 2019
2
1
Flashed this ROM recently as the phone was stuck in bootloop after debloating some MIUI apps in stock ROM
My experience so far was great without much issue, battery life is good too compared to stock ROM and for a 5 years old device.
The only minor issue I had is that MTP wasn't working for me when using the ROM, my PC was able to detect and transfer file during recovery mode, but it doesn't affect much as I can use the working PTP or adb to transfer file.
 

caputcha

Member
May 30, 2011
47
10
Flashed this ROM recently as the phone was stuck in bootloop after debloating some MIUI apps in stock ROM
My experience so far was great without much issue, battery life is good too compared to stock ROM and for a 5 years old device.
The only minor issue I had is that MTP wasn't working for me when using the ROM, my PC was able to detect and transfer file during recovery mode, but it doesn't affect much as I can use the working PTP or adb to transfer file.
MTP working as it should no issue at all.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    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.