yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] SeverusSnape:
I´ve tried the gApps nano and mini packages from 20191105 20191114 and 20191209 --> The Launchers always FC.

Regards
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ericcostes:
Hi JEFF,

thanks a lot for your infos :good:

best regards :cowboy:

Eric
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Rataplan626:
Mentioned multiple times before. https://xdaforums.com/showpost.php?p=80781205&postcount=65
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] M@j@:
Had the same issue at first, I suspect it was the twrp version, as I had the twrp version installed to allow encryption. I flashed the twrp version recommended in the first post and the installation went through.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] stangri:
Does double-tap to wake work in this ROM?

[MENTION=5621191]rcstar6696[/MENTION] -- in order to backup presist partition, can I use any version of TWRP recovery or do I have to use the recovery you linked in OP?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] reg66:
Yes, dt2w works
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] brachios:
After numerous attempts I managed to update to the lastest build using Gapps 20191209 micro with all others failing but now I notice connecting to a Windows PC the USB file transfer option does not work, I have updated the drivers so does anyone else have the same problem?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] azz_kikr:
New build works great just 2 small issues noticed zo far:

- battery percentage doesnt work. Enabling doesnt do anything.

- when waking up the screen in landscape, there is a graphical issue. Only half of the image Gers drawn for a seconden, then it Pops fully.

Nothing bad....just giving heads up

Great work!!!
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] alexilaih0:
You can activate % battery under settings => System => Status Bar.

As a work arround =)
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] bahuy2003:
Music player doesn't receive the songs (mp3) from internal memory.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] EggZenBeanz:
great ROM - nice work dude.

If, like me, anyone wants the 2 button nav bar then you can run this in adb shell to get it

adb shell cmd overlay enable com.android.internal.systemui.navbar.twobutton
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] PMShodan:
Or you can just choose from full screen gestures, 2 button or 3 button navigation from Gestures / System Navigation in the settings.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] EggZenBeanz:
Hahaha or indeed, do that... Its easier. Didn't know that was there!!
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] dorkshoei:
Just switched (from stock ROM).

Couldn't get GSI A-only to install but this worked first time.

No issues so far, thanks for all the hard work.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
Yet another ROM that root sensitive apps think the ROM is rooted :(

https://ibb.co/rtNML6S

Back to Havoc I guess...
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] M@j@:
First, thank you for this great rom.

I have issues with data manager like x-plorer to perform copy or delete on the SD-card. The menue popping up when performing such an action to allow access to the SD does not change the access rights in the end. The native data manager, however, seems to work flawlessly.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] chemengire:
Dear rcstar6696 ?,

Would you consider adding Spectrum support to the kernel to facilitate the configuration of battery/balance/performance settings for the device?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] roaka1:
Ive dirtflashed the newer version. But gapps stopped working. Flashed back the prior one. Bootloop. Im so done right now!!!
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] dorkshoei:
Can't you boot into fastboot?

---------- Post added at 05:33 PM ---------- Previous post was at 05:30 PM ----------

Which app is this? None of my banking apps have complained and I've had issues with them before.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
Skygo in the UK, it's a ***** of an app! Only thing I have worked out about it is it doesn't detect bootloader state nor custom recovery as it worked ok in havoc
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] dorkshoei:
I have absolutely zero interest in rooting my tablet (i'm a Linux developer btw and have x86, Power and even old itanium servers in my home office) but tablets are. for me, something I use to consume non-work content (movies, books, Tapatalk).

A lot of people switch to aftermarket ROMs because its a foreign device like this or after official android support ends, not because they like tinkering.

So t would be nice if Netflix could be installed on this build.

My bootloader was unlocked when I got the tablet from AliExpress and the default ROM on the MiPad4+ worked fine with Netflix. Previous Lineage ROMs such as on Nexus 9 have also worked fine with an unlocked bootloader.

I tried to install apkpure installer but I can't get the apk to install even after giving the installing app permissions.

This said I'm not sure if the Netflix xapk will even work even if I can get it installed.

Thanks
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
Totally agree read my post a few before yours
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Stefan T.:
Netflix is working perfectly for me in the newest build

I installed the Firmware first, than right after that magisk, without rebooting between.

The result is that Netflix will show up in Google PlayStore.

U can try to delete Data and Cache from PlayStore if you have installed magisk afterwards.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] dorkshoei:
I'll try booting into recovery and installing it.

Before I do this though, are there any negatives to doing this? As I said I have zero interest in a rooted device,i just want Netflix.

Instructions state "6.2 Root: Download Magisk & flash Magisk zip via Recovery" but I think if rooting is required for apps like Netflix to appear in Play Store (which in itself seems oxymoronic) it would be nice to state so.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
You are missing the point, we don't need nor want root, nor do we want buggy magisk with its questionable code and the modules with even more questionable code...
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] dorkshoei:
Agreed. Needing to root, in order to get a particular app (Netflix) to appear in Play Store is simply bizarre imo.

