yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
I also tried a Baseus 24bit/48kHz USB-C headphone adaptor. Mainly just to see if it works. Paired with my Koss wired headphones it sounded pretty good. Is it better or worse than just using the headphone jack? That is hard to say. I would not be running out to buy one just for the MiPad because it is probably identical to the headphone jack quality. I have it for another device.

BTW that is streaming from Tidal at HiFi quality, but not he MQA tier.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] zyhk:
I wouldn't say much. The reasons why usual Android devices cannot deliver hi-fi music are the quality of resampling and the amount of jitter generated from battery optimizations and others.

If you like, try my Magisk modues Audio Misc Settings and Audio Jitter Silencer. They can improve the resampling quality ( to a mastering quality) and reduce the jitter.

Enjoy hi-fi music!
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
I might dabble but it is unlikely because my tablet is mostly for casual use. Kudos to you for doing the work to create the system. I mainly use a Dell notebook (Linux) and a USB connected SMSL SU-9 DAC connected to my HiFi gear. The DAC is a mid range unit but I am happy enough with the result.

As an aside there is a setting on our MiPads Settings -> System -> Device Settings -> Mi Sound Enhancer. I think it degrades the sound when switched on. But sound is a personal thing and depends on age a lot (not music taste loss of high frequency hearing as you get older).
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] Voinja:
turning off the LED indication when charging does not work

lineage-20.0-20221101
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
I have looked for a setting for always on display and nothing works that I can find. I do not use it, but others might.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] sabar_op:
Latest rom, check 1st post.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] bebetor:
hi @GregEden with which GAPPS version has you installed this rom? Thanx
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
NikGAPPS. Most here use Basic but this time I used Full. I use Google services a lot. The specific Android 13 version

NikGapps - Browse /Releases/NikGapps-T/08-Sep-2022 at SourceForge.net

A Custom Google Apps Package that Suits Everyone Needs!

sourceforge.net
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] zyhk:
Thanks @sabar_op, I updated to the latest ROM by dirty flashing without problems.

I find the DRC is now on default unlike Nov. 1 & Nov. 6 ROM's.

I feel this DRC is rather old and not in good quality, even generates slightly clipping noise. I felt previous DRC was rather deep, but in considerably good quality.

Edit:

Corrected by comparison,

DRC switch: on (default)

(speaker_drc_enabled="true")	DRC switch: off

(speaker_drc_enabled="false")
Nov.6 ROM	very shallow compression,

but good quality	deep compression,

but good quality
Latest ROM	shallow compression,

and obviously rough quality

(very like the stock one)	completely no compression,

and very good quality

Note:

speaker_drc_enabled in /vendor/etc/audop_policy_configuration.xml is the DRC switch on Android for not only internal speakers, but also USB DAC's, 3.5mm jack, Bluetooth earphones and capturing

Edit:

I think now slightly clipping I wrote is wrong. It might be rough sound caused by jitter distortion.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] msgar:
have you finally boot to the system? I've got the same problem. The Mi pad does not start, I've tried several TWRP, and different ROMs and always restart into the recovery.. don't know what else to do...
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] msgar:
finally I've managed to do it... for some reason when I updated from version lineage-20.0-20221106-UNOFFICIAL-clover to version lineage-20.0-20221110-UNOFFICIAL-clover the system when corrupt and I had to perform all the steps in the first post: Perform clean install from TWRP (factory reset, format data and wipe system), to be able to boot the system. Previously I did all the steps except the format data and it didn't work, with all the steps the system boots just fine :)

First time I had such an issue.

Great room, using daily with no issues
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] mogolumide:
Great to read that this ROM is great and steady. Can anyone help with to jump from Android 11 sabar rom to this Android 13. Am a rookie please, thanks.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
It is a big leap. The new ROMs use the 4.19 kernel and the layout is different. So it has to be a clean install. You will need the latest 4.19 version of TWRP. So read the instructions carefully and do not rush.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] mogolumide:
Thanks, please assist with instructions.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
First page of this thread

