[ROM]LineageOS 20 - Xiaomi Mi 8

Search This thread

darealthing

Member
Feb 16, 2022
17
9
Few days ago /e/ OS 19.1 came out for mi 8, with the fix for the annoying headset microphone bug I've been waiting for so long. It works great. Thank you very much, @infrag ! As I said a couple of months ago, I'd be happy to donate you some bucks for your great support, Ko-Fi.com or whatever!
 
  • Like
Reactions: Grknschlr

uizore

Member
Aug 17, 2010
5
3
Hello guys, can someone please post his/hers /system/vendor/etc/mixer_paths_tavil.xml file?
Hi,
here is mine:

Since the last update to lineage-19.1-20221119-nightly-dipper-signed.zip from lineage-19.1-20221020-nightly-dipper-signed.zip I noticed screen flicker (display is flashing/blinking white when the system reduces the brightness) again on my smartphone.
It did happen before on Lineage 18 but since 19.1 it never appeared again.

Has there been any changes in the last month regarding the display settings?
 

Feboyz

Member
Dec 21, 2017
9
0
Bekasi
Xiaomi Mi 8
Excuse me
Anyone can help me ?
Currently im running on custom LOS 20
I want to install magisk
because there are several applications that cannot be opened with the description "the Phone has been rooted" ( root detected )

my plan is to install magisk , then hide root status ( magisk hide )
in order to be able to open several applications such as m banking and any other..

I'm afraid to reinstall recovery afraid of bootloop
is there any solution?
 

vogt.wt

Member
Apr 29, 2021
5
4
I installed lineage 20 from infrag at page 1.
It works without problems.
To get OTA-updates I want to downgrade to lineage 19.1
Is this possible without Format /system, /data and /cache?
Thanks
 

tf700_13

Member
Nov 22, 2013
21
2
Maybe not device-related, but I just upgraded from 18.1 to 19.1, and "Always-on VPN" doesn't work for me anymore.

The VPN app itself fails to detect an internet connection. I have to disable "Always-on VPN" for the app, then reconnect WIFI, then establish a VPN connection.