I second the comment about also not wanting more unnecessary 3rd party code than is strictly needed.

I saw a comment that Netflix works OK by default in the unofficial LOS16 ROM (thargusson, misspelled probably).
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Robin>Hood:
[MENTION=8002405]roaka1[/MENTION]

It says to do a clean install. You messed it up yourself!

To others complaining, you can also formulate your complaints as constructive criticism/feedback. Or do it yourself, which is what I'm planning to do when I finally have my MiPad. Don't care about Netflix though.

[MENTION=5621191]rcstar6696[/MENTION]

Thanks for your work on this! Looking forward to trying this and learning about building myself :)
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] rcstar6696:
Hey guys to clearify your thoughts. Netflix is working fine if you use magisk. There are few commits to fix safetynet without root but those commits are not allowed in lineages code chapter. So i have to follow them and not use any kind of commits like that to make this rom official in future. Sorry but rules are rules. The main problem is the unlocked bootloader which results in android verified boot from green to orange and we are not allowed to hardcode it to green to pass safetynet by default. Magisk exactly does that.

For more info read here https://github.com/LineageOS/charter/blob/master/device-support-requirements.md
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
Gutted, deal breaker for me but thx for clarification...
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] dorkshoei:
[MENTION=5621191]rcstar6696[/MENTION]

Thanks for the clarification.

I'm curious, when I was running official Nexus 9 lineage (with updates) there was no problem with Netflix and its unlocked bootloader. Admittedly this was back in 14.1. Has something changed?

I saw it claimed that LOS 16 build worked with Netflix by default but I know that he has had issues getting anywhere in terms of getting build to official, so maybe its a local (prohibited) change.

Obviously an official build ?with OTA updates? would be great.

---------- Post added at 08:45 PM ---------- Previous post was at 08:41 PM ----------

If there was an official build with OTA couldn't you relock the bootloader

Obviously that's a way off.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
Bootloader state isn't detected by skygo, not only have I used it on this device but my phone too(oneplus 5t), which has twrp but runs stock oxygenos... I'm guessing netflix doesn't either.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] roaka1:
Ive messed it up? I installed from version to version like anyone else would have done it here. I saw no warning whatsoever. Not everything is a complete user-error. Let me know about your emotions when your stuck in a bootloop, no version works now and ya spent a good day setting it all up.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
I can download skygo from the play store fine, but when I have logged in and try to start a stream, it detects root..
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] dorkshoei:
I understand. Point I was making is that Magisk is apparently required as the bootloader is unlocked and detected by playstore. Apparently Magisk can mask this. If this ROM ever gets to official status with OTA updates, I'd have thought you could relock bootloader after installing it (no Magisk). Obviously in short-term this doesn't help you but i'm not sure what developers timeline is for official inclusion.

Also i'm curious if Magisk can mask the bootloader status if there is some way to have it also mask the check Sky is using?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
Not in my case as I said bootloader being unlocked isn't a problem, my phones bootloader is unlocked and works fine.

I think there is a work around via magisk yes, but I don't like the Software and dislike some of the modules even more..
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Stefan T.:
Ok, so im sorry... I didnt get that point.

I dont know If Netflix shows in Playstore if u didnt install magisk.

So someone have to try to flash simply that rom and tell us more.

I have magisk installed and its hided, no problems with that option
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] dorkshoei:
What firmware on phone? As pointed out the ROM can mask an unlocked bootloader so checks see it as locked, but this option wasn't taken here as it isn't allowed for official inclusion.

---------- Post added at 10:19 PM ---------- Previous post was at 10:17 PM ----------

Is encryption=on still a requirement for official LOS inclusion? I thought it was but I see its off for this ROM.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Rataplan626:
I updated to the januari build today, and I took the liberty to install the latest gapps that were released today: https://sourceforge.net/projects/opengapps/files/arm64/beta/20200112/. So far no issues. The only bug I found so far is that with normal battery icon, when you select percentage inside the icon it doesn't work. Only when you select 'next to the icon'. Fine by me though, but just to let you know. Touchscreen is still a bit wobbly at times for me.

Thanks for all the great work!
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
Phone is running stock oxygenOS unlocked bootloader I did it the day I got it over two years ago...

https://ibb.co/1zKtWMR
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] allweknowisa:
I finally wiped my tablet from HavocOS 2.8 and updated to LOS 17.0. Everything perfect so far, it feels way faster than my old ROM. I highly recommend this as a daily driver for our tablet.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] jazzdev:
Does anyone have screen rotation issues?? My screen is stuck in potrait mode and unable to rotate.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
Nope it works fine here
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
[MENTION=2639369]TheIntruder[/MENTION]