Installation instructions :

- Perform a backup of your current ROM (optional)

- Use latest 4.19 TWRP created by pix106: (TWRP)

- Perform clean install from TWRP (factory reset, format data and wipe system)

- Flash ROM

- Flash GApps (optional).
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
clover-mipad4

Download clover-mipad4 for free. None

sourceforge.net

lineage-20.0-20221110-UNOFFICIAL-clover.zip

NikGapps - Browse /Releases/NikGapps-T/08-Sep-2022 at SourceForge.net

A Custom Google Apps Package that Suits Everyone Needs!

sourceforge.net

NikGapps-basic-arm64-13-20220908-signed.zip

MiPad4 Roms - Browse /Recovery/TWRP/4.19 at SourceForge.net

Roms, Recoveries, Kernels for MiPad 4 (clover)

sourceforge.net

twrp-4.19-3.7.0_9-clover-20221113-0854.img

So put the Lineage ROM on an SD card together with NikGAAPS and put the card in the tablet.

Use a computer to use Fastboot to write the TWRP image - a USB 2 device works best. Then boot into recovery and follow the instructions above. From TWRP format System and Data and wipe the caches. Do NOT under any circumstances wipe or format Vendor or Persist
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] mogolumide:
Thanks, it worked perfectly
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] appman1234:
This rom works perfectly on my Mi Pad 4 without plus.

BTW, I set the dpi (smallest width) in developer options to 600.

Many thanks to sabar_op's excellent effort!!
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] Mc_carra:
With the last lineage of this post, I experience a terrible lag in the function of sending screen to TV. With my cell phone (miui) this function works perfectly. does anyone else have this problem?
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] Argaricolm:
Installed 10.11.2022 version. Everything wiped before install. Can't install any apps because all internal memory 64GB is full with "system".

Update: Forgot to format data before first start.

Update2: Again got bootloop (worked fine from monday till today).
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] azz_kikr:
Anyone can confirm if the decoding of hevc 10bit is working on this ROM? Was an issue on A12 releases. (For example in Plex )
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] puetzfu2001:
Can anyone please help me to install TWRP 4.19 ?

I have tried 2 ways:

1) Install image file from old TWRP (3.7.0_9-6) to the recovery partition

2) Install via ADB/Fastboot with "fastboot flash recovery TWRP-name"

In both cases the installation runs without any error.

In both cases the system reboots into the old TWRP.

When I try to boot from the installation directly into TWRP (Fastboot reboot TWRP-Name), the same result:

Boot into the old TWRP.

Is the new TWRP 4.19 a prerequiite for LOS20 ?
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] puetzfu2001:
I just realised that the TWRP file name still shows the numbe of the "old" TWRP.

Does this mean that the new TWRP (4.19) mboots up showing the name (3.7.0_9) of the old one?

So, I amy have no problem at all?

I didn't try to install LOS20 yet.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] turopolje:
4.19 for kernel 4.19
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
That is correct. It just shows as 3.7.0_9-3 on mine when I go into TWRP. But I most definitely installed the 4.19 version. You should be good to go.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] margiekami:
The rotate don't work.

Any ideas?

Thanks 🙏
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
More info. All rotation, rotation in some apps, the lock screen?

There is an allow rotation setting in the settings. If it is everything you might have lost your /persistence or /vendor folder or wiped it.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] margiekami:
Not working at all.

Where is this setting?
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
Settings -> Display -> Rotation Settings -> Auto-rotate screen
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
Rotation Control - Apps on Google Play

You can control screen orientation from notification area easily.

play.google.com

Or force the issue with an app.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] margiekami:
This setting is enabled.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] pndwal:
Please run Sensor Test app... (Simple hardware tester / identifyer... there are many similar ones on Play Store)...

What do you see in Info for Accelerometer and Gyroscope?... Mine both show vendor = Bosch and Tests show good data. (... Tilt soccer game works 🙂)...

