yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] VladV1V:
Auto unlock working for me
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] KaiseRRUby:
Cool, i got it. Is AOD always on? Seems that you cannot turn it off?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] rudge79:
I'm missing the SMS app. I've installed Google Messages for now. Is it just me who's missing this?

Can someone tell my where the standard message app is located and how it's named?

Edit: solved. wrong version. My fault. I took the one first mentioned in OP. 2019-08-10 version works just fine!

I used 2019-06-27 FW + vendor from Global. Everything is fine now.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] rudge79:
Another bummer...:(

Edit: wrong version. My fault. I took the one first mentioned in OP. 2019-08-10 version works just fine!

I used 2019-06-27 FW + vendor from Global. Everything is fine now.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] KaiseRRUby:
You flashed last update? Last update should have NFC fixed.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] VladV1V:
Woking
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] reg66:
After the rom is flashed, can anyone tell me if OTG works with this rom (not from twrp, but from running rom).

Cheers
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] jddnoob:
QS tile Screenshot. When changing to partial, screenshot is still the whole screen. Anyone else?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Ryther:
Thanks for the response! I've used 9.6.13 as stated in the first post and did a clean flash.

The stange thing is that at the first setup, when you get asked to input the first fingerprint, it worked but it did not unlock the device.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mucha17:
Thank you very much, really like the rom. I used it for two days and it's very smooth. Baterry is great. I get 5 to 7 hours of SOT. Video and music playback works very well (tested on YouTube and Netflix). I had to download Netflix from Apk Pure, becouse I couldn't download it from Google Play (it said that it's not compatible with the phone or something like that). Bluetooth Audio works great, connecting a smartband also works.

Sometimes with Adaptive brightness on the screen flickers like it's changing from higher brightness to lower and back repeatedly. Turning it off and setting brightness manually solves the flickering.

I have a few problems with Ambient Display. When Ambient Display is on the Always on Display goes full brightness after locking the phone (even at night), I never used AOD before so maybe it's supossed to be like that. If I turn Ambient Display off and lock the phone I cannot answer calls. The screen goes black when someone calls. It cannot be turned on and I'm forced to restart the phone by long pressing the power button. After restart the phone works normally and I can receive one call when the phone is locked, but another call will couse the screen to go black. It doesn't happen if I get a notification or someone calls not with cellular network but on an application like Viber. If I turn Ambient Display on it works normally - I'm able to receive a call and the screen won't go black. It looks like the problem is correlated to Ambient Display.

NFC worked, but after first forced restart it stopped working. I'm not really using it so I didn't try to get it working again.

I wanted to share battery stats from EX Manager but they reset after every forced restart. Does someone know how to fix the problem with Ambient Display? Thanks in advance.

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] crs951:
The work thus far builds a great foundation, loving this ROM's features. Saddly had to go back to pixel experience,the black screen when receiving a call makes it unusable as a daily driver in my case.Very eager to try it out in the future again.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
Thnx for the feedback.

I'll take a look in coming days on the mentioned issues. As I am doing it all in my spare time and also building for Axon7, I hope I can fix some things though ;)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Just installed the version from the 10th and it is looking very good. Awesome work!!

Cool that even volte is working, very nice.

However even though I enabled vowifi (and vowifi works fine on stock Miui and shows as being available), it doesn't work with this ROM.

Same with the other custom ROM's (Beast, PE) I tested, no vowifi there either.

Something else I noticed is with the AOD. The fingerprint symbol is permanently visible centered right on the sensor so it never moves. Isn't that likely to cause burn in eventually? Or is it dim enough to not cause any burn in issues ? All the other text obviously moves around to prevent burn in but the fingerprint symbol just stays where it is.

Wouldn't it make sense to just turn it off after a few seconds like stock Miui does and have it come back on when the phone is moved?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
Thnx for the feedback !

Nice to see VoLTE working as expected. No idea about VoWIfi, since I can't do the test myself right now.

I made a new testbuild on the 11th (not yet posted) where the AOD is off on boot. And can be toggled on, also with only the Pickup sensor. Have to check later (on viper now) whether the FP symbol is moving or not.

I have made a bunch of things to do on the AEX build related to the given feedback. Since I love AEX and Viper I'll focus on these two ROMS ;)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Faschoda:
I face a problem when i install this ROM. When gapps are flashed and i restart the device will bootloop. If i dont install gapps AEX will boot normally. Some suggestion? Trying to install other gapps?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] VladV1V:
If you need play market you can install it via lucky patcher if gaaps not working
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Try gapps micro or nano and format data (the option that needs confirming with yes)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] reg66:
Many thanks for this rom, all working grand so far!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Faschoda:
Thanks for your answer. Do i lose all of May Data If i format? How will i be able to Install a rom after i format?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] _Korn_:
The ROM works just like it advertised in the post. It is buttery smooth and has more customizations than any ROM out there made for the Xiaomi MI 9. Well done devs! Although the performance is excellent, there are some problems i encountered while using it as my daily driver. The problems are listed below (hope the devs fix it :)):

