yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Pad 5] calledJona:
Is PE12 daily useable?
[Xiaomi Mi Pad 5] UmiCat:
Good to know! Did you sort out the Bluetooth audio issue? For me, the problems with PE12 were: (1) the xiaomi pen couldn't be used as an input device although it was connected via Bluetooth; (2) nova launcher couldn't stay as the default launcher. I kept getting a pop up to choose the default! Apparently the nova issue is quite common with Pixel users with Android 12. The pen issue is probably not so universal, maybe xiaomi related? Hard to tell, as our device is probably the first from Xiaomi with an oem pen? I tried to find out how Samsung S-pen users are getting on. Not specifically with this rom, but I read someone saying their pen worked on a gsi apart from the button. I also tried to see if there was any system app for the pen on Titanium in case I could simply import it. But no, I couldn't find any. Still getting massively frustrated (often infuriated) by MIUI... So tempted to try PE12 again! I am shallow and really liked the whole aesthetics.
[Xiaomi Mi Pad 5] RagaSubekti:
Yeah, the bluetooth issue is solved by just changing to Mediatek bluetooth workaround in phhsettings,

For pen, i can't tell since i don't use one.

And for the launcher, i don't find any issue for that particular launcher, did you add another launcher or something? i use smart launcher 6 and it always sticks even after few reboots/days
[Xiaomi Mi Pad 5] jaca22:
There is a problem in the scroll at 60hz fps or 120hz a micro stuttering in games or emulators, the problem is in stock roms and all the GSI that I tested that were many.

One of the possible causes may be the screen is at 60.0004hz or 120.0002

Who has a solution for smooth scrolling?

PS: A custom kernel is missing for this device, but I have no knowledge of cooking in android.
[Xiaomi Mi Pad 5] caubechandai:
no, it's not stable. you want stable ? stay with miui or try pe11
[Xiaomi Mi Pad 5] UmiCat:
I kept getting 'Google play services stopped working' pop up on PE11 GSI. I didn't install any MagiskGapps or similar. Is it working for you?
[Xiaomi Mi Pad 5] UmiCat:
I can report that I am on a non-vndklite version of PE(plus)11 GSI (PixelExperience_Plus_arm64-ab-11.0-20211011-UNOFFICIAL.img.xz) (not that I understand what vndk is). And it seems to be working surpringly very well!!... except for the pen, of course! The pen is recognised as 'Xiaomi Smart Pen' as an input device according to DevCheck Pro app (and I got the same info on this app with stock MIUI). The buttons on the pen work as forward/backward keys... but still no input function on the touch screen. But other than that, the GSI has been working without a crash for about a couple of hours. The best of all I've tried so far! Surely, too good to be true...

Some tweaks were necessary: as I said before, I installed 2 Magisk modules for stuttering audio (GSI Audio Stutter Fix - Mi NOTE 10 Lite (toco).zip) & totally broken bluetooth audio (Note9Taudio.zip):

https://xdaforums.com/t/magisk-module-gsi-audio-stutter-fix-for-mi-note-10-lite-toco.4125893/

https://xdaforums.com/t/gsi-custom-...-note-9t-cannong.4279273/page-2#post-85190965

But the 2nd module might not be necessary if you follow the Phh Treble Settings the person on the 2nd link is suggesting.

I used Migrate to copy all my apps. Some google apps (gmail, g-map, g-drive) weren't copied, so I had to install them manually.. and they're working fine. Other google apps (incl google play services & google play store) were installed fine and have been functioning well so far. I didn't install Magisk Gapps etc separately.

In case you're starting out, I've tried the following GSIs in the last few days, but none of them worked (I came from MIUI CN 12.5.8 for Pad 5 Pro 5G):

PixelExperience_Plus_arm64-ab-vndklite-11.0-20211011-UNOFFICIAL.img.xz

PixelExperience_arm64-ab-vndklite-12.0-20211121-UNOFFICIAL.img.xz

PixelExperience_arm64-ab-12.0-20211121-UNOFFICIAL.img.xz

https://github.com/phhusson/treble_.../system-roar-arm64-ab-vndklite-vanilla.img.xz

Oh someone mentioned the refresh rate. I can't find how to set it on Settings on PE11 GSI, so probably it's not changeable? I've tried Display Checker app, and it looks like mine is at 60Hz. I don't play games so it's acceptable for me. But if anyone knows how to change it to 120Hz, it would be good to know!