Sensor hardware is often most affected by water damage... I lost Accelerometer, Gyroscope, Compass, and Magnetometer in my Xiaomi RN8T after dunkin' phone... Everything else still works fine...

Sadly I discovered these sensors are on main board in RN8T so can't repair... (Other sensors are on sub boards and are available for RN8T.)... I don't know where Accelerometer and Gyroscope (likely in same Bosch chip) are located in Mi Pad 4 variants...

Hopefully these sensors are detected... If not it doesn't necessarily mean physical damage... , could be vendor/firmware issue etc as has been mentioned... PW
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] sabar_op:
Latest rom, 1st post.

New changelog:

- Desember security patch

- Build Livedisplay
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] rerbin:
Thank you for your excellent work。

Do you change the captive_portal_server in this updata?I'm in China,I have a wifi connect problem，the wifi icon have a !. @sabar_op

I use the CaptiveMgr app to fix the problem(Use miui's server)
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
My Google One VPN will not connect. WiFi connects.

Fixed - I just stopped Google One, wiped the storage, then uninstalled the app. Then rebooted and put it back and now it is working.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] rerbin:
MIUI's captive portal is https://connect.rom.miui.com/generate_204
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] kum4423:
I'm currently using the latest version (lineage-20.0-20221214), but I can't do a clean install. I can do a dirty flash though.

For some reason I can't "Format" when I wipe with TWRP 3.6.2_9-0. Do you have any solutions?

When I wipe, I get a message like it's not mounted. But I don't know how to solve this.

ADD:

I updated the TWRP(twrp-4.19-3.7.0_9-clover-20221113-0854.img by pix106) and it resolved the issue.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] sabar_op:
It may change in lineage source...nothing change in device tree from previous rom except livedisplay and adapted code for 'device setting' menu due to changing in lineage source.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] rerbin:
Thanks.Can you fix it(use the miui CaptivePortal https://connect.rom.miui.com/generate_204 )
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] sabar_op:
That's new for me... I dont know whether I can do it or not.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] S3miniFin:
How this rom can copy or move to mapad? I have tried file transfer in windows, but not see mipad. Also tried in recovery -mode, but not possible copy or move, wont allow. I use this version first release.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
Plug in the USB cable and wait a few moments. Then in the notification pull down menu you will find a new entry for controlling the USB and then select File Transfer. It can take 20 seconds for the menu to appear.

That is also how you use USB drives and where you eject them when finished.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] zyhk:
After dirty flashing, I needed to clear Cache&Dalvik to use USB devices once after successful rebooting. Even I cleared Cache&Dalvik in TWRP after flashing this ROM.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] rerbin:
Thanks.

May some default settings about Captive Portal(set it to miui defalut -- https://connect.rom.miui.com/generate_204 can fix it) .
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] Chrisxyz:
Hi,

recently I installed your excellent rom, December Version, on my Mipad 4 and so far everything works fine. Thank you for your work I appreciate very much! What I still would like to know: Is the SELinux status permissive or enforcing, and, in case it is permissive, do you intend to still change it to enforcing? kind regards, chrisxyz
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] smayor:
Hello, I've installed this rom & gapps and configured everything on the first boot, when I pressed reboot it stucks into twrp every time... it shows mi.com logo and then trwp splash screen.. I've installed twrp version on first page, format everything correctly... for test I sideload carbon rom and everything worked fine but when I retried the entire procedure with this rom the same issue appears.... What am I doing wrong?
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] tim-scrap:
Which twrp are you using? Which firmware Version? These could cause similar issues
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] smayor:
I'm using latest 4.19 TWRP created by pix106 and latest rom version available
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] z1022:
I also cannot find pad4 in windows file manager.

Mi PAD 4 Plus

Driver is unavailable

View attachment 5789767

In LOS20, I cannot use File transfer in system but I can use file transfer in TWRP.

19.1 / PixelExperience_clover+-13.0 no File transfer issue. However, I cannot use in LOS20.