1. when booting up, the screen flickers twice when i use Nova launcher. The other launchers don't do this though. I also have KLWP if that matters. Greenify is also installed from Play Store but I haven't hibernated any of my launchers.

2. NFC does work like it says but at times it does not. (e.g. after rebooting it suddenly can't be toggled. After another reboot, it works.) you guys might want to look into this.

3. I really can't explain this but when I lock the screen then leave it in my pocket after a while and open it up again, it does not want to; as if the phone shut down (but it didn't). I had some shortcuts set up like double press lock screen to launch camera and the phone vibrates. If i hold down the power button for a while, the flashlight turns on. The screen just does not turn on which was weird. I had to force reboot the device to make it work again which is very annoying considering that this is the only phone i use as of now. All animations are set to default. I had the XASP Patch installed though. I am not sure if this contributes to that problem. I also have APN LIst, AudioModLib, CloudflareDNS4magisk, Global Optimized GPS File Replacer, RRemix Boot Animation, Wifi Bonding, and YT vanced installed as my magisk modules. TLDR: the phone vibrates when I interact with the buttons but the screen does not respond. (I purchased the phone last month brand new btw)

Disregarding these problems, AOSP EXtended is the best ROM here in my opinion. With unlimited customizations and device optimizations, your user experience wouldn't disappoint. It would be a great daily if these bugs didn't exist. Overall a 10/10 ROM!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
When switching from miui or a related Rom you need to format data in twrp once to get rid of the encryption.

Otherwise you'll end up in a boot loop.

You will lose all your data and internal storage so make sure to back up what is important.

You can also format after installing the Rom and gapps and magisk. The format clears up the internal storage and data only, the system partition, boot and everything else required by the Rom is not affected.

It's like a factor reset and if you installed a Rom and gapps prior to it, it should boot up ok.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
thnx [MENTION=8407260]_Korn_[/MENTION] for the feedback

As I have some time now to do some testing on the AEX again I made a list of possible issues out of the given feedback. It would be very helpful if you guys could give some additional feedback if the issues are general or caused by some setup.

If you could point out which issue occur and which ones are working, that would be great. And if they also occur on PE??

Do give your fw/vendor, gapps and magisk setup too, so we can rule out some issues related to probably fw/vendor, gapps or magaisk...:good:

possible issues :

1. who has face unlock working on which setup ?

2. on reboot, NFC not working as it was working before reboot ?

3. VoLTE seems to be ok? But VoWIFI not ?

4. notifications not popping up?

5. camera force stop?

6. guestures , swipe back not working ? Other ones not working ?

7. flickering adaptive brightness

8. Phone calls not working when AOD off ? black screen?

9. when AOD on, the FP is not moving as the text does ?

10. AOD full brightness ?

other issues to fix :

1. AOD advanced settings (if they work on AEX or not)

2. SELinux enforcing

3. Network type different
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] hdec59:
Hi, Very good job buti don't find the option to expand notification. Where is it?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mucha17:
My setup is: Vendor 9.6.13, Magisk 19.4 Canary, OpenGapps Nano. Previously I had global Miui installed. Performed the installation of AOSP Extended according to instruction, but used the 20190810 build from comment.

Magisk Modules I use are systemless hosts file (using adAway) and YouTube Vanced

NFC sometimes stops working on reboot. It cannot be turned on. After rebooting couple times the phone will start with NFC turned on, but after next reboot NFC will stop working again.

Notifications work good for me.

Camera doesn't force stop for me.

Adaptive brightness is very often changing the brightness (each 3-4 seconds), but if I decrease brightness value by using the brightness bar it stops doing that. It will start doing that again if I lock and unlock the phone.

Black screen issue with AOD off is present. There is no black screen when AOD is on.

Fingerprint sensor works very fast and accurately. It's not moving on AOD and is always in the same place on screen.

AOD is full brightness when the phone is locked.

The advanced settings of AOD don't work. When the option in settings is clicked nothing happens.

I checked the baterry stats from EX Kernel Manager after a night with airplane mode on, Bluetooth on (connected to smartband) and AOD turned off for the night. The readings were 9,91% per hour screen on and 2,93% per hour screen off.

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
Thnx for the feedback ! Some additional questions :

