yashsingh1/xdaforums huggingface dataset:
[Xiaomi 12 Pro] Anz7978:
Hello, I want to ask a question, this ROM I flashed in slot B, boot slot A, so in which slot do I need to flash the ROM package for subsequent updates?

If I flash it for the first time, do I need to flash the full MIUI package for the bottom layering?
[Xiaomi 12 Pro] NOSS8:
Did you read the instructions from the OP?

Have you seen a CMD with _ab?

It all depends on what version of rom you are currently using.

I use firmware V14.0.13.0.TLBCNXM.
[Xiaomi 12 Pro] NoNshaDowZ:
Please fix the battery percentage bug.

thank you

Mod. edit: post translated. alecxs
[Xiaomi 12 Pro] Anz7978:
Maybe you misunderstood me, I know these basic flashing operations.
[Xiaomi 12 Pro] Anz7978:
Maybe you misunderstood me, I know these basic flashing operations.

I mean, the AB model, there are two slots, I flash the system zip in slot B, and it will automatically boot to slot A to boot after flashing, so I want to ask which slot I should flash in if there is an update in the future.
[Xiaomi 12 Pro] NOSS8:
Not far!!

https://xdaforums.com/t/rom-13-unofficial-lineageos-20-for-xiaomi-12-pro.4599481/post-88740083
[Xiaomi 12 Pro] 我一定要练会李别:
Thank you very much for the development. Hope the next version can add a visible switch for 120w fast charging.
[Xiaomi 12 Pro] 我一定要练会李别:
Hope the next version can add a visible switch for 120w fast charging.please！please！
[Xiaomi 12 Pro] h0st1le:
I tried to flash just the new zip when moving from 0625 to 0709, and got the following error:

ERROR: recovery: Package is for product cupid but expected zeus

To fix this I flashed the 0709 recovery image but not boot, dtbo, or vender_boot images.

I did end up doing a factory reset before the flash, so not sure how skipping that would effect things.

EDIT: realized I had flashed the gapps version from 0625 and was using vanilla from 0709.

EDIT2: Did a factory reset while on lineage-20.0-20230709-UNOFFICIAL-cupid.zip (vanilla) and tried to flash MindTheGapps-13.0.0-arm64-20230408_162909, got error:

Not enough space for GApps! Aborting
[Xiaomi 12 Pro] camp70:
Cupid is for 12, Zeus for 12 pro
[Xiaomi 12 Pro] h0st1le:
Ahhh, thank you, I missed that info somehow.
[Xiaomi 12 Pro] h0st1le:
I decided to start over completely from step one, everything seems to work fine but I did get an error when trying to flash vender_boot

Warning: skip copying vender_boot image avb footer (vender_boot partition size: 0, vender_boot image size: 100663296).

Sending 'vender_boot' (98304 KB) OKAY [ 2.414s]

Writing 'vender_boot' FAILED (remote: '(vender_boot_b) No such partition')

fastboot: error: Command failed

IS this something I should be worried about?
[Xiaomi 12 Pro] NeoArian:
In general yes, there should be a vendor_boot partition. But if the zip flashed fine you don't have to worry, it might be due to old fastboot on your computer or something. Once you are in lineage recovery and can flash the zip you don't have to worry about other partition images.
[Xiaomi 12 Pro] 我一定要练会李别:
The edges of the screen are especially prone to accidental touches. I hope anyone can pay attention to the problem of false touch on the edge of the screen, and consider whether to add the function of preventing false touch on the edge.

屏幕边缘特别容易误触。希望大家能够关注屏幕边缘误触的问题，考虑是否添加边缘防误触的功能。

Mod. edit: post translated. alecxs
[Xiaomi 12 Pro] SesshomaruSVNN:
Hi Arian, thanks for your updating. In this last update, my phone is hotter than the old update. I think the reason is "changed thermal mode to allow higher clocks" like your changelog. So how can I switch to the old mode? Everything is good for me with this update except the battery rain and device hotter.