OP can you help ?

Thanks
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
You might just have to do it again.

Clear caches, format data, format system - DO NOT format /vendor

MiPad4 Roms - Browse /Recovery/TWRP/4.19 at SourceForge.net

Roms, Recoveries, Kernels for MiPad 4 (clover)

sourceforge.net

clover-mipad4

Download clover-mipad4 for free. None

sourceforge.net

and make sure you have the Android 13 GAPPs

NikGapps - Browse /Releases/NikGapps-T/08-Sep-2022 at SourceForge.net

A Custom Google Apps Package that Suits Everyone Needs!

sourceforge.net

NikGapps basic is enough to get started.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] z1022:
"After dirty flashing, I needed to clear Cache&Dalvik to use USB devices once after successful rebooting."

How to clear Cache&Dalvik if not in TWRP.

Thanks
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] zyhk:
Just reboot to TWRP, wipe Cache&Dalvik and reboot to system.

Till then I wasn't able to mount any USB memory on both this ROM and TWRP, but I've been able to mount it since then.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] kum4423:
How to fix unable to mount data internal storage 0mb in twrp permanently :

Note : This will wipe/format your Data partion and your data will be reset.

INSTRUCTIONS :

1) Reboot your device into TWRP Recovery.

2) Go to Wipe menu.

3) Go to Advance Wipe.

4) Select Data and go to Repair or Change File System.

5) Click Repair File System. (If not fix, go to step number 6)

6) Go to Change File System.

7) Select Ext2 and swipe to confirm.

8) Now change back to Ext4 and swipe to confirm.

9) Now go back and check if your partions can be mount or not from Mount menu.

10) If not fix, repair your Internal partition. (This may wipe your Internal storage).
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] nizdi:
Thank you so much for this, looks incredible.

Two things which I might be the only one experiencing: vibration not working and sometimes my screen locks for no reason. Any ideas?

Edit: still believe vibration is not working.

I think the problem with locking screen was something with trusted agents and localization being used so it locked your tablet for safety. Just in case I frozed profiles trust providers in titanium app, just in case. I believe its something with localization. Anyone having this trouble, msg me.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] z1022:
Tried this but still cannot mount in ROM
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] z1022:
Anyone can use file transfer in ROM?

How did it ?

Tks
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
Do you mean file transfer to a Windows machine? Or using external drives?

I use a Samsung USB-C external SSD and it is no problem. Plus USB thumb drives via a USB-C to USB-A adaptor. I also have a USB-C card reader for SD cards. They all work through the Google Files app.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] z1022:
I mean when I installed LOS20 and boot to the system. I cannot transfer file from PC to the phone. If I boot in TWRP, I can transfer file from PC to the phone.

Please see #132
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] nizdi:
My screen keeps locking itself time to time and vibration don't work at all. Anyone can relate? Tomorrow I'm doing another fresh install again, I think it's the only way
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] kum4423:
Why doesn't everyone do a ”Factory reset” and ”Format” with TWRP and then do a ”Clean install” ???

If they did that, they wouldn't have any lock screen, vibration, file transfer issues, or anything else.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] nizdi:
I did... Factory reset, wipe system and format data. (I used this tuto https://xdaforums.com/t/guide-the-correct-way-to-flash-custom-roms.3885962/)

Some tutorials tells you to wipe data others tell you shouldn't. Some say you should install and reboot to recovery and some say you can already reboot to system. Is really confusing, sorry for asking noon questions.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
I just tried this. But I run Linux not Windows so USB drivers are built in. I plugged in my MiPad. A few seconds later I unlocked it and pulled down on the notification menu. and there is an item called "Android System" and one of the items controls the way the USB is handled. It defaults to Charging so I changed it to "File Transfer" and then there was a new item in the desktop file manager called Mi Pad 4 Plus which then gives me read write access to the internal drive of the MiPad and the inserted SD card. My MiPad 4 LTE is not he Plus version but that is just a label and does not matter.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
Plus you might need to activate "Developer options" and in there select "USB debugging"

On the MiPad got to Settings-> About Tablet-> scroll down to Build number and tap it 7 times until it says you are successful.

then in Settings-> System-> Developer options scroll down to USB debugging and turn it to on.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
If your system is running smoothly then a dirty flash once a month is all you need to keep up to date. I did a clean install when I installed LOS 20 and have repeated that twice since as the ROM matured, but for the last three months I have just done a dirty flash and it all runs as it should.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] kum4423:
I'm doing a clean install, you know. I'm not saying I'm dirty flashing.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] Mr.Probe:
Hello, the ROM looks great. I have however run into a specific issue when trying to stream video via sftp using mxplayer and solid explorer - the screen freezes and on restart (and subsequent restarts) it boots to twrp so I have to reinstall. I Installed as advised with nikgapps.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] kum4423:
After that, format, factory reset, and then do a clean install and everything should be fine.

