[ROM][13][OFFICIAL][DynamicPartition][Kernel 4.19] PixelExperience (Plus) for Mi Pad 4 (Plus)[5.19 Updated][Check #2 for FAQ and changelog]

Search This thread

williamfeng99

Member
Jan 1, 2023
31
10
Xiaomi Mi Pad 4
OnePlus 7 Pro
It's been a long time since I've touched my Mi Pad 4, and I just recently noticed there is now a A13 Pixel Experience (Plus) rom the device.

Questions:

1. Can I flash this straight from Official China 10.3.2.0 firmware or should I flash from Xiaomi.eu 10.3.2.0?

2. Would TWRP-3.7.0_12-0-clover-4.4 work well with this rom as recovery (after rom has been flashed)?

3. Is there a A13 recovery available for Clover?

4. Is Play Store Certified with this rom and Magisk?

5. Is overclocking the screen to 90Hz recommended (I have one of the very first batches of Clover bought in the summer of 2018)?

Thank you,
1. Flash this R.O.M. from official 10.3.2 CN firmware will do.
从MIUI 10.3.2中国版底包刷这个系统就行。

2. You can't use T.W.R.P. with the R.O.M. as it uses retrofit dynamic partitions, you have to use the provided PixelExperience Recovery along with the R.O.M. instead.
T.W.R.P.不能用,这个系统用的是虚拟动态分区,必须和PixelExperience的恢复程序一起用。

3. You can find the PixelExperience Recovery from the install guide for Mi Pad 4 on the PixelExperience official website.
恢复程序从官网上小米平板4系统安装教程里下载。

4. Yes SafetyNet works, and yes Magisk also works and it can be sideloaded via the PixelExperience Recovery if that's what you're looking for.
设备认证没问题,Magisk能用,也能从PixelExperience恢复程序里安装。

5. You can overclock the screen but it's not recommended, do so at your own risk.
可以自己超频屏幕刷新率,但是不建议这么做,风险自担。
 
Last edited:

Nemix77

Senior Member
Nov 11, 2011
234
151
Toronto
Xiaomi Mi Pad 4
Xiaomi Poco F3
Been trying this out for the past day. Scrolling smoothness and performance is not there yet. There's lots of micro lag when scrolling and the performance is not as smooth as other roms on Android 13 like LineageOS 20.

On top on all that, there are many bugs and UI inconsistencies with this rom. One of the most annoying bugs for me is when the screen does not turn off sometimes.

Finally, Magisk is very buggy with this rom. Sometimes apps do not detect root prompt, and other times apps that have been given root permission loose root permission.

For the time being I've had to revert back to Pixel Experience Plus 11, which has been working really good for me.
 

Alcatraz323

Senior Member
Apr 4, 2020
198
255
Xiaomi Mi 4
Google Pixel XL
Been trying this out for the past day. Scrolling smoothness and performance is not there yet. There's lots of micro lag when scrolling and the performance is not as smooth as other roms on Android 13 like LineageOS 20.

On top on all that, there are many bugs and UI inconsistencies with this rom. One of the most annoying bugs for me is when the screen does not turn off sometimes.

Finally, Magisk is very buggy with this rom. Sometimes apps do not detect root prompt, and other times apps that have been given root permission loose root permission.

For the time being I've had to revert back to Pixel Experience Plus 11, which has been working really good for me.
1. Scrolling/Installing/transitioning is not maximum boosted with Qti perf service(Los20 using, pix106/sabar_op rom not using) which is conflicted with current more battery saving pixel power manager(EAS kernel). This ROM is battery life preferred
2. If your screen not off, check if you enabled "Screen attention" function previously, it still needs a reboot even you turn it off to work. Blame google if it's not good for it's a pixel phone's function. They have no pixel tablet now.
3. Magisk related SHOULD NOT be considered as a bug for the ROM
 

Alcatraz323

Senior Member
Apr 4, 2020
198
255
Xiaomi Mi 4
Google Pixel XL
Been trying this out for the past day. Scrolling smoothness and performance is not there yet. There's lots of micro lag when scrolling and the performance is not as smooth as other roms on Android 13 like LineageOS 20.

On top on all that, there are many bugs and UI inconsistencies with this rom. One of the most annoying bugs for me is when the screen does not turn off sometimes.

Finally, Magisk is very buggy with this rom. Sometimes apps do not detect root prompt, and other times apps that have been given root permission loose root permission.

For the time being I've had to revert back to Pixel Experience Plus 11, which has been working really good for me.
Also as per FAQ#2 on #2 said
The refresh rate will lock as laggy during the first minutes of starting if you are overclocking
 

AntoRei

Senior Member
Jun 8, 2016
202
31
guys i have problem with persist partition, i tried to install twrp but data is encrypted. What can i do to install persist.img? Thanks

Edit: here solution, thanks Alcatraz
In pe recovery:
Advanced - enable adb
Then On PC:
adb push persist.img /tmp
adb shell
dd if=/tmp/persist.img of=/dev/block/by-name/persist16:09
 
Last edited:

Dumet

Member
Sep 19, 2016
5
0
I have encountered the above error, how to solve it
Snipaste_2023-03-22_21-55-56.png
 

djmok

Member
Aug 30, 2008
10
0
Thanks for this amazing ROM, really bring a new lease of life to this device.
Also thanks for all the frequent updates.
 

MRKQATIF

Member
Oct 20, 2019
34
4
Thanks for the great ROM.
I installed the January version. It kept giving me errors that Pixel Launcher needs to close. Then, a couple of weeks ago, it hanged and when I pressed the power button for a few seconds: hoping to reboot the tablet, it booted into TWRP.
Now, I can only boot into TWRP or fastboot.
When I am in TWRP, I cannot install a new ROM because of errors with the data partition, which TWRP cannot wipe.

I tried to perform factory reset using the methods here: https://android.stackexchange.com/questions/175885/factory-reset-android-using-adb

Nothing works.

Would someone give me guidance, preferably a step-by-step method to fix the problem and reinstall PE13+?

Thanks in advance.
 

Alcatraz323

Senior Member
Apr 4, 2020
198
255
Xiaomi Mi 4
Google Pixel XL
Thanks for the great ROM.
I installed the January version. It kept giving me errors that Pixel Launcher needs to close. Then, a couple of weeks ago, it hanged and when I pressed the power button for a few seconds: hoping to reboot the tablet, it booted into TWRP.
Now, I can only boot into TWRP or fastboot.
When I am in TWRP, I cannot install a new ROM because of errors with the data partition, which TWRP cannot wipe.

I tried to perform factory reset using the methods here: https://android.stackexchange.com/questions/175885/factory-reset-android-using-adb

Nothing works.

Would someone give me guidance, preferably a step-by-step method to fix the problem and reinstall PE13+?

Thanks in advance.
There is a BIG "How to flash" on #1
 

MRKQATIF

Member
Oct 20, 2019
34
4
connect to PC and use adb fastboot format userdata and system update TWRP and sideload
Latest rom PixelExperience_clover-13.0-20221110-2311-UNOFFICIAL.zip :
- Android 13.0.0_r23
- January security patch
- 4.19 Nyx Kernel
- OSS cam HAL
- Migrate to Xiaomi power AIDL HAL and common sdm660 powerhint

Download

Installation instructions :
- Perform a backup of your current ROM (optional)
- Use latest 4.19 TWRP created by pix106: (TWRP)
- Perform clean install from TWRP (factory reset, format data and wipe system)
- Flash ROM

What's working:
- All hardware
- Safetynet pass / device certified

What's not working:
Let me know.

Source : https://github.com/PixelExperience
Kernel : clover
Device tree : sdm660

I had no problem to flash the PE ROM

As for the Magisk, I downloaded the latest magisk apk from their website, then changed the file format to .zip, and copied it to my MiPad4Plus

I then rebooted to the recovery, TWRP, installed the magisk.zip, I also did a cache clean, not sure if this helps.

I then rebooted into android, then tapped the magisk that just installed, it gave the update papup stating something like "this is not the lastest blah blah, will update blah blah", I then tapped yes.

After few seconds, magisk finished the update, I install the overlay fix over the module function in magisk

Hope this helps
Thanks for the response; I've tried this option but it does not work; always comes up with "waiting for device" or on other occasions: press any button to turn it off.
The latter seems to come now in response to any action I take via adb.
 

MRKQATIF

Member
Oct 20, 2019
34
4
I followed that guide and it worked with the constant problem that Pixel Launcher needs to close.

At this point, I want to unbrick my device, format everything, and install the latest PE+ on it.
 

Alcatraz323

Senior Member
Apr 4, 2020
198
255
Xiaomi Mi 4
Google Pixel XL
Thanks for the great ROM.
I installed the January version. It kept giving me errors that Pixel Launcher needs to close. Then, a couple of weeks ago, it hanged and when I pressed the power button for a few seconds: hoping to reboot the tablet, it booted into TWRP.
Now, I can only boot into TWRP or fastboot.
When I am in TWRP, I cannot install a new ROM because of errors with the data partition, which TWRP cannot wipe.

I tried to perform factory reset using the methods here: https://android.stackexchange.com/questions/175885/factory-reset-android-using-adb

Nothing works.

Would someone give me guidance, preferably a step-by-step method to fix the problem and reinstall PE13+?

Thanks in advance.
I need to clarify that I'm not in before Feb, and I have fixed the Pixellauncher on pe source for all devices after Feb.
Thanks for the response; I've tried this option but it does not work; always comes up with "waiting for device" or on other occasions: press any button to turn it off.
The latter seems to come now in response to any action I take via adb.
Fastboot instantly shutdown with "press any key" on screen means you are using mismatching connection,like PC is usb3.0 cable is usb2.0 pad is usb2.0
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    3.5 jack broken, doing urgent fix, will publlish new OTA
    3
    universal fix has been published, pls check#2 for details.
    special reminder: the 5g hotspot requrires a factory reset after update if you need that frequency
    3
    5.19 updated, pls check #2 for details
    1
    Anyone have problems with the fingerprint button? it detects my fingerprint but it does not work as a button to return to the home screen.

    Thanks,
    It is not supposed to work like a button. It is just a fingerprint reader.
  • 17

    NFjZzFl.png
    PixelExperience for Mi Pad 4 (Plus) [clover]

    What is this?
    PixelExperience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, boot animation)

    Our mission is to offer the maximum possible stability and security, along with essential and useful features for the proper functioning of the device

    Based on Android 13


    Extra Features
    PixelExperience feature

    Whats working?
    Almost everything

    Known issues
    DON'T FLASH GAPPS, THEY'RE ALREADY INCLUDED
    --

    ATTENTION: How to flash

    * For full steps please check the PixelExperience wiki

    Since pixel experience is packed with pixel gapps, the system partition can't hold that large originally.
    So I switched to retrofit dynamic partition(aka super.img) and fastbootd(userspace fastboot).
    It's logical and won't affect the real partition table which means you can still go mi flash for fastboot or 9008 to flash the system/vendor partiton for un-brick.
    However this method DOES NOT support twrp.

    To install/OTA update this ROM, you MUST use the pe recovery which is provided with the ROM.(For official, it is also a MUST for publishing, OTA update won't need flash again after/before rom flash, just need you keep the recovery)

    For flashing recovery, use following command on your PC
    fastboot flash recovery <img name>

    Boot to recovery
    Tap "Factory reset -> format data"(This will delete all your data! Only need for first time switch to PixelExperience
    Then tap Apply Update -> Apply from adb
    Start sideload by following command on the PC
    adb sideload <zip.name>

    # Or you can just put ROM on a fat32/exfat/ntfs sdcard/usb otg and insert/plug it, then you can choose it in pe recovery like twrp.

    If you see any "metadata" related error, just ignore it, it's common on the first dynamic partition flashing, and won't appear next time

    To switch to other ROMs, format data in PE recovery first, and then install another recovery then the ROM.
    Eg.
    1. reboot to pe recovery -> Factory reset -> format data
    2. Back to recovery home -> Advanced -> reboot to bootloader
    3. flash another recovery such as twrp
    4. press vol+ and power to boot recovery
    5. do another factory reset (and a format data if it is twrp)
    6. install(/sideload) another ROM's OTA zip like MIUI stock or LineageOS etc.(Warning: the ROM to install must have same kernel version with recovery. Eg. you can't use twrp-4.19 to format then install stock MIUI)

    Stay tuned
    My clover Telegram group
    QQ Group: 372404210

    Download
    Download
    History archive/Screen Overclock Image(Use it at your own risk! May damage device and have FASTER battery drain)

    5
    FAQ:
    1. How to enable/disable the task bar below?
    Long press the space in taskbar or gesture indicator(the white bar)

    2. Why 90/85/75/60 still laggy or feel like 30hz?
    Google need warms up, so after you booted like for 5mins, it will be smooth on that refresh rate.
    And for OFFICIAL version, I can't provide any overclock, so the full ROM package will be only provided with 60hz.

    3. Why twrp get's error/Must use PE recovery?
    Check the "ATTENTION" on #1.

    4. What is 13 / 13 (Plus edition)?
    The 13 (Plus Edition) NOT means it's for pad 4+, It's PE+, the 13、13 (Plus edition) both available for Mi Pad 4/4+. PixelExperience Plus will have more custom features.
    Also, if you are already on normal edition, you can directly dirty flash the same date plus edition or newer plus edition.

    5. How to solve heating/power drain too fast on idle?
    Usually this won't happen when you clean flash this ROM, and often caused by LTE driver and a system application updated by the Google Play Store called: Android System Intelligence
    So, just try enable airplane mode and uninstall the update for that app then reboot will solve (Settings - Application - Find "Android System Intelligence" and click top-right corner button)

    6. How to flash certain partition with pe recovery? (like boot, frp, recovery, persist)
    Use
    fastboot flash partition_name partition_name.img
    OR

    In pe recovery:
    Advanced - enable adb
    Then On PC:
    adb push partition_name.img /tmp

    adb shell

    dd if=/tmp/partition_name.img of=/dev/block/by-name/partition_name


    ==============================================

    Special notice: Flash the OFFICIAL RECOVERY and CLEAN FLASH if you are from UNOFFICIAL or OTHER SYSTEM please!!!
    Current Update(Both PAD 4/4 Plus):
    PE Normal Edition(13):
    2023.5.19
    Device:
    1. kernel: qcom sdm660 kernel update LA.UM.11.2.1.r1-03900-sdm660.0(kernel main/kgsl/wifi-fw-api)
    2. device: qcom sdm660 driver/HAL update LA.UM.11.2.1.r1-03900-sdm660.0(camera/audio)
    3. device: add fastbootd option in advanced reboot(pe plus only, normal pe has no advanced reboot function)
    4. device: add a switch in battery management system to turn off charging ripple animation
    Upstream:
    1. Minor platform framework fix
    PE Enhanced Edition(13 Plus Edition):
    Dirty flash in rec to manually switch to PE Plus, but backup data in case for any accident!!!
    Everything above included, and:
    1. - N/A

    ==============================================

    History Updates (non-plus):
    2023.2.10 - First release
    1. Introduce PE 13 for Mi Pad 4 (Plus)
    2023.2.12
    Device:
    1. kernel: switched to 4.19
    2. device: add mi settings
    2023.2.18
    Device:
    1. kernel: fixed wake brightness burst
    2. kernel: backported fuse passthrough from kernel 5.4 for better android storage performance
    3. device: fixed camera stuck in 3rd app
    4. device: moved xiaomi settings back in Settings -> System
    5. device: added auto removal for wifi only/no fingerprint models
    6. device: switched to erofs, f2fs, fbeV2+emmc_optimization(MUST use new recovcery and FORMAT DATA)
    7. device: fixed weird power off charging ui
    8. device: fixed SD card format in two modes
    9. device: fixed microphone
    10. device: enabled ZRAM writeback
    2023.2.20
    Device:
    1. device: fixed backlight adjustment on Plus variant
    2. device: fixed usb mode detect on Windows(Mtp or so)
    2023.2.24 - First OFFICIAL build
    Device:
    1. device: fixed real MAC reading
    2. device: fixed charging led won't work on high battery percent
    3. device: fully translated xiaomi settings for CN
    2023.2.27
    Device:
    1. device: fixed brightness driver burst for 8inch. (Plus has no burst issue)
    2. device: fixed device setting can't display by side as tablet mode
    3. kernel: update to 4.19.273
    4. kernel: power optimized
    2023.3.3
    Device:
    1. device: fixed "UNKNOWN SOC TYPE" in some system info type apps (SDA660)
    2. device: fixed cpu freq scheduler always locks max freq by uclamp
    3. device: enabled 60fps recording in camera
    4. device: enabled cgroup freezer
    Upstream:
    1. February security patch
    2. Google Apps updated
    3. Fixed battery drain and lag spike caused by Pixel Launcher (Need to uninstall previous updates of Android System Intelligence or do a clean flash if the issue persists)
    4. Fixed SafetyNet not passing
    2023.3.24/5
    Device:
    1. kernel: update to 4.19.278
    2. kernel: backport 5.10 fuse filesystem
    3. kernel: reduce power consumption for 8 inch screen
    4. device: reduce continuous ui rendering jitter/lag
    2023.4.1
    Device:
    1. device: add "Usb fast charge on usb3.0 port"(500mA - 900mA) in Xiaomi Settings
    2. device: switch to aosp task/cpu management for some critical tasks(util clampimg)
    3. device: audio quality HUGE fix
    4. device: "Mi Pad 4 Plus" will be differred in System info as well as the default dpi
    5. device: lower memory pressure caused by bad Qualcomm legacy io scripting
    6. device: optimize round corner
    7. device: won't show a fingerprint page on first boot setup for 8inch now
    8. device: complete software codec2 support (aosp_sw)
    9. device: use [email protected] HAL(full USB config panel like reverse charging/role change)
    10. device: set baseband as "Wi-Fi Only" instead of "Unknown" for wifi variant
    11. device: further improve ui/animation lagging
    12. device: optimize RAM consumption
    13. device: optimize background app caching
    14. device: deprecated sdcardfs and use native Android 11 new filesystem base, which supports better scope storage
    15. device: more balanced irq control
    16. device: other minor fix
    17. kernel: minor optimize
    Upstream:
    1. Fixed something bad in QPR2(0324/5, below is copied from last)
    2. Android 13 Quarterly Platform Release 2 (QPR2 - lots of new ui/behavior changes)
    3. Enabled multi user switcher on lock screen for large screen device(>600dp)
    4. Source rebased with March security patch
    5. Updated GApps
    6. Updated translations
    7. Minor fixes
    2023.4.19
    Device:
    1. kernel: update to 4.19.279
    2. kernel: switch default io scheduler to bfq(reduce cpu consumption/power/lag, also +1500 AnTuTu storage score)
    3. kernel: fixed step-chg/sw-jeita(thermal) for pm660_charger/fg
    4. kernel: fixed otg passive mode issue, need one REBOOT after OTA/sideloading
    5. device: fixed system partition not in erofs(increase boot up speed, system app speed)
    6. device: make setup wizard landscape available
    7. device: enable auto rotate by default
    8. device: separate notification and ringtone volumes
    9. device: fixed charge speed issue for LTE/Plus after hang off a call
    10. device: force recovery update with system
    11. device: irq balance now using 4 big cores (previously only 2 big cores)
    12. device: CloverParts: add volume panel trigger in QS
    13. device: CloverParts: add my battery manage system (Settings -> Battery -> Battery Management System) - Step charger / thermal charger switch
      - Mode: limit battery around 40-60%
      - Mode: limit battery around 80%
    Upstream:
    1. April security patch
    2. Updated translations
    3. Optimizations on battery usage of Pixel Launcher
    4. Minor issues fixed
    2023.5.3
    Device:
    1. kernel: update to 4.19.282
    2. kernel: sdm660 kernel driver update from qcom(wifi/kernel/audio)
    3. kernel: minor fix & optimize
    4. device: expand wifi signal tolerance(reduce disconnect on bad wifi)
    5. device: update display driver for sdm660(gralloc - HAL/display)

    2023.5.7
    Device:
    1. emergency fix: 0503(PE Plus): headphone jack
    2. emergency fix: 0503(PE Plus): camera video recording
    3. device: allow 5G hotspot(called "Extend compatibility" in settings, reuquires a factory reset if you need it)
    Upstream:
    1. May security patch
    2. Updated translations
    3. Updated Google Apps
    4. Minor issues fixed
    2023.5.19
    Device:
    1. kernel: qcom sdm660 kernel update LA.UM.11.2.1.r1-03900-sdm660.0(kernel main/kgsl/wifi-fw-api)
    2. device: qcom sdm660 driver/HAL update LA.UM.11.2.1.r1-03900-sdm660.0(camera/audio)
    3. device: add fastbootd option in advanced reboot(pe plus only, normal pe has no advanced reboot function)
    4. device: add a switch in battery management system to turn off charging ripple animation
    Upstream:
    1. Minor platform framework fix
    ==============================================

    History Plus Updates:
    2023.2.10 - First release
    1. - N/A
    2023.2.12
    1. - N/A
    2023.2.18
    1. - N/A
    2023.2.20
    1. - N/A
    2023.2.24 - First OFFICIAL build
    1. - N/A
    2023.2.27
    1. - N/A
    2023.3.3
    1. - N/A
    2023.3.24/5
    1. - N/A
    2023.4.1
    1. - N/A
    2023.4.19
    1. - N/A
    2023.5.3
    1. - N/A
    2023.5.7
    1. - N/A
    2023.5.19
    1. - N/A
    4
    3.3 updated, fixed always max cpu freq, fixed "UNKNOWN SOC TYPE" by system info type app, enabled 60fps recording, enabled cgroup process freezer.
    Check #2 for detail;
    4
    5.3 updated, May security patch, improved power, updated multiple sdm660 driver, tuned wifi... etc. Please check #2 for details.
    4
    QPR2 with march security released, lots of updates, check #2 for new FAQ and detailed CHANGELOG

    Overclock image NOT uploaded since computer is not aside today, will upload recently about 1-2 days, pay attention if you need that