I want to thank the OP who first brought this to our attention. I'd never tried GSIs (always spoilt with good custom or stock roms). Fingers crossed for my current GSI!
[Xiaomi Mi Pad 5] NisseGurra:
If the GSI has the phh settings app you can set the refresh rate in these settings
[Xiaomi Mi Pad 5] UmiCat:
Ah amazing! Thanks!! In case people don't see it (it's Pixel Experience Plus 11 GSI):

Settings -> Phh Treble Settings (this will appear after becoming a 'developer'!) -> Misc Features -> Display -> Force FPS -> Choose 120Hz.

Just checked Display Checker app, and yes it says 120Hz! 😺
[Xiaomi Mi Pad 5] ChessPiece:
How about the keyboard? Is it working on any GSIs?
[Xiaomi Mi Pad 5] UmiCat:
Oh hello fellow kitty cat! I don't have the Xiaomi keyboard, but my Bluetooth one (Logitech K380) works well. My bluetooth mouse also works well. No difference from MIUI.

Btw, one downside with the PE11 (or any?) GSI is that charging will be slow. I am charing my tab now with the OEM charger (67W) and cable (6A) and the rate is just around 2500mA with 80% battery left. It would be something really mad (6000-10000?) with MIUI. In fact my OnePlus charger with a similar spec (65W with a 6.5A cable) achieves around the same rate (2500). Still, it's much faster than my old Mi Pad 4!
[Xiaomi Mi Pad 5] caubechandai:
it's probably because the kernel was made for phone, not tablet. Are you still using PE11 ? is it stable enough for daily driver ?
[Xiaomi Mi Pad 5] mikefnz:
@NisseGurra​

Just checking - OP

"Make factory reset " is "fastboot -w" ?

TIA
[Xiaomi Mi Pad 5] NisseGurra:
Yes, or enter recovery and use "factory reset "
[Xiaomi Mi Pad 5] mikefnz:
Brilliant. Thanks everyone. Installed PE11 successfully. Much better :)
[Xiaomi Mi Pad 5] UmiCat:
Yes PE11 has been working smoothly for me! Worth a try!
[Xiaomi Mi Pad 5] caubechandai:
is bluetooth headphone stuttering ?
[Xiaomi Mi Pad 5] UmiCat:
No, see post 66 above from me
[Xiaomi Mi Pad 5] caubechandai:
i flashed the image file, it's got boot loop to fastboot, so sad.
[Xiaomi Mi Pad 5] mikefnz:
Check that you have followed the OP instructions? Did you confirm that you were in Fastbootd, not just fastboot?
[Xiaomi Mi Pad 5] caubechandai:
yeah i did in fastbootd
[Xiaomi Mi Pad 5] mikefnz:
Strange. I started with the latest MIUI ROM, unlocked and rooted, but not sure if that would explain the difference. Mine is just the pad 5 not the pad 5 pro.
[Xiaomi Mi Pad 5] caubechandai:
it worked after i flash the firmware. prob due to i used fastboot -w so it bootloop.
[Xiaomi Mi Pad 5] gllark:
Are gapps included in PE12? And if not how can I install them without a TWRP? The magisk gapps were not stable on my device. Play services were constantly crashing and nothing worked to get them work properly on PHH11. Fortunately there is a version with included gapps.
[Xiaomi Mi Pad 5] mikefnz:
PE by definition includes most Google applications.

PE11 is very stable on my Pad 5.

It's possible that clearing cache and storage could fix some issues.
[Xiaomi Mi Pad 5] gllark:
Thanks, got it made. Is anyone able to use screencasting with PE? My tablet does not find any miracast device although there are some on the same network. Maybe there are some settings I have to make?
[Xiaomi Mi Pad 5] nicflack:
Which PE11 Ver. stable?

I don't use any MI accessories.
[Xiaomi Mi Pad 5] mikefnz:
This version appears to be stable on my Pad 5: https://github.com/ponces/treble_bu...Plus_arm64-ab-11.0-20211011-UNOFFICIAL.img.xz
[Xiaomi Mi Pad 5] Gisu4444:
Hi I can download gsi on my pad 5 pro 6/128?? And if I can where download her ?
[Xiaomi Mi Pad 5] fritzeman:
it starts with the OP and the guy over you had the directlink. and it works really good
[Xiaomi Mi Pad 5] mikefnz:
I had some time to kill and discovered that the Google GSI Android 12 image appears to work surprisingly well for the Pad 5: https://developer.android.com/about/versions/12/gsi-release-notes.

