yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
This is the current bug (maybe the weirdest bug) since lineage-16.0 in mi-845 families.

The current issues is related with the network data connection going blow up when we use USB Tethering with HSDPA/WCDMA in it.

I think this also happen in beryllium, acording to this issue

https://gitlab.com/LineageOS/issues/android/-/issues/1649

Based on the dmesg there is something when wrong with the wlan driver

Reported by dmesg in lineage-16.0

wlan: [10576:E :HDD] __wlan_hdd_ipv4_changed: 926: Adapter context is invalid 0000000000000000

Reported by demsg in lineage-17.1

wlan: [9057:E:HDD] __hdd_validate_adapter: 857: bad adapter magic (via __wlan_hdd_ipv4_changed)

Try this to reproduce the bug :

1. Set the network data limit into 150gb to avoid from the weirdest bug

2. Switch "Prefered network type" into "TCDMA/CDMA/EVDO/GSM/WCDMA"

3. Connect your phone into PC

4. Use USB tether with the network connection activated in HSDPA/WCDMA

5. Surf the internet in your PC/Laptop for some minutes (Make sure your phone using HSDPA/WCDMA network connection)

6. If the data network going blow up more than 150gb, replay this message

Sorry for mention you both here [MENTION=1187148]infrag[/MENTION] [MENTION=455439]bgcngm[/MENTION], but i was trying to fix it and still got nothing.

Edited:

Also happen in Polaris
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Adai0:
Marke sure, your device is correct. This thread is abut mi8, not mi8 lite. Then, follow the Installation guide for your device in the official lineageos site.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] stepi1:
Device and files are correct.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] arifqur:
Try flashing DisableDM-Verity zip after flashing the rom. Just might work
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Adai0:
Can you directly boot to any Version of official TWRP using fastboot (without flashing)?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] stepi1:
No. Tried 3.3.0.0 to 3.3.1-2 and no, it wont boot. Orangefox R10.0-3 works but recent R10.1 won't boot

Went so desperate that i even tried official lineage recovery but it wont work either.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] stepi1:
Managed to boot in lineage when used different kernel, looks like it has something to do with touchscreen firmware, my touchscreen is manufactured by FTS . This is secondhand phone so screen might be replaced or not, i am not sure and don't have any way to contact previous owner anymore.

Weirdly enough every version of stock MIUI from android 9 to 10 has been working flawlessly even MIUI 12 from xiaomi.eu worked just fine, only problem is that i don't like MIUI at all :D

Currently only working recovery is orangefox R10.0-3
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Neeko72:
Hello, i have the same problem, my screen has been replaced. Only ROMs that work for me are miui stock or Custom.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] stepi1:
No gravity kernel and revolution kernel works for me, at least on LOS 17.1 and PE

Wonder if there is any way to know if the display has been changed?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Neeko72:
only if you open the phone and see for yourself i guess, docs with the screen info, calibrations etc are all within the OS, its rare but happens sometimes that you get the accurate display info readings directly from the display(?)(at least happened to me 3 years ago on a Mi5 replacement screen) you should try some apps from the play store that read this info. dont i need to remind you how amoled works vs lcd, simply if your screen lights up backlight on black colors its ips. If its ips its definetely not the original panel as this device only ships with amoled. i am saddly currentlly running an lcd ips panel on my Mi8, got scammed on ebay some months ago.. compatibility problems are somewhat bad in this case. i hope i could edit an OS specifically for my panel. tbh tho i dont really have that much time, most heavy problem for me is that i cant run like any custom ROM..i m not sure its the display tho, how did you come up with that?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] stepi1:
I am sure this is amoled screen, at least there is no visible backlight at when there is black image on screen and brightness is full. Markings of screen shown by hw info tool also match with original screen as far as i know. Have been reading and googling for a while now and there are report here and also on xiaomi eu forums same kind of problems when users have replaced screen, even when the screen is supposed to be a original and have matching information as original but it's just not working.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] PetlingJaya:
Any news on that issue?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] :
I'm on June 5 build (last one for now) and I'm using Google recorder to record ambient sounds and no noticed to any issue with recordings.

