yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
ok so new build is up. squashed a few bugs. wifi model is now super stable and everything seems to work.. please let me know if u come accross any bugs.

sadly no ideas about lte model... hope some1 can pitch in and do some work on the lte model on my device tree.

So selinux is enforcing, safety net pass out of the box, no need for magisk for this.

device will probably go official starting on sunday. take note that u can not dirty flash official over this builds.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] NisseGurra:
I have a go tonight and try to provide you some logs on the LTE boot bug
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] gaja22:
Thany you for your awesome job, [MENTION=3479861]darkobas[/MENTION]. I followed your project since Oneplus One and 5. Very awesome to have this project on Clover.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] yepyup:
Good news .

Waiting for official
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] NisseGurra:
Any hint in this logcat?

(remove zip ext)
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
push this https://drive.google.com/open?id=1fZsbW2JXYc_xU5Nc1nfzPo-ub-SNKFiQ to /vendor/lib64/
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] NisseGurra:
Tried it, still dark boot. Adb see the device and i think its seen by windows. I tried mokee boot img, it shows the boot-animation but don't boot into omni tho
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
are you sure its a clean flash ? log looks 'dirty' :)
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] NisseGurra:
Wiped data, system and caches. Not sure twrp does an proper wipe tho. I have a look

Update: Full wipe: data, system. vendor. Device clean.

Installed latest Omni, reboot: same black scren during boot.

Added prop adb mod, new logs (attached)

Note: Screen backlit is on

Seems boot.img related?

Logcat: "06-14 15:36:54.456 1196 1253 I DisplayManagerService: Display device changed state: "Built-in Screen", ON

06-14 15:36:54.464 1196 1196 E System : ******************************************

06-14 15:36:54.466 1196 1196 E System : ************ Failure starting system services

06-14 15:36:54.466 1196 1196 E System : java.lang.IllegalStateException: PMS compiler filter settings are bad.

06-14 15:36:54.466 1196 1196 E System :	at com.android.server.pm.PackageManagerServiceCompilerMapping.checkProperties(PackageManagerServiceCompilerMapping.java:92)"
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
since u have already wiped everything can you just try to format data partition ?

fastboot format userdata

but this will completely wipe all data..
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] lvnatic:
Without sounding like a douche I highly recommend to not use that Netflix garbage and look... elsewhere. This DRM crap deserves boycotting, but I'm going off topic.

There are much better alternatives, and free.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
yes
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] stunned:
I'm thinking switching to this, but it looks like kernel has not been updated since January?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
whats broken by not updating?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] stunned:
Mainly touch responsiveness, scrolling performance, security have improved. Both arter and sdm660 team have improved performance greatly since January. https://github.com/xiaomi-sdm660

https://github.com/arter97/android_kernel_xiaomi_sdm660
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Coirpre:
update broken?

Hi!

I flashed the weekly update today, and it seems to be broken. I got a screen saying "Decryption unsuccessful: The Password you entered is correct, but unfortunately your data us corrupt."

I get an option to reset the tablet, but that didn't help. I also tried to flash a backup from earlier, which also did not help. I got the same error message.

Fastboot doesn't seem to work

c:\Android\platform-tools>fastboot device
fastboot: usage: unknown command device

and I can't pull data with ADB, because it returns /sdcard as empty.

Does anyone have a similar problem? Help would be greatly appreciated!
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
some other device users have reported the same, no workaround as of yet, although some seem to be able to access data through recovery
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
fixed build should be available 2morrow
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] felixadiutama:
Tablet rotation not working

Hi I already flash this OmiRom, but when i already done all the thing, the rotation is not working, any idea to fix this ?

Thanks
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Tommy168:
Device won,t charge after shut off

I updated my pad 4 with the recent omni-9 28-6-2019 weekly build , when I turn off my device and plug in charge cable , omni charge animation won,t show up and screen stay blank won,t turn off . Hope dev will fix this problem , Thank you.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] chainer1:
I have the latest open gapps pico and despite passing the safety net check (i tested via app from the playstore)

netflix doesn't appear on the playstore of my mipad 4.

Does anyone have any idea what could be the cause?

Also is it possible to get more rounded screen corners, like how they are on the xiaomi stock rom ?

It looks more like a straight line in omnirom than a curve on my device. I know thats purely cosmetical...but still
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] KuroNoSeiHai:
Are you from the future?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Tommy168:
deleted
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] KuroNoSeiHai:
Nice rom! Auto brightness switch in status bar now! Hope can add a earphone icon.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ninja29:
Hi,

