yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] nonoperez:
Many thanks for all the replays, Always on display is off, but I have turned all the toggles on and then off and reboot. I will report later. The only thing is that I am using magisk and adaway, not other modules. Never had problems with battery with them.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Pocket detection is off too? It is off by default and may cause deep sleep issues on some devices.

In case your idle drain is still too high or the device doesn't deep sleep, I would recommend using a tool like better batterystats to find out what is cause the wakelocks.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] maodevil:
Can you provide a different link to download the rom please
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Hmm, last time I provided a google download link and someone didn't like that. Now i's mega and again that causes issues :cowboy:

Oh well, since we are approaching Quartz 5 official, I have removed the DEV download folder altogether.

The regular users have it already and all new users please wait for official Quartz 5, thank you :laugh:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] TobiPeter:
Hey guys, I've not followed the thread regularly, but I just noticed that Version 4 has been released for cepheus.

Is it still maintained by Akash or has someone else been ready to maintain the device?

Thanks in advance!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] maxcaulfied:
New maintainer applied, he will keep cepheus updated
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
After 24h testing quantic kernel I have to say It's great on performance and battery usage in Idle mode.

Idle drain is around 0.9% and I still have 56% of battery that is incredible battery idle usage for me.

Good Job!

Should I flash new quantic kernel or wait for official Quartz 5?

I'm excited to try official Quartz 5 that support face unlock too.

Thanks for your great work.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] nonoperez:
Tonight my phone slept as a baby, I had turned on pocket detection, following your advises turned it off, and always display, and 3% in about 9 hours. Thanks.

Problem solved, Hope this could help other users because the ROM is great.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] x86-Dark:
The MEGA link is not available anymore. Could you please share it again?

For the latest dev versions, can we safely dirty flash from the official Quartz 4? (Base is MIUI 11)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
The next version will be Quartz 5, there are no public developer versions at this point.

For Quartz 5 you will be able to dirty flash over Quartz 4.

---------- Post added at 11:47 AM ---------- Previous post was at 11:41 AM ----------

The latest build has a bit better battery at this point and this is the version that will be in Quartz 5.

Not sure if it makes sense for you to upgrade the kernel manually. You could but you will lose double tap to wake since that is handled differently in AOSPA (will look into changing that so you don't lose DT2W in the future with non stock kernels).
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
So I prefer to wait, DT2W is a good shot.

Thanks.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] TobiPeter:
REMOVED
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] chisnz:
Very interested in moving to Quartz 5 when it's out, but a few (unusual) questions for those on PA already:

- can you use adb pull .... to transfer from the phone without locking up within 10-20 seconds?

- if you set adb wifi on by using adb tcp nnnnn, does it last until next reboot?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Wildfire64:
Hello all,

I am using this rom since yesterday ( the latest version) and I really like it, it's beautiful and very smooth amd easy to use, but İ have a problem. Today my phone crashed 3 times in a row it just turned off by itself?

Does anyone know what the problem is and how to fiz it? Thanks
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Yes, this a known issue with the last official version. The new release, Quartz 5, will be out shortly fixing these reboots and several other problems.

In the meantime I have uploaded a Quartz 5 developers release that contains these fixes (and several others).

Please note that faceunlock and applocker do not work in the developers version, these will work in official Quartz 5.

Once official is out, you can dirty flash it over this one. Also you can dirty flash this DEV version over your existing Quartz 4 version.

You can download the latest dev version here:

https://mega.nz/folder/X8YRBAbD#ykhxY51KbNMo4LYepojpPg

I used adb push/pull a lot and haven't had anything lock up. But I do use it with a usb cable so I don't know if it would work with adb wifi and for how long that setting would stick.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Wildfire64:
Thank you İ will wait for quartz5 stable
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Teadious:
On the this dev version the quick torch shortcut doesn't work (hold power when screen off) tested just turning torch on via quicksettings and it worked so the torch itself isn't broken

Edit: fixed itself after rebooting
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Just tested this on my phone and it works fine. Both the "quick torch" feature where you long press the power button works, as does the double tap torch if you set double tap to that instead of waking the phone. I've also asked someone from the testers group to verify and he says it works fine for him too.

You did enable it in the gesture settings under "quick torch", right?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] cypek04:
On the new quartz 5 dev 12-09 when i charging my phone with a 27w charger, battery temperature goes up to 44C.