Does anyone have (or doesn't have) this issue?
 

zhengz

Member
Nov 9, 2022
15
1
Jinan
Hi. today I built lineage 20.0. I followed the lineageos wiki, ran breakfast dipper, then extracted blobs from your latest 20.0 build and ran brunch dipper.
The build was successful, but the camera won't open.
Could you please tell me how to fix this issue? thank you.

Here is a part of adb logcat:
12-12 13:36:14.711 17603 17603 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-12 13:36:14.711 17603 17603 F DEBUG : LineageOS Version: '20.0-20221212-UNOFFICIAL-dipper'
12-12 13:36:14.711 17603 17603 F DEBUG : Build fingerprint: 'Xiaomi/dipper/dipper:8.1.0/OPM1.171019.011/V9.5.5.0.OEAMIFA:user/release-keys'
12-12 13:36:14.711 17603 17603 F DEBUG : Revision: '0'
12-12 13:36:14.711 17603 17603 F DEBUG : ABI: 'arm'
12-12 13:36:14.711 17603 17603 F DEBUG : Timestamp: 2022-12-12 13:36:14.644596881+0800
12-12 13:36:14.711 17603 17603 F DEBUG : Process uptime: 0s
12-12 13:36:14.711 17603 17603 F DEBUG : Cmdline: /vendor/bin/hw/[email protected]
12-12 13:36:14.711 17603 17603 F DEBUG : pid: 17569, tid: 17569, name: android.hardwar >>> /vendor/bin/hw/[email protected] <<<
12-12 13:36:14.711 17603 17603 F DEBUG : uid: 1047
12-12 13:36:14.711 17603 17603 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000000
12-12 13:36:14.711 17603 17603 F DEBUG : Cause: null pointer dereference
12-12 13:36:14.711 17603 17603 F DEBUG : r0 ef372b48 r1 00000000 r2 00000084 r3 00000000
12-12 13:36:14.711 17603 17603 F DEBUG : r4 ef0aca8b r5 ef0b2021 r6 00001000 r7 00002768
12-12 13:36:14.711 17603 17603 F DEBUG : r8 f06414f8 r9 00000000 r10 f0a40170 r11 f06414e8
12-12 13:36:14.711 17603 17603 F DEBUG : ip fff42b18 sp fff43098 lr ef3111e1 pc 00000000
12-12 13:36:14.711 17603 17603 F DEBUG : backtrace:
12-12 13:36:14.711 17603 17603 F DEBUG : #00 pc 00000000 <unknown>
12-12 13:36:14.711 17603 17603 F DEBUG : #01 pc 002a11df /vendor/lib/hw/camera.qcom.so (CamX::probeChiComponents(CamX::ExternalComponentInfo*, unsigned int*)+490) (BuildId: 183c483025abb015081bf74db5224005)
12-12 13:36:14.711 17603 17603 F DEBUG : #02 pc 00254985 /vendor/lib/hw/camera.qcom.so (CamX::HwEnvironment::Initialize()+440) (BuildId: 183c483025abb015081bf74db5224005)
12-12 13:36:14.711 17603 17603 F DEBUG : #03 pc 002547bf /vendor/lib/hw/camera.qcom.so (CamX::HwEnvironment::HwEnvironment()+246) (BuildId: 183c483025abb015081bf74db5224005)
12-12 13:36:14.711 17603 17603 F DEBUG : #04 pc 0025452d /vendor/lib/hw/camera.qcom.so (CamX::HwEnvironment::GetInstance()+40) (BuildId: 183c483025abb015081bf74db5224005)
12-12 13:36:14.711 17603 17603 F DEBUG : #05 pc 0010ed3b /vendor/lib/hw/camera.qcom.so (CamX::HAL3Module::HAL3Module()+406) (BuildId: 183c483025abb015081bf74db5224005)
12-12 13:36:14.711 17603 17603 F DEBUG : #06 pc 0010d66d /vendor/lib/hw/camera.qcom.so (CamX::HAL3Module::GetInstance()+40) (BuildId: 183c483025abb015081bf74db5224005)
12-12 13:36:14.711 17603 17603 F DEBUG : #07 pc 001081b9 /vendor/lib/hw/camera.qcom.so (CamX::get_number_of_cameras()+48) (BuildId: 183c483025abb015081bf74db5224005)
12-12 13:36:14.711 17603 17603 F DEBUG : #08 pc 0010c7c5 /vendor/lib/hw/camera.qcom.so (CamX::get_number_of_cameras()+48) (BuildId: 183c483025abb015081bf74db5224005)
12-12 13:36:14.711 17603 17603 F DEBUG : #09 pc 0001c94d /vendor/lib/[email protected] (android::hardware:📷:common::V1_0::helper::CameraModule::init()+76) (BuildId: fe12535830de36d7e3425ab5e2461213)
12-12 13:36:14.711 17603 17603 F DEBUG : #10 pc 00013a67 /vendor/lib/[email protected] (android::hardware:📷:provider::V2_4::implementation::LegacyCameraProviderImpl_2_4::initialize()+118) (BuildId: fe12535830de36d7e3425ab5e2461213)
12-12 13:36:14.711 17603 17603 F DEBUG : #11 pc 000139d3 /vendor/lib/[email protected] (android::hardware:📷:provider::V2_4::implementation::LegacyCameraProviderImpl_2_4::LegacyCameraProviderImpl_2_4()+122) (BuildId: fe12535830de36d7e3425ab5e2461213)
12-12 13:36:14.711 17603 17603 F DEBUG : #12 pc 00002ccb /vendor/lib/hw/[email protected] (HIDL_FETCH_ICameraProvider+94) (BuildId: 9b07bb867b819c66424903883b59a5fc)
12-12 13:36:14.711 17603 17603 F DEBUG : #13 pc 00039a5b /apex/com.android.vndk.v33/lib/libhidlbase.so (android::hardware::passthroughServiceManager::get(android::hardware::hidl_string const&, android::hardware::hidl_string const&)::'lambda'(void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::eek:perator()(void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const+62) (BuildId: d5b5654ffb165f03fc1332ba9dba24b6)
12-12 13:36:14.711 17603 17603 F DEBUG : #14 pc 00036013 /apex/com.android.vndk.v33/lib/libhidlbase.so (android::hardware::passthroughServiceManager::eek:penLibs(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::function<bool (void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> const&)+870) (BuildId: d5b5654ffb165f03fc1332ba9dba24b6)
12-12 13:36:14.711 17603 17603 F DEBUG : #15 pc 00038513 /apex/com.android.vndk.v33/lib/libhidlbase.so (android::hardware::passthroughServiceManager::get(android::hardware::hidl_string const&, android::hardware::hidl_string const&)+54) (BuildId: d5b5654ffb165f03fc1332ba9dba24b6)
12-12 13:36:14.711 17603 17603 F DEBUG : #16 pc 00036c4b /apex/com.android.vndk.v33/lib/libhidlbase.so (android::hardware::details::getRawServiceInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool)+1206) (BuildId: d5b5654ffb165f03fc1332ba9dba24b6)
12-12 13:36:14.711 17603 17603 F DEBUG : #17 pc 00035005 /apex/com.android.vndk.v33/lib/libhidlbase.so (android::hardware::details::registerPassthroughServiceImplementation(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::function<int (android::sp<android::hidl::base::V1_0::IBase> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)+40) (BuildId: d5b5654ffb165f03fc1332ba9dba24b6)
12-12 13:36:14.712 17603 17603 F DEBUG : #18 pc 000352b7 /apex/com.android.vndk.v33/lib/libhidlbase.so (android::hardware::registerPassthroughServiceImplementation(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)+30) (BuildId: d5b5654ffb165f03fc1332ba9dba24b6)
12-12 13:36:14.712 17603 17603 F DEBUG : #19 pc 00001b7d /vendor/bin/hw/[email protected] (int android::hardware::registerPassthroughServiceImplementation<android::hardware::camera::provider::V2_4::ICameraProvider, android::hardware::camera::provider::V2_4::ICameraProvider>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)+48) (BuildId: 3e44fb48f94b635de4feb0792414284f)
12-12 13:36:14.712 17603 17603 F DEBUG : #20 pc 00001a97 /vendor/bin/hw/[email protected] (main+138) (BuildId: 3e44fb48f94b635de4feb0792414284f)
12-12 13:36:14.712 17603 17603 F DEBUG : #21 pc 00032eeb /apex/com.android.runtime/lib/bionic/libc.so (__libc_init+54) (BuildId: ca98129601616d0af15beb38d072d509)
 

Irish_Dude

Senior Member
Dec 18, 2013
220
59
Is LOS20 planned for dipper or are we at EOL?

Either way, appreciate everything you done for us infrag
 

freeman94

Senior Member
Jul 2, 2011
207
34
Tarnów
how do i flash it?
There is no recovery for Android 13 afaik
move from PE13 with I used with build-in recovery
EDIT: okey, so i tested with build-in recovery also just like with PE, but Lineage recovery, and apply the mind gapps, but it is in boot logo like 30min so far nothing.
 
Last edited:

UnNamedChronos

Senior Member
May 1, 2018
160
100
24
Xiaomi Mi 8
how do i flash it?
There is no recovery for Android 13 afaik
move from PE13 with I used with build-in recovery
EDIT: okey, so i tested with build-in recovery also just like with PE, but Lineage recovery, and apply the mind gapps, but it is in boot logo like 30min so far nothing.
I recommend use this recoverys



All of them work on A13 with encryption enable
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Everything is more than ok but sound may need little bit enhancement
    But you deserve more than thanks for your work ❤️
    @infrag
    2
    Just a quick feedback, I upgraded my daily driver a few days ago from 19.1 to 20, following the official guide, without any problems. ROM works great, I had no major issues until now :)
    2
    Hello, a few days ago updated to LOS 20 from 19.1. All working so far, main problem I found was that during calls it puts in the earpiece all ambient noise, all the background noise into my ear, it's very stressful, at least for me. Anyone noticed this?


    BTW, thank you @infrag for keeping this device alive ;)
    2
    Flashed now and everything is working great.

    I notice that google pay doesnt work, other than that the rom looks amazing
    1
    Is there any DAMN way to make "ok, google" working in LineageOS?

    How to make my mi8 pass safety net if I do not use gapps? After 2 succesful years with LOS, now I need to make my banking apps work with this phone.
    as far as I know you can't pass safetynet without having gplay services

    just install magisk, install hide props module and safetynet fix, and you will be able to use banking apps and download Netflix.
  • 31
    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!
    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
    Lineage-19.1 builds in OP.
    8
    @infrag thanks a ton for spotting the changes.
    Please thank @UnluckyPoet also as he did most of the work.
    7
    Dear @infrag,

    if it isn't mandatory to have the microphone bug completely fixed I would highly appreciate if you would make LOS 19.1 official as not everybody is affected by it, and not everybody is using the earpiece for phoning, or is using GSM calls anymore.

    I am personally very happy with your excellent work!
    I'm waiting on my NFC change to be added before making dipper official 19.1.
    It requires the maintainer of the common repo to commit the change so I'm waiting on that.