As for installing the ROM, if you save the files to a micro SD, the files will not be lost after formatting. You can do a clean install immediately after formatting.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] z1022:
Same procedure in Windows but cannot access to the internal drvie. May be the windows version. I use Windows 10 21H2. I will try in Linux
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] kum4423:
For Beginners​

This is all the file you need

1. twrp-4.19-3.7.0_9-clover-20221113-0854.img

https://androidfilehost.com/?fid=4279422670115701713

2. lineage-20.0-20221214-UNOFFICIAL-clover.zip

https://sourceforge.net/projects/cl...-20.0-20221214-UNOFFICIAL-clover.zip/download

3. nikGapps-core-arm64-13-20220908-signed.zip

https://sourceforge.net/projects/ni...ps-core-arm64-13-20220908-signed.zip/download

Just these three.

A clean install is possible with all this.

The order of installation is as shown in the figures.​

1. First, update TWRP to the latest version. Once updated, restart TWRP and re-enter Recovery mode.

※If your TWRP is not the latest version, you will not be able to install ROMs, and most importantly, you will not be able to Wipe or Format.

2. Perform a factory reset in TWRP. At this time, if a mount error occurs, perform a format. If formatting does not work, use "Repair or Change File System" to correct the problem. When the correction is complete, restart TWRP again and re-enter the Recovery mode. This is most important.

3. Install ROMs and NikGApps. LineageOS→NikGapps. Magisk 25.2 can be installed here if needed.

4. Done.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] zyhk:
I've been using Windows 10 22H2 and can access to the internal storage and an SD card.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] nizdi:
Thank you so much for this, I'll be downloading again (to avoid corruptions files) and try it.

Two questions: only swiping Factory reset is fine or should I also wipe those boxes?

View attachment 5791037

And after flashing the custom rom, should I wipe cache & dalkiv or not?
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] kum4423:
Of course, only Factory reset is fine. And you can either wipe cache & dalvik

or not.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] nizdi:
Thank you so much, man.

I redid everything and everything else works, except for vibration but since I only use the tablet to study it won't affect me.

At least now I know I did everything correct. Thanks.

EDIT: I learned the problem with my screen locking was my case with the option "enable flip cover wakeup" (lol)... Fixed!
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] zyhk:
As you misunderstood the issue, I wrote that I couldn't use "any USB memory (as an external storage)" (not the internal storage) just after dirty flashing.

Usually dirty flashing doesn't need to wipe "Cache & Dalvik Cache" after successful rebooting to the system, but this time I needed it because any USB memory couldn't mount at the situation.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] GregEden:
I always wipe Cache & Dalvik Cache then Reboot with any ROM flashing - as a habit. It does not cause any harm or lose any data or settings and it avoids any cache corruption issues. Is it necessary? Most of the time probably not. Sometimes? Probably yes.
[Xiaomi Mi Pad 4 Plus ROMs, Kernels, Recoveries, & ] senseii:
Interesting as I have never had vibration working since moving over to LOS on my MiPad 4+ LTE.