yashsingh1/xdaforums huggingface dataset:
[Xiaomi 12 Pro] theom600:
Hey i have question, is there a way to change the kernel? to be able to manage the CPU cores independently?

i'm not forcing it, i just wanted to know if it's possible
[Xiaomi 12 Pro] love_fuyan:
MOD EDIT: ENGLISH TRANSLATION ADDED | READ AND FOLLOW THE FORUM RULES

Hello, magisk's lsspoed plugin is not available in latest version 0327. Can I ask if it's a software bug or a system problem? Thanks

---------------------------

こんにちは、magisk の lsspoed プラグインは最新バージョン 0327 では使用できません。ソフトウェアのバグなのかシステムの問題なのか聞いてもいいですか?ありがとう
[Xiaomi 12 Pro] love_fuyan:
Hello, the plugin lsposed on magisk cannot be used on the latest version 0327. May I ask if it is a software bug or a system issue? Thank you
[Xiaomi 12 Pro] infamas:
Yes, on magisk it says "zygisk - no" even when you enable zygisk...
[Xiaomi 12 Pro] love_fuyan:
Zigisk can be opened on magisk version 27.0, but after flashing lsposed, it will keep reporting errors on the desktop, causing it to not open
[Xiaomi 12 Pro] infamas:
Yes and after flashing "mindthegapps" the setup wizard crashes on every reboot. That's why i switched to Evolution X.
[Xiaomi 12 Pro] love_fuyan:
I also want to install Evolution X, but I'm worried about any bugs
[Xiaomi 12 Pro] samson65:
Still have only one problem with it and I don´t know what to do.

If during an phone call another comes in and I don´t answer it both calls hang up when the incoming is not answered or if one is on hold and the active one ends. In the list appears the missed number + my number so I can´t see if it´s a contact from the phonebook.
[Xiaomi 12 Pro] RickyGoldsmith:
Thank you for making an AOSP build, that too such awesome. I really appreciate your work. It takes a lot of commitment and dedication to maintain a device in the longer run, providing incremental updates.

I wish the donation option was local to my country.

I installed the vanilla build and was hoping to see the MIUI camera as well. Is there no recovery flashable zip for the MIUI camera ?
[Xiaomi 12 Pro] NeoArian:
You can use this magisk module.
[Xiaomi 12 Pro] LifeIsGames:
Selfie camera doesn't seem to be working.
[Xiaomi 12 Pro] rpi_luver:
You are using which build? afaik this is fixed in Arian's latest qpr2 build.
[Xiaomi 12 Pro] LifeIsGames:
I'm using the one released on 2024/03/07, LineageOS 21.

