yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Yes, I did try that and went back to Miui 12 EU before flashing the latest ROM. Also tried running Quartz 4 and Qartz 5 dev (Aug. 06 build) with the Miui 11.09 vendor.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ravious:
Ah okay. I was actually just in the process of downloading 11.0.9 hoping that it would resolve the lockups.. I had originally flashed Paranoid over the latest 12 eu also.

But if you've had the same issue using 11.0.9.. I won't bother.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tuyendev:
Perfect. Thank bro :D
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
New Quartz 5 test version

- Fixes Bluetooth (enables audio controls on connected devices again)

- Includes the changes of prior versions (vowifi, dt2w)

- Based on Miui 11 just like all current PA releases, so use firmware 11.09 if possible

- Take a backup before flashing (dirty flashing is fine)

https://mega.nz/folder/75IHSCZb#gYkiCuQaV4grDAaBpSbqyg

There is a small chance you might need to pair your BTW devices again. Mine worked without re-pairing after a dirty flash.

Also don't expect the device reboots/freezes to be fixed. There is a small chance that they may be related to the BT issue but most likely the reboots are a separate problem. Turning of location services fixes the reboots entirely for the time being. Still looking for logfiles for the reboots BTW.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] BigsyBiggins:
Have you tried to reach out to markakash to find out the change he made to fix the reboots for 404 rom?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
I'm sure he will update AOSPA also since he is the maintainer. Until he does I'll keep looking. He is very busy these days.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] LeninRussianKing:
I tried but no answer. He surely has a lot of work so I don't mind.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] bxreppa:
Do you have another link besides mega?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tuyendev:
In the next version, i need to downgrade my firmware cuz I was in MIUI 12 :(
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
All PA builds up to now required fw 11.

This one is no different.

If firmware 12 worked for you in the past, it will most likely be the same with this build and work too.

Aside from that, flashing the firmware in TWRP takes 10 seconds.

---------- Post added at 05:49 AM ---------- Previous post was at 05:48 AM ----------

No, sorry. Maybe someone can upload it to another cloud service for you.

---------- Post added at 05:53 AM ---------- Previous post was at 05:49 AM ----------

If you can, try the latest test build. Tested it with location services and bluetooth since yesterday and had no problems at all.

Do any of you remember having these reboots prior to Quartz 4, meaning Quartz 3 and earlier?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tuyendev:
I see.

But I don't know what's wrong with my device. Only flash firmware never works for me. I need to re-install with Xiaomi flash tool .:silly:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Use this URL to download (V11.0.9.0.QFAEUXM) the firmware portion only and flash it in TWRP:

https://xiaomifirmwareupdater.com/archive/firmware/cepheus/
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ravious:
I didn't have a chance to try out the others. But my issue seems to be resolved. I wiped all partitions and installed the 12.0.1.0 firmware and the full 12.0.1.0 global rom from https://xiaomifirmwareupdater.com/

Then flashed Quartz 4 over that, and so far I've not had any problems out of it. One thing to note. The full global rom won't go through sideload. Had to copy it back to the device in twrp after formatting data, Quartz4 can be sideloaded fine.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tuyendev:
I knew this method. But like i said, it never works for me.:eek:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Uploaded a new test version to the mega directory:

https://mega.nz/folder/75IHSCZb#gYkiCuQaV4grDAaBpSbqyg

BT is again fixed using a different approach suggested by Mr. Mesquita from the AOSPA team.

I also made a small change for the kernel that may impact the reboots.

Please do test it if you can and see if you are still getting reboots or freezes with today's version.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] B.Z.H.29:
Thank you, for try to fix these bugs !!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] B.Z.H.29:
Hi !! This morning I had 3 reboots when I used the GPS.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
And that is with yesterday's version? Did You by chance get any logfiles?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Don't know whether it's related to Bluetooth fix but my battery consumption dropped significantly with the new build. With first build of PAQ5 BT was top runner for wakelocks (BetterBatteryStats) and always among top five battery consumers. With the new build it doesn't show up in BBS at all with just 0.2 % in battery.

Did a dirty flash, no changes and usage as normal. So a significant improvement here.

I just also reverted the firmware from 12.0.1.0 down to 11.0.9.0. But I don't think this led to the improvement 'cause I was running 12.0.1.0 already with PAQ4 w/o any issues.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Noticed a similar effect, standby is now a nice horizontal line again and has definitely improved for me too. Also no reboots here and been using bluetooth and gps quite a bit. If someone does end up with a reboot again, we can hopefully get a logfile that helps pin point it. Also good news, Mr. Mesquita pushed all the changes to the official PA github and they will be in Q5 official which hopefully comes soon.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] B.Z.H.29:
Yes, with the last version. Sorry I had change the time and I am on miui now, because I needed gps for my job.