Is this safe?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] antykat:
[MENTION=6420537]Cave_diver[/MENTION]

I'm on last dev version (12.09). Generally the rom is great. Thank you for your work.

I have only one problem. Screen Cast doesn't work properly. It's looking for devices very long time, but finds them finally. Unfortunately during connecting with tv set my phone reboots. Could you please check that?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
What type of device are you attempting to connect to?

The "official google way" is obviously chromecast and that works fine. Just tested it and streamed HD with audio.

If you're using something else I'll need to look into that. Could you maybe generate a logcat too and send that, if you want as PM here or to [MENTION=6420537]Cave_diver[/MENTION] over on telegram.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] antykat:
I use Samsung Smart TV and I have never had problems with conecting on other custom roms.

How to generate logcat? I have never done it before. I am rooted if it's matter.

Edit: Will it be OK If I run alogcat and and save logcat after reboot?

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
If you enable USB/ADB debugging, you can open a cmd on windows, enter "adb logcat" and then do the search to make it crash. Once it crashes just copy the last 500 or so lines in the cmd output to a notepad.

Using logcat after it comes back from a reboot will not help as the information will likely be gone.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] antykat:
I understand. I'll do that when I have time and send you a logcat. Thanks.

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] fk4mil:
safe up to 55C, battery and 60C CPU.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Looking into this right now. So essentially you are trying to screen cast to a "wireless display" and set the checkbox accordingly?

Just tried that to cast to my Windows 10 PC with the "connect" app open and can confirm that's not working.

So in case this is what you do, you can hold off of the logcat for now as I'm on it.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] antykat:
I'm not sure what you are asking me about, because my English is not perfect.

After finding tv set (picture below) I click on it, then I accept conecting on tv set. After that and a few seconds my phone reboots. I hope I explained that clearly enough.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Yes, that is the same procedure I am trying. Mine doesn't boot but it also does not work.

Looking into that now.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
I just uploaded a new DEV version into the folder called "pa-quartz-5-cepheus-20200915-dev-wfdtest.zip".

Please [MENTION=4438401]antykat[/MENTION] let me know if this fixes the issue for you.

It does make wifi display work for me here...

Everyone else, please don't flash this version. There are additional changes in there that, while unlikely, may break something for you.

Once we figure out if this change is successful or not, I will make a new build with minimal changes. And hopefully it will be in time for official Quartz 5 too.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] antykat:
[MENTION=6420537]Cave_diver[/MENTION]

It works now [emoji846] No reboots. Thank you very much.

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Cleaned up the code and uploaded a new version (pa-quartz-5-cepheus-20200916-dev.zip) that fixes the Wifidisplay/Screencast issue.

Thank you [MENTION=4438401]antykat[/MENTION] for the quick testing and confirmation!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] thecdn:
Is this ok for the non-testing general public or should we continue waiting?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
It's perfectly fine and stable. Just keep in mind that the dev versions have no faceunlock and no applocker.

But it passes safety net like the official so you don't need magisk and everything should work fine.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] @kitokit:
where can i download the dev version file?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] antykat:
https://mega.nz/folder/X8YRBAbD#ykhxY51KbNMo4LYepojpPg

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] antykat:
What's new in today (17.09) build?

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Bafasoli:
hi, i want to try this rom, and i need to know if it has Widevine Security Level 1, because i think some roms has L3 and you cant play netflix in HD (for example). Thanks
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Yesterday's version wasn't on the latest status of general PA changes, it was maybe 1 or 2 days behind.

So today I synced everything and made a new build.

On the device side the kernel is slightly downgraded from .198 to .197.

We will use .197 for the official release as it has been tested in greater depth than .198.

On the ROM side there are again a few changes.

A new battery icon (full circle) for example, plus finally a pretty fingerprint icon :)

For all the changes (there are quite a few), check out https://gerrit.aospa.co/q/status:merged

---------- Post added at 10:33 PM ---------- Previous post was at 10:28 PM ----------

The Widewine status is not in the ROM, it's actually located (I'm fairly sure) in your persist partition. Also I don't know if all Mi9 variants even came with L1.

Mine (EU) did originally come with L1 and HD worked. Sadly a year or so ago I bricked it and restored a persist.img to the phone to get it to work again.