I just need to figure out how to get rid of the default drawer.

Magisk seems to stick and needs the audio fix explained in earlier posts.
[Xiaomi Mi Pad 5] manu_jedi:
Yea 12L works great. Default drawer is ugly but works.

if anyone need it (should also work on other roms)

adb shell

settings put system peak_refresh_rate 120

settings put system min_refresh_rate 120

What i didn't get to work is bluetooth audio, normal audio works with the magisk module
[Xiaomi Mi Pad 5] NisseGurra:
Noticed that the 12L is optimized for large screens as tablets.

Any inputs on what is not functional? open case to wake?, ambient brightness?
[Xiaomi Mi Pad 5] mikefnz:
Still testing but changed to 120Hz, thanks @manu_jedi.

Opening case does turn the tablet on if turned off but closing doesn't turn the screen off.

Adaptive brightness does appear to work but I turn ot off.

I think we'll need to copy some files from stock to get the bluetooth working. Will need some research....
[Xiaomi Mi Pad 5] UmiCat:
Happy purr-y 2022! Thanks for the updates on Android 12 GSIs! When I tried PE12 briefly, apart from it crashing like mad, I found the following inconveniences:

* a green icon (for system, Google location history etc) keeps appearing and disappearing on the status bar way too often. It's visually so distracting.

* the positions of the back and recent buttons on the navigation bar (right & left respectively) can't be swapped.

* the clock on the status bar (left side) can't be changed.

Are these things occur to others on a variant of Android 12 GSI? I understand Gravity Box for A12, which would allow necessary tweaks, isn't available yet. Cheers!
[Xiaomi Mi Pad 5] manu_jedi:
The thing is that if i use aosp from phhussons treble experiments and i set the bluetooth mediathek workaround, bluetooth works. So i quess it wold be kinda simple to just rebuild it with phhussons patches. Or, what would even be simpler, if there was a way to apply them using magisk or so.

Edit: Ok i got bluetooth working by doing a dirty patch porting phh treble patches using magisk. But it looks like audio routing does not work. When i select my bt headphones nothing changes, same with usb audio.
[Xiaomi Mi Pad 5] mikefnz:
You're streets ahead of me. I only just realised I can't simply use Root Explorer to edit build.prop anymore!

I suspect we need a Xiaomi-specific solution. Perhaps something like this:

https://www.reddit.com/r/Xiaomi/comments/aytugd
[Xiaomi Mi Pad 5] DanielKolikio:
Does anyone had some issues with touchscreen on PE12? On mine it's impossible to use. I have to touch several times to get one input. Any ideas or workarounds?
[Xiaomi Mi Pad 5] mikefnz:
Same for me. I've given up on PE12 for now and am using the Android 12 GSI.
[Xiaomi Mi Pad 5] DanielKolikio:
Wich version? Having any troubles? What works and what doesn´t?

Gapps included?
[Xiaomi Mi Pad 5] mikefnz:
Full version with Gapps but I tried three versions & all had the dodgy touch response issue.

I should try collecting a log and sending it in to the developer, Ponces...

Since I'm a little rusty with this I have just realised that my problem may be caused by using a Magisk-patched boot image.

Anyone with the same PE12 problems also using a patched boot image?
[Xiaomi Mi Pad 5] DanielKolikio:
Oh... no... I asked about the Android 12 GSI that you are using. What can u tell me about it?
[Xiaomi Mi Pad 5] peulaupeu:
Hey everyone,

Just a note to thank you for this thread. I'm pretty new to all of this stuff since I'm usually happy with the stock roms of the smartphones I've chosen since I first had a Nexus phone (which brings me back a notch). But MIUI just doesn't cut it. So I tried these GSI roms so far:

Google 12L "beta", which looked alright but seemed to lack multi-user support, which is one of the mandatory features for me, so I ditched that

PHH AOSP 12, since I'd read it included settings that help fix bt sound and refresh rate.

That last one works well, multi-user works beautifully, all seems well. I just have one problem with it so far: the "double tap to wake" feature doesn't work as of right now. And since that device should also serve as a "control panel" of sorts for my home automation, I want to be able to simply operate it with one hand, which the hardware power button doesn't really allows.

