[ROM][BETA][10.x] LineageOS 17.1 [clover / MiPad4/ MiPad4 Plus]

pndwal

Senior Member
Jun 23, 2016
1,713
845
113
Sydney
Regarding later S-trace LOS ROMs w/ passing integrated fingerprint:

FWIW this LOS ROM uses print for Xiaomi Mi 6X (Wayne):
xiaomi/wayne/wayne:8.1.0/OPM1.171019.011/V9.5.11.0.ODCCNFA:user/release-keys

A print matching our device (Clover) is available in MagiskHide Props Config Magisk module:
Xiaomi/clover/clover:8.1.0/OPM1.171019.019/V10.1.1.0.ODJCNFI:user/release-keys

This can be set using module if anyone needs a print matching device for any reason. (I'm not aware of any advantage for MiPad4.)

I'm not sure where this passing print came from as this device only ever had China stock firmware and so was never certified for Google Play Protect / Compatibility Test Suite (needed for Global ROMs etc) as far as I know. I suspect it was somehow produced for MIUI EU custom ROM, but that's a wild guess.

Nb. While both fingerprints pass CTS, neither enable WideVine L1 security for HD streaming in Netflix, Hulu, Amazon Prime, HBO etc. (I believe unique device specific 'secret keys' for DRM are needed in persist partition for this to work.) If anyone does know how to enable/spoof WideVine L1 for hardware compatible devices like our Snapdragon 660 soc, I'm all ears! :) PW
 
Last edited:
  • Like
Reactions: comf0rts

lfourquaux

Member
Jun 18, 2020
6
6
0
math.lionel.fourquaux.org
It happens to other users:
https://forum.xda-developers.com/showpost.php?p=82921461&postcount=231
https://forum.xda-developers.com/showpost.php?p=82863347&postcount=1226 (myself)

The lid events show up in logcat, opening the lid turns on the screen, but closing the lid does not turn it off. I haven't been able to find a corresponding setting, but maybe it's just eluding me, too.
There is a setting: see https://forum.xda-developers.com/showpost.php?p=83145957&postcount=1347.
 
  • Like
Reactions: michael_ch

Ivalicenyan

Senior Member
Jan 17, 2013
52
16
0
Anyone know anything about orientation glitches?
I noticed my rotation wasn't working, checked diagnostics, says I have no gyro sensors detected.

Would like suggestions
 
Last edited:

pndwal

Senior Member
Jun 23, 2016
1,713
845
113
Sydney
Last edited:

JamesAb

Member
Sep 4, 2015
17
1
0
I came from Havoc and on this rom I noticed a obviously higher standby power usage. It's not as bad as on Carbon, but definitely is missing some deep hibernation state or something.

I guess I'll just endure it for now, as for some reason the UI on Havoc doesn't work for me. Maybe if I switch the launcher...
 

dorkshoei

Senior Member
Feb 3, 2017
75
11
8
Portland
Yes, it is. Stable miui v9.6.4 doesn't support fingerprint, and the latest stable version 10.3.2 does.
I've never updated the firmware. Where do I tell what version is installed currently?

On the download site I see:

Mi Pad 4 (Plus) cloverweekly 9.8.29 8.1 2019-09-02
Mi Pad 4 (Plus) cloverstable V10.3.2.0.ODJCNXM 8.1 2019-07-15

I'm not the OP, I'm not that interested in fingerprint. Is there a description of the differences between v9 and v10 branches?

Thanks

---------- Post added at 04:31 PM ---------- Previous post was at 04:26 PM ----------

Is 20200512 still last supported version?
I believe so. The June 20 version had a issue and was deleted which is why download failed.

The maintainer said he'd continue to make updates but I think he's mostly moved onto other projects.

Sent from my MI PAD 4 using Tapatalk
 

pndwal

Senior Member
Jun 23, 2016
1,713
845
113
Sydney
Yes, it is. Stable miui v9.6.4 doesn't support fingerprint, and the latest stable version 10.3.2 does.
Great!

Seems it's just the firmware partition that is needed however, as I mentioned. (This is also updated by stock ROMs.)

Strange you had MIUI 9, I thought plus version shipped with 10, and later firmware. (See gsmarena)

And as I said in post I linked ( https://forum.xda-developers.com/mi-pad-4/development/rom-lineageos-17-0-t3989187/post82638183 see Other Partitions), while weekly (developer) build versions cause confusion, files from weekly ROM listed as '9.8.29' are actually the latest for MiPad4. This version is actually v10.5, so later than Stable ROM 'V10.3.2.0.ODJCNXM'. ('Updated' date is best indication of comparative age here.)

Latest China Stable, version 10.3.2.0, was released 2019-05-24, whereas latest China Developer ROM, build date 9.8.29 (ie 2019-08-29, not version), was released 2019-09-02, making it 3 months newer.

So if you simply flashed latest stable ROM you still won't have latest firmware. To check (on LTE models), find baseband version in Settings, About tablet, Android version in LOS. Baseband should be 660_GEN_PACK-1.214729.1.215613.1 (with 9.8.29 weekly developer firmware)

If you don't have latest, you probably should flash the firmware from weekly developer ROM as users here have reported other problems with Android 10 ROMs including LTE / call problems.

Mi Pad 4 got updated from MIUI 9 to 10, but all stock MIUI have had Oreo (8.1) base.

Further, it appears Xiaomi were developing for possible Pie or Quince Tart ;) releases (with updated commits in developer ROMs and firmware) before abandoning development for MiPad4, which would explain why 10.3.2 firmware was fine for latest MIUI (Orio), but 9.8.29 (10.5) firmware is needed for our LOS 17.2 (Quince Tart).

Nb. You no longer need to reinstall MIUI stock ROM. Go to https://xiaomifirmwareupdater.com/ and select just Firmware from menu button under 'downloads', put "Mi Pad 4" in search box (spaces needed), download and flash. (Vendor files and Full ROMs - recovery and fastboot types - are also available here). PW
I've never updated the firmware. Where do I tell what version is installed currently?
Hope the above answers this too.

Nb, if you don't have an LTE model you can't see baseband version in settings, and I'm not aware of other ways to determine firmware version loaded.

If you've never updated to a developer MIUI release ROM or firmware however, it's safe to say you don't have the firmware with the latest commits. PW
 
Last edited:

dorkshoei

Senior Member
Feb 3, 2017
75
11
8
Portland
Hope the above answers this too.

Nb, if you don't have an LTE model you can't see baseband version in settings, and I'm not aware of other ways to determine firmware version loaded.

If you've never updated to a developer MIUI release ROM or firmware however, it's safe to say you don't have the firmware with the latest commits. PW
Yes. Thanks. I have LTE and current fw is 660_GEN_PACK-1.186426.1.191687.1

So I just boot into twrp and install fw_clover_miui_MIPAD4_9.8.29_6647b25a58_8.1.zip ?

Same process as if I was installing any other zip (lineage, gapps etc).

I dont need to do anything else?
 

pndwal

Senior Member
Jun 23, 2016
1,713
845
113
Sydney
Yes. Thanks. I have LTE and current fw is 660_GEN_PACK-1.186426.1.191687.1

So I just boot into twrp and install fw_clover_miui_MIPAD4_9.8.29_6647b25a58_8.1.zip ?

Same process as if I was installing any other zip (lineage, gapps etc).

I dont need to do anything else?
Yep. (Then boot and check baseband version.) :) PW