yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] hypern0va:
I'm sorry, the problem was related to WhatsApp and somw other apps not being properly registered to GCM. I use microG and this didn't happen before. Now I've registered everything and push notifications work well again.

However, I would like to know more about the "target" entry when flashing in TWRP: it still reports about OEACNFA, so something of the Chinese ROM is still in my device, can I know what it is and how could I modify it? Thanks

---------- Post added at 10:10 PM ---------- Previous post was at 10:08 PM ----------

Also, I would advice for a clean flash for the latest ROM since dirty flashing (flash firmware, flash vendor image, flash ROM) brought me to bootloop.

Clean flashing fixed everything.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
The Target entry is just the old build signature thats listed when I compile the ROM. I'll update it at some point to a newer version but dont worry about it for now.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] 3dxtrip:
Using MIUI EU ROM 10.12 as Base and when installing vendor.img provided by Infrag I get a loop to TWRP.

Tried to install without installing vendor image and LOS just crash.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] maxniper:
You have to go to wipe/format and type yes on TWRP, make a backup of internal first.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Vihru:
pixel-setup keep crashing after fresh install of latest lineageos16 and opengapps.. what i need to do?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] hypern0va:
Same here, just finish the setup in a way or another and then, once you'll be able to use the phone normally, set it up correctly though system's settings.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] desvariando:
Thank you!

Do the images in the OP include ARB? Or it does not apply using TWRP?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] thiagoserrao:
4G+ is working on this rom?

The bands agregation B3+B7
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] lost0ne:
Anyone else have an issue with Android Auto? After awhile, I'm unable to unlock my phone. The display just flashes like crazy and I have to hard reboot the phone. Yet, the Android Auto works fine the entire time... Lol.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] extremegreat:
Can we expect to fix the problem with gcam 5.3 and 6.1 ?

On Poco f1 it already fixed and BSG's builds works: https://xdaforums.com/poco-f1/development/rom-lineageos-16-0-t3849934/post77865671#post77865671

On our device works only 5.1 (
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Daniel199:
Gps not working:/
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] extremegreat:
Works (indoor test)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] hypern0va:
So did anyone find a working GCam other than MGC_5.1.018_MI8_V1b?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] extremegreat:
We need some fixes. On Havoc OS works alk mods by BSG
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
new build added to OP.

Gcam 6.1 now works.

Updated sources.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aittamattia:
Infrag, I've noticed on latest unofficial build that sometimes brightness is getting a bit too low when I'm outdoors and I've either manually fix it or it will fix itself within seconds.

Also, every once and a while camera stops working and I've got to reboot the phone, this has happened to me on latest two unofficial builds, I wasn't on Lineage earlier. Do you need some logcat if it's happening again? I'm using two versions of GCam and also ANX camera and it happens to all of them.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Hydro24:
Hey, I didn't notice any problem with brightness, and I never had a crash with Google Camera by BSG. It happened to me on some builds and other roms, but not with latest unofficials. Try flashing latest firmware, maybe it will help :-l
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aittamattia:
I'm using one of BSG and one of San1ty, just for the record, so I guess it's something on my side. I'm on 9.6.20 firmware, should I update to 9.6.27 or either the 9.7.18? Still I haven't understood which firmware is supposed to be flashed along with unoffical build.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Hydro24:
[ROM][OFFICIAL] LineageOS 16.0 - Xiaomi Mi 8

I use Sanity's build too, I would recommend to flash lasted fw, or clean flash maybe. Unfortunately it's no reliable science on the matter ^^'
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aittamattia:
Yeah, thanks! Can't do it now, but I'll try later on.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Happy if you send me logs.

I cant do much without them :)

I havent personally had gcam crash with latest builds but I havent used it much in the last week.

The bugs I'm currently working on:

1. Gps crashes after a period of time. It continues to function but its annoying. I believe this is due to smartlock/geo location settings.

2. When you play a HDR video on youtube the display mode changes correctly to HDR but then switches back to a default colour mode.

Both these bugs seem to be present on official & unofficial builds.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aittamattia:
I sent you the logs on PM. Maybe it's related to some mistakes I made during installation, I gave you some extra details on my message.

About the two bugs you're working on, yesterday I drove for a couple of hours with GPS on and I haven't noticed issues with Google Maps. I see you say it's still working anyway, but what should we notice on our phones when the bug "hits" the system? (Do you say like that in English? :confused: )
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Ferr1s:
Hey guys. I m not sure which component of my device is responsible for this but i cant put in my pincode while starting TWRP. I have to install magisk 19.3 cuz the Update via magisk App doesn't work. So i reboot es into TWRP and there is no pincode question. As a result i See my files and folder encrypted. Anyone had this issue maybe?

Gesendet von meinem MI 8 mit Tapatalk
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Which version of TWRP are you using?

There are some keymaster (to do with encryption) issues being discussed on lineage at the moment.

Are you using this version of twrp? TWRP 3.3.1-0 Unofficial by mauronofrio

https://www.androidfilehost.com/?fid=3556969557455275724

If so it should be working.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Ferr1s:
I m using 3.3.1-0 and I downloaded it from the twrp homepage.

I finally solved the magisk problem by updating via sideload but when I reboot into twrp it is still all encrypted. updating too 3.3.1-1 which is now the latest vesion for dipper dodnt work. I used sideload too.

what is the best vesion of twrp right now? the unofficial u posted?

edit: OK I installed 3.3.1-1 via fastboot flash method and now dectryption works again!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Nebukadneza2:
NFC for german EC-payment?

Hi,

I’m using the official build 16.0-20190720 together with vendor `miui_MI8Global_9.5.30_566ba14ed2_9.0.zip` from https://xiaomifirmwareupdater.com/#weekly with Magisk (19.3 (19300) / 7.3.2 (224)). I did previously try vendor 9.4.18 with the same problems, and all 9.6.x (including 9.6.4 and 9.6.27) don’t want to boot, spouting tons of »GLSL compilation error«s on boot¹.

My problem is that NFC works (I can and write NTag215 tags), but NFC for Payment using »Sparkasse Mobiles Bezahlen«, a German banking app that emulates NFC payment of the here-local EC-cards does not work. Thanks to Magisk-Hide, I can start the app and add my card just fine, but when slamming the phone onto the payment terminal, nothing happens — neither on terminal nor on phone side. I tried moving it around a lot (thanks to the NTag215-experiments I know where the antenna is …), but to no avail.

I found this:

But checking that file, the corresponding setting in the XML already is set to »1.1«.

I’d greatly appreciate any help!

¹: Actually they do boot — they just don’t display anything, the screen is black. I can type on the screen though, if i know where to press … so it’s really some kind of GL/shader/output/… problem(?)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Distant Duck:
Hello. Have you thought about developing LOS for Mi 9 SE? It would be a great addition and many users are waiting for it.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] tw123114:
Official LOS 16 after the unofficial one

Hi, I am trying to install the official nightly LOS 16 ROM after installing the unofficial one (from OP). Unfortunately my phone doesn't seem to boot after the installation -- it just boots to fastboot mode. If I install the unofficial ROM it boots just fine.

If there any way to install the official version without flashing Disable_Dm-Verity_ForceEncrypt as I want to have an encryption with official ROM?

I tried both official TWRP and mauronofrio's version if it matters.

P.S. The reason I've tried the unofficial ROM is that I wanted to encrypt my phone but it corrupts /data, so I've assumed that the Disable_Dm-Verity_ForceEncrypt was flashed earlier, so I've attempted to "restore" vendor as it "disables" Disable_Dm-Verity_ForceEncrypt as far as I understand.|

Thanks in advance!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] redcquiem:
You've tried to update your firmware? That could be the problem, I recommend you to use 9.6.20.

In addition if you come from a encrypted rom you have to format data (don't wipe, format).

Do this two thinks and your phone will boot.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] tw123114:
Thanks for the reply!

Where I can find it? I know there is a post with most of firmwares on XDA by [MENTION=6885117]the_virus_ua[/MENTION], but I rather have extracted it myself from official (by Xiaomi) ROMs if you can point me where I can find the specific version (I can find only the version for MIUI 10 on the site) and which files I should use. Despite the original problem I find this knowledge is quite useful to have. :)

I see, I did both (format + wipe) every time.

P.S. [MENTION=6885117]the_virus_ua[/MENTION] suggested to install Magisk if I want to preserve encryption, but I'm not sure if it is true.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Hi

If you bought me the phone I'd do it sure. :good:

Since I dont have one I'm not really interested sorry.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Both official and unofficial lineage will try to encrypt your device on first boot.

I never ever flash force decrypt/encrypt.

Your probably trying to boot official without flashing the stock vendor.img to go with it?

Unofficial builds contain a source built vendor.img. You need to flash stock vendor.img when you flash back to official builds. This is linked in the OP.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] tw123114:
Thanks for the reply!

Yes, I guess it is the case.

I guess I can use the 9.4.18 vendor.img from the OP, but could you please explain how can I obtain newer versions? Should I just download global recovery ROM from the official MIUI site and copy the files with the same names as in one from the OP preserving the structure and then flash obtained .zip? Or should I make some modification to not get the bootloader locked?

I have a Chinese version so I am a little bit concerned about this issue since the bootloader on my phone was unlocked by the seller. I know there is some procedure to relock the bootloader with Chinese ROM and then I would be able to unlock it by myself, but I don't want to wait ~2 months.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Hydro24:
Go for unofficial build if you want to make things as simple as possible. Unofficial is as stable as official.

You should try to find answers on the web instead of asking the dev of a rom, they are usually quite busy. These are basic questions about how to flash to flash a rom on the Xiaomi Mi 8. Anyway... You should flash the global MIUI rom first to get vendor installed. You'll find it on the official Xiaomi/MIUI website. Please refer to https://xiaomi.eu/community and https://xdaforums.com/mi-8 for more threads and information.

Edit : sorry this was a bit condescendant, but I see these kind of questions A LOT, and they have been answered many times. I gave some steps for installation earlier in this thread if you wish to find them ;)

[MENTION=1187148]infrag[/MENTION] maybe 1st post could be more beginner friendly. I could write some installation procedures for you, as well as giving some useful links and tips. Because obviously some people still get lost, as I also did in the beginning.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] rodries:
Charging speed on unofficial

[MENTION=1187148]infrag[/MENTION] I have noticed that the charging speed in unofficial is slower than official.

Official:

voltage: 12v

Amp: 2750 ma

Watts: ~30 watts

Unofficial:

voltage: 4.3v

Amp: ~3000 ma

Watts: ~15 watts

Can you take a look?

Thank you for your effort improving our mi8
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Hydro24:
I get 30W with unofficial. 3000mA * 10V (source : FK Kernel Manager)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] rodries:
Then fk manager is wrong.

I have tested again. Using ampere and checking voltage_max value.

cat /sys/class/power_supply/battery/voltage_max

The value is 4400000

Enviado desde mi Pixel 3 XL mediante Tapatalk
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] tw123114:
All guides I've seen suggests either installing MIUI global ROM which requires reinstalling LOS or installing some "magic" .zip without description how this .zip was obtained which doesn't answer the question "How do I do such .zip myself?".

Anyway, thanks for the links, I guess I can find something useful there.

No problems.

---------- Post added at 09:25 PM ---------- Previous post was at 09:24 PM ----------

Does anybody has both (bottom) speakers working? I have only right one working and the left one is silent.

I know there is a Magisk module for "stereo", but as far as I understand it enables the ear speaker and it's not what I want.

UPD: I use nightly official (22 july) LOS 16 with vendor.img from the OP. Should I update the vendor.img?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Valdrio:
That's a strange charging voltage
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Hydro24:
Actually, it shows 3097mA and 33W right now
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] ecabmad:
i did a fresh install and my device appears as uncertified in the play store and it doesn't show the Netflix app :/
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] rodries:
Check voltage with terminal

cat /sys/class/power_supply/battery/voltage_now

while charging

Enviado desde mi Pixel 3 XL mediante Tapatalk
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Valdrio:
Cool, didn't know.

To me it shows around 4.2 values, not 9 or 12
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Hydro24:
I read 4391346 now, I'm at 84%. And FK says 1628mA and 33W
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Hydro24:
[MENTION=1187148]infrag[/MENTION], I coundn't make sure of it, but now I got the evidence : brightness gets back to around 20% after the phone have been put down for a few minutes. I was in complete darkness, brightness set to 0%, and it happened. It's pretty annoying, here's a log.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] rodries:
Obviously is wrong. 4.3v * 1628ma is 7 watts

Enviado desde mi Pixel 3 XL mediante Tapatalk
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] solrak_rainbowarrior:
Battery

Hi all, fisrt of all, thanks for your work.

Last update lineage-16.0-20190723 is killing my battery.

I was using lineage-16.0-20190714 and I took 6,5h of screen, 1,5 days and consuption until the 15% of battery.

Now, with lineage-16.0-20190723, consume 25% of battery with 50 min of screen, and no other consuption.

Thanks
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] magisk3776:
I don't know why the memory usage of the system is particularly high. Sometimes I can reach 5g. I don't know if it is the reason for this system. I have generated a report. I don't know how to give it to you.

.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mar.ur:
I moved from global stable 10.3.3.0 to 2019.07.23 official LOS 16. I've got update to 24.07. My banking apps working and don't get any errors. I can add banking card in Gpay but NFC not working when I try pay.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] berglh:
Thanks for the explanation. It had been broken for me on a previous unofficial build due to the GPay/Google Services breakage anyway, so being patient for fix merging is fine by me. I'll keep an eye on the repo. :good:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Konskl:
[MENTION=1187148]infrag[/MENTION] which vendor is the recommended one now for the official version of LOS? Can we just flash the latest official global stable miui 10.3.4.0 and then flash the latest official los version or global beta vendor is still the recommended one?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Distant Duck:
You can always make a crowdfunding in the device's forum, you'll probably get the money for it.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] najabi:
understanding vendor sources

So Infrag, if I understood correctly, Los official doesn't include vendor and it needs to install 9.4.18 from gdrive link. I guess we can also install newer vendors aswell..

Los unofficial version, which source does vendor come from / where is it built from? Does it come from Mi Mix 2 sources?

Are latest changes in gerrit being built into latest unofficial (20/07/2019) and official?

What they call 'the device tree' or 'device common' in sources is related to this vendor image?

Vendor related files are stored in which device partitions? /system and /vendor?

Thanks you so we can understand it better.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] huytoan9882:
What is the difference between official and unofficial build?

The unofficial already includes the vendor and the official does not. Am i right?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
If anyone with Android Auto has time and wants to try something for me I've compiled an unofficial rom with some display files from Nokia Sprout. It may or may not help. If you feel like testing please let me know.

https://drive.google.com/open?id=15R_BFl-nBMwI04-OiQl5LRekdsXP1qO8
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aittamattia:
Dirty flash over latest unofficial, I lost fingerprint unlock. Option isn't there anymore.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Logs?

Also did you test android auto as that's what that build was for
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aittamattia:
I'm about to send you a PM. Haven't been able to test it to auto, too, but I did noticed fingerprint not working.

So this build is only about Android auto changes?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Thanks for the log.

Unfortunately its not what I need.

I need a logcat from boot from when the phone turns on.

Otherwise I miss the initial denials that stops fingerprint services starting.

if you have access to a computer with adb installed:

adb logcat > fingerlog.txt
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aittamattia:
I've sent you another PM, next time I'll remember to take logcat from boot, thanks! ;)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] ClarkyCat:
I've only been out for maybe 20 minutes, but so far so good. I've not had to disable overlays and there's no flickering after disconnect.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Thanks for the reply.

I'd be interested to know if the trend continued.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] shinink:
Hello!Sorry for my offtopic question but i want to know if our screen breaks where could we find an original genuine screen like the stock one? Except xiaomi service because they don't accept the china purchased phones here in Europe! Thank you and sorry for the off-topic!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] tsongming:
Yes, this site sells OEM Mi8 parts so they are not aftermarket.

https://www.witrigs.com/oem-screen-replacement-for-xiaomi-mi-8-black
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] shinink:
Nice thank you! One more question is this more reliable than dragon-tt? And what exactly OEM means?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] tsongming:
I have never bought from them but I found the site from some YouTube video, I don't remember the video, and the person was pleased with their service. As far as I know they are completely legitimate and they would need to be a reputable company to obtain a OEM contract.

OEM means " Original Equipment Manufacturer. ( Value added Reseller) So their parts are the same indentical parts used in the Official finished Mi8 product. Same serial numbers etc.

I used to work for a manufacturer and my job was to setup dealer's to sell and service our equipment. Because, our primary focus was manufacturing and not repair and service.

In my experience, to be able to advertise that the equipment is OEM means that the parts come directly from Xiaomi or from a 3rd party with Xiaomi's blessing... usually at 40% margin for the dealer. So yes, I believe this site to be legitimate and I am not familiar with the company you mentioned. But my guess is that they too, are an OEM distributer.

Edit:

It turns out, that this company has been around for 10 years, and they are also a distributor for Apple and other Electronics manufacturer's.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
So anyone else with android auto tested?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] ClarkyCat:
I've been for a few short trips to the dump today using AA, and it's not quite 100%, but it is much better than previous builds.

I'm not using the dev disable overlays option at all, and on unplug have no flickering issues with the phone.

I'm still seeing the row of icons at the bottom of screen disappear occasionally, but I can get those back by switching to the car radio and then back to AA.

Thanks, infrag!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
So thanks for testing. :good:

This doesnt mean its fixed yet as I'd still have to convince the other Xiaomi maintainers to adopt these display blobs too.

If I can get this properly tested by others and its useful I'm happy to suggest it to them.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Ignifazius:
Just flashed it (dirty over official, no issues so far). Will test android auto tomorrow.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] thanostonia:
Gays any solution for gms wakelock?

Στάλθηκε από το MI 8 μου χρησιμοποιώντας Tapatalk
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Ignifazius:
I made 2 trips of about 20 minutes. Felt a bit smoother than before, but could be imagination.

Can confirm ClarkyCat's commetn about the NavBar: For me the buttons disappear (they are only invisible, but still usable) on first click on it, but can be recovered by switching between car and AA. (-> will send logs via PM)

Not AA related and maybe caused by dirty-flash: the battery-LED ist too bright and ignores its settings; low battery indicator feels too agressive (very fast blinking).
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] aRnonymous:
Do you mean you can use nfc payments (tap& pay) with banking app or os it Gpay?

My nfc payment go through bank app not through Gpay, so they dont work.

It seems Gpay was solved with a fix somewhrre in this thread, but banking apps' nfc not.