If I can using the shell script to down the clocks, that will better.

Thanks.
[Xiaomi 12 Pro] gilbert32:
This seems like an obvious spelling mistake. it's vendor not vender
[Xiaomi 12 Pro] h0st1le:
DOH! I bet that is what happened

Thx
[Xiaomi 12 Pro] SL0nick:
Hello!

@NeoArian thanx for your hard work for 12's family!

Can you include in develop 12x too?
[Xiaomi 12 Pro] piyushyadav30:
what about cpu throttling and antutu benchmark after flashing this rom ??
[Xiaomi 12 Pro] Danacy:
Think that is more related to the CPU being a hot head, the cooling not being adequate and maybe some config in the kernel. As far as I understand the ROM has the least impact on these things.
[Xiaomi 12 Pro] idannnn7:
Is this stable release? Everything works? Bluetooth wifi nfc payments?
[Xiaomi 12 Pro] hergioo:
I tried the new room, and it's a nightmare. Large Downloads in chrome or others browsers are paused. The screen freezes. I couldn't recover my whatsapp backup. I'll have to go back to miui. I just tried it out of curiosity but it didn't work for me
[Xiaomi 12 Pro] Danacy:
Well, it's good you report it here. Did you manage to make a log file? Might help the developer. ROM is pretty new
[Xiaomi 12 Pro] h0st1le:
From what I have been able to tell the screen freezing seems to be related to using a chrome based web browser. I swapped to using a mozilla based browser (mull) and havent had the screen freeze since. Of course this doesnt fix anything that uses system webview, anyone know if that can be replaced?
[Xiaomi 12 Pro] aerfvxx:
Still waiting for the vanilla build 1 month after the gms build was available...
[Xiaomi 12 Pro] LifeIsGames:
Hello there! Thank you for creating this ROM. I installed it 2 days ago and have been testing it, so I wanted to report my findings to you.

Initially, the phone did not recognise my SIM card but managed to do so after flashing the boot, dtbo, vendor_boot and LineageOS again. I used the GMS build found on the Google Drive folder. The setup has been smooth otherwise.

I notice that whenever I reboot the phone, after the MI screen, there's a flash of green blocks on the screen, before the LineageOS boot animation shows up. As far as I know, there is no massive bug, but it is a graphical bug. As mentioned by someone else, there is also a weird graphical glitch (looks like TV static) on the right side of the screen that appears randomly.

Using Google Chrome and anything that requires System Webview causes the system to become unresponsive, only after pressing the power button a few times does it work. Firefox works fine though. There is also a weird choppiness in the Trebuchet launcher, where the phone is set to 120hz, but it feels like the launcher is being rendered at less than 60hz. If I went to the Google feed or the drawer, it would immediately disappear.

The battery usage bug is still present, which I know you said is not on your priority but I decided to include it nonetheless. Using the phone without an underclock/kernel manager made it very warm (70 degrees Celsius) on the CPU whilst only just using Instagram. It is also weirdly roughly the same battery life as MIUI. Maybe it was just me but I was sorta expecting slightly better battery life. For anyone experiencing overheating, get a kernel manager (I use EX Kernel Manager) and underclock your CPU to 60% of its maximum power and use schedutil.

When I use WhatsApp video calls, it uses the stock camera, which is incredibly dark and ugly. Is there any way to make the MIUI Camera that was in the first few replies the main camera and put it into every build?

I've also found that cast (I'm guessing it's Miracast) to my TV does not work. I enabled the wireless displays, but it was just stuck on "Connecting". It worked fine on MIUI just fine so I'm sure it's a ROM problem. TikTok also has a weird bug that if I leave it and go back into it immediately afterwards, the audio plays but the video is paused until I go to another video and come back. The navigation bar also shows up in YouTube videos even after disabling it, blocking some of the view. Both are not a big problem but I'd still like to mention it.

I'll add more issues as I encounter them. Thank you again and hopefully we can make this an official ROM soon.