That completely broke L1 for me so I'm on L3 now.

Maybe check with the app DRM Info on Miui to see if you have L1. If you do I'm pretty sure it will be exactly the same on PA.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Bafasoli:
Great thanks, one last question, when is v5 going to available? Just to know if I should wait or install v4. Thanks.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
If you want an official version, Quartz 5 is probably going to be out by the middle of next week.

At least that's the current projection.

If you are ok with my developers build, the link for that has been posted a page or two before this one.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Bafasoli:
but the dev version doesnt have face unlock right? or at least thats what i read before. I think ill wait untill v5. thanks.

By the way, when do i have to flash vbmeta? After or before flashing twrp?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
You flash vbmeta only once when coming from miui. And you should flash it first thing, before flashing twrp.

Faceunlock is not in the developers version.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] chisnz:
PA was going so well for 3 days (really, super well - everything was working perfectly). This was the 0912 dev version on 12.0.2.0.QFAEUXM framework, without Magisk.

Today in the middle of using the phone I found I had no internet. The phone seemed fine otherwise, then I had strange behaviour on an app.

I rebooted and then I was in a boot loop, continually cycling through the PA startup logo. Went into recovery then rebooted, and boot loop again. Back into recovery and wiped cache & dalvik, then it rebooted and worked properly.

If it happens again, is there anything I can run or check out before I reboot?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
That is indeed a really weird issue, never heard of this before. And I'm very glad the cache deletion fixed it.

The version you are running is very stable. Only thing not working is the screen casting which is fixed in the latest build.

What you could do is install matlog (the sources and a prebuilt apk are on github):

https://github.com/plusCubed/matlog/releases/tag/1.2.3

Matlog has an option to save the running logs of the device into a zip file. That log will possibly contain some revealing information.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Bafasoli:
I, its me again, sorry to boder but y instales pa quartz 4 today and in the proces, when i instaled the zip, in the top appear in red E:unable to decrypt fbe device, is that a problem?

Edit: the rom is installed and for now it works fine, but i dont know if its going to be a problem in the future. should i install Disable_Dm-Verity_ForceEncrypt_10.20.2019?? that one i used with xiaomi.eu roms
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
It depends what you want, some people prefer to not have their internal data encrypted and end up flashing what you did.

Others like myself actually prefer the data to be encrypted, since the bootloader is unlocked and we don't want people to be able to access our data from twrp without entering a passcode.

In the first post, I've outlined the procedure on how to install. Basically just follow those steps. It you want to disable the forced encryption you will need to flash something for that.

Now assuming you are now decrypted you could leave it like that. I'm not familiar on how you would get rid of this non encryption thing but I would guess you would need to install miui and factory reset in the miui recovery, then reinstall the custom rom according to the steps in post 1.

I'm sure others here in the thread know much more about this and can provide assistance if you need it.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Goat24K:
Hey Guys is there a function to disable the AI Button without Root?

Best regards!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] baba3moor:
( i am on 12.0.2 QFAMIXM global )

what i do ?

i must install eea fw ? or just flash rom ?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] arceoxis:
You can find it here:

https://xiaomifirmwareupdater.com/firmware/cepheus/
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] adrb61:
Thank you !

But if I am already running this ROM on my Mi 9, why should I re-flash it ?

Unlocking the bootloader and installing TWRP before flashing PA is not enough ?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Flashing of 11.0.6.0 or younger is advisable for all those where the current underlying Miui ROM is older. IOW, if you're running PAQ a1, released in November, your underlying ROM might be outdated and you need to upgrade Miui first before you successfully can flash PAQ a2.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] wain_hero:
My daily rom for 1 week (with microg). All good.

Thanks a lot [MENTION=5970333]markakash[/MENTION] !
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
Android auto works?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Linez:
Yes
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
Thanks.

Will try this rom now.

Edit: flashing right now. Will report back.

Edit: bootloop. Not sure what i am doing wrong.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Not easy to tell when all you report is 'flashing right now'. Would you mind explaining the flashing step by step?

Anyhow, there's a high probability that you didn't start with a 11.0.6.0 or younger ROM or that you didn't flash vbmeta.img prior to TWRP. Just my guess. :)

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
I am on stock (unlocked) 11.0.6.0 (EU).