EDIT: Just saw the updates build files. Thank you for letting me know! I had no idea.
[Xiaomi 12 Pro] rpi_luver:
yeah the latest build was on 2024-03-27. no wonder it didnt work :)
[Xiaomi 12 Pro] LifeIsGames:
I just finished installing the latest build (and flashed MindTheGapps and Magisk too), and my CPU is at 90 (according to EX Kernel Manager) for the past five minutes and the battery has been draining rapidly. I followed the instructions in the first page so I'm not sure what is happening. I thought it would've gone back to normal by now.
[Xiaomi 12 Pro] rpi_luver:
I would recommend taking a log using logcat (you can refer to this nice documentation on how to take logs: https://github.com/nathanchance/android-tools/blob/main/guides/proper_bug_reporting.txt). There's probably something crashing/wrong in your installation.
[Xiaomi 12 Pro] LifeIsGames:
I think it's related to the MindTheGapp zip I flashed. The phone seems to function fine in safe mode. I guess I'll just do a wipe and clean flash LineageOS again. Thank you for the link though! I tried taking the logs using ADB but couldn't manage to create the 'dmesg' command.
[Xiaomi 12 Pro] p1otr:
`adb shell pm create-user foo` always creates new user with profileid 400 (I also tried via GUI) and thus (or at least I assume that's the case) I cannot initialize 3rd user - it fallbacks to admin if I try to switch to newly created user. I worked fine in previous releases (I'm currently on 20240326 build).

Any idea how to fix it? (or do you have a better way to clone apps? I need to use one app on several accounts)
[Xiaomi 12 Pro] aerfvxx:
After updating to the 2024-03-07 build QCC keeps crashing.

And the standalone Wifi and Data quick setting tails disappear. Is this a feature?
[Xiaomi 12 Pro] NeoArian:
The QCC crash should be fixed on upcoming builds, sorry for that.

WiFi and data tiles have been removed from LineageOS now, since AOSP got rid of some parts of the implementation used for it, so these no longer work without more extensive changes.
[Xiaomi 12 Pro] LifeIsGames:
EDIT: Whoops I didn't see that Arian responded.
[Xiaomi 12 Pro] aerfvxx:
Thanks very much!

Oh, no... Hopefully there will be a third-party app to bring them back...

Edit: I forgot that there is already an app for that. https://github.com/CasperVerswijvelt/Better-Internet-Tiles
[Xiaomi 12 Pro] NeoArian:
Hey,

we have configured automated builds for our sm8450 family now.

This means there will be weekly vanilla builds from now on, and OTA is supported!

Releases can be found here: https://github.com/cupid-development/ota/releases

To migrate from current builds, please run this before you install the new zip manually (migration.sh is attached to this post):

adb root
adb shell stop
adb push ./migration.sh /data/local/tmp/migration.sh
adb shell sh /data/local/tmp/migration.sh official
adb reboot recovery

Additonally, a new magisk module for MiuiCamera can be found here: https://xdaforums.com/t/rom-13-unofficial-lineageos-20-for-xiaomi-12s-pro.4652643/#post-89295579
[Xiaomi 12 Pro] aerfvxx:
When I flash the update in recovery via adb sideload it complains that the verification fails. I ignored it and it works well. It's also confusing that the sideload stops at 47%. In fact the sideload has finished.

Thanks for your work!
[Xiaomi 12 Pro] aerfvxx:
https://github.com/crdroidandroid/issue_tracker/issues/364 The issue makes many Chinese apps broken. Could you apply the workaround?
[Xiaomi 12 Pro] LifeIsGames:
ADB sideload does that from time to time, as long as it said "No error" then it's all good.
[Xiaomi 12 Pro] LifeIsGames:
Are there going to be anymore updates to the GMS version? If not, how does one turn MindTheGapps applications into system applications? It's causing a lot of problems with my GW4 (WearOS). The watch stays connected but does not reconnect after after disconnecting.

It could be a Samsung issue, but the wearable app says "some error occured with Google Play Services" so I have to reset my watch each time to pair it to my phone. I downgraded to LOS 20 (GMS) and it works perfectly here, not sure why LOS 21 (Vanilla) and MindTheGapps aren't working.
[Xiaomi 12 Pro] rpi_luver:
It is a bug in AOSP since QPR2. It has nothing to do with which gapps you are using.
[Xiaomi 12 Pro] LifeIsGames:
Ah okay thank you! Is there any website to check when the bug will be fixed?
[Xiaomi 12 Pro] NeoArian:
Due to a conflict of the codename `zeus` on LineageOS (Xperia Play already took this codename), we have renamed our builds to `dagda`!

This is a necessary step to get our devices official eventually.

So, if you don't get OTA updates anymore, please sideload the `dagda` build manually!
[Xiaomi 12 Pro] mhys33:
Few questions I have for this ROM, any answers would be extremely helpful.

1. Is there a way to get stock camera working on this without rooting?

2. Is this ROM usable as a daily driver?

3. Does 5g work properly on this?

4. How is the overall battery performance on this?

Also on an unrelated note, what would be the procedure to get this device officially supported by LOS? And is there any way to contribute?

Thanks in advance!
[Xiaomi 12 Pro] LifeIsGames:
Just wondering if there's any update on this?
[Xiaomi 12 Pro] ydd0ras:
mighty Zeus arriving on Saturday!!!!
[Xiaomi 12 Pro] NeoArian:
1. Yes, using the magisk module linked in this xda thread.

2. Only you can decide that for yourself.

3. Yes

4. Depends on your usage

Regarding official; we should be able to move our repositories to the lineage GitHub organizations within the next weeks. You can always contribute with bug fixes if you encounter issues.
[Xiaomi 12 Pro] NeoArian:
It should be fixed since a while.
[Xiaomi 12 Pro] LifeIsGames:
Thank you. Wanted to let you know that the links for how to install dagda and upgrade dagda from the previous builds are not working.
[Xiaomi 12 Pro] NeoArian:
Right, thanks. That's because we didn't update wiki yet to reflect the new codename, you still find the pages for Zeus in our wiki: https://lineage-wiki.mainlining.org/devices/zeus/

We will update it soon!
[Xiaomi 12 Pro] ReymonD123123:
https://lineage-downloads.mainlining.org/devices/zeus

Dont work
[Xiaomi 12 Pro] NeoArian:
The server is currently offline due to hardware replacements. It should be up again soon.
[Xiaomi 12 Pro] Ghesun:
Worked like a charm! Thank you
[Xiaomi 12 Pro] Kamkol:
either v1.07 and v1.08 seems to be crashing right after opening. When clearing app data it opens, but after some time i have to clear app data once again to get it working. GMS version.

Other than that (and google assistant "Not available for this language" error) Its pretty stable. Great job man! I really apriciate it.
[Xiaomi 12 Pro] Maxou6440:
Hello community, I would especially like to thank the developer for this superb stable, fast and energy efficient rom. Just over 24 hours of use and everything is perfect! Sorry if the translation is not correct but I write in French via google translate. I have a lot of questions and some bugs to report about this rom.

1) In my network settings I put the global settings and I don't have a 4G+ icon displayed on my phone even though I'm in an area where I was receiving 4G+ on an official rom. I would like to know if the 4G icon of the rom includes both 4G and 4G+?