Can you tell me if Face unlock also works with your setup?

Do you have volte? VoWIFI to check?

Does AOD OFF always have a black screen when phone call receiving?

Do the notifications POP-UP on homescreen. F.e. like receiving on TG, it pops up and you can slide it away?

Does guestures swipe back work?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Faschoda:
I did like you said but I'm still getting a bootloop. It just won't show me the aex screen. Only if I don't flash gapps. Btw is it mandatory for me to flash gapps or can I install playstore etc from apkmirror? Or are there any frameworks I'm missing out?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Are you sure you're using the arm64 gapps for Android 9? Something like micro or nano?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mucha17:
Face unlock work great, but it didn't work with Magisk 19.3, after installing Magisk 19.4 Canary and OpenGapps Nano it is working.

I don't have Volte and VoWifi becouse my SIM carrier doesn't provide it. My carrier provides a VoWifi app and that is working. I'll try to get a SIM card that provides a native VoWifi and Volte and test that, but it is hard to get in Poland.

With AOD off the first call doesn't couse black screen, but the second call does. I can receive one call without getting a black screen. I tested it by calling MI 9 from another phone and always when I call, disconnect and call again MI 9 is getting a black screen. Apps like Viber or wifi calling app don't couse black screen. Notifications don't also. With AOD on it is working normally.

Notifications work great. On homescreen I get a popup and I can slide it away.

I wasn't able to get gestures swipe back to work, but I'll try restarting a few times and check again.

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Faschoda:
100% sure. So I don't get it. What's the problem???

Btw I tried all of them. Are there other trustworthy gapps I can try?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
That source is absolutely trustworthy.

So you're essentially installing miui fresh, preferably one of the newer betas like xiaomi.eu 9.81. next you flash twrp, boot into twrp and wipe (just swipe), then format data. Afterwards flash the Rom, then the gapps?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Faschoda:
Right now I'm on PE and vendor 9.6.13

So what I did was: wipe data, cache and dalvik, install AEX and gapps and then I get the bootloop.

Maybe I try your way with installing miui fresh.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Depending on how the Rom installs you need to wipe system too. The default swipe wipes the system partition too
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Faschoda:
What do you mean by how the rom installs?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] VladV1V:
I wrote you can install play market in lucky patcher
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] reg66:
Yeah, you need to wipe system too

---------- Post added at 05:24 PM ---------- Previous post was at 05:17 PM ----------

Using latest build from 10th, 9.6.13 as a base, magisk 19.4 canary installed, no lkt. Had my first blank phone call screen today after flashing last night. Face unlock working with canary magisk. Notifications ok too. Not much else to report yet, thanks for a great first - ish build of aex.

Oh, and volte is working, not sure about vowifi, haven't checked
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Some roms wipe system during flashing and others don't
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Faschoda:
Good LORD! It worked. Flashed everything from scratch and now it works. Should have done that at the beginning *facepalm* :D

Thank you very much dude! :good:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] reg66:
Just wondering how ur getting on Mr Dev! Any closer to fixing the black screens on some calls?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
Been working on it together with [MENTION=10074744]mucha17[/MENTION] who has the black screen when FP running and AOD is OFF and making some good progress.

Btw, on my device I never have had this black screen issue. I tried to reproduce the issue and no black screen at all. So it would be user specific.

Also AOD adv settings is working. And some other things are being looked at with success.

Guess a new build will arrive soon ;)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] reg66:
Cheers, the black screen issue being user specific is strange. Are you using vendor 9.6.13 as per the OP? That's what I'm currently on but will change and reflash 9.8.1 or something if it fixes it. Loving the rom BTW! Cheers
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
We've been testing now on 9.8.1 but changing FW/vendor wont make a difference. 9.6.13 would do fine too.

As said next build will be out soon ;)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] reg66:
Cool, many thanks
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Faschoda:
Can you please link 9.8.1 vendor? Did not find it via search.

And thanks for your effort. Very pleased with the rom so far!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] robygt:
https://xdaforums.com/Mi-9/how-to/firmware-vendor-collection-flashable-t3950943
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
NEW AEX BUILD 2019.08.16

AospExtended-v6.6-cepheus-20190816-0724-UNOFFICIAL

After a lot of testing with [MENTION=10074744]mucha17[/MENTION] [ THANKS MAN !! ] I made a new build that should be fine as a daily driver.

What's working :

*FP setup

*face unlock

*statusbar padding left/right to fit screen

*AOD

*AOD adv settings like pickup...