Quick question. Every time I miracast my mi pad 4 lte to my Samsung tv, all I get is a green screen n no sound.

Might anyone have a clue on how to fix this.

I'm on the lastest Rom.

thanks
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] coffee-turtle:
Thank you for keeping this ROM up-to-date with fixes and enhancements even on a weekly basis! You rock! I'm going to definitely use your ROM instead.

Just wondering, though, if you wouldn't mind updating your original post to reflect the fixes/enhancements that's been added up until now, if you have the time. Obviously, doing that weekly would be a lot.

No worries either way! Just happy to see regular development for this great tablet!

Thank you!

C-T
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] risant:
Why it's takes so long charging in mui ron for minpad 4 ..will there will be improvement in charging using this rom ?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
yeah miracast needs a complete stock pie blobs set to work. i will try to find time for this.... but its not very likely any time soon.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
afaik quick charging works fine.

but i also doubt it doesnt work on stock
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Bolick:
After update to the latest weekly (omni-9-20190630-clover-WEEKLY.zip) I can no longer enable Wi-Fi seeing the following in the log:

07-05 09:28:06.807 718 718 E android.hardware.wifi@1.0-service: Failed to write driver state control param: Invalid argument
07-05 09:28:06.807 718 718 E android.hardware.wifi@1.0-service: Failed to load WiFi driver
07-05 09:28:06.807 718 718 E android.hardware.wifi@1.0-service: Failed to initialize firmware mode controller
07-05 09:28:06.807 718 718 E android.hardware.wifi@1.0-service: Wifi HAL start failed
07-05 09:28:06.808 5668 6020 E HalDevMgr: Cannot start IWifi: 9 ()
07-05 09:28:06.808 5668 6020 E WifiVendorHal: Failed to start vendor HAL
07-05 09:28:06.808 5668 6020 E WifiNative: Failed to start vendor HAL
07-05 09:28:06.808 5668 6020 E WifiNative: Failed to start Hal

Any ideas what has gone wrong?

P.S. Larger logcat extract attached.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] chainer1:
I tried everything to get Netflix to appear in the playstore, no idea why it doesn't work :/. Installed Magisk with magisk hide, used magisk hide props and tried different fingerprints, cleared playstore and play services cache....etc

The rom itself passes safetynet check from the start without any modification, cts profile matches etc....can someone point me in the right direction to get this working?

As for my model, I have the 8inch Mipad 4 LTE
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] VibolFTW:
I can not make it appear on play store either but if you want Netflix this one from Apkmirror work: https://www.apkmirror.com/apk/netflix-inc/netflix/netflix-6-26-1-build-15-31696-release/
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Vincent_40:
Hi guys,

How can i do a screenrecord with sound ?

Thx
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheSourceNL:
would love to try this ROM.

However getting a error;

Zip Treble compatiblity error

invalid zip file format

error installing zip file.

I'm on TWRP 3.3.1.0 Mi pad 4
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] davidroid1:
They should look through the telegram group of AOSP (thread Havoc), there are surprises!

Enviado desde mi ZTE A2017U mediante Tapatalk
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] firewave:
You need the last version of TWRP. Use the one from the Paranoid Android thread.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] jordirpz:
Won't the security patch level be updated? Thanks
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] jordirpz:
[MENTION=3479861]darkobas[/MENTION] is Omnirom for clover discontinued? Thank you
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
For pie.... Dunno if i will make a 10... Definetly not any time soon
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Barracuda77777:
I was able to build a fully working rom with a bit of work on the Device tree, Cast, fast WIFI and any version of Gapps work, thank you for the initial bring up. Omni is a sweet ROM, one of the first I ever used all the way back since 2013.

Note: The last available official ROM I tried from Oct, Bluetooth force close, and media force close which means no access to files internal or external.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] stunned:
I believe [MENTION=5621191]rcstar6696[/MENTION] has said he would be willing to build/maintain official Omni 10
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] nachfuellbar:
Thanks so far

Could you add the discontinued status to the thread title or first post? :)
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] VibolFTW:
Why though? :confused:
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] edsmat:
we have hopes yet
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
Netflix Solution:

Because I have SafetyNet check PASS to fool it, my LOS 'Trust' page reports that Root access is 'Disabled' (its not ? ), play protect reports device 'is certified' (Playstore, Settings, about, Play Protect certification), and Official Netflix now shows up in Play Store and loads fine too. ?