2) In the color settings for the screen there are 3 choices and a multitude of others.... (photo attached)

As for the questions here are a few....

Will there be facial recognition unlocking?

What are the differences between an officially and unofficially developed rom?

Will there be a choice of resolution in the next builds?

Being slightly noob in this world, I applied my rom via adb but I did not install the boot , dtbo and vendor boot files, can I do it now that everything is stable or will it erase everything? And especially these files what are they used for?

Again a huge thank you for your monstrous work that you provided to release us such a stable, beautiful and economical rom. Good luck ...
[Xiaomi 12 Pro] aerfvxx:
Thanks very much! The ROM is great and I have waited for a long time! Now I'm using it daily and it's very stable!

I see some small problems.

1. Wechat sometimes stuck and make the whole system ui stuck, especially when browsering long articles.

2. I need to wake up the screen to use fingerprint. There is an option "long press on the fingerprint sensor to wake up" but it seems that it doesn't work.
[Xiaomi 12 Pro] Rakpere:
Proximity sensor doesnt seem to work. Tested with DevCheck by flar2, it just keeps saying 5cm even when whole top of the phone is covered.
[Xiaomi 12 Pro] NOSS8:
specify version.

GMS version,works just by pressing at the level of the footprint.

specify version.

GMS version,works
[Xiaomi 12 Pro] Rainygortex3:
Cool ROM. (Please don't reply to this message, I accidentally posted it but I can't delete this message)
[Xiaomi 12 Pro] Rakpere:
Using GMS version also, proximity sensor at 5cm no matter what
[Xiaomi 12 Pro] NOSS8:
And what is the problem?