Also, no one issue with recorded calls (I'm using Dialer app from Apr 23).
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] debugloop:
Unable to boot

I've installed the June 5 Build just this morning and have been unable to boot since. It's getting stuck in the animation and then rebooting to recovery after approximately 5mins. I've updated my TWRP to the latest version, tried flashing the build from May 30 (random choice), disabled all Magisk modules using mm, reflashed June 5 (as it's known good from the responses in this thread), flashed Magisk over it, but still the same.

Sometimes Recovery starts logging that its fstab has a problem, but I don't know if that's relevant.

Any idea on how to debug this? Anybody else with that issue?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] :
Isn't a LOS bug but a OpenGapps bug.

Search for my previous post...
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] debugloop:
Ah thanks, I didn't realize. Still I have some questions:

1. How do I edit? Selecting system in Mount menu yields nothing on my laptop, and TWRP does not seem to provide an editor in its Terminal...

2. Out of curiosity: how did you get those logs, I'd like to have some clue next time...
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] :
0) "adb shell mount /system" to mount /system

1) "adb pull" to copy the file from the android to your pc

2) edit the file according to the instructions

3) "adb push" to copy the file from the pc to the android

4) reboot

and for the 2nd question, I have executed "adb log" while device bootsup (I normally do this after flash a new version to detect this kind of issues).
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] debugloop:
Thanks so far, I actually don't have a privapp-permissions-google.xml file, just on -platform.xml... I would check the logs myself, but the logcat command seems to have some permission error on my system. I'll investigate and update this for other searchers after me. Thanks for the pointers in any case, it's been what I needed to do something about my current situation :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] :
I think you are not looking well :LOL:

If you use OpenGapps the file is here /system/system/etc/permissions/privapp-permissions-google.xml from recovery, or /system/etc/permissions/privapp-permissions-google.xml if your device has been started normally
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] debugloop:
I'd love to be wrong, but I am looking well enough:

dipper:/ # ls /system/system/etc/permissions/privapp*
/system/system/etc/permissions/privapp-permissions-platform.xml
/system/system/etc/permissions/privapp_whitelist_org.lineageos.audiofx.xml
/system/system/etc/permissions/privapp_whitelist_org.lineageos.lineageparts.xml
/system/system/etc/permissions/privapp_whitelist_org.lineageos.lineagesettings.xml
/system/system/etc/permissions/privapp_whitelist_org.lineageos.setupwizard.xml
/system/system/etc/permissions/privapp_whitelist_org.lineageos.updater.xml

Still I can't get logcat to work, as I've never used adb my laptop is not authorized yet, and I can't seem to fix this without a bootable system...

EDIT: I have reflashed gapps, somehow my tinkering seems to have removed it entirely. It boots now, the latest gapps already includes your line too. Thanks again! :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] :
Welcome, and do not forget to click the "thanks" button when an user helps you ;)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] michielm74:
Hi all,

I have installed this rom together with opengapps and a gcam from urnyx. However I last recorded a video using gcam and noticed the recorded volume is very low. Can anyone help me to fix this problem? Is it opengapps related, rom or firmware. How to fix it?

Thanx guys,

Michiel
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] PetlingJaya:
I and others have the same issue... [MENTION=1187148]infrag[/MENTION] tried to fix it but it did not work. So no fix so far...
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] sheg0:
Latest build fixed android auto for me.

Nice Rom and seamless updates. Thank you [MENTION=1187148]infrag[/MENTION]
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
Hi. Is there a way to delete pre-installed apps before building. I have already tried to delete some apps from / packages. That does not work. Somewhere there must be a script or something similar. Unfortunately I don't find this script. Can someone help me ?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] berglh:
[MENTION=1187148]infrag[/MENTION] & Co. Thank you again for another fantastic ROM. I just wanted to report some of my problems, perhaps most of them will be mainline issues.