The trick: Activate Magisk module SafetyPatch v3 (in Magisk repo) and Robert's your father's brother. :svetius:

Alternatively, MagiskHideProps module configured with Pie fingerprint selected (from Magisk repo) reportedly achieves this to. PW

Nb. - BusyBox NDK (from Magisk repo) may also be needed to make solutions above succeed.

Nb.2 I haven't tried this on this ROM. - I'm running LineageOS-17-0 beta (10/Q), which seems super stable to me. (Loads with SELinux permissive, but I boot it with SELinux enforcing and stability hasn't suffered for me.) https://xdaforums.com/mi-pad-4/development/rom-lineageos-17-0-t3989187
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
Everything works out of the box geez.

Xda this days is just random
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
? - Does Netflix now show in playstore out of the box on Omni?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
As long as you don't break safety net it does
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
Ah yes. But safetnet needs extra Magisk module I mentioned to pass for me. PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
Not if you dont install magisk gosh
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
I see. Maybe the users with no Netflix I helped (from last page) have loaded Magisk... as one does... :) PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] gorilla p:
Not related to this ROM, but should work with others...

I am using MagiskHide Props Config, spoofing the Mi A2 9.0 key and it has me passing safetynet. Just another option
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
Like I said! Thanks for confirming :)

Interestingly the keys used are fairly forgiving. Pie print works on Q also, and SafetyPatch module has Huawei print inbuilt and works with most devices. PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] NisseGurra:
I already tried that, still black screen.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
ok,

can i get "dmesg" output too please ?

and u can try

adb root

adb shell setenforce 0
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] NisseGurra:
Seems "adb root" don't give su permission: adb shell setenforce 0 gives "permission denied"
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
ok, got it, u r still encrypted i think u would need to wipe misc partition but i am not certain and i dont have time to research right now.... i have this device only for about a week.... will look into the encryption anyway as its also important for me to get it working.

will check encryption 2morrow.. thanx for logs and troubleshoots
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
ok i spoke too soon... got nothing to do with encryption.

display driver crashes... dont know why yet
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] NisseGurra:
Yes, I disabled all encryption in all partitions, still no ok boot.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
new build is up.. i doubt it will solve your problems but maybe its worth a shot
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] NisseGurra:
Still same problem in boot. Thanks for your work.

Let me know if you need any logs
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Nuhro:
finally, the boss is here! OmniRom for our Mi Pad, awesome! Big Thanks!
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
ok, if u r stil not tired of me... try with this boot img https://drive.google.com/open?id=1WctXnjbG_6R62Rb0Gjs39a5RAgtGaIkA :D
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] NisseGurra:
Boots!, All look ok, i test some more
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
official is available for download from http://dl.omnirom.org/clover/
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] yepyup:
good second mipad4 official rom

thx for working
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ferhad.necef:
Does it support LTE version?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
how should i know? no1 posted anything
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] stunned:
Does it have rounded UI (pixel like), Google Feed support for launcher?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] leitoo0:
Can someone make a androbench ?

Moreover how long stay the battery in stand-by ?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] AlmightyKid:
Hi dude, you use this pad personally? I'm about to buy but wondering if tablet still worth or not.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] boron12345:
It seems that this ROM(not this official version, I flash the old version two days ago) is not suitable for MiPad4 with LTE model, after I flash this ROM, I can't open my Pad's WLAN. Then I flash the official MIUI, the WLAN can be turned on, but the Pad can't connect any wifi. I even want to look for official support, but it's glad that someone who faces the same problem in an other forum gives me a fix package, and I fix it.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] xHades:
just installed on lte version, sim card not detected but everything works fine, will test for gaming.

can you add kcal?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
matlog has an option to save a zip (with logs)... can you send that?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
if you have a /persist/wlan_mac.backup file copy it to /persist/wlan_mac.bin
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] KuroNoSeiHai:
LTE version boots and runs fine. But can not dectect Sim
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] xHades:
this from matlog
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
try flash this https://drive.google.com/open?id=1RczcvBSk52oJz_kfI19jSZWixxkNVqIE
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] xHades:
stuck at mi logo
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] KuroNoSeiHai:
After flashing this, can't boot.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
ahh sorry i derped. try this new one https://drive.google.com/open?id=1NhqZyfTdr3LmoAm2BhyseVJWDDNmlSsq

if not i will look in the evening.. dont have the pad with me right now
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] xHades:
still same, can't boot
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
ok will look later
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] KuroNoSeiHai:
Take it easy. Hope you can fix it ?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] chainer1:
Many thx for this rom :)

Is device encryption possible ? Right now I'm unencrypted and have the newest mokee twrp on my device.

When I'm trying to start encrypting from the settings menue, it just brings me back to the device lockscreen without doing anything.

Do I have to go back to stock encrypt there and then switch to omni ?

---------- Post added at 03:47 PM ---------- Previous post was at 03:27 PM ----------

I'm now back at stock Miui 10 (Xiaomi.eu rom), and I can't connect to wifi on mipad 4 lte model. I can turn it on, find networks, but connection does not work. Persist partition seems fine when mounting with twrp.

When browsing status in the settings menu, bluetooth and wlan mac are listet. However

1st line in the wlan_mac.bin of the persist partition shows me a different mac than the wlan mac address entry in the status menu of the miui 10 rom I had a twrp backup from

edit: bluetooth also stopped working.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
hi. here is a possible fix that boots :) https://drive.google.com/open?id=1m0F56BufT5Cm-54dVDzMMqOZle_58Cla
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
encryption worked last time i tried. (u talking about mokee or talking that u tried in omni )?

tell me the first 4 characters of mac ?

my script backs up old wlan_mac.bin to /persist/wlan_mac.backup, so u can try cp that to /persist/wlan_mac.bin
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] chainer1:
I tried encrypting in omni via the security menu. This is the twrp version that I'm using: https://xdaforums.com/mi-pad-4/how-to/offical-mokee-twrp-t3884087

Mac adress shown in miui rom under status is 49:6e

Mac address in wlan_mac.bin file Intf0MacAddress=7c03 (mac in this file is the correct one)

Is persist/esf the same partition. I did an esf backup before i flashed omni.

edit:ok efs seems to be the modem partition. I checked the bt.mac , wlan.mac, and wlan_mac.bin file on the persist partition. All 3 seem to contain the right entries....
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
itndoesnt work becuase Macs are different.... restore wlan_mac.bin like i said... or clean flash would work also
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] chainer1:
Thx for your replies. I really don't want to annoy you here. The Wlan_mac.bin file has the correct mac for my device...also I didn't see any backup file on persist for it. Guess I have to clean flash miui 10 again, cause the system status in miui shows the wrong MAC, on the persist partition however the mac is correct. Why.....no idea

edit: After clean flashing miui 10 from xiaomi.eu. No chance wifi connection is still impossible. My device is basically useless now. If anyone have any suggestion for a fix I would really appreciate that.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] xHades:
rom boot, but still no sim card
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
thanx for logs

can i get adb shell getprop

and try adb root

adb shell start ril-daemon
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] xHades:
https://del.dog/futefozopu

when i try adb root (adbd cannot run as root in production builds)
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
you did that. we ship userdebug... u must have installed some mod that changes build type
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] 一葉花音:
4plus no Fingerprint recognition？:crying:
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
sorry i dont have a 4 plus

i will add id back at some point, just need to fix sepolicy
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] xHades:
after remove magisk i can using adb root > adb shell start ril-daemon

should i send adb shell getprop again?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
yes please and log
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] xHades:
https://del.dog/dizanovufa

here log after adb root > adb shell start ril-daemon
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] chainer1:
Even after a clean flash with fastboot and the official chinese stable clover rom from 19.01.19 my wifi is not back.

I still get the bogus mac with 49:something instead of 7c:03 which was my original wifi mac.

Flashing a custom rom after miui gives me 02:00:00:00:00:00. It doesn't matter if i add 7c:03 to the, wlan_mac.bin in /persist and wlan.mac in /persist/wlan_bt and reboot...it will not work. I'm out of ideas. Guess I have a brick now.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] darkobas:
ok lets try with permissive mode: flash this permissive kernel> https://drive.google.com/open?id=19GITF1Efn2hzyNa6KBr3sTVHxqEY4tvU
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] xHades:
https://del.dog/honimuxake.md

should i flash rild_fix.zip again?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] chainer1:
One thing i found out. When I delete the wlan_mac.bin file from /persist/ wifi gets a random mac and works completely fine.

Since you backup the wlan_mac.bin file with your script (I had no backup there, don't know why), are there any changes made to this file. Are there subtle differences in how this file is structured between different models? Mipad 4/LTE Mipad 4/Plus. When the file is present again, I can't turn wifi on in any custom rom. If i delete it wifi works again....So maybe something fails while parsing the file??