For calls the screen turns off by ear.
[Xiaomi 12 Pro] Rakpere:
Its quite essential to properly turn screen off when phone in pocket too. Not just calls
[Xiaomi 12 Pro] aerfvxx:
I don't know there is other versions. I can only see the VANILLA in https://github.com/arian-ota/ota/releases/tag/20.0-zeus-5fbb900c. I download it from there,
[Xiaomi 12 Pro] NOSS8:
Note on the OP, section download link

Version with gapps.

Google Drive: Sign-in

Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

drive.google.com
[Xiaomi 12 Pro] aerfvxx:
Thanks! Then maybe this is a problem of the vanilla version.
[Xiaomi 12 Pro] NOSS8:
Not really, on the first vanilla version I didn't have some problems that I have on the GMS.

As said on another post, the links sent by my bank on google messages are inactive.

Ok google worked at first but probably following an update, not available for your country.

Other than that, this rom is fine.
[Xiaomi 12 Pro] piyushyadav30:
Thnku so much....

Now the Xiaomi 12 pro becomes a Flagship killer phone.... Most awaited becomes true.... Again thnx so much 😊 ♥
[Xiaomi 12 Pro] SesshomaruSVNN:
Which ROM version did u use before flash this ROM? I mean such as: Global ROM, EU ROM,..?
[Xiaomi 12 Pro] Alexander11.:
I'm from China, MIUI is really hard to use, this ROM saved the Xiaomi Mi 12 Pro, thank you
[Xiaomi 12 Pro] Rakpere:
Latest EU
[Xiaomi 12 Pro] NeoArian:
Yeah, xiaomi seems to have changes the precision of some values reported by firmware, we can fix that in kernel one day. I didn't have enough time to look into it in detail but had similar issues on Mi 11 series already.

aptX adaptive is not supposed to work, it's a proprietary codec not supported on AOSP.

About stutter; the build is currently using a highly limited thermal profile which avoids the usage of the prime core. I will change it in the next update so that the cpu will be used normally.

I didn't look at the screen resolution implementation yet but will do that soon!

I didn't get to reproduct freezes in browsers yet on a newer build, will keep an eye on that.

Flickers could be due to the msm-drm kernel driver. Xiaomi pushed very old sources for it (and you can also see the mi logo disappearing during boot, might be related). When i get time i will try to reverse engineer their recent changes to it. Possibly they just updated some panel commands and we can fix it by updating the devicetree which is quite easy to reverse. Will take a look soon.

The volume slider is not meant to align with the volume buttons on aosp but i will take a look at the power button location config. Thanks!

Do the USB headphones work? It might be expected that there is a notification, we can look at hiding it maybe.

I didn't really understand the bluetooth issue, you have a device that tries to maintain two connections to the same device?
[Xiaomi 12 Pro] Ard98:
No Face Unlock, or is it just me.
[Xiaomi 12 Pro] NOSS8:
USB headphones work(y)Just the notification that says "device charging via USB".

My device needs 2 connections, the second is only used for calls and reception from the watch.

​
[Xiaomi 12 Pro] NeoArian:
As mentioned in the post v1.08 is only meant to be used on upcoming builds where it will not crash because i added two missing libs to vendor directly. The next build will also fix that you have to clear the cameras app data after it was closed.

You can ignore the 4G+ icon, stock usually just shows a +, the network should be the same.

The colour settings are intended for now, we can clean it up later.

There will not be face recognition.

Official roms are built automatically on the lineage build servers on a regular schedule and are ensured to have no changes to the lineage source code and meet the charter of device support requirements. Unofficial builds are builds that people compiled locally and shared,

There might be an option to change the resolution soon, slightly depending on how it was implenented on stock.

If you managed to sideload the zip you don't have to install the other images anymore, they are included in the zip.

It is necessary to install them manually in the beginning to have a working recovery from which you can sideload the zip.

This option will work on the next build, it was an issue with the quarterly platform release 3 by google at the beginning of june.

