[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Hashcode:
Lineage 17.0 ROM Testing (Personal Build)

Hello all,

My Kindle Fire HDX (https://en.wikipedia.org/wiki/Fire_HDX) has grown quite old (2013), so I started looking for a replacement a few months ago. After some research, I came across the Xiaomi Mi Pad 4 which has very nice technical specifications. I decided to give it a try and ordered a "test" device (8" wifi-only) about 3 weeks ago. It was delivered yesterday.

We should all thank [MENTION=5621191]rcstar6696[/MENTION] and the rest of the contributors at https://github.com/xiaomi-sdm660 as the work they have done for this device is EXCELLENT. I was easily able to check out the sources and run my own test build of this ROM.

This afternoon, I flashed my personal userdebug build signed with public keys which has selinux disabled.

My process went like this:

The device came with MIUI 10.3.1 installed and was already bootloader unlocked

Downloaded the TWRP.img linked in this post (twrp_clover-3.3.1.img) as well as the BETA Gapps for Android 10.

Downloaded the last MIUI v10 build from Xiaomi.Eu (Built 2019-08-30ish):

https://sourceforge.net/projects/xi...i.eu_multi_MIPAD4_9.8.29_v10-8.1.zip/download

Entered fastboot and `fastboot boot twrp_clover-3.3.1.img` to enter TWRP (didn't flash recovery yet)

Placed the newest MIUI on the internal storage and flashed the update. I did this to make sure my bootloader and firmwares were as new as they could be. From here on out, I don't expect Xiaomi to provide any further updates for this device.

Rebooted the device afterward to make sure everything booted

Entered fastboot again and `fastboot boot twrp_clover-3.3.1.img` to enter TWRP (still didn't flash recovery yet)

Made a backup of everything and moved it to my local HD (important to have these: mostly for the persist backup)

Rebooted back to bootloader and flashed recovery this time: `fastboot flash recovery twrp_clover-3.3.1.img` and `fastboot reboot` while holding the Volume Up button to enter recovery.

In TWRP, I placed my build of Lineage 17.0 and the BETA Gapps.zip on the internal storage and flashed them.

I then wiped the device and rebooted

In general, Lineage 17.0 runs extremely well on the Mi Pad 4. Clearly there are a few failures below, but most have nothing to do with the ROM (GApps or SELinux disabled issues). Here is an itemized breakdown of my testing:

In the middle column

P == PASS

F == FAIL

[ROM TESTING - LINEAGE 17.0 2019-10-31 - selinux disabled - public key signed]

GPU :P: [APP] 3D Mark: Sling Shot (Std) OpenGL ES 3.1 / Vulkan : 2074 stock : 2034 Lineage 17.0
LCD :P: Visual
BACKLIGHT :P: Visual
TOUCH :P: [APP] Multi Touch Test
PWR BUTTON :P: Manual Test
VOL BUTTONS :P: Manual Test
CAMERA[F]/PIC :P: Camera
CAMERA[F]/VID :*: Camera
CAMERA[B]/PIC :P: Camera
CAMERA[B]/VID :P: Camera
ROTATION :P: Rotate
SPEAKERS :P: Audio Test
HEADPHONES :P: Audio Test
MICROPHONE :P: Audio Test
ACCEL :P: Sensor Box for Android
GYRO :P: Sensor Box for Android
ALSPS :P: Sensor Box for Android
HALL SENSOR :P: Cover Open / Close
USB OTG :P: USB Thumbdrive
WIFI :P: 2.4Ghz / 5.0 Ghz
WIFI/GPS :P: [APP] Google Maps
WIFI DISPLAY :F: Settings -> Display -> Cast Screen
BLUETOOTH :P: Pair Headphones / Speaker (Audio Profile)
BATTERY :?: Screen OFF / Wifi ON / 4 hours : Less than 1% drop (~5% day)
ENCRYPTION :?: Settings -> Security -> Encrypt Device
SAFETY NET :F: [APP] SafetyNet Checker (selinux/ CTS profile fail)
SCREEN RECORD :F: System Test
PLAY MOVIES :P: [APP] Google Play Movies
YOUTUBE 4K :P: [APP] 4K Video : Sony 4K Demo [Settings -> Quality -> 2160p]
NETFLIX :F: [APP] Movie (selinux disabled means the app won't show in Play Store)
HBO NOW :P: [APP] Movie

[NOTES]

personal build: public keys

selinux: disabled

BETA Gapps used: Android 10 "full" size 10/6

Launcher issues:

- Pixel Launcher Crashed -- probably beta GApps

Camera issues:

- There are 2 camera apps in my build: com.android.camera and com.android.camera2

com.android.camera application:

- Recorded Front Camera "Short Video" then app crashed when toggling to Rear Cam (Wasn't able to duplicate)

- No audio recorded from Front Camera "Short Video" for my first try (Wasn't able to duplicate)

- Front Camera video is very squashed after my first video recorded

- Setting Video to 720p manually every time before recording video fixes format aspect ratio.

(If you see close zoom of face it will record incorrectly)

com.android.camera2 application:

- Things worked a bit better but didn't spend as much time changing settings

screen recorder:

- Hung / crashed the device

youtube 4k viewing:

- Limited to 1080p view (which seems oddly correct vs. 2160p limit on stock)

I will perform more rebuilds enabling SELinux and custom signing keys as well as experimenting with the fingerprint info that is current in the clover repo (it's for Wayne device) and post my results.

- Hash