yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Edit, just removed it as I discovered a small show stopper. Will fix it tomorrow and then release it again

Uploaded a new DEV version to the mega folder at https://mega.nz/folder/75IHSCZb#gYkiCuQaV4grDAaBpSbqyg

Changes:

- Fixed/removed the warning message on boot

- Built with release keys so this version should pass safetynet without magisk

- Optimizations and small fixes that may or may not impact the black screen freezes/reboots

Hopefully we will have no side effects, I've been testing the changes today and had no issues
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] maxcaulfied:
Lemme check on Akash group, he said reboot is related to wifi config. You merged one to fhe source ( idk that is the right one. ) He said using stock wifi config will fix that, the previous he used oss wifi config.

Hope this would help. ?

Idk if we can cherry pick from Akash dt or Andrin dt ?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Yeah, I don't think it's the Wifi to be honest, I think it's in the gps library or the gps configs.

His Wifi configuration changes were already merged.

Will be replacing the gps components today, and the wifi configuration files too, just to be on the safe side.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] rafal9426:
NFC ?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] maxcaulfied:
yeah, just use stock stuff for the best and stable. Akash uses oss stuffs like wifi, gps, etc.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Works well including gpay
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] maxcaulfied:
can we expect new build today?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Does it require clean flash or is dirty still possible?

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Dirty flash is possible, but I still need to iron out an issue before I can build it again.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] vortitu:
I found an support entry for 1password with exact my problem:

https://discussions.agilebits.com/discussion/comment/569004#Comment_569004

The solution was this change:

https://github.com/vantoman/kernel_xiaomi_davinci/commit/971bd50895268068e0a2f5cf4b432c1fa2d7900f

Maybe this hint helps?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] rafal9426:
you could update the mega folder
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Yesterdays's version was pulled as GPS was broken. I'm going to fix this and upload as soon as I have a working build.

And I'll make a post here too.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ibanezman192:
Thanks for your effort. I suggest you create a new clean thread so we can follow you.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] nmlssit:
I updated the quantic-illusion kernel and I broke dt2w :/
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] buck123:
Yes, the same thing has happened to me. But with the 66hz screen it works like a wonder ?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
So you guys installed a new kernel? If so that would break DT2W as it is handled a bit differently in PA and I patched the kernel.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] buck123:
Yes, we have installed the same kernel but the new version. The quantic illusion kernel
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] nmlssit:
I flashed an update of our kernel, but I reverted back now
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Actually the last DEV version has the Quantic Illusion kernel based on the PELT tree with the latest commits :)

---------- Post added at 06:42 PM ---------- Previous post was at 06:41 PM ----------

The newest build is almost done, if all goes well I will upload soon
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
The new DEV build is up at https://mega.nz/folder/75IHSCZb#gYkiCuQaV4grDAaBpSbqyg),

here are the changes:

- Swapped out the GPS implementation and configuration

- Replaced the Wifi configuration

- Fixed/removed the warning message that appeared after booting

- Built with release keys so this version should pass safetynet without magisk

Really hoping this finally solves all remaining reboot issues.

Please test this if you're into testing :laugh:

Implemented that change too and it's in the new build, lets see if it helps.

Edit: Brought this thread title and first post up to date, so we should be good to go with it :)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Just flashed it. So far no issues but it was just 10 minutes ago. :)

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] vortitu:
Yes, now autofill unlock with 1password works!

Thx a lot :)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
Hi, I just flash this new build and some issue:

Swipe gesture to go to home and switch between apps some times is not working and I should try 2 times or change gesture mode to active it.

I flashed ANX Camera 185 but it's not working. Force Close

feature missing:

There is no network speed indicator option

There is no Face Unlock option

I'm testing battery and will be replay later.

Colors and UI is good, I like it.

Thanks
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Face unlock is a feature only available in the official version.

PA has no network speed indicators.

ANX camera 180+ is hit or miss on all custom ROM's currently. It's definitely not supported. The latest Urnyx gcam works pretty well, that's what I use for example.

About the touch gestures, that is definitely not something in the ROM. Are you using any magisk modules? Are you using the stock launcher or did you swap it against another launcher? Did you check the gesture options? There's a setting where you can change the sensitivity of the gestures.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
I didn't use any module or option for gesture, by the way the Gesture issue gone after a reboot.

ANXCamera issue fixed by setting manual permissions for storage, camera ,..

I can wait for face unlock but network speed indicator will kill me :D I want to monitor what the f is going on in my network.

I don't know is it related to included gapps or not but google play don'r respond to chrome update button! other apps are well.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
About your network, if you want to make sure none of the apps or parts of Android are trying connect to exotic servers, have you considered using a firewall app? There are several on the app store that will act as a VPN sending all traffic to the app where you can monitor and restrict it. Tried one of those some time ago and they are pretty cool.

The Chrome update button is a bug, I checked it and it's the same here and the logcat shows why it's not working. I'll pass it on to the team so they can hopefully fix it before Quartz 5
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Teadious:
Lurking to see if the freezes and random reboots are all gone now. Flashed over to Pixel Experience after it happened couple times again while listening to music. Anyone experience anything strange yet with the newer builds?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
The latest build from the 31st should not have any such freezes or reboots.

The GPS HAL's and configurations were replaced by stock, the Wifi configuration was also changed.

If you could try it, that would be fantastic.

It's in the mega folder at: https://mega.nz/folder/75IHSCZb#gYkiCuQaV4grDAaBpSbqyg
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Teadious:
i can try, is there any way to back up all my app inlogs and such though? its such a slog to keep logging in everything
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
You can make a backup of the data partition so at least when if go back to PE you will be able to restore everything.

Or checkout these options:

https://www.youtube.com/watch?v=bhOlfiQ9_Nc

Also Swiftbackup may do the job but it's not cheap
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Teadious:
Oh well, just set everything up again, now to see if it's gonna lock up and such, I really hope it's good now. Paranoid android feels so much smoother than Pixel Experience in regards to animations somehow. Fingers crossed I guess :)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] philstar:
On the latest dev version (20200831) and on previous ones my phone does not go to deep sleep properly, hence draining the battery a bit more than usual.

These are the results after one hour not touching the phone: screenshot: cpu spy

Can anyone relate this issue?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Teadious:
By the way, I changed my filesystem to f2fs, is this gonna be a problem when running AOSPA or am I good like this? I read somewhere that this filesystem is faster than the standard ext4 so I changed it when I swapped to PE. So far no issues by the way
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] felineko:
Having the same issue here, on the plus side reboots seem to be gone on the latest build!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Probably an app running wild. Deep sleep here is 87 % of screen-off time.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
No issues here, I get normal deep sleep patterns.

I've uploaded another version of the latest build, this time with the Immensity kernel. The other one was built with the Quantic Illusion kernel. Please try to flash the immensity build on top of the other one to see if that changes anything.

It really shouldn't but there is a chance it will. If not, you need to go see which app is actually causing the phone not to sleep.

I don't think it's an issue, it should be fine with this ROM. But I really doubt it is noticeably faster. If anything, it may cause stability issues in the long run, there is some controversy over that. But with modern phones, I doubt it's going to bring any speed improvement that you can see or feel.

The reboots being gone would be the major hope here. The battery could be related to the kernel change we did a few days ago. While unlikely it is possible, so you can switch over to the other version if you like to see if it makes a difference.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
I once had the problem of zero deep sleep when I activated 'pocket detection'. I could see in BetterBatteryStats that the respective sensor continuously kept the phone awake.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Teadious:
Swapping it back would probably mean formatting again won't it? If that's the case I'll keep off for a while and see how it goes
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
No, you can dirty flash it over the other one

---------- Post added at 04:49 PM ---------- Previous post was at 04:48 PM ----------

That's a good point, pocket detection is broken for a lot of ROM's and I haven't looked into that yet
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
Any way to disable left "ai" button? Its linked with Goggle assistant. But i dont want this. Or any way to add other function to this button?

Battery life is great! ROM is good.

Only thing that i dont like is this side button. I want to disable it.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
There is a magisk module where you make it do other things or disable it completely.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
Found it. Works! Thanks. I think this is my daily for now.

Thanks.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] vortitu:
Did you grant ANX Camera all permissions?

I flashed ANX 185 and after granting all permissions, ANX works without problems.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
Yes, worked for me too.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] buck123:
I've been using ROM for a few days, and it's spectacular. Superfluid, no bugs, a pleasure. I don't know if it is possible, but do you think the weather can be implemented in the lockscreen clock, in the style of pixels and some aosp roms?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
One of the developers has in fact suggested and tested this feature and chances are it may get merged. You can see the current status here:

https://gerrit.aospa.co/c/AOSPA/android_frameworks_base/+/13386

Once it switches from "active" to "merged" it will be in the next release.

You can also make your voice heard in the PA telegram group if you like, not sure it will help but it can't hurt :)

---------- Post added at 09:32 PM ---------- Previous post was at 08:37 PM ----------

Can you check if you still have the issue? Had exactly the same as you earlier but google must have fixed it because chrome is updated now.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] bxreppa:
All is good so far besides ok Google. Thanks for the great work!!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Ok google should be working fine, even when the screen is off. It definitely does here.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] bxreppa:
For me it's not working through voice. Not sure what's wrong but I'll try to figure it out.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Teadious:
The home app redraws the wallpaper from time to time, it's not a major issue or something but it's noticable. Not sure if it's working as intended or not
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Yes, that is a known cosmetic issue. It seems to happen when home is swiped before the app has completely finished initializing or drawing it's content.

It also doesn't happen when using the traditional button navigation. I'll try to find out if this is being worked on.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] philstar:
Thank you, that was the case for mee too!

Regarding random reboots or blackscreen and heat up, no problems so far! :svetius:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
No, I still can not update chrome from google play.

Battery usage is great! I never see something like that on my phone. :o

Idle drain: 0.47% / hr

It was 2.5% in Pixel Expreiance and

1.2% in crDroid

and around 3% on drepfest

I really impressed on battery.

Please don't make changes that effect battery usage in future versions. :fingers-crossed:

---------- Post added at 04:13 PM ---------- Previous post was at 04:11 PM ----------

I had same issue when I unlocked, So I changed the wallpaper and set default or any wallpaper again the issue gone.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] thesofty:
This ROM is pretty cool, thanks :) But is there any way to change the accent color i could not find any way. I do not have an option in developer settings
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Which of the two versions are you running, the one with the Quantic kernel or the other one with the Immensity kernel?

We're currently testing both of them.

---------- Post added at 02:17 PM ---------- Previous post was at 02:14 PM ----------

Sure, you can change it in Settings->Display->Styles&Wallpapers, there are quite a few other colors available.

And if you're like me and want a color that is not in there, you could get the "Accent color creator" Magisk module which lets you create just about any color (just search for it on XDA).
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] thesofty:
Weird, i just checked my settings and i do not have this option under display. I just downloaded the ROM yesterday evening and installed it (Version 4 ofc) could something have gone wrong during install? (i did a clean flash and wiped everything beforehand)

EDIT: okay i just installed accent color creator and changed it with this, thanks for the tip :)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Oh sorry, Quartz 4 doesn't have the option in Settings, I was talking about the Quartz 5 DEV version we are testing and that is linked a page or two ago.

In Quartz 4 you need to long press on the home screen and you should see "Styles & Wallpapers" there.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
WoW there was a new version!

I downloaded this version: pa-quatz-5-cepheus-20200821-dev.zip

Should I upgrade to 20200831 version?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
The DEV version from August 31 has a major change to fix the reboot/freeze issues. Hopefully those problems are completely gone from now on.

I would definitely suggest to upgrade if you are using one of the previous DEV versions.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] maodevil:
mega upload doesn't let me download does somebody have a different link?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] nitroax:
So the DEV 31st is the more stable?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Yes, it fixes several issues in Quartz 4 and is the most stable version so far.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] thesofty:
I saw that there are two different versions, anyone in particular that you would recommend?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
They are the same, just with different kernels. You can pick either one, I'm using the one with the Quantic kernel at the moment.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] thesofty:
Thanks, i just checked the last few pages and did not see any info on this: DO i have to do a clean flash from quartz 4? I guess yes?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
No, you don't need to clean flash.

Making a backup can never hurt but you shouldn't run into any issues.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
I didn't and everything is running perfectly smooth.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
I just upgrade to Immensity version 200831.

Upgrade successfully without any issue.

Is it normal that my default charger charge phone around 10W?

I think my charger charged my phone in previuse rom around 18W ~ 20W

BTW it's not a big a deal. I just curious to know.

Edit

Now it's increased to 15W .. 18W
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Ladap:
I've installed latest version yesterday, and I'm impressed. Super fast rom, and best battery around. Really good job dev!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] lucasm87:
You're doing an awesome work [MENTION=6420537]Cave_diver[/MENTION] thanks for your time and effort! Can't wait for quartz 5!!!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
I'm going to back to 20200821 that idle battery drain was around 0.46%

Idle battery drain on 20200831 is around 2.5%
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Well... :)

First of all if you used the immensity kernel version, the build is the same as the one from the 21st except for the fact that the gps module and config is switched, minus a few small things here and there.

Also to judge the idle and active drain numbers, you really need to run the rom for a bit longer, 2-3 charge cycles maybe, for it to show somewhat accurate results.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] thesofty:
Just upgraded to the quantic version. So far everything is running super smooth thanks ?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
You right,

I have to give it more times.

Guys is there any way to disable Mobile Data if screen goes off.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
You coukd probably do that using tasker or macrodroid
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] headshotde:
hi guys is volte and vowifi working on latest rom ?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Sure it is. There's a specific icon for it in status bar while calling and it also says 'WLAN Call $provider'.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] nonoperez:
Hi!

Testing latest Q5 dev quantic version, the ROM is supersmooth and simple. Let's see battery.

Mi 9 has a very small battery, I prefer battery over performance, which one is better, quantic or immensity? Can I switch both ROMs dirty flashing?

Thank you and great job dev.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Yes, you can just dirty flash back and forth between the two. In my experience there is little difference in performance or battery between them.

Going forward we will be using the Quantic kernel for the Mi9 and it is currently being optimized by Carlos Ayrton, the dev behind the Quantic kernel.

So hopefully we will have it in Quartz 5 official soon and chances are it will even be a bit more battery friendly than the version you were testing.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] nonoperez:
Thanks. I'm in his telegram group. I'll test his 030920 version.

Tonight google play store devoured my battery so I restricted background activity, let's see if it works.

I'm missing DT2W ( I activate it but doesn't work) and faceunlock. Do you know if there's a chance to be added in the future?

Coming from xiaomi eu, I've to say that speed and smoothness is awesome.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
DT2W will only work with the kernel adapted for PA, there is a small change that needs to be made to it.

So the versions with the built in Quantic kernel have DT2W, if you flash the standalone kernel there is no D2TW.

Faceunlock will be in the official version, the DEV versions comes without faceunlock.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] rafal9426:
which dpi is best to use. I am very pleased with your work. thanks waiting for the update.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
I tested battery life on 20200831-immensity Idle drain was around 1.6%

so I switched to 20200831-quantic version to test idle battery usage on quantic version too.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] nonoperez:
I've been using the ROM for two days, quantic version, with room kernel and new one. Battery idle is horrible, about 5%. is it only me?

https://photos.app.goo.gl/Ut7AoXsioyKT2MALA

8 hours without using the phone at night.

Any help will be appreciated.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
I think it should be because of Room Kernel or something in background is eating your battery.

I'm currently on quantic (without changing kernel) idle drain is around 0.9% / hr since now.

I just testing and reached from 100% to 89% to reach that 0.9% number. final/current result will be comes out after at lease one battery cycle.

I will share quantic version idle battery drain tomorrow.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] C0nvert:
How is the SOT drain per hour ?

Better than 13%/h?

Gesendet von meinem MI 9 mit Tapatalk
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] vortitu:
Try to switch all toggles in Always On Display and pocket mode on and off, and really all. And I mean really all, even if they greyed out, because main switch is off.

I had horrible SOT, and after doing this, I had 0,8%/h over night.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Sounds to me like you are using the always on display, that will cause this kind of idle usage.

If you turn it off you should see much less, depending on your apps of course.

The Quantic Illusion kernel has been improved by quite a bit since the last build. Carlos Ayrton put a lot of work into it.

The current build I'm running is both improved in SOT and idle, significantly. And it is a lot faster too.

Depends on the brightness, app usage, cpu/gpu usage as well as the age/wear of the battery.

I get around 14-15% of usage but my battery is far from new.