I have a Mac and I have a problem now, because since I had changed the ROM I can't access to my phone in recovery. I don't understand why and don't know how to do.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] kickassdave:
Version works fine. I've not had any random reboots as yet.

Tested GPS and it worked ok. Quick and accurate.

Dt2w doesn't work however, it vibrates but the screen doesn't wake.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Are you sure you configured the right action for the double tap? Maybe try to set it to something else and then set it back.

It absolutely has to work. Unless you should happen to use another kernel of course, then it may not work.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] kickassdave:
Apologies.

I couldn't find this before. Working as expected.

Now if I could just find out why Google RCS messages stopped working :(
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Enabled it here in the settings of the messages app and it registers and shows as working. The logfiles are also saying that it registers properly.

Also didn't change any of the code relevant to rcs compared to quartz 4.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] dannytgt:
Hi dev I'm was using quartz 4 in Oneplus 5t and I as loving it, I've swapped to MI9 two days ago and I can't stay with MIUI I had to take back to PA.

I'm testing the last version Q5 too.

No random reboots, D2tw working like a charm, GPS too, but face unlock is gone.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] _MartyMan_:
Thank you [MENTION=6420537]Cave_diver[/MENTION]

Bluetooth device buttons are working.

Maybe i'm wrong or it was another build but Dt2w is working only if you use the latest miui12 stable firmware. (Now i'm on 11.0.9 as you recommended and it does not work)

Other bug i encountered is tapping on Connection preferences freezes the phone for 10-12 seconds.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
It works just the same with 11.09 firmware it you enable it. That's what I'm using.

What is connection preferences and how/where do I tap on it?

---------- Post added at 04:41 PM ---------- Previous post was at 04:38 PM ----------

Face unlock is not in the developer versions, it's proprietary and only in the official versions.

Once Quartz 5 is official for the Mi9, face unlock will work again.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] dannytgt:
I was on MIUI 12.0 before too, and DT2W is working with the Q5 test build

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

Ohh great, so if I flash back PA quartz 4 and then flash only the boot.img of the Q5 theoretically I will had D2TW and face unlock, am I right?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Yes, dt2w should then work even with Quartz 4, but you'll still have broken BT, no vowifi and possibly reboots.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] rumucor:
I'm testing the dev version and everything works fine, I have even been able to install anx camera without problems. The only bug I find, which is already corrected in pixel experience and 404, is the HDR on YouTube. Colors are dull in that mode. But for me it is a minor bug
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Will take a look at that, do you know when about it was corrected?

Also bad news, the reboots/hangs are still an issue. After 70 hours of no problems at all I had a freeze (black screen, device is unresponsive and gets warm). Will try to look into that over the weekend.

[MENTION=5970333]markakash[/MENTION], maybe you can share the fix you did with PE/P404 with us and/or push it to PA, this is your baby after all :D
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Added a new dev version to the download folder today:

https://mega.nz/folder/75IHSCZb#gYkiCuQaV4grDAaBpSbqyg

Use the miui 12 firmware for this one as it contains newer proprietary files from miui 12.

Not sure how this affects the freezes but I guess we will see.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] buck123:
Disrty flash possible? i was in miui 12 firmware yet

---------- Post added at 09:00 PM ---------- Previous post was at 08:44 PM ----------

Yep, its possible. Installed without problems. And the problem with HDR in youtube is solved :D
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] B.Z.H.29:
Hi !!

I have a little question, i'm actually on the official version quartz4. Can I dirty flash this dev version on it and after, when the official build will come out dirty flash again ?

I don't know if I'm clear...
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Yes you can flash dirty and you will be able to flash official Quartz 5 dirty too
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] B.Z.H.29:
Ok ! Thanks for your answer ?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] _MartyMan_:
Lol after a reboot d2tw is working again
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
What is your experience so far with the latest version (uploaded on Friday) and the reboot/freeze issue?

I've not had any such problems yet/since installing it, but then for me the issue was always a bit sporadic.

In case the changes do make a significant improvement, I'd try to suggest them for the official version soon so they get there in time for the Quartz 5 release.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mke-sg:
Hi,

I used your version for the last two days. So far no hang or reboot. With Quartz 4 or earlier it usually happened when walking around. No such issue with your ROM. That is definitely an improvement!