So I guess my question is: is there a GSI rom with which both multi-user and "double tap to wake" work ? Or a Magisk mod that I could add to my current setup for this last bit of annoyance to disappear ?

Thanks again for your inputs !
[Xiaomi Mi Pad 5] NisseGurra:
"double tap to wake" needs an hardware overlay added to gsi repo. None made so far tho.
[Xiaomi Mi Pad 5] mikefnz:
Apologies. I gave up on Android 12 - all variations - and went back to PE11+. Virtually everything works (except DTW).
[Xiaomi Mi Pad 5] DanielKolikio:
Yeah me too. The only problem for me is bluetooth audio. I can't get it to work
[Xiaomi Mi Pad 5] mikefnz:
Bluetooth is working for me :) Have you tried the PHH Settings?
[Xiaomi Mi Pad 5] DanielKolikio:
Yeap! And no good
[Xiaomi Mi Pad 5] mikefnz:
It was...... possibly kicked it off trying to get DTW to work. I will try a few combinations...
[Xiaomi Mi Pad 5] manu_jedi:
I tested the new 12L, still can't get bluetooth audio working.
[Xiaomi Mi Pad 5] mikefnz:
I have bluetooth audio working with CRDroid using the two Magisk fixes suggested elsewhere. I also changed a few phh settings.

Otherwise, how is Android 12L?
[Xiaomi Mi Pad 5] manu_jedi:
I didn't test it too long, looks good overall. Yea on Phh custom gsi BT audio is working for me too.
[Xiaomi Mi Pad 5] flasHQuik:
Hey I have an Mipad 5, I want to install Android 12L, where can I download it and how Good does it works atm?
[Xiaomi Mi Pad 5] manu_jedi:
from https://developer.android.com/about/versions/12/gsi-release-notes

I got everything to work except BT audio and DT2W
[Xiaomi Mi Pad 5] flasHQuik:
And which one should I download?
[Xiaomi Mi Pad 5] manu_jedi:
Well one of the ARM releases as the tablet has an ARM processor... Now if you want google mobile services choose the GMS version. I only tried the non GMS version
[Xiaomi Mi Pad 5] flasHQuik:
Okay, Good and with Tool should i take to Flash? Sorry for the questions 😀
[Xiaomi Mi Pad 5] manu_jedi:
Look at the first post https://xdaforums.com/t/run-an-gsi-on-your-mi-pad-5.4352591/#post-85836555
[Xiaomi Mi Pad 5] Crawling Chaos:
So what would it take to get the pen working on these roms? Is it realistically achievable? I can't stand miui but sadly I need the pen.
[Xiaomi Mi Pad 5] mikefnz:
Latest version of PE12 appears to boot without a hitch now:

https://github.com/ponces/treble_build_pe/releases/download/v400.h/PixelExperience_arm64-ab-slim-12.0-20220119-UNOFFICIAL.img.xz
[Xiaomi Mi Pad 5] nicflack:
expect BT everything ok?
[Xiaomi Mi Pad 5] zyvex_14:
Hey everyone,

I am pretty new when I hear GSI Rom but I would like to give a try since I am also fed-up of the MIUI rom.

I read the first post and I don't understand what is "vbmeta.img" on how to find it on google...

Can someone give me a clue?

Thank you
[Xiaomi Mi Pad 5] mikefnz:
Post # 19 on this thread.
[Xiaomi Mi Pad 5] zyvex_14:
Many thanks, I somehow missed this one, sorry for that.

OK, so I will try the rom in your post #119.
[Xiaomi Mi Pad 5] mikefnz:
Sounds good. Let us know how you get on.

That version of PE12 seems to do everything I need.

You will probably need the sound patches/tweaks referred to elsewhere in this thread.

The only variations I had were a Magisk patched boot image and I do a fastboot -w at the very start of the process. Probably unnecessary, but it feels nice to wipe the slate before starting with a new ROM.
[Xiaomi Mi Pad 5] francoscala:
Someone tried Android 12L GSI on the Xiaomi Pad 5?

And if I try it how can I came back to the miui if it doesn't work properly?
[Xiaomi Mi Pad 5] mikefnz:
Read FAQ here: https://xdaforums.com/t/miui-updates-tracker-xiaomi-pad-5-nabu.4328591/
[Xiaomi Mi Pad 5] zyvex_14:
Hello,