EDIT: The autobrightness feature is way too sensitive in my opinion, it gets way too low even though I'm in a fairly bright environment.

Is it possible to add face unlock? If not, it's fine, just wondering.
[Xiaomi 12 Pro] LifeIsGames:
Mate, cupid is for the Xiaomi 12. zeus is the Xiaomi 12 Pro. Download the correct LineageOS zip.
[Xiaomi 12 Pro] NeoArian:
No, Xiaomi 12X is only optically similar to the 12/12 Pro. It uses an outdated SOC and runs an old 4.19 kernel. I will not work on this device.

The glitch after the Mi Logo will be fixed with the next builds, i have been working on that yesterday and today and got it working. The issue was in the audio devicetree overlay - since xiaomi did not release the source code i reverse engineered that from Xiaomi 12 when i started the development. However, it turned out there is a difference in the pin configuration between Xiaomi 12 and Xiaomi 12 Pro. Since xiaomi seems to impelement uart over the analog audio output that config was in the audio-devicetree, making it a bit harder to find when looking around at the display-devicetree. I decommonized the pinctrl config and the glitch is fixed now.

Upcoming builds won't have that issue anymore.

The chromium freezes are being investigated - however i'm slightly optimistic that they fixed themself aswell with the display glitch fix mentioned above, i wasn't able to reproduce them as of now. More testing on that is welcome when i share the new build. (It's already uploaded, i will make a release post after this one).

The battery usage stats bug will also be solved with the next build.

The MiuiCamera will be included in the upcoming GMS builds (additionally to the OSS Aperture camera from LineageOS). The vanilla builds will not get MiuiCamera inbuilt to avoid unnecessary proprietary software (i figured people who use gapps might not bother about the camera app).

I will look into miracast/wifidisplay soon.

Autobrightness configs are from stock currently (even though miui might have tuned it further system side). I won't look into that as of now, maybe we can bother tuning that when other stuff is done.

No, i won't add face unlock and i'm not aware of a mod to install yourself.
[Xiaomi 12 Pro] NeoArian:
Hello everyone,

i'm back from my vacations and exams and have uploaded a new set of builds!

Download

Vanilla

GMS

Note regarding the GMS build: It passes safetynet (basic) by default now and includes MiuiCamera. This only applies to the GMS build.

Changelog

* Fixed the glitch on MI logo

* Fixed the battery usage stats

* Fixed the displayed estimated charging time

* Fixed touchscreen in recovery mode

* Added lineage power share hal

* Added lineage health hal

* August 2023 security patches

What is the lineage power share hal doing?

There is a QS toggle for wireless power sharing now (you have to add it using the pencil button).

What is the lineage health hal doing?

In battery settings you get a charging control page now, which allows to limit the maximum percentage your phone charges to and can automatically start the charging later based on your alarms or a custom schedule.

After a while of testing the chromium fixes seem to be fixed as well with the fix for the display glitch on boot.

Reports regarding that would be great - in both directions, wether you still notice a freeze or wether it seems stable now.

Happy flashing and have a nice day!

Donate via PayPal to me
[Xiaomi 12 Pro] Maxou6440:
Many thanks for this new Rom. To install it, I started from scratch. And everything is stable.

Very good work.

Thank you for making our xiaomi 12 pro much more beautiful, fast and entertaining
[Xiaomi 12 Pro] rpi_luver:
What a great release! Flashed and everything went smooth. Lovin this update. Thanks Arian!
[Xiaomi 12 Pro] Kamkol:
Chrome WebView seems to be more stable, but still got lags. Other than that it's pretty stable.

I did dirty flash + davik cache wipe.

Thanks for the update!
[Xiaomi 12 Pro] jitheshvenu:
I am not able to install magisk. After installing modified boot, magisk not opening
[Xiaomi 12 Pro] NOSS8:
No problem to root:

Install TWRP

Rename Magisk apk in Zip.

Flash the zip

Reboot system

Done
[Xiaomi 12 Pro] LifeIsGames:
Appreciate the response. Thanks for the new build. I hope I'm not being overbearing with my messages, I just want to inform you about all the bugs I encountered.

Speaking of, whenever I leave an app with a fingerprint lock, like WhatsApp or Chrome, half the time it doesn't ask for my fingerprint to unlock the app again.

Hope your exams went well, just had my mock exams and they showed me dust. 💀

EDIT: Freezing in Chrome is still present for me. I installed the ROM using the dirty flash and used TWRP to clean cache and dalvik cache.

"Hey Google" is not working for me when the screen is off. I've enabled Voice Match and allowed it on lock screen, but it only listens when the screen is on.
[Xiaomi 12 Pro] NOSS8:
For me, the biggest problem is that the messages (google messages) of validation links from my bank do not work, that is to say that the link is in text format. (same with another AOSP).

I tried with Vanilla, same.
[Xiaomi 12 Pro] NeoArian:
That's "intended" by the design of the feature - it is implemented only in the launcher. You can always open that app from settings without using the password. It is not meant to be an actual security feature but rather block quick access for unaware people.

"Hey google" detection will be working from the next build on, already fixed it :)

