[ROM][13][clover] LineageOS 20 for Xiaomi Mi Pad 4 [UNOFFICIAL]

Search This thread

Never_Sm1le

Senior Member
Sep 26, 2016
368
84
Hanoi
Xiaomi Mi A1
Xiaomi Mi Pad 4
Hi folks,

Just to be sure before buying: there is no showstopper in flashing this ROM over a official china one (not the global/eu version with bootloader already unlocked), right? I know I first have to unlock the bootloader, then flash TWRP with fastboot etc, but just to be sure!

Also, I will backup my "persist" partition with TWRP just in case, but if I do it right it shouldn't get screwed up if I flash LOS, right?

Sorry for my ignorance, but better be safe than sorry!
This tab is china only, there's no eu/global version, they are just flashed with xiaomi.eu roms. And yes, follow that procedure and backup your persist.img
 
  • Like
Reactions: the_wing

turopolje

Senior Member
Dec 16, 2014
51
8
zagreb
I uploaded the new build (lineage-20.0-20230414-UNOFFICIAL-clover.zip).
Android security update date is 2023-04-05.
I use MiPad 8" WiFi with twrp-3.7.0_12-0-clover-4.4
-boot to twrp decrypt system OK
-copy lineage-20.0-20230414-UNOFFICIAL-clover and MindTheGapps-13.0.0-arm64-20230408_162909 from PC to TWRP
- flash rom+Gapps
-wipe dervik/cash
-reboot to twrp
-reboot system
rom works perfectly
 
  • Like
Reactions: appman1234

jamezkk

New member
Dec 29, 2022
2
0
I uploaded the new build (lineage-20.0-20230414-UNOFFICIAL-clover.zip).
Android security update date is 2023-04-05.
Hello :)
Thanks for new rom. Generally it works perfectly. There is only one issue, I have written earlier. I can't connect to wpa-enterprise secured wi-fi networks.
There is no (missing) option "not specified" in "CA Certificate" field.
I've tried "Trust on first use", and I've trusted proposed certificate - it works untill next connection. When connecting again connection fails. When I choose again trust on first use, it asks again and I trust, but again it works till disconnection. Littlebit annoying :)
Will you correct this?
 

kotty

Senior Member
Sep 17, 2010
243
12
singapore
thank you for this amazing ROM.i had found some minor issue but not a big deal.

1- using fingerprint unlock there will be 2 to 3 seconds delay till screen responsive.

2- there is no volte icon toggle for status bar

3-no screenshot shortcut .from drop down or press and hold at shortcut button.
 

vincebox

Member
Sep 14, 2020
24
3
I noticed the charging speed was slower with March and April update. Did anyone experience the same thing?
 

xinhao

New member
Apr 23, 2023
1
0
Hello, I want to compile a kernel that supports docker by myself, but I have tried many times and am reporting errors. The address is: https://github.com/kyasu/android_kernel_xiaomi_sdm660
This problem has troubled me for a long time, can you help me to solve it, thank you