*auto brightness without possible flicker

*notifications

*no more black screen on call

*NFC

*BT

*Hotspot

*OTG

*....

Not working :

*when using FP on brightness lower then 50% it won't recognize for now - will be looked at in next build

*NFC, when toggled off and rebooting, it won't turn on - just go into settings and toggle it on and reboot

....

Installation :

1. factory reset/format data

2. reboot TWRP

2a. Wipe system, vendor, data, dalvik

3. flash FW/vendor 9.8.1 thnx [MENTION=1546609]gianton[/MENTION]

4. flash AEX 08.16

5. flash micro gapps

6. reboot twrp

7. flash magisk 19.4 ( use magisk_release.zip )

8. boot and enjoy !!

Next build will improve on kernel use, FP on brightness, NFC....

kernel
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mucha17:
The black screen issue when receiving a call does not happen anymore.

Adaptive brightness works now as expected (does not flicker).

NFC works. If phone is restarted with NFC off then it can't be turn on from the status bar tile, but turning it on in settings and restarting again fixes the issue.

Advanced settings of AOD are working now. AOD on pickup works.

Fingerprint is working, but has problems detecting the finger on lower brightnesses. Using 50% or higher brightness eliminates the problem.

It's good as a daily driver in my opinion.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] crs951:
thats great ! glad the black screen is settled ! Flashing it right now,thanks for your work.

If i may , it might be better if you remove the FP icon or add an option to remove it on the AOD,its just burnin waiting to happen.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] VladV1V:
Delete
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] reg66:
Sweet, many thanks! Not a big deal, but OTG doesn't work on this while in the rom, it causes reboot. Worked on last version... Like I say, not a deal breaker!!!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] VladV1V:
Fp aod not working for me( with any brightness

Fp working with higher brightness than 50%

Black screen fixed for me

Otg working for me

Installed as described
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mucha17:
Fp on AOD should be working. It's working fine on my device. Does it not detect finger? How is the brightness of AOD behaving when you put the finger on the sensor?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] VladV1V:
60% brightness

When i touch fp not reconized finger
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] crs951:
yeap,me too.It has to be at least 62% or above to work.Pitty.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] VladV1V:
For me it isnt working on any brightness (((
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
Forgot to mention 2a on my post. So don't forget to wipe system, vendor,...

But I guess you knew?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] crs951:
too bad,fp was great on the previous build . back to xiaomi eu for the time being it is for me.

Although i have to say,battery life was very good.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] VladV1V:
I formated data only
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
Yeah try again. It should work as we tested it on 2 devices. On all sorts of possibilities...
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] reg66:
Completely clean install with wipe off system and vendor but otg not working in rom. Still fine for a daily driver and things can only get better! Thanks again
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] d4dave:
What's the process for incremental updates? Is/will OTA be available or can a dirty flash be performed? Or does it need a data wipe each time?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] VladV1V:
Tryed again with format reboot twtp wipe install aod fp not working for me(

Otg working for me
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] gianton:
Great work my friend! This build is running very smooth and have no issues so far (I don't use FP unlock or face unlock). Flashed it with nano gapps and magisk canary latest. Will you implement August patch in next build?

Thanks and keep it up!! :good:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
OTG is working fine as tested on a couple devices as you see below.

Btw, how's your FP in combination with AOD or with Pickup in adv. settings?

We tested this build as said on 2 devices with the exact same setup and had all working fine, even no black screen on call anymore (with AOD OFF) , except we had to compromise on the FP brightness for now.

But as I read most of the comments on ROM section, I do notice, and also on PE, Beastrom, LOS....the outcome may differ from user to user.... So do follow the install instructions carefully.

As for me, I don't use the FP at all. Instead I DT2W and let face unlock do the work. It's very fast and works all of the time.

[MENTION=1546609]gianton[/MENTION] Thnx my friend ! Yes I'm planning to implement the sec. patches as well. And as you mention, it is more then ok to use it as a DD even now the black screen issue on call with FP/AOD off is gone :good:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] hallohallo222:
Hey, I have a short question. Can I update this Custom ROM with following update: https://xdaforums.com/Mi-9/development/rom-xasp-xiaomi-aosp-snapdragon-patch-t3931717 ?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ileeba7:
Most of the ROM developers don't recommend other mods/kernels on their ROMs. You can experiment with it,but don't expect any help if you run into any issues
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] DoppiaeSSe:
Just installed the rom, all fine but camera won't work in any app! Same on pixel experience but working on global stable ROM. Please help thanks :D
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] reg66:
Are you using 9.8.1 vendor? And latest build?