Do they use regular SMS? Do you have issues with SMS in general or only from your bank?
[Xiaomi 12 Pro] NOSS8:
The Bank link is linked to the banking app, if I copy the text of the message to use it with the browser it does not work.

This link is used once to validate access to the app.

It's just this message that doesn't work, everything else is ok.

On my other banking apps for NFC payments, it's a code and it works.

To summarize the message contains text and a link, the link is not underlined.

I tried with other message apps, same.
[Xiaomi 12 Pro] LifeIsGames:
I might have misunderstood, I am using the fingerprint protection built into both apps, not Trebuchet launcher. Half the time I go into those apps, whether by notification or just going into the app, the app doesn't require me to use my fingerprint. On MIUI, it always prompted me for my fingerprint (I did not use the MIUI app lock, just the app's own feature).

I also found a graphical bug whilst I was playing a game yesterday, similar to that "TV static" bug I and others had mentioned earlier. I attached the screenshot to this message. Look carefully at the zeros. It's not a big problem, but it might be a symptom of another bigger problem. It's also not a game design, my friend's iPhone displayed the zero as a solid number with no "static".

I'll try to work on the Miracast bug as well, if I find a fix (this article looks interesting), I'll try to commit it to the GitHub repository / send it here after some bug testing.

EDIT: Caused a bootloop on my phone. If anyone is able to post these files from MIUI, it would be helpful:

system/lib/libaudioflinger.so
system/lib64/libaudioflinger.so
system/lib/libserviceutility.so
system/lib64/libserviceutility.so
system/lib/libmedia.so
system/lib64/libmedia.so
system/lib/libwilhelm.so
system/lib64/libwilhelm.so
system/lib/libandroid_runtime.so
system/lib64/libandroid_runtime.so
system/lib/libstagefright.so
system/lib64/libstagefright.so
system/lib/libstagefright_wfd.so
system/lib64/libstagefright_wfd.so
system/lib/libmediaplayerservice.so

Thank you for fixing the "Hey Google" issue, it was getting really annoying. 🥂
[Xiaomi 12 Pro] LifeIsGames:
If anyone else is having trouble with the auto-brightness, I'd recommend you use Macrodroid to set up a macro that changes screen brightness based on the intensity of light received by the light sensor. I've added a screenshot which can act as a template. Use the Alternative Android 9+ mode in the screen brightness settings.

Dark - for a dark room

Darker - for a dim room

Indoor - indoor with a bright room

Light opposite - when you are in a dark room, with the lights behind the phone (so most of the light is blocked)

Night - at night in a room with no lights on

Outdoor - outdoors whilst not under direct light