TWRP works. But i didnt flash vmbeta.img before TWRP. But twrp works ok.

In recovery i did format data. The one you need to write yes.

Reboot again in recovery then flashed this rom.

And gapps.

Got stuck in boot with Mi logo on screen.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
You don't need vbmeta to flash TWRP. You need vbmeta to avoid bootloop.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
So if i am now on stock 11.0.6.0 (EU) unlocked and i do in this order:

1. flash vmbeta

2. flash twrp

3. boot twrp and format data

4. reboot to recovery

5. flash this rom and gapps should be ok?

Thanks
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Yes, then you should be safe.

I took vbmeta from XDA. And to flash it:

fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] tomzzi:
Thanks.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Bobbi lim:
Why do you need vbmeta for alpha2? Alpha 1 works fine without it. All that is required from the Mi9 is to have updated firmware :)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
IDK, I'm not the developer.

PAQ a1 also for me worked fine w/o flashing vbmeta. But when I wanted to try LineageOS 17.0 coming from freshly flashed 11.0.6.0 I ended up in a bootloop. Since Cosmin (LineageOS developer) says in LOS thread that vbmeta needs to be flashed first I simply followed his recommendation. Never had a bootloop since so can't be totally wrong.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Bobbi lim:
I believe the OP states "Flash cepheus-user-10-QKQ1.190825.002-V11.0.7.0.QFAEUXM-release-keys firmware" and you're flashing the wrong firmware which might be the result of you being required to flash vbmeta. Maybe [MENTION=5970333]markakash[/MENTION] can chip in? :cowboy:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Kaptnelvis:
Did anybody managed to get volte and vowifi working? I already tried to edit the build prop and I activated the settings but it doesn't work.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
How do you know that it's not working? I have both activated simply via 'Settings'. Both settings were presented from scratch without editing build.prop or any other tinkering.

But whether VoWiFi or VoLTE is really used while calling I don't know. Is there a way to find out?

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Kaptnelvis:
At my home, I have very bad services (half of the time, I don't get any signal). With the miui roms (like RevOs, Syberia Os, Xiaomi.eu etc.) that was never a problem, because I had VoWifi. But now, even when the settings are set and don't have any service but Wi-Fi, I get a pop up saying, that I have to connect to service to make a call. In other threads they say, that you should be able to make a call with airplane mode and Wi-Fi on, if VoWifi is working. Can you please check
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] melkhatt:
Same here. I can't get vowifi to work in any non-mui Q roms.

But volte works.

To check this. You have to:

- dial *#*#4636#*#*

- "phone information"

- hit the 3 dots in the corner

- check " ims status"
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Try it and see if it works. It probably will.

---------- Post added at 06:12 AM ---------- Previous post was at 06:09 AM ----------

Yes there is. Disable the Google app for example and the button will be dead. You could also bind another assistant app to the button like Alexa. And maybe there is an app that that does nothing or something else that is useful. But in general this is an assistant button and works as such. It can't be disabled in the rom for all I know.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Jwtiyar:
Iam on MMX custom Rom which based on .eu and china, what to do to install dev version?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Basically just go to post one, it has all the information.

You need to check the requirements (flashing vbmeta as described and possibly 12.01 firmware), download the ROM and then flash according to the instructions.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Awesome! It mind sound silly but the circular battery was something I really missed from LineageOS. Excellent to now have in PAQ as well. :)

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
Sorry I have to disappoint you... Due to log spamming issues, the round battery features have been removed again for the official build. This is something that will be revisited for Android 11. There were attempts to fix it but the fixes didn't pass "quality control" so it was removed. Again sorry to disappoint but that's how it is with DEV versions, features come and go.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] IMS4NE:
Hi there, I love this ROM, great work. I was wondering if there is an option to disable the "AI Button". Mine is broken and keeps opening the Google Assistant.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
We'll see. I guess I'm not obliged to switch to an official version. :)

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Vogie:
I think circular battery is old fashion and I prefer standing battery icon too.

I wish official build release ASAP :good:.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
For me the standard battery icon is totally antiquated, a reminder of cellphones of the pre-smartphone era. People are different that's why the choose e. g. different ROMs. :)

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Cave_diver:
The only way is using either a Magisk module for it, or by disabling the Google app.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Borisov:
Looking good!