The proxmity sensor works fine. Note that it is in ultrasound proxmity sensor so it doesn't work reliably in all orientations but it usually works good for calls to turn the screen off, just like on MIUI.There won't be any improvements on that sensor, the behvaious of it is limited by it's design.
[Xiaomi 12 Pro] NeoArian:
Can take a look at the notification soon.

You are unable to establish both connections? Could you get logs and do you know any details about the connection and if it works on other devices on AOSP?
[Xiaomi 12 Pro] Ghesun:
Sucks about Aptx Adaptive. Also will the change about using the prime core not change the battery life dramatically? I also confirmed that the browser freezes on any Chromium based browser, could be reproduced by just slowly scrolling through this XDA thread. For the rest, thank you man, would love to see the progress.

Edit: I just read the device support requirement for LineageOS, and it stated the following under Bluetooth:

Wouldn't this mean that if this project ever goes official it should support AptX Adaptive? I can imagine that may be a pain to get working though and I'm not even sure it's possible.
[Xiaomi 12 Pro] NOSS8:
The association with the code is done but as soon as they are associated another notification arrives on the phone, with another code, but not on the watch.

1st AOSP with this phone and this device.

Where are the logs?

Add a photo to my previous post
[Xiaomi 12 Pro] NOSS8:
GMS rom

I used the same firmware and it works,with LOS recovery.

everything works except google voice for my region.
[Xiaomi 12 Pro] Alexander11.:
This gms version rom works well on my xiaomi 12pro, very smooth, i like it, just can't set the fingerprint. I tried to flash the international version and Xiaomi eu first, then flash this rom and format the data, but the fingerprint still doesn’t work, I don’t know why
[Xiaomi 12 Pro] NOSS8:
GMS build 230625?

And how did you flash the stock rom?

I used TWRP to format the data.

Twrp/wipe format data type yes reboot TWRP after

You have to flash all the imgs(fastboot mode) then Factory Reset, Format data / factory reset and flash the rom with LOS recovery.
[Xiaomi 12 Pro] Alexander11.:
gms6.25, I use the twrp flash made by the Chinese author skkk. After the rom installation is complete, install twrp to another ab location, then I format the data and boot. Only the password and PIN code can be set after the first boot. I can't find any settings related to fingerprints in the settings.
[Xiaomi 12 Pro] NOSS8:
The recovery rom does not contain all the system images, use Miflash (do not lock the bootloader). with a fastboot global rom.
[Xiaomi 12 Pro] Alexander11.:
I'm sorry I can't read English, I translated these through Google, you mean let me install Xiaomi international version rom with miflash, and then flash LOS20 with twrp, so that the fingerprint can work normally?
[Xiaomi 12 Pro] NOSS8:
Nope,MIFLASH then use LOS recovery,reset factory/format data/reboot Los recovery then flash IMG/reset factory/format data/reboot Los recovery /sideload Rom.
[Xiaomi 12 Pro] Rakpere:
I just unlocked bootloader, installed TWRP, formatted data and installed GMS version via Zip. All seems to work fine for me, also fingerprint.
[Xiaomi 12 Pro] NOSS8:
These are not the OP's instructions but if it works.
[Xiaomi 12 Pro] aerfvxx:
I saw more weird bugs. Not sure if they are bugs of LineagOS itself. When I use usb earphones, a notification says the phone is being charged. The earphone works without problem though. Another bug is in the battery monitor. It says that some apps uses more than 10,000% battery.
[Xiaomi 12 Pro] vishusermal42:
Issues I'm facing with GMS build (installed using steps mentioned):

1. No fingerprint lock option

2. Screen freezes while scrolling through websites in any browser. (SystemUI unresponsive)

3. 120W charging support will be good.

Help with any of these issues will be deeply appreciated 🥺
[Xiaomi 12 Pro] NOSS8:
1/Works/On what firmware?

2/Disable fluid display (screen).
[Xiaomi 12 Pro] Kamkol:
Hi again,