CC lib/mpi/mpi-cmp.o
CC techpack/audio/asoc/msm-lsm-client.o
../drivers/crypto/msm/ota_crypto.c:804:34: error: array type has incomplete element type ‘struct of_device_id’
804 | static const struct of_device_id qcota_match[] = {
| ^~~~~~~~~~~
../drivers/crypto/msm/ota_crypto.c:805:4: error: field name not in record or union initializer
805 | { .compatible = "qcom,qcota",
| ^
../drivers/crypto/msm/ota_crypto.c:805:4: note: (near initialization for ‘qcota_match’)
../drivers/crypto/msm/ota_crypto.c:804:34: warning: ‘qcota_match’ defined but not used [-Wunused-variable]
804 | static const struct of_device_id qcota_match[] = {
| ^~~~~~~~~~~


#!/bin/bash
export ANDROID_AARCH64=/home/xinhao/mipad4/newcl/Tool/toolchain_aarch64_travis/google_gcc/aarch64-linux-android-4.9/bin/
export ARCH=arm64
export SUBARCH=arm64
export PATH=$PATH:$ANDROID_AARCH64
export CROSS_COMPILE=aarch64-linux-android-


cd output
make O=output
 

kuskro

Senior Member
Sep 6, 2009
361
312
After struggling with PixelExperience, I decided to jump to LineageOS and it was for good. Million thanks to the developer.

I installed the last update with Nikgapps Core thanks to twrp-3.7.0_12-0-clover-4.4.img and everything works by far good.

But I wonder why the system asks you to reinstall Lineage recovery over twrp during the first boot on it, is it good? I ask about due to my prior problems regarding twrp + encryption + pixelexperience.

What's best "twrp" or "lineageOs recovery"?

Thank you in advance.
 

emerysteele

Member
Jul 31, 2012
7
0
How do I disable encryption on data partition? It prevents me from doing a full backup image.

Don't mind clean flashing again if that's what it takes.

Edit: NVM, was using wrong TWRP 3.7.0_9. After flashing 3.7.0_12, am able to mount and backup /data partition
 
Last edited:

sanzraul

Member
Nov 16, 2014
13
1
Version 20230503 installed with LINEAGE RECOVERY and working correctly. Great job. Thank you so much.
 

Calvinn6

New member
May 8, 2023
2
0
Hi, I have a problem.
Before this steps:
- flash rom+Gapps
-wipe dervik/cash
-reboot to twrp
-reboot system

The Store return a error:
Your Device isn't compatible with this version

I try clear Play Store's cache and data files. And return the same error.

I need you 🤷‍♂️
 

alexilaih0

Senior Member
Mar 10, 2010
51
10
Cologne
Xiaomi Mi Pad 4
G'day

I got a weird problem with the new android 13 photo picker, it just doesn't really care for my folders... I only see downloads and screenshots as folders everything else is just under photos in the timeline... Does anyone know how to fix this? I really start to dislike this new picker... 😅
 

Calvinn6

New member
May 8, 2023
2
0
Hi, I have a problem.
Before this steps:
- flash rom+Gapps
-wipe dervik/cash
-reboot to twrp
-reboot system

The Store return a error:
Your Device isn't compatible with this version

I try clear Play Store's cache and data files. And return the same error.

I need you 🤷‍♂️
Sorry. I maked a mistake.
I Installed the GAPPS ATV... 🤦‍♂️

Now, It´s fine!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    The charge current is fine: it's up to 1.7A on my device. Probably the issue is in your hardware (e.g. faulty charger, cable or port on the tablet).
    View attachment 5912821
    I tested with different charger and cable. It is indeed faulty cable. It is charging normal when I change the cable. Thanks for your reply.
  • 32

    2okPze5.png

    LineageOS is a free, community built, aftermarket firmware distribution of Android 13, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    This is an unofficial LineageOS 20 build for the Xiaomi Mi Pad 4 (clover).

    Known Issues
    • Please tell me
    Instructions
    1. Flash twrp-3.7.0_12-0-clover-4.4.img created by sabarop by fastboot.
    2. Boot to the flashed TWRP recovery (Vol UP + Power)
    3. Format Data (backup sdcard before format) if MIUI/LOS-19.1 was previously installed
    4. Flash ROM (lineage-*.zip)
    5. Flash Gapps (MindTheGapps-13.0.0-arm64 is recommended)
    6. Reboot
    Enjoy!

    NOTES
    • Safetynet can pass on this ROM (without magisk).
    Downloads
    All: https://androidfilehost.com/?w=files&flid=327361
    LineageOS 20: lineage-20.0-20230503-UNOFFICIAL-clover.zip

    Sources
    https://github.com/kyasu/android_device_xiaomi_sdm660-common
    https://github.com/kyasu/android_device_xiaomi_clover
    https://github.com/kyasu/android_kernel_xiaomi_sdm660
    https://github.com/kyasu/android_vendor_xiaomi_sdm660-common
    https://github.com/kyasu/android_vendor_xiaomi_clover

    Contributors
    LineageOS team, kyasu

    ROM OS Version: Android 13
    ROM Kernel: Linux 4.4
    Based On: LineageOS
    Status: Stable

    Created 2022-11-04
    Last Updated 2023-05-04
    13
    I uploaded the new build (lineage-20.0-20230106-UNOFFICIAL-clover.zip).
    Android security update date is 2023-01-05.

    Please flash ROM and Gapps to update.
    12
    I uploaded the new build (lineage-20.0-20230503-UNOFFICIAL-clover.zip).
    Android security update date is 2023-05-05.
    11
    I uploaded the new build (lineage-20.0-20230212-UNOFFICIAL-clover.zip).
    Android security update date is 2023-02-05.
    Merged twu2's charging patch.
    11
    I uploaded the new build (lineage-20.0-20221210-UNOFFICIAL-clover.zip).
    Android 13 QPR1 (Quarterly Platform Releases) with December security patch.
    Android security update date is 2022-12-05.