[ROM]LineageOS 20 - Xiaomi Mi 8

Search This thread

Silac_8

Senior Member
Jul 1, 2012
89
30
Reading through the thread, it appears this ROM has issues with battery drain, MTP (mounting to PC), and possibly connecting to GPS satellites. Is this correct?

Also, since TWRP is incompatible with Android 12, how do you all backup your data?

Lastly, I see a "Kernel test fix audio problem in calls" boot.img patch in the original post. Has this been merged or will it ever be merged into LineageOS?
I can confirm battery drain issues. My battery is at 80% health, according to Accubattery.

However, battery barely holds for a full day.
These are my stats for today. It's 5PM and battery charged over night - it's at 30%. And battery stats in the phone tell me nothing.
Anyone has similar issue?

Screenshot_20220729-170017_Settings.png
 

infrag

Senior Member
Sep 3, 2008
1,725
4,582
Perth
I can confirm battery drain issues. My battery is at 80% health, according to Accubattery.

However, battery barely holds for a full day.
These are my stats for today. It's 5PM and battery charged over night - it's at 30%. And battery stats in the phone tell me nothing.
Anyone has similar issue?

View attachment 5671569
I'd suggest from the feedback of others and my own testing that your situation is not the norm. What firmware are you using?
 

Dresior

Member
Jun 8, 2012
22
11
I''ve upgraded to latest nighly and my wifidisplay cannot connect to Samsung TV sets.
I can pair wireless screen , but there is no display and after few seconds connection is lost... :)
 

mkz14

Senior Member
Feb 17, 2011
295
71
Which gapps are you guys using?

Which camera or default apps does it include?
 

najabi

Senior Member
Jan 14, 2018
287
102
48
Bilbao
I'm unable to install latest lineage from TWRP with f2fs and unencrypted. I get into a bootloop on lineage setup screen.
I do according to first post instructions: flash twrp,
Format /system, /data as F2FS and /cache
Install MIUI firmware by sideload: fw_dipper_miui_MI8_V12.5.2.0.QEACNXM_f5ec813d1c_10.0.zip
Install LineageOS zip package by sideload
Install a Google Apps package by sideload (MindtheGapps)
adb pull /vendor/etc/fstab.qcom, edit and add this line:
Code:
/dev/block/bootdevice/by-name/userdata    /data    f2fs    noatime,nosuid,nodev,nobarrier,discard,fsync_mode=nobarrier    latemount,wait,check,encryptable=ice,quota,formattable
adb push fstab.qcom /vendor/etc/

any hint?
 

mkz14

Senior Member
Feb 17, 2011
295
71
Yea, face unlock is not present in Security section, I guess lineageOS disabled it...

Will it ever come back?
 

nsfnd

Member
Aug 26, 2010
24
20
Antalya
I can confirm battery drain issues. My battery is at 80% health, according to Accubattery.

However, battery barely holds for a full day.
These are my stats for today. It's 5PM and battery charged over night - it's at 30%. And battery stats in the phone tell me nothing.
Anyone has similar issue?
I had the same issue. 100% charge while going to bed, %70 in the morning.

Now this may be a coincidence but i installed smartpack kernel manager from fdroid, set CPU and GPU governers to both userspace with it. And battery drain magically slowed down.

I'm saying maybe coincidence because i dabbled with my router's wifi settings (dtim, beacon interval stuff), that may be affecting phone battery drain.

You might want to give it a try. And please let me know if it works for you as well.
 
  • Like
Reactions: Silac_8

mkz14

Senior Member
Feb 17, 2011
295
71
Everytime i flash a new update the phone gets in a bootloop, wtf?

Lineage19 updates brick the phone always :S?
 

spacefrog.uk

Member
Sep 2, 2022
26
5
I had the same issue. 100% charge while going to bed, %70 in the morning.

Now this may be a coincidence but i installed smartpack kernel manager from fdroid, set CPU and GPU governers to both userspace with it. And battery drain magically slowed down.

I'm saying maybe coincidence because i dabbled with my router's wifi settings (dtim, beacon interval stuff), that may be affecting phone battery drain.

You might want to give it a try. And please let me know if it works for you as well.
I used the app and settings you suggested and my phone only lost 5% battery overnight so that works great
 

spacefrog.uk

Member
Sep 2, 2022
26
5
Currently on 19-20220901-NIGHTLY-dipper with magisk and nikgapps installed OK.

Can anyone get caller ID working on incoming calls? If I turn off 4g calling and WiFi calling it works OK.
 

Silac_8

Senior Member
Jul 1, 2012
89
30
I had the same issue. 100% charge while going to bed, %70 in the morning.

Now this may be a coincidence but i installed smartpack kernel manager from fdroid, set CPU and GPU governers to both userspace with it. And battery drain magically slowed down.

I'm saying maybe coincidence because i dabbled with my router's wifi settings (dtim, beacon interval stuff), that may be affecting phone battery drain.

You might want to give it a try. And please let me know if it works for you as well.
Don't know about overnight battery drain, but with general usage - yeah, it improved battery life. Thanks man
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Can someone explain to me why there are currently no updates for LOS 21?
    Maybe a developer can write some explanatory details.
    https://www.reddit.com/r/LineageOS/comments/1bp83tb
    2
    @gugugrp
    I have no experience with NikGapps or Pixel Experience Apps.
    I installed everything as described in the Lineageos tutorial.


    @haxnhaxn
    That's why I use the Lineageos Recovery.
    In this recommended combination with Lineageos Recovery and MindTheGapps I have no problems and everything works perfectly.

    However, I use my Mi 8 as a second device and do not use any banking apps or security-related apps.
    And it is not rooted.
    1
    I have found the reason:

    Seems like all LOS 21 builds are disabled:

    I wonder if the maintainers are aware of this, because not a single LOS 21 device has been enabled since...
    1
    So we will wait patiently and keep our fingers crossed🤞
  • 34
    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
    D
    Deleted member 12134985
    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.