I've noticed that my phone can lag pretty hard, especially on browser sometimes.

If I open browser and scroll a bit through pages my phone freezes for a random amount of time, can be even 15 secs.

I'm on latest build.

Other than that I noticed that I cannot manually select access points on my sim card.
[Xiaomi 12 Pro] camp70:
Known bug, working on it
[Xiaomi 12 Pro] NOSS8:
"I noticed that I cannot manually select access points on my sim card."

GMS 2023625 version

Not this problem after selecting the correct preferred network type and manually entering the Apn.
[Xiaomi 12 Pro] Rakpere:
Anyone else notice theres newer GMS build?

Dated 8th july
[Xiaomi 12 Pro] camp70:
Some fingerprint stuff, miui cam module support. Still freeze in chrome
[Xiaomi 12 Pro] NOSS8:
For me, it appeared on the 10th,but not with the OTA but on the drive.

what stuff?

Also freezes on EDGE.
[Xiaomi 12 Pro] camp70:
Some devices that don't have fingerprint settings. Dev is working on that. Trying to fix freezes too.
[Xiaomi 12 Pro] NOSS8:
there are only 2 version of 12 pro, CN or Global.

freezes seems to only come with chromium browsers. firefox no.
[Xiaomi 12 Pro] NeoArian:
For official it's fine to ship without aptX adaptive - that will definitely not block it. We might be able to look into it one day but i really have more important stuff to look at for now :')

Any idea about other devices running AOSP roms? Does it use some exotic codecs?

There are two fingerprint variants on Xiaomi 12 Pro supposedly (goodix_fod and goodix_fod6) - i missed goodix_fod support in the last builds. I have added goodix_fod and confirmed with a tester that fingerprint works now. It should work on all upcoming builds :)

The notification is a low priority for now and similar on some other devices i think. There might be some fixes floating around already but i will concentrate on other stuff first. If you are interested you can take a look on review.lineageos.org or github yourself and test some things :)

The battery stats is a known issue, seems like the reported charge counter is wrong by a factor of 100. Will fix that soon.

Regarding fingerprint; see above.

Screen freezes are being investigated, not much clue on that yet unfortunately. Testing with smooth display disabled as suggested here would be appreciated. I have also noticed that using DSU from settings -> developer settings does not seem to be affected, even with smooth display enabled. Some more testing on this would be appreciated.

Regardin 120W charging; it is supported but there is not option to enable it. You can do it manually from a shell with root access (i.e. adb root):

echo 1 > /sys/class/qcom-battery/sport_mode

This will reset after reboots. We might expose a settings for this visible to the user.

Regarding lags - the first shared builds here had a very strict thermal profile which made the prime cpu core quite useless and limited the others too. Next builds will allow full cpu clocks while keeping strict thermal restrictions.

The manual network selection is unfortunately broken on most AOSP ROMs on recent QCOM devices - might look into that one day but not my priority for now.
[Xiaomi 12 Pro] NeoArian:
I have recently built a new GMS build for zeus, it can be downloaded here:

Google Drive: Sign-in

Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

drive.google.com

There is no vanilla build for now, will do that soon too.

Changelog:

* touchscreen works in lineage recovery now

* fingerprint should work on all devices now

* fingerprint improvements while enrolling

* call recording should be enabled now in supported countries

* changed thermal mode to allow higher clocks

* got rid of sim x is hd capable notification

* miuicamera module works fine now

* minor rom side fixes, including screen off udfps (it might still be somewhat bad on the build, hbm won't kick in the first time - will be fixed with the next release though)
[Xiaomi 12 Pro] Kamkol:
Do I have to flash everything or just zip when coming from 25.06 build?

Also can I skip formating data? I would like to save my current installed apps
[Xiaomi 12 Pro] NeoArian:
Yes, you can just flash the zip. Flashing all the images at the beginning is just to get lineage recovery up initially, the zip flashes all images anyway. You don't have to format data