yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] aXelerator.kg:
Dirty flashed 9.5.8 fw, then 20190508. After boot fingerprint scanner refused to work even as home button. Had to delete all saved fingerprints. Now everything seems to work well.

P.S. Mi6 6/64, TWRP from NeoArian (with index ****-4), filesystem ext4 (f2fs didn't work fo me), latest official Magisk, SElinux enforcing, mindthegapps
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] nokiaer:
:silly:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] 0ranko0P:
I have same fingerprint issue, FPC hardware. These log files might be useful: https://1drv.ms/f/s!AlZeJxMEWUwJmUJdKCRlAEUgF-iR
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] vingerlin:
Is this official?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] domenicocortez:
For the little story... Back to xiaomi.eu, fingerprint dont work, exactly the same thing that happen with LOS 16, and pin password dont work to decrypt data, again. System-as-root and full encryption seems to interfere with twrp on pie rom, and Mi6 is the worst since the last update from xiaomi (oreo to pie)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] CV01:
[MENTION=8746471]NeoArian[/MENTION]

I've tried to flash the update with new fw, but after boot I've realized that my fingerprints data was removed and I can't add new because of "Enrollment failed" error.

I've decided to rollback to the 20190423 version (with installation of corresponding fw), but now my fingerprint scanner doesn't work at all. When I'm trying to add a fingerprint, the scanner works just as home button and returns me to homescreen.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
To be honestly i don't really know what happened to you, you could move on to the new build with new firmware and for the case you have FPC fingerprint scanner you can just set SELinux to permissive for now. (There was a magisk module for iirc). I will push am update as soon as i can but i have 4 exams upcoming and the 5th in beginning of june, i will see wether i find some time between.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Tommytommy1234:
Good luck !
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] CV01:
Ok, now it works.

I want to pay your attention to the small graphical problem in toggles area of notification bar. You can see it on the screenshot.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] mELIANTE:
Settings - havoc settings - screen - corner content padding. You need to disable use framework values first.

Edit: Oh ****, nevermind, I thought I was in havoc thread haha

But I'm sure lineage would have a similar option?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] CV01:
AFAIK the LineageOS doesn't have any options that can change paddings of toggles
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] whitexp:
Lineageos bug , probably in next build its fixed
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
Good luck on the exams, [MENTION=8746471]NeoArian[/MENTION]!

As for myself, since my banking app won't allow me to use Magisk, I'm gonna hold off updating until the dust has settled down on this build, with the Pie blobs & stuff :)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] rtk217:
Had this issue also after going from LineageOS15.1 to PixelExperience 9, install latest twrp in fastboot mode using the command: fastboot flash recovery twrp-3.3.0-1-sagit.img

Good luck
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] domenicocortez:
Already on latest twrp...
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] keepdying:
Hey man. Why dont you become our official maintainer? "Unofficial" makes me sad :p
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] woofwoof75:
My fingerprint also not working. :(

Try to setup again, fail half way.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] drrugg:
Good luck with your exams!

And thanks for putting the time into the builds, it is much appreciated. I hope there isn't any politics getting in the way of enjoying cutting good code.

Got May build OTP didn't see the post saying it needed 9.5.8 firmware :angel: Reverted and working on epic downloads now. (Just incase others had this - was: no 3g, spotty to unaviliable wifi and fingerprint). I imagine its not something that could be bundled in, and the changelog button doesnt link right. Love how your builds are solid and revertable :good:

Edit: Flashed "fw_sagit_miui_MI6_9.5.8_d9bfc370b2_9.0" then "lineage-16.0-20190508-UNOFFICIAL-sagit-signed", updated fingerprinters, working a treat. Thanks [MENTION=8746471]NeoArian[/MENTION] for the great builds!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] themselves:
does anyone else have trouble with charging the device? since upgrading to pie I noticed my phone doesn't get charged by other peripherals like it used to, and only charges when plugged on the original xiaomi charger, which is pretty annyoing. has anyone else encountered/fixed this?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] daanvandewalle1:
MIUI to LOS

Can I go from MIUI 10 GLOBAL 9.5.9 to LOS16?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] camp70:
Format data
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Good evening

I have pushed a new build to sourceforge and OTA.

This build uses only blobs from miui 9.5.15, finally also the camera.

This means that you have to flash the new firmware 9.5.15 which i can be downloaded from my gdrive: https://drive.google.com/open?id=1_MLGSj7ZE6i5NIbGa91uZYTyVHWwJsm0