Sun - underneath the sun
[Xiaomi 12 Pro] RM Tawqeer:
Latest Lineage GSM Build Pls Someone Updates The Google Drive Link...It Shows 404 Error
[Xiaomi 12 Pro] RM Tawqeer:
Latest Lineage GSM Build Pls Someone Updates The Google Drive Link...It Shows 404 Error... I'm Unable To Download GSM Build For My Zeus
[Xiaomi 12 Pro] philipjan26:
Hello, I'm currently on Xiaomi MIUI EU Rom , with TWRP. On my setup, what are the steps needed to flash this Custom Rom? Thank you
[Xiaomi 12 Pro] NOSS8:
If latest version of Xiaomi Eu rom:

Twrp/wipe format data type yes/reboot twrp(if error,red lines,start again).

Sideload or flash the zip rom.
[Xiaomi 12 Pro] philipjan26:
thank you, all good. very smooth!
[Xiaomi 12 Pro] Alexander11.:
How to make 480Hz touch work normally in games
[Xiaomi 12 Pro] Alexander11.:
Xiaomi may ban unlock bootloader in the future, maybe only in China or globally.
[Xiaomi 12 Pro] LifeIsGames:
Hey guys, is it just me or is the charge control feature a bit buggy? I turned it on to charge until 80% and the second it would charge to 80%, it would stop charging, then discharge to 79% and immediately charge, doing this repeatedly in a short span of time. It also did this when I set up a bedtime schedule (22:00 to 06:00).
[Xiaomi 12 Pro] LifeIsGames:
Whats your source? I hope Xiaomi won't actually do this, their MIUI is incredibly lacklustre compared to other Android skins, at least IMO.
[Xiaomi 12 Pro] Alexander11.:
On the Chinese platform, I don’t want Xiaomi to do this either, MIUI is hard to use, there are a lot of bugs and freeze.

You can try to translate it

https://www.coolapk.com/feed/48913046?shareKey=Njg3MWM2NGM3NDQ3NjRmMjQyNjA~&shareUid=27087250&shareFrom=com.coolapk.market_13.3.3
[Xiaomi 12 Pro] Alexander11.:
This appears to be a requirement of Chinese government agencies. Xiaomi, which is headquartered in Beijing, may be the first to obey orders. If I can’t unlock the bootloader, I won’t buy Xiaomi again.
[Xiaomi 12 Pro] LifeIsGames:
Seems like they blocked me from accessing the website but I'll take your word for it. I 100% agree with you though, MIUI has a lot of bugs and it's "optimisations" actually ruin the user experience. My friend has an S23 Ultra and his phone is so smooth and bug-free. It even lasts all day!

Yeah this is definitely my first and last Xiaomi. The bugs killed the entire experience for me. It'll be a shame if China actually forces them to lock bootloaders, maybe that's why Huawei was so restrictive with their phones.
[Xiaomi 12 Pro] Alexander11.:
Yes, I live in China, I don't recommend you to buy a mobile phone from a Chinese company. Get yourself a Samsung or iPhone for a better experience. I've bought four Xiaomi phones and MIUI has ruined it, MIUI used to be great, now it sucks.

I used software to translate the article content
[Xiaomi 12 Pro] LifeIsGames:
Thank you for translating the post. Paragraph two is a joke! The only reason I unlocked my bootloader was because of how buggy MIUI 14 was! I was vacationing in Europe and the phone would freeze and turn itself off right before I got onto a bus (my ticket was on my phone). It's unbelievably disgusting how Xiaomi is blaming US for their own wrongdoings. They should stop releasing mediocre phones and focus on improving their OS. It looks outdated compared to other skins and doesn't even have a proper variable refresh rate and Material You support.