My setup

ROM: lineage-17.1-20200605-nightly-dipper-signed.zip

Firmware: fw_dipper_miui_MI8Global_V11.0.4.0.QEAMIXM_5e74c6110e_10.0.zip

GApps: open_gapps-arm64-10.0-nano-20200606.zip

Magisk: Magisk-v20.4.zip

TWRP: 3.3.1-2 Dipper

1. Unable to turn on/off simcards (Kind of useful for my travel to Taiwan, unfortunately that won't be happening any time soon)

2. Unable to configure/find face unlock (Is the IR camera working, what should I look for in logcat?)

3. Incoming LINE calls no longer full screen, but appear as a notification. Need to unlock phone and then click answer on the notification. Screen doesn't light up on incoming call. I've check notification permissions and screen overlay, the app has access to both. I haven't tested an actual phone call to see if this is similar. (Could be just a system setting?)

4. I run my screen with small text and high display DPI. Icon layouts and icon sizing for Trebuchet seem to be not as flexible as the 16.0 build. With a 6x6 layout, I am unable to get the same icon density/scaling as before. (this seems like a mainline ROM issue)

Kind regards,

berglh
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Hello

I'll answer the questions I know the answers to. I may have to get another sim to test questions related to this.

2. Face unlock was remove from Gapps in android 10. Therefore there is no face unlock in lineage. Others roms have a non open source version from other phone vendors they have made to work for their rom. Lineage has not done this at this stage.

3. If your refererring to phone calls my calls come through full screen and the screen does indeed wake up like normal. What app are you using?

4. I dont use Trebuchet. I use nova launcher. I'd suggest using a different launcher as i dont think there is a lot of time spent improving trebuchet at this point in time.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] berglh:
Thanks, I seem to recall something about other phone vendor DMC take downs previously, so this makes sense - I was thinking by looking at my phone and it unlocking, I could get to the full screen ring. I wasn't using this in Lineage OS 16 anyway, so I won't miss this feature if I solve my full screen call issue.

I'm using the app called LINE. It's a popular/highly used Video/Voice Call/IM application in eastern Asia (Japan/Taiwan/etc). Basically, I can hear the LINE program ringing the phone, I have to unlock, press the notification of the LINE program and then the full screen answer phone display appears like I'd expect without having to unlock the phone. The actual incoming call screen looks very similar to the default Phone app on a call, where you swipe horizontally to accept or deny the call.

I will get someone to try to call me to test the standard voice call works correctly so I can limit it to a specific application permission. I've been missing LINE calls when my phone is on vibrate mode because I'm relying on the full screen wake to notify me of the incoming call, more so than the vibration itself.

I will try this out, thanks for the suggestion.

---------- Post added at 05:23 PM ---------- Previous post was at 05:01 PM ----------

I've now tested with the standard phone call app and Facebook Messenger Lite and both display full screen incoming call alerts even when the phone is locked. I'll dig into app permissions further and see if I can figure it out from there.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] 2310greg77:
Hi ..I just installed this ROM..with mini opengapps..during my first set up the android set up keeps crashing..any suggestions ..thank s alot
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mar.ur:
Change launcher in default apps settings.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] G A S T:
Wow. Again no Nightly-Updates since a whole week. Are there still any problemls with the build servers?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] arifqur:
Yeah! I was wondering that too
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] berglh:
[/COLOR]

I managed to resolve this issue, for some reason the app's setting for call notifications was set to "Silent" internally. Setting this to "Alerting" and "Pop on screen" seemed to return the incoming call display. Strange, because it appeared to be like that by default.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aittamattia:
New build is out now and it seems that Lineage is pushing weekly updates, check the build page and schedule and you'll notice that every device has a weekly schedule.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] hoatienii:
Dose this ROM have certified google play protect?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aittamattia:
If I enter the Play Store and look for it in setting, it says it's not Play Protect certified.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] panjivegency:
Bro fingerprint sometime not work and slow respon
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] nemanja066:
where is this option? Thanks.

