• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][OFFICIAL] LineageOS 18.1 - Xiaomi Mi 8

Search This thread

khusika

Recognized Developer / Recognized Contributor
Feb 14, 2013
1,603
5,268
Malang
khusika.com
Xiaomi Mi A1
Xiaomi Mi 8
After using it for a few days I noticed GPS is not working at all.

It works with all other Roms except this one. There are no error messages, just doesnt works.
This happens due to denial location permission of com.google.android.gms.
This can be fixed by grant the location permission using adb shell

Code:
adb shell pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION
adb shell pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION

PS. this sometimes happens on my devices (Tissot, Dipper, Vayu) with LineageOS 18.1 and OpenGapps
 
Last edited:

mkz14

Senior Member
Feb 17, 2011
268
63
This happens due to denial location permission of com.google.android.gms.
This can be fixed by grant the location permission using adb shell

Code:
adb shell pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION
adb shell pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION

PS. this sometimes happens on my devices (Tissot, Dipper, Vayu) with LineageOS 18.1 and OpenGapps
You sir, you just saved me from an entire wipe. I was going to wipe everything and reinstall LOS because of the GPS issue but It got fixed with those commands.

Thank you very much bro.
 
  • Like
Reactions: jrafael

Goalach

Senior Member
Nov 11, 2016
161
30
Since the 9/16 update, the battery drain has been terrible.
 

Attachments

  • Screenshot_20210919-104230_Einstellungen.png
    Screenshot_20210919-104230_Einstellungen.png
    147.7 KB · Views: 74

Irish_Dude

Senior Member
Dec 18, 2013
169
42
Hey Guys,

I'm running the latest version of this Rom, The latest Global Firmware and the latest official TWRP.

I also have magisk installed.

Something is up with my Mi 8.

When I check for a new update and go to install, the phone reboots to TWRP and begins the install process.

The problem is that now, it takes up to 30 minutes whereas it used to take a couple of minutes before

So the flashing proocess is extremely slow now and I dont now why??

I wiped everything from my phone, system, data, cache everything and reflashed the firmware, TWRP, and this ROM but its still the same.

Everything works but flashing is extremely slow and the phone is not as "snappy" as it was

Any ideas whats up lads and how I can fix this?
 

mattcri

Member
Mar 2, 2020
42
13
Xiaomi Mi 8
Hey Guys,

I'm running the latest version of this Rom, The latest Global Firmware and the latest official TWRP.

I also have magisk installed.

Something is up with my Mi 8.

When I check for a new update and go to install, the phone reboots to TWRP and begins the install process.

The problem is that now, it takes up to 30 minutes whereas it used to take a couple of minutes before

So the flashing proocess is extremely slow now and I dont now why??

I wiped everything from my phone, system, data, cache everything and reflashed the firmware, TWRP, and this ROM but its still the same.

Everything works but flashing is extremely slow and the phone is not as "snappy" as it was

Any ideas whats up lads and how I can fix this?
install cpdt benchmark form the the store and test your storage. If you have really low sequential reads (50-60mb/s) it is a common hardware problem, i believe related to faulty hardware encryption. A temporary fix is completely wiping the phone with miflash and the full fastboot rom but the issue will come back in a few months.
 

Irish_Dude

Senior Member
Dec 18, 2013
169
42
install cpdt benchmark form the the store and test your storage. If you have really low sequential reads (50-60mb/s) it is a common hardware problem, i believe related to faulty hardware encryption. A temporary fix is completely wiping the phone with miflash and the full fastboot rom but the issue will come back in a few months.
Thanks for your reply

I just ran the test you mentioned, I have attached the result.

Im not sure if these read/write speeds are good or bad.

I will try the miflash solution if I need to.

I just thought there might be another solution.
 

Attachments

  • Screenshot_20210925-120513_Cross_Platform_Disk_Test.png
    Screenshot_20210925-120513_Cross_Platform_Disk_Test.png
    164.8 KB · Views: 109

Goalach

Senior Member
Nov 11, 2016
161
30
Hello @infrag
I'm a little irritated and maybe you can help me further.
When I look at the following Internet pages, Dipper atypical changes appear again and again. For example OnePlus or Nvidia Tegra.


Thanks
 

Top Liked Posts

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




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

    Lineage 18.1 Kernels:
    15/06/2021

    Lineage 18.1 Unofficial builds:

    Build 15/06/2021



    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 (TWRP recovery for Mi 8)
    Format /system, /data and /cache
    Install MIUI firmware
    Install LineageOS zip package
    Install [optional] 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!
    19
    so the newest build 04/11/2019 uses Xiaomi Q blobs.
    Therefore it has some bugs:
    I havent got bluetooth audio working yet. Bluetooth calls seem to work fine though.
    Sound: Speaker works if you make a phone call first and switch to speaker during the call. After that everything else starts working.
    Edit: fixed. - GPS all satellites should show up now.
    Android Auto fixes probably havent been added yet to lineage but when anything shows up I'll add it.

    The reason this build took so long to be released is that Q radio blobs kept causing a reboot when data was used and switched to low power mode. I believe I have fixed this.


    https://drive.google.com/open?id=1bhurP2zIyZf93jJzSN1IBbiMBhmbSd_h

    Edit: Uploaded the correct build now. Also added in gps fix
    17
    Also fyi I'd hoped to have anther build up by now but since lineage has changed to 17.1 branches instead of 17.0 my build system is a bit of a mess. Waiting for all the repos to be updated to 17.1 before releasing anything. Hopefully it wont be too long...
    15
    18/12/2019 finally a working q build with q blobs and working audio.
    havent tested it a lot so any bugs let me know. There will be a v2 of the audio fix/change. This fix was just to make it work. :)
    14
    new build in OP.
    For android auto users unless I say otherwise I have not fixed your problem yet. :|