I really feel bad that you had to buy 4 Xiaomi phones. My last phone before this was a Huawei Nova 5T and I absolutely loved it. It was stuck on Android 10 but I at least had GMS. I was expecting Xiaomi to be as good as Huawei if not better, but clearly, they have no sense when designing software. I'll probably buy a Samsung or go back to iPhones after this phone. I only thank developers like Arian for making this phone so much better to use.
[Xiaomi 12 Pro] LifeIsGames:
Is it possible to add the "Do not validate" back to the CA certificate option when connecting to enterprise networks? I have been trying to use the "Trust on first use" but it never connects. It attempts to connect then goes to "Saved" status.
[Xiaomi 12 Pro] NOSS8:
This would be the end of DEV/BETA roms, do you have any official information on this subject?
[Xiaomi 12 Pro] rpi_luver:
Yup it happens in all AOSP and pixels. I myself also could not connect to my company's network. As of now, my workaround is to connect the enterprise network using our working PC/laptop, and then turn on mobile hotspot from the connected PC/laptop. This way I can connect to the hotspot network (which is the entreprise network) without any issue. I would welcome anyone if theres a better way on catering this issue. Cheers!
[Xiaomi 12 Pro] Norbert35242:
Hello @NeoArian, when will there be an update for this rom with the September security patch?
[Xiaomi 12 Pro] LifeIsGames:
Has there been some OTA graphics driver update? The graphical artifacts are gone from the game but the game runs at a maximum of 30hz. Not complaining but it's strange that it fixed itself without installing a new build.
[Xiaomi 12 Pro] Norbert35242:
Hello

Is it better to use Crdroid or TequilaOS since there are currently no updates with LineageOS?
[Xiaomi 12 Pro] camp70:
Writing that here is totally inappropriate
[Xiaomi 12 Pro] NeoArian:
Hello everyone,

NOTE

I have replaced the updated builds due to an issue with the camera - fixed builds are ready and linked below.

Download

Vanilla

GMS

Changelog

* September 2023 security patches

* Fixed "OK Google" detection with screen off

* Disabled 24/30/40Hz to fix screen freezes

What is the lineage power share hal doing?

There is a QS toggle for wireless power sharing now (you have to add it using the pencil button).

What is the lineage health hal doing?

In battery settings you get a charging control page now, which allows to limit the maximum percentage your phone charges to and can automatically start the charging later based on your alarms or a custom schedule.

Happy flashing and have a nice day!

Donate via PayPal to me
[Xiaomi 12 Pro] toroyo:
Hello friend, I wanted to ask you something, I have the version prior to this new one and I can't find the option to be able to put the applications in full screen that take up the entire screen up to the camera. For example, when I play the retroarch emulator it doesn't appear in full full screen, I see where the It has a black stripe and it doesn't let you stretch the little bit that is missing from the black stripe in the original xaomi rom if there is an option that hides the black stripe and shows any application in full screen. I looked at the developer options to see if there was any option and you wouldn't know how to do it please or get an update so that option appears, thank you
[Xiaomi 12 Pro] aerfvxx:
Thanks for the update! I guess the libwebp fix is included?
[Xiaomi 12 Pro] LifeIsGames:
Update seems fine so far. The "Hey Google" while screen is off works perfectly. I hope the removal of 30hz does not affect battery life too much, but I will keep you all posted. I used to get 7-8h of SOT on the August build.

Does the 1hz and 10hz work though? I saw something about that in the GitHub change log.
[Xiaomi 12 Pro] LifeIsGames:
Don't think so. If I remember correctly Google sent out a security update on the 11th of September for libwebp, and the security update of this build is 5th of September.
[Xiaomi 12 Pro] NeoArian:
The webp fix is included. It's been merged since a while into LineageOS: https://review.lineageos.org/c/LineageOS/android_external_webp/+/366608
[Xiaomi 12 Pro] NeoArian:
Hello everyone,

Download

Vanilla

GMS

Changelog

* October 2023 security patches

* Fixed USB issues

* Added settings for min/max refresh rate in Settings -> Display

* Enabled 1/10/24/30/40Hz refresh rates

* [GMS only] Fixed additonal modes in miuicamera

Regarding the chromium issues - i'd appreciate if you all can play a bit with the new settings and figure out if you can reproduce the issue with 30hz for example.

Happy flashing and have a nice day!

Donate via PayPal to me
[Xiaomi 12 Pro] H4T3M4CH1N3:
Thank you for the update, trying it now :)