Guys, as op said, passing safetynetcheck is complex and bootloader is only 1 factor, and I believe on older devices it didn't trip safetynetcheck at all, so, as has been observed, Netflix etc could run on some of these.

For our device, which only came with China stock, safetynetcheck won't pass with Magisk alone (although this hides bootloader unlock). Basic Integrity passes, but CTS is tripped as there is no certified device fingerprint. (IE, Playstore, settings, about, play protect certification said 'Device is not certified' even with pure stock).

For Chinese / other uncertified devices like ours, many apps were never going to run without mods, and MagiskSU is the systemless mod interface that allows, with root, what wasn't possible even with pure stock.

To fix CTS, we need to use a certified fingerprint from another device, and the easiest way is with a Magisk module. 'SafetyPatch' is most simple, but uses a Huawei fingerprint to pass (it's all I've used though). 'MagiskHideProps config' will also work with a fingerprint of your choice set thru Terminal Emulator UI.

This will fix safetynetcheck and Netflix will now show and work, as I originally said.

For some banking apps, GPay etc, more is required as they often look deeper for root, mods etc. However a simple Magisk module fix has been successfully created for GPay (thanks to [MENTION=2449699]BostonDan[/MENTION] & [MENTION=9317193]73sydney[/MENTION] ) - 'GPay SQLite fix' (requires SQLite binary, available as Magisk module too).

This GPay solution will likely also work for those with problems running bank apps etc on Mi Pad4.

See: https://xdaforums.com/apps/magisk/magisk-google-pay-gms-17-1-22-pie-t3929950/

See my methods posts 764 (p77), 816, 819 (p82) here. PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] jazzdev:
Mine screen rotation seems to be stuck....i just did a clean install and it was working fine on my previous custom rom....strange.... ?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
I'm not on about Netflix, skygo is my issue

https://play.google.com/store/apps/details?id=com.bskyb.skygo

Bootloader state Isn't detected, it worked with miui and havoc with this rom I get this ...

https://ibb.co/gR0Cwp2
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] dorkshoei:
Thanks for this technical info, much appreciated.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
Well, I did say 'Netflix ETC'. Also:

So what do you see at Playstore, settings, about, play protect certification?

If you're getting 'Device is not certified', which you will be, your app is probably just checking CTS profile (compatibility test suite) match.

The CTS profile relies on several facets, and since most devices on stock have passed this with Google and their fingerprint is certified, the MOST COMMON problems causing CTS mismatch are root or custom ROM related (a root manager not hidden, Xposed Framework or root apps not hidden, permissive SELinux will all trip CTS).

For this reason I'd say say your app (SkyGo) is claiming (wrongly) that you are rooted (- you already know this is an error, but it's much simpler to say than "either your device is rooted, you have a custom ROM, you have a Chinese device that was never certified to run Playstore or any other Google proprietary apps in the first place so we don't trust it to run our app either because Google don't [the real reason], or something else is causing a CTS mismatch').

I'm not sure how 'it worked with miui and havoc', except that custom kernel's often allow CTS to pass. Was that stock Chinese MIUI, or MIUI EU or other?

Anyway, if its simply CTS mismatch that it's checking for, MagiskSU and modules are probably the most universal way to get such apps running on Mi Pad4. In fact many such apps simply won't run even with pure stock on this device as I said.

So I say 'Hats off [MENTION=4470081]topjohnwu[/MENTION] - Thanks a million!' (fixes and development came even from the field while doing compulsory military service. That's dedication.) PW

https://www.didgeridoohan.com/magisk/MagiskHide#hn_SafetyNet
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
I know CTS fails tested it earlier (sadly not tested in MIUI or havoc)yet I'm able to download it, run it and login but as soon as I play I steam bang, message in piccy

As said before mate, the app worked fine with both MIUI and Havoc .... Really don't want to go near magisk..
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Rataplan626:
The January version still has the bug that the space for icons on the homescreens is one row too short in the default launcher (Trebuchet?). Is that something that can be fixed?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
Great point, thanks.

Ie. SafetyPatch v3. PW

---------- Post added 14th January 2020 at 12:08 AM ---------- Previous post was 13th January 2020 at 11:22 PM ----------

Right. I think Havoc probably has custom kernel set up to pass CTS.

Please can you say which MIUI you had? Was that stock Chinese MIUI, or custom EU MIUI or other?

For this ROM you could try [MENTION=8895941]Dan Ger[/MENTION]'s suggestion above - simply flash SafetyPatch v3. Directly from TWRP without root. PW

Edit: just read Xiaomi EU's custom MIUI ROM shows 'certified'. (Now makes sense as I know stock MIUI doesn't.) So they incorporate a fix to pass in ROM, probably much the same as SafetyPatch. I'd love to know what ro.build.fingerprint shows in buildprop for this.