https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/277132/
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] indishcurry:
see Settings > Display > Styles and wallpapers > Clock or directly via home screen long press > Styles & Wallpapers > Clock

i like it :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] sonof:
How to decrypt before flashing this ROM? I have an old AOSiP ROM but apparently still crypted.

Doea this have OTA updates?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] maval1ty:
Hey there,

many thanks for the great work of bringing LOS 17.1 to dipper!

On build lineage-17.1-20200611-nightly-dipper-signed.zip everything works perfectly for me me except for the sound quality during voice calls. I can hear everybody clean and sharp but other people hear my voice dull and hollow.

This issue only appears during voice calls over the mobile network - when I record a voice message and send it via Conversations / WhatsApp the voice is crystal clear.

Does anyone else have this issue?

As I have replaced the screen recently I was not able to get LOS 17.1 to boot properly unless I flashed a different kernel ("mipa_kernel_dipper_v.9.2.zip") from this source: https://androidfilehost.com/?w=files&flid=284343"]https://androidfilehost.com/?w=files&flid=284343

I understand that using a different kernel is not supported but I would really appreciate to know whether anyone else is facing the same voice issue with the stock kernal, too.

If I am the only one with this issue then it is probably related to the mipa kernel.

Thanks again for the great work!

Cheers

maval1ty
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] odyss199:
1.) reboot into recovery

2.) wipe Data (with "yes") (ALL your data will be lost, make sure you got a backup)

3.) wipe System/caches

3.) reboot into recovery

4.) flash rom

5.) flash Disable Force Encrypt zip

6.) flash gapps magisk or whatever

7.) reboot and profit
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] yfantini:
Shutdown Alarm from MIUI

Hello guys!

First of all thanks to all you from the Lineage development, in special Infrag for supporting Mi 8. I´m trying to learn the most of this modding stuff. It´s amazing how far the Android system can go in options about changing this deep the phone.

I have a Mi 8 pure stock and I want to switch to a clean Android OS (probably Lineage) and there is a feature in the OS that amazes me is the Shutdown Alarm, I think it´s amazing a OS boot in scheduled time. The real question is this Shutdown Alarm feature I still have changing the SO? It´s a feature from the SO or the App? You think I can have it after switching to Lineage?

If someaone have suggestions about videos or sites to learn about unlock bootloader and all the process about switching to Lineage please sent.

That´s it, again, thanks to all you guys for all the information and details that makes Android so interesting.

PS.: Sorry for my english, I think I commited a lot of errors...
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Schwinni:
That is correct. See https://review.lineageos.org/c/LineageOS/hudson/+/277185
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] indishcurry:
interesting discussion about lineage clock: https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/277865
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goldeneye007:
I don't understand what they mean.

Someone is complaining that the LineageOS brand logo is being used on a ROM of their own.

I do not get it.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Jacksongutz:
Can u make lineage complatible with GSI?

Please, Can u make lineage compatible with GSI? cuz has some bugs.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] arifqur:
Dude stop posting the same ***t everywhere.

And explain what you mean by that question.

And whatever your answer is, i can safely say that its not going to happen.

Also which device do you have?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] daniyel01:
I can confirm problem with switching default SIM card for mobile data as well. Sometimes pop up screen to confirm SIM change doesn't appear. When that happens, I have to reinsert both SIMs or switch their places in order to make it work again
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] macomaco:
It is not necessary to remove data SIM. Just uncheck and check again "mobile data" option on data SIM card. Works with lineage-17.1-20200625-nightly-dipper-signed.zip
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] nemanja066:
When I tap install it displays an error. i have the latest version orangefox recovery, can it work, or must be TWRP. Thanks.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] oo8tcu:
First of all, big thanks for this rom, it's been working great!