OK so I tried to install PE12 but without success, I end in bootloop.

Here the steps I follow:

fastboot -w

fastboot flash vbmeta vbmeta.img

fastboot reboot fastboot

fastboot flash system PixelExperience_arm32_binder64-ab-slim-12.0-20220119-UNOFFICIAL.img

fastboot reboot recovery

Wipe all data

Reboot

Anything wrong?

Just one note, when I flash the system, I got this message

Invalid sparse file format at header magic

Resizing 'system_a'

and then it goes to "Sending sparse 'system_a' 1/9 (262104 KB)"...

Is it normal?
[Xiaomi Mi Pad 5] mikefnz:
Steps look OK to me.

Did you have those files (extracted) lined up in the (most recent) platform-tools folder?

No strange error messages? Apart from one that can be ignored.

Fastboot devices shows your device?

I normally shorten the file name to one that is easy to type e.g., PE12.img

No ancient boot image left around that needs updating? Did you extractthe boot image from the original MIUI 12 file.

You may need to google some of that.
[Xiaomi Mi Pad 5] zyvex_14:
The only message error I got is that one:

Invalid sparse file format at header magic

Resizing 'system_a'

and then it goes to "Sending sparse 'system_a' 1/9 (262104 KB)"...

Is it normal?

Otherwise what do you mean by "No ancient boot image left around that needs updating?"
[Xiaomi Mi Pad 5] mikefnz:
Yep, that message looks OK.

I'm pretty sure that the boot image you have needs to be the most recent MIUI boot image i.e., from MIUI 12. I extracted that and patched it in Magisk and then flashed that.

If you have a MIUI 11 boot image that could cause problems.

You could check and see if someone has made a (safe) boot image available and flash that first.

I wouldn't have thought that a Magisk patched boot image would be essential but someone who knows what their doing (not me) might be able to comment?
[Xiaomi Mi Pad 5] zyvex_14:
Hummmm, is it possible then to get your boot image?

On my side I have the boot image from ROM EEA V12.5.8.0.RKXEUXM
[Xiaomi Mi Pad 5] mikefnz:
I'll leave this link up for about 30 minutes: https://drive.google.com/file/d/1P5rgPGMypcbOvoRRRJZKltUibWxo7jT3/view?usp=sharing
[Xiaomi Mi Pad 5] zyvex_14:
Many thanks.

So just to make sure, I will follow theses steps:

fastboot flash boot boot.img (your boot image #132)

fastboot -w

fastboot flash vbmeta vbmeta.img (from post #19)

fastboot reboot fastboot

fastboot flash system PPE12.img (from post #119)

fastboot reboot recovery

Wipe all data

Reboot

OK?
[Xiaomi Mi Pad 5] mikefnz:
Perhaps reboot after flashing the boot image.

Hopefully someone who really knows what their doing (not me) can advise?

And just confirm that when you fastboot reboot fastboot you get into fastbootd mode
[Xiaomi Mi Pad 5] zyvex_14:
OK so I did all the steps and still not working.

I always reboot to fastboot now.

I confirm that I was in fastbootd mode.

I think I am gonna give up for today and reflash Miui...

So I did reflash Miui EEA v12.5.8 :( and everything is back/works.

But I really want to try a GSI ROM, so if anyone has anyclue of what I did wrong/missed, please let me know so can give another try :)
[Xiaomi Mi Pad 5] mikefnz:
One possible reason for bootlooping was a bad download of PE12?

Might be worth trying another Treble GSI such as a basic one that PHH provides: https://github.com/phhusson/treble_.../system-squeak-arm64-ab-vndklite-gapps.img.xz
[Xiaomi Mi Pad 5] zyvex_14:
It could be... I can try another GSI rom later on this weekend.

But 1 question first that I would like to understand:

Why for PE12, you are proposing the arm32/Binder64 and slim version? And for PHH (above), it is the arm64 and vndklite version?

Is there any reason?
[Xiaomi Mi Pad 5] Shambles22:
How is it? Always same bugs? Audio, dt2w ect
[Xiaomi Mi Pad 5] mikefnz:
Should be arm64 ab for both. Hell, my bad for linking to the arm 32 version......
[Xiaomi Mi Pad 5] mikefnz:
I've edited the link.. apologies.
[Xiaomi Mi Pad 5] mikefnz:
Yep, but the audio bugs are easily fixed. I can live without DTW. Bluetooth works and can pass safetynet.
[Xiaomi Mi Pad 5] chowtom:
PE12 test results

Device - Mipad 5 Pro 5G

Image - PixelExperience_arm64-ab-12.0-20220119-UNOFFICIAL.img.xz

missing features when PE-Plus11 to PE12:

DT2S

PE Plus mods pull-down tiles

bugs and how to fix

audio distortion - turn on Phh Treble Settings => Qualcomm features => Disable soundvolume effect

Streaming video apps crash - update Android System WebView

Other functions seems work without error, but I didn't test bluetooth audio.

Some apps (ex: Tacx Training) still crash after updated Android System WebView, maybe app isn't compatible with Android12.

Update:

Google maps crashes when moving maps.

Fingerprint can wake up screen but can't unlock device.

Streaming video apps crash again after 1 day use.

I will give up PE 12 and back to PE Plus 11.
[Xiaomi Mi Pad 5] sergio_eristoff:
Hey guys I, have now flashed my Mi Pad 5 Pro several times with a GSI image and so far it runs fine with the PE versions. Unfortunately I have the problem that Netflix Widevine displays L3.

Which image works fine with Netflix with Widevine L1?
[Xiaomi Mi Pad 5] zyvex_14:
Hello,

Finally I gave another try this morning and here we go, everything works fine so far :D

I don't know what I did wrong the first time, excepted for the PE12 image, but nevermind...

Thank you.

Will report some bugs if I find some later...
[Xiaomi Mi Pad 5] zyvex_14:
Edit: double post
[Xiaomi Mi Pad 5] mikefnz:
Probably my fault for putting in the wrong link. Profuse apologies.
[Xiaomi Mi Pad 5] mikefnz:
PE12 updated: https://xdaforums.com/t/gsi-unofficial-12-pixel-experience.4354695/

I will update at some stage - if only to try the OTA updater!
[Xiaomi Mi Pad 5] Keyvannn:
12L beta 3 released

Generic System Image releases | Platform | Android Developers

developer.android.com
[Xiaomi Mi Pad 5] IAMPRISM:
Installed it today. Audio still has some problems but the rest seems good
[Xiaomi Mi Pad 5] zyvex_14:
I did the update and personnally I fell my tablet a bit smoother and 2 small issues are now gone: I had some laggy video/crash on YT, Instagram, VLC which is now gone, + no bug anymore on 1 app with a display of picture.

But I still can't make audio bluetooth working so far...
[Xiaomi Mi Pad 5] mikefnz:
Updated & bluetooth is working for me.

Bluetooth workarounds - Mediatek, Force disable A2DP offload and the stutter magisk module see earlier posts.
[Xiaomi Mi Pad 5] zyvex_14:
OK, finally fixed - I was just lazy previously to install Magisk.

I installed both modules and here we go :)

Thanks
[Xiaomi Mi Pad 5] UmiCat:
People on PE12 or any Android 12 based GSI: do you see a green icon appearing and disappearing frequently on the right side of the status bar? I think it's mainly the location icon when you use an app with a location permission. When l installed a PE12 GSI briefly in Dec, I found it unbearably annoying! PE11 (or any Android 11) also has the same icon, but it's not green so it's not visually so distracting. I tried to find a way to disable it or change the colour but couldn't find a solution. I wonder if it's been improved in the past versions.

I've been keenly keeping an eye on this thread. I'm still on the final version of PE11+ as I've been too busy... But hoping to try a new version of PE12 soon.
[Xiaomi Mi Pad 5] Keyvannn:
This green dot appears when you use the camera or microphone. If an application uses a camera or microphone, you will notice.
[Xiaomi Mi Pad 5] skater96:
I was trying that A12L beta 3, but I'm unable to use the 120hz, I see no option... And can u please provide those magisk modules?
[Xiaomi Mi Pad 5] ericminju:
For me, it worked with adb command below:

adb shell settings put system min_refresh_rate 120

adb shell settings put system peak_refresh_rate 120

(I don't know if second line is necessary)
[Xiaomi Mi Pad 5] catoerp:
Can bluetooth audio work normally?
[Xiaomi Mi Pad 5] ericminju:
Failed to work in google gsi. I could fix it only with phh treble settings. Audio stuttering fixed with magisk module, I remember.