However, I noticed another, new issue. Android Auto has big problems to find the location when coming out of an area without GPS, such as a tunnel or parking garage. With older PA versions it got back on track a few seconds after seeing the sky. Your ROM is off for 2-3 minutes before Google Maps in Android Auto shows the right location. For those 2-3 minutes it gives changing, wrong directions - very annoying in high density city traffic.

In case it matters: As suggested, I loaded a MIUI 12 firmware together with your ROM. I used the latest Global version from https://xiaomifirmwareupdater.com/firmware/cepheus/

The file name is fw_cepheus_miui_CEPHEUSGlobal_V12.0.1.0.QFAMIXM_fd9137ab3a_10.0.zip.

Thanks for your work on the ROM!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] buck123:
Everything works fine for me. Probably the best ROM I have tried for the MI 9
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Running the latest build (20200821) with basic firmware 12.0.1.0 EEA I haven't noticed any reboot, freeze or heating so far. Unfortunately that doesn't mean too much since my device never was significantly affected from these issues.

Anyway, it's a great progress what you've achieved!

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Thank you everyone for the feedback, this is really helpful!

Here I used the EU version of the same firmware and would assume it makes absolutely no difference.

As to the GPS, I tested it left and right, up and down so to speak, and it works quite well here, as always.

The changes to the dev version from the 21st of August are very significant as most of the vendor files have been updated, including gps.

Having said that, it should be just as responsive and fast as previous versions in terms of gps.

Could you please try to check that you have google's location accuracy enabled in the location settings? When turning that off, satellites are the only source of GPS and especially in a car that can be extremely problematic and would produce results just like you are seeing.

Assuming that is enabled and your gps is still not ok, [MENTION=5334294]raystef66[/MENTION] the crdroid dev had a very interesting tip on how to improve it.

He pointed me to this app here on the playstore: https://play.google.com/store/apps/details?id=com.chartcross.gpstest

It has an option for AGPS called "clear and update". Basically this will purge the existing agps data/cache and rebuild it.

Please also test, if you can, test with google maps outside of Android auto so we can establish if this issue is purely related to some apps.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mke-sg:
Everything that can be turned on under the Location setting is turned on. That was not the problem. I downloaded the app that you recommended and purged the agps data.

I will monitor and also try if I can reproduce the issue with Google Maps.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] josenitro:
i am very pleased with this rom, actually i installed the quartz 4 edition. battery life is good, speed y very nice, only got one problem thats the overall volume when using bt devices, i am using sony wf-1000xm3 and i feel like its 70% or so from the stock rom i used before.

someone else is having the same problem?

any way to fix it? i tried disabling global volume but it din´t fix it

thanks
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mke-sg:
I tried using Google Maps instead of Android Auto on the way to work today. As mentioned, I cleared the AGPS data with the linked app before.

Google Maps worked as expected on the location that gave me trouble with Android Auto yesterday. I will keep monitoring the situation and see if those location offsets still happen. Hopefully clearing the AGPS data helped for all apps.

I would suggest that you move forward with implementing your improvements into Quartz 5. It is definitely helpful that the phone doesn't reboot or get stuck after every walk anymore.

I will report back should I still encounter location issues.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
Anyone got ANX camera working? Which version?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] buck123:
Anx versión 185, adon 181, the last one, working without problems
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
Thanks. Working now.

For now is ok ROM... Will report back in few days.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
One question...

Why is there no date in security update for google in play? It says unknown...
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
I'll try to find a meaningful answer to that but will need to ask around.

Basically some components of the google play services are meant to be updated by google themselves, periodically.

However for quite a few custom ROM's this seems to not work as intended...

There are a few where the date is set to September 2019 and then you can update it manually to say May 2020 which was the most recent a few weeks back. On some custom ROM's you can update it, however when you boot up it will take a minute and the device will reset and come back up with it set to September 2019 again. On other roms this option to check for updates is missing altogether, on PA it returns unknown when checked.

So basically, it's complicated :)

Again I'll try to find better information because I'd like to know about this as well. Are the components for example updated on a release basis for example, by using the latest gapps. If so we don't need to worry about it.

---------- Post added at 08:44 PM ---------- Previous post was at 08:40 PM ----------

Actually I've not had any issues with the BT volume at all, not on Quartz 4 and not on the versions we are testing.

However, quite a bit of the bluetooth components have changed with the last dev versions as for example bluetooth media control was broken in Quartz 4. All that is now fixed and I would suggest you try the Quartz 5 dev version or, if you prefer to wait, the official version will have these changes too.

---------- Post added at 08:46 PM ---------- Previous post was at 08:44 PM ----------

Once again thank you to all of you for the feedback and testing!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
Here is my report after one day of use.

ROM is generally very good.

Smooth, fast. Battery life is very good.

Android auto works ok.

It's ok.

But one problem.

If I have phone in pocket for some time it freezes. Happened twice today.

I had to hold power button to reboot phone.

This is my only problem with this ROM.

Anyone have idea why?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] maodevil:
Turn off location and you will be fine
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
Ok thanks for answer.

Will try to turn off when I will not use phone.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
What version are you using exactly?

And do you have pocket detection (under settings)display) on? If so, try to turn it off please.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
Latest dev version 2020/08/21.

Pocket detection is off.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Hm yes, that is very unfortunate. Does the phone get warm as well? If so that is the issue we had before the last dev version.

It hasn't happened here since and you're the only one reporting it so far.

That makes it extremely hard to track down since we have no way of reproducing it at will.

What would be really helpful is a logcat and especially a dmesg when it happens, if possible by adb shell when the device is still frozen.

Basically you need to use adb shell for that and get root with su before the freezes (so the shell is authorized), then once it feeezew connect by adb shell,l and enter dmesg and logcat. Dmesg may still deliver something useful after a reboot, pretty sure logcat doesn't.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
No phone is not warm.

Not possible logcat or dmesg when device is still frozen. No access to computer with tools when i am not at home. I will try to reproduce error when at home.

But i have no experience with logcat, dmesg...
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
It definitely got hot when we had the freeze issues so this may now be something unrelated. As [MENTION=3719503]maodevil[/MENTION] said, turning off location services completely fixed the freeze issues for us.

And what you could also try to test, is to flash the Quantic kernel and we can see whether it's kernel related or not. If it's actually the kernel, it will be relatively easy to fix.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Just installed this ROM and I've to admit I'm really excited about it. For an alpha 1 version it's astonishingly stable already. And as a pure AOSP ROM is not as pixeled as PIXEL EXPERIENCE or EVO X are.

I installed widely following the OP but flashed vbmeta.img prior to TWRP. Don't know whether it's really necessary but I'm used to it. :) And in contrary to OP I took Gapps Pico 10 since Gapps 9 gave me an error.

Fingerprint adding took a bit longer than with Miui ROMs but now detection is just a friction slower, not more than 2 to 3 seconds.

Thanks for the great work and looking forward to next versions!

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Linez:
I don't have magisk installed as I don't need any root application. As for dragalia lost, I can't download the game, coz it's not available for my country.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Jack177:
Play Store

Excuse me, I'm very inexperienced about it. I have correctly installed the ROM in question, but now if I wanted to install only the Play Store (no other Google app) what should I do?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Linez:
Download this, and install it in TWRP.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] mi-girl:
@ markakash

Can we get an update? Thank you.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] hiperglyde:
This kind of query is not cool!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Jwtiyar:
As other projects of mi9 just one version and finish.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Gaspar_z:
Akash just said that will release a new build today.

Enviado desde mi MI 9 mediante Tapatalk
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] venezolano69:
Our loved master dev is building the rom right now, I think in a couple of hour it is ready
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] markakash:
New build is out, Go check it?​
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] iBustCh3rries:
Will try it in a bit. Thanks for all of your work
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] dreamofdeath:
Thank for the rom
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Any known issues like e. g. NFC not working or so? I had Alpha 1 installed when it was released but fingerprint sensor became quite laggy after a while and wasn't usable in the end at all. But would be interested in this newer build.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Gaspar_z:
Read post #2 to see the changelog.

Enviado desde mi MI 9 mediante Tapatalk
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] dreamofdeath:
imo there are annoying bug available for me.... no charging notification and I feel no fast charging....
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ZoiraP:
Yeah , Fast Charge seems not to be working. Took 1h40 to charge , when with older build it charged with FastCharge likely in 49 minutes.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Linez:
Fast charging actually works for me, it's just the info that's missing.

And the battery stat is not resetting after full charge either.

Other than those battery and charging info related, the rom is smooth and very stable.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Linez:
Okay, seems like I've found a workaround for the weird battery stats on.

When the charging is 99% / almost complete, reboot to recovery, wipe cache and dalvik, reboot system, then remove charger when the battery is 100% / fully charged.

It's not pretty, but it works.