I dirty-flashed to 17.1 this week and it worked very smoothly.

However, I noticed that I have a 800x1500px zone in the middle of my screen, which does not respond to touches anymore. I'm pretty sure it was not there before the update, but it might just be a coincidence. It's worth noting that it's also there in TWRP. Made a quick screencap to visualize the issue: https://gfycat.com/distantkeeneyas

I was hoping that someone could confirm this to be a software issue, as I'd really wouldn't want to go replace my screen on a 8-month-old phone ;-(
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] G A S T:
Pls do not use Orangefox. I recommend you to use one of the two latest TWRP-Versions. TWRP 3.4.0.0 is out now since a few hours;

https://xdaforums.com/mi-8/development/recovery-unofficial-twrp-recovery-t3893823/post82920209

And ofc you must install the ROM together with the latest firmware package from yshalsager's xiaomifirmwareupdater.com.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] daniyel01:
I haven't tried it on the newest build but i know what i wrote, when that bug happens on previous builds, check/uncheck was not working and only way to make it work was to reinsert SIM cards
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] vuvantuan59:
i was bootlop at logo lineageOS .please help me

thankss
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] arifqur:
If you are coming from MIUI you will have to format your data once in twrp by typing "yes". This will completely wipe your internal storage so please make a backup of your files and folders on your pC.

However, if you are not coming from MIUI you can try to flasg DM-Verity zip after flashing the rom
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] DuxteR7:
I have a strange bug with Instagram - it won't see my media so I can't post anything. It has access to files.

Using latest official nightly build. No modifications were made to the ROM
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] DuxteR7:
It was an Instagram problem. I apparently was in beta program. The ROM had nothing to do with it
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] digitalnasarma:
Can someone help me please, I stuck in bootloop on MI logo. I was on MIUI stable before and encrypted. I installed official TWRP and i formatted data with "yes" formated sistem, data, internal storage, everything. I installed firmware official stable based on on Android 10. Installed Lineage but I didn't want to install any gapps. Reboot and I got bootloop on MI logo. Tried few times, same result. I tried different firmware, same result. Any idea what i'm doing wrong?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] arifqur:
Try flashing DM-Verity zip after flashing rom
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] vuvantuan59:
same me

reboot recovery twrp fomat data click yes reboot recovery

wipe data system and cache

flash rom and gapp and DM.zip

reboot system

bootloop fastboot if not flash DMzip bootloop at logo rom LINEAGE 17
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] digitalnasarma:
I try to install no-verity-opt-encrypt-6.1.zip with an error : 1 (error installing zip file) :(

---------- Post added at 12:08 PM ---------- Previous post was at 12:05 PM ----------

Do I have to try with custom TWRP? For Pixel Experience rom they are using some custom TWRP
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] digitalnasarma:
Someone mentioned that maybe my problem is related with the fact that I replaced screen on my phone. Tried few different kernels without success. What a drama :(
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] digitalnasarma:
Only rom that I menage to run on my Mi8 is MIUI EU. (Because of replaced screen?) Anyone have idea which kernel I can use to properly install Lineage?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mar.ur:
https://xdaforums.com/mi-8/help/mi-8-bootloop-display-replacement-t3887988/page6

Try to install boot.img from PixelRom.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] hs73h4:
Hello. I also replaced the screen. Since then, I can only flash the latest wzsx150 twrp. The custom roms which I tried only boot with disrupt and the simple kernel. But lineage didn't boot with either.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
I did make a custom build for people to test who had replaced their screens with kernel changes from Q. However I dont believe anyone reported back at the time so I scrapped further testing for lack of interest. I can do a build again if someone can test and let me know if it works?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] hs73h4:
Thank you for your work infrag. I'm applying for testing.