In the future i plan to ship a MiuiCamera by default instead of the Snap Camera. I have attached a test version of how it should work when i ship it, it would be great if someone tests it and gives feedback, also about the idea itself. It is s flashable ZIP (not a magisk module).

FPC fingerprint should be fixed on enforcing (according to the log i got) but a confirmation about this would be perfect. - confirmed

Happy flashing and have a nice day!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Here comes System as Root for sagit!

In Android 9, non-A/B devices should adopt system-as-root so they can be updated via a system-only OTA. - Google

So we are following and bring System as Root now :)

Downloads

TWRP for System-as-Root

LineageOS with System-as-Root

Install

Full wipe is recommended.

* Flash the TWRP

* Flash the LineageOS build

* Boot it ;D

Treble

This build is of course Treble enabled, but you have to use AB GSIs now! This might be an advantage because all new devices ship as System-as-Root so most GSIs are available for S-A-R.

To flash a GSI you have to Flash the TWRP and LineageOS build but instead of booting at this point you have to wipe System and flash a GSI to system-image and boot afterwards.

Have fun with it ;)

This does NOT repartition your device to AB, it is still A only. Read about it here: https://source.android.com/devices/bootloader/system-as-root

Magisk is NOT supported.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Maarren:
For me full wipe was not only recommended but required. All google play services stopped working without full wipe, maybe something with this system an system-root partition? Anyway after full wipe everything good again. Also indeed no more fingerprint issues on latest builds.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] woofwoof75:
Thank you very much for the updates. Hope the exam went well.

Must I use this System as root version? Or moving forward this is the only version?

No Magisk... Will we miss Magisk?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
When you wipe system vendor and cache and flash the ROM together with gapps through the new twrp build it would work fine for sure, if done correctly.

The exams went just fine (2 are still standing out), not special but not bad either :D

I would recommend to go with the system as root, I guess that I won't do separated builds. I assume that magisk support will be given soon.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] selfisher:
[MENTION=8746471]NeoArian[/MENTION] in your instruction is just twrp->rom, firmware and gapps also needs to be flashed, right?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Since the firmware is flashed already for the last build you don't have to flash it again. I haven't added gapps because they are optional. But you are right that if you use them and wiped system you need to reflash them.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] odubinkin:
Hi! Can't install this build over the previous one. Also tried to wipe system and vendor before installing with no luck. Here's a screenshot from TWRP. Am I doing something wrong?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
You miss the new firmware, use the 9.5.15 I provided one post above the system as root post.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] odubinkin:
OMG, was sure that updated it, but flashed 9.5.8 instead by mistake) Thanks, now it works!

About a fingerprint, it works, but it's possible to add only one fingerprint. When trying to add more, it fails just like in previous build.

Also Google camera 6.1 stopped working after update. It just crashes when starting. I'll try with other gcam builds later.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Someone on telegram confirmed me that he can add multiple fingerprints just fine. It doesn't make any sense to me either how it shouldn't be possible. Can you recheck it and also reboot please? If it still doesn't work I would like to take a look at a log of you can share it :)

Good night!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
Quick feedback: firmware plus ROM work! The camera doesn't work for me, but that could be because I'm not on the latest TWRP. Fingerprints work, I think I have the Goodix sensor. I just needed to redo them.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
You refer to the miui camera? You have to grant the permission manually. The camera at all should definitely works just fine.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] selfisher:
[MENTION=8746471]NeoArian[/MENTION] is there a way to turn on dark notifications? Even with dark mode I have light notifications
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] SHJordan:
Do i still need gapps for this?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] selfisher:
Yes
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] aXelerator.kg:
Dirty flashed.

But flashlight title not working now. Gcam and Snapcam not working either.

How can I fix that or how to properly downgrade?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] SHJordan:
Tried flashing the miuicamera.zip on twrp, got error 7. Can you give me some directions?

flashed proper twrp for system-root;

flashed fw_sagit_miui_MI6_9.5.15_2e0fe40b75_9.0.zip

flashed lineage-migration-signed.zip

flashed lineage-16.0-20190518-UNOFFICIAL-sagit-signed.zip

flashed open_gapps-arm64-9.0-pico-20190518

problem was on flashing MiuiCamera-9.5.15.zip
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Alessandro999:
any chance to get it OFFICIAL?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
This was the error I got. I thought it might be my TWRP version, didn't update yet, I'm on a business trip, don't want to screw up my phone too much, lol
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] domenicocortez:
miuicamera is already there on sys/root build, no need to flash...
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
https://github.com/ArianK16a/device_xiaomi_miuicamera I have started to work on my repo yesterday, it is basically done now.