I see many Havoc users are flashing SafetyPatch to fix certification. They report Huawei fingerprint but no problems. One is using MagiskHide Props Config with ro.build.fingerprint: xiaomi/jasmine/jasmine_sprout. PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] M@j@:
Someone has a link for V3 of the SafetyPatch? All I can find is V2. Anyone has tried V3 and can share his experience on our device with this room?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] T0mu:
try to set magisk root automatic response to deny...

I have noticed that some apps try to pull a check by asking magisk for root access.

if automatic response is set to grant or prompt the app shuts. itself.

if you set to deny, and magisk hide is set for the app, it works flawlessly.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
I don't have buggy magisk

---------- Post added at 08:12 AM ---------- Previous post was at 08:09 AM ----------

It's a magisk module, don't trust it or trust the badly written modules even less
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
Already read about it, time to ditch this rom unfortunately... Don't want to be forced to use buggy software on top of it that I don't trust..

I could use skygo on miui and havoc with no problems
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
Did Magisk bite you?? PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
It's total garbage
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
https://sourceforge.net/projects/revolutionos-miui/files/common/ regards, PW

---------- Post added at 09:06 AM ---------- Previous post was at 09:04 AM ----------

Wish you'd qualify such remarks.

Anyway, I disagree. You're missing much untapped potential. But that's only my opinion... :)
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
It's buggy rubbish, with some poorly coded modules.... Why should we be forced to root and use that rubbish?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] banesi:
Dont feed the troll guys, just enjoy this perfect rom with Magisk.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
Not a troll been here years and probably longer than you, just stating facts! I know people struggle with facts nowadays but there you are..
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] M@j@:
Thx, pndwal, I was under the impression you can flash this module via TWRP without root and Magisk, right? Currently I run the last version of the ROM without root (and it is running great for me),

-just to mention it, as people may get the impression from recent discussion that root is a must. e.g. netflix can be simply sideloaded.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] TheIntruder:
It's a must if you want to run apps that don't work with root privileges, this should be in the first post so people like me know in future and can make a decision as to install the ROM or not....
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Kazryu:
hello anyone been able to use nordvpn in this rom?

i've been trying to connect but it just keeps connecting all the time

i tried in my samsung phone, its work fine

care to share any workaround or is it only me?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] hydelezz:
Charging is very slow on latest build.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] pndwal:
Yes, that's what others are saying, but I haven't tried. Apparently works at least on MIUI (Stock Chinese).

Please let us know if it works on our LOS unrooted.

-If so, Netflix should appear in Playstore, but may have to clear data and cache for Playstore and Play services after reboot to get Playstore, settings, about, to say 'Device is certified' (IE CTS pass).

-If not, another patch may be needed in addition.

To remove mod I guess ROM reflash will be required without Magisk manager.

Please tell me, is sideloaded Netflix fully working? Or is a modified APK needed?

------------------------------------

Sidenote: Some ROMs (Eg Havoc) appear to have safetynet fixes in ROM out of the box. Of course, this involves the same methods as are used by Magisk / TWRP patches, ie. hiding bootloader unlock, substituting ro.build fingerprint for that of a certified device, etc.

LOS policy prohibits commits required for such fixes / modifications to be hardcoded as OP here explained. Other ROMs have no such (security) policy, and have these and other 'fixes' enabled by default. Eg. Havoc OP lists 'Signature Spoofing' and many other 'features'.

It's no real biggie for us (LOS users) as Magisk / TWRP mods simply borrow the methods / code, and package these as flashable fixes which can be applied systemlesly - allowing the user to decide the policy :) .

...and, yes, some are buggy (cobbled together); some are simply brilliant, as is MagiskSU itself! Also, many predate Magisk, their code having been refined over years... PW
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] M@j@:
"normal" Netflix app, like the one available e.g. under

https://www.chip.de/downloads/c1_downloads_hs_getfile_v1_79688229.html?t=1579098654&v=3600&

Runs without issues.

I will come back for the V3 SafetyPatch.
[MENTION=8895941]Dan Ger[/MENTION], did you try the patch on this room?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Rataplan626:
Running a few days now on the latest build, running pretty smooth so far! I do notice though, I actually don't use my tablet as much. I made a habit of powering it off when I know I won't be using it for a few days. I notice this version boots quite a bit slower than the previous one. I used to see two of those Lineage logo-animation loops before the final animation that leaves all three dots there. So three loops in total. This build shows 4. That's a 33% increase. Still it's just seconds and not minutes, but just wanted to share.

btw yet again new beta apps released today: open_gapps-arm64-10.0-nano-20200115-BETA.zip