I hope that this new structure will help me to keep better updated and organized then other repos.

The vendor/xiaomi/miuicamera will get recreated everytime one updates blobs and updating them is just running the script

Also device/xiaomi/miuicamera just includes scripts to regenerate makefiles and extract new blobs.

Gcam is stupid to ship imo because the user can't easily install his APK if he wants.

For miui camera it is different to gcam, you can never install miuicamera just as apk, you have to flash a zip which would override the stock one anyway. GCam as system just blocks other gcam apks...

So the next build will include this MiuiCamera instead of snap. Has anyone experienced problems while testing the camera at the system/root or the zip?

Permissions are fixed (look at the commits for further details).

Have a nice day!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Barracuda77777:
loving your work, I finally made the move from 8.1 to 9.0, I am using your sources with some minor changes, I have a question:

1) with your kernel source, there is a huge difference ( Showing 373 changed files with 15,789 additions and 3,457 deletions.) between your los-16 branch and the los-16-develop branch. which branch are you currently using for your builds?

thank you for hard work specially in the middle of your exams, wishing you the best of results in all your future studies.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Hey!

First of all thank you :fingers-crossed: The lineage-16.0-develop branch is lineage-16.0 rebased at the latest CAF tag but also with system as root support.

Have a nice Day!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Barracuda77777:
Thank you, will give it a try, I have already excluded the system root commit when I imported the branch.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
System as root is not a one build project by the way. I plan to fully switch because it just brings advantages and according to Google this is the correct way for pie on a only.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] SHJordan:
Can you compile an apk or zip for that? cause the last one just didn't work. =/
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Which build do you use? On the system as root build the camera is already present. On the older build you have to flash the zip I shared along with it. On the system as root build and the zip you will get a error "can't connect to camera" which gets workarounded by giving the permissions manually. This is fixed on next builds :)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] odubinkin:
Hi!

Reboot didn't help, still have one fingerprint added and can't add more. Here's my log.

Also I used this magisk module to enable slowmo in Google Camera. It's not working with latest build, GCam crashes on startup when this module is enabled. So it's impossible to record slowmo now.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] selfisher:
bump
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
There is always a way, you can use swift installer or substratum...

I can take a look after my homework is done. Even though I am pretty sure that the issue is on your side because more people reported that it works fine. Have you tried to delete all fingerprints and readd them?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] odubinkin:
Yes, I tried but with no luck. After deleting I can add exactly one fingerprint, the next one produces error.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] imagine92:
try clean flash, wipe your data. i have fpc sensor too, it works adding more than 1 fp on enforcing.

just try, i have same issue before
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Here comes an update for System as Root at sagit!

- Google

So we are following and bring System as Root now :)

Downloads

TWRP for System-as-Root

LineageOS with System-as-Root

Install

Full wipe is recommended.

* Flash the TWRP

* Flash the LineageOS build

* Boot it ;D

Miui Camera

Miui Camera support has been added:

Treble

This build is of course Treble enabled, but you have to use AB GSIs now! This might be an advantage because all new devices ship as System-as-Root so most GSIs are available for S-A-R.

To flash a GSI you have to Flash the TWRP and LineageOS build but instead of booting at this point you have to wipe System and flash a GSI to system-image and boot afterwards.

This does NOT repartition your device to AB, it is still A only. Read about it here: https://source.android.com/devices/bootloader/system-as-root

Magisk is now supported.

All trees are pushed (lineage-16.0-pie branch everywhere and lineage-16.0-develop branch for the kernel)

NOTE: I plan to completely switch to System as Root so i would recommend to flash this build already. I have skipped this build for OTA because you need a new recovery, i will continue OTA for the next build.

Have fun with it ;)

[MENTION=4193974]Barracuda77777[/MENTION] for the case you change your mind and also want to build system as root, pick this https://review.lineageos.org/c/LineageOS/android_build/+/247066
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] SHJordan:
I'm using the system as root build, but i only got 2 camera apps, one which doesnt even start. what permissions should i give the app that can't connect to camera?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
It seems like you have messed some builds together :D You should wipe system vendor and cache then flash ROM, gapps and magisk. The new build just includes the miui camera with fixed permissions, it will ask you at the first start.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cfibel:
Hi, I've installed latest system-as-root version, but when I try to install GApps after ROM it is saying that I'm using 8.0 27SDK Android. What's the problem?

This is what I do before install:

Format vendor, system and cache.

--

Nvm. New version from opengapps working like a charm.

Sorry!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] benfleet5:
[MENTION=8746471]NeoArian[/MENTION] is a wonderful person, pass it on

Subtopic, do you think we will ever be able to add Widevine L1 to not just Mi6 but any phone without L1?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] SHJordan:
Can i dirty flash the new rom+magisk instead?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] benfleet5:
How is the new version of LOS16 working for people? I'm thinking of coming over from NeoArian AEX
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] svenerator:
Cant flash the ROM. It keeps giving me error 7. Which Google tells me that error means is a check to see if the ROM is compatible with my device (so somehow it thinks I have the wrong phone?). I was on xiaomi EU ROM 9.5.9 Android 9. To my knowledge, I followed all the instructions correctly. I flashed previous LineAge ROMS fine before.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
You definitely haven't followed everything. Error 7 can have more reasons. It can be something with assert failed, that means that you don't have the correct firmware. 9.5.9 or more recent is required. It could also be related to a wrong twrp. You need the system as root twrp for system as root builds.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] svenerator:
Thanks for getting back to me so quick. Just now I tried again, and as a baseline flashed and booted into latest LineAge 15.1 nightly. Used your suggested TWRP. Using advanced wipe, wiped dalvik/art, cache, data and system. Flashed 8.4.19 FW from this link. Then flashed your lineage migration zip, but that already fails and tells me "ERROR: packages.xml not found". Then tried flashing your LineAge 16 ROM from 17 May, which shouldn't be system as root if I read it correctly.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
As I have said you need the new firmware. It is linked within the last pages. I don't have enough time to update the main page today.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] svenerator:
My man, thanks that worked! Guess I was too focused on the initial post...
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Alessandro999:
are there any devs or the los 15.1 dev able to officially build this amazing rom??
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Cozzmy sold his mi 6. According to lineage Gerrit it is decided that [MENTION=3383960]Elektroschmock[/MENTION] will be the maintainer and I can't.

Anyway official won't be a real improvement so far as we have OTA and signed at this unofficial variant.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
You're a very active, friendly and communicative developer, really appreciate it, NeoArian! Will certainly stick with your ROM!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] jacknb1ack:
sorry if this oot. anyone here using migrate / migrator succesfully ?

i want to move from 15.1 official to this rom, but don't want to lose all data from apps and games (since some don't have cloud backup).

or is there any backup app reccomendations?

thank you
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] benfleet5:
I came from 15.1 to AEX (NeoArian), it does work, but sometimes I have to reinstall from Google Play Store to get notifications to work properly.

Updates work still via Play Store so if it gets updated through that before you need it, it's normally fine. Still a god send of an app though, as I am particular on apps and there locations on my screen!!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] drrugg:
I hope this doesn't disuade you from the excellent work you do. You look to be a person of dedication and direction - which is always a win.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] domenicocortez:
Yep, rock solid build, maybe the best on xda for mi6, perfect build, perfect work, official or not, we stay here! smoothery butter...
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
I made the same move, using Migrate. It worked for me, 2 months ago. I made the backup, copied it to my computer to be sure, then switched to 16 and did the migrate after installing Magisk.

From what I read, it can be... Iffy. Best make a good nandroid backup too, also off-phone, so you can restore if you need to.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] jacknb1ack:
thats in, nandroid backup ... forgot about it. thanks for your reply, will use migrate later
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
Agreed, planetera. I'd prefer that myself, I just don't always have hours, especially if I just want to try out a ROM ?. I'm thinking to do a format when upgrading to the system-as-root version of this ROM.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Elektroschmock:
Actually I just said, that I might maintain it, but right now my free time is not existant or very limited.

Why can't you maintain officials?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Heya! Nice to see you :D I am not in the Lineage slack, but when I saw that Mike pushed you as maintainer to Gerrit I thought that this question is closed so I haven't looked much into official anymore. If you don't have enough time I would like to assist or help, my exams are nearly over, just physics in June left. I have updated the proprietary-files at sagit for our pie blobs and until Xiaomi releases the kernel source there is not much to do for now i guess. I am diving into twrp with pie blobs and stuff today.

What I want to say is that I would be open to (co-)maintain sagit if possible and maintainer slot is free ^^ but I would also be fine if you want to do this, I would continue my unofficial variant.

If maintaining sagit is like a compromise for you feel free to drop me a PM to clarify stuff :)

Have a nice day!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] geronimoge:
It's great to see you guys cooperate or at least exchanging thoughts.

So thanks!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] OoMiDOoO:
So guys this is my first time flashing ROM for Mi 6,

so I'd like to know what's the difference between "System as Root" and "Download" (at top of the topic),

and which one should I go with?