How To Guide Run an GSI on your Mi Pad 5

Search This thread

xchamelionz

Member
Jul 14, 2022
39
10
Xiaomi Mi 9 SE
Xiaomi Mi Pad 5
Hi, do you know how to install gapps?
Try this:

It already has Google Apps included.
 
  • Like
Reactions: maxtouf

xchamelionz

Member
Jul 14, 2022
39
10
Xiaomi Mi 9 SE
Xiaomi Mi Pad 5
You can flash the normal version but first you try this command:

fastboot delete-logical-partition product
fastboot delete-logical-partition product_a
fastboot delete-logical-partition product_b

and run the fastboot flash command again

It works for me.
This kinda worked.
I still had "Invalid sparse file format at header magic", but then it started resizing system_a but then it bootlooped into the new GSI boot animation.
 

Darkmasterhk

Senior Member
Dec 28, 2012
328
166
Kassel
So I've never tried GSI roms before how does it compare to stock? (Battery/performance wise)
With stock I think battery is quiet good, but it doesn't really feel all that smooth so how do GSI roms perform?
I read it's expected to be a little worse than an actual custom rom?
 

xchamelionz

Member
Jul 14, 2022
39
10
Xiaomi Mi 9 SE
Xiaomi Mi Pad 5
So I've never tried GSI roms before how does it compare to stock? (Battery/performance wise)
With stock I think battery is quiet good, but it doesn't really feel all that smooth so how do GSI roms perform?
I read it's expected to be a little worse than an actual custom rom?
Battery is pretty good on PE+ GSI (active drain: 13%/h, idle drain: less than 1%/h)

GSIs are expected to be a little worse than "regular" custom rom because they're not "ported" for a specific device, so it makes it impossible to use certain device-specific features (D2TW doesn't work, smart pen and keyboard cover don't work as well)

Overall you get a pretty good experience (MIUI is dog sh*t), but in the process you have to sacrifice some features (it depends on what you wish to do with your device)

Hope that answers your question.
 
  • Like
Reactions: Darkmasterhk

UmiCat

Senior Member
I managed to hard brick my Pad 5 Pro 5G (enuma) recently. It's now back to normal, but with stock CN MIUI. I want to install Pixel Experience 12 but the latest stock fastboot ROM for my model is still an Android 11 equivalent (V13.0.6.0.RKZCNXM). Does anyone know if I can use an A11 vbmeta.img file to install an A12 GSI?

That said, I have tried installing PE12 before (which kept crashing) on my Pad so I must have used an A11 vbmeta file! Thank goodness it didn't brick my tablet.

There are (public beta) A12 *recovery* ROMs for enuma... has anyone used a payload dumper before successfully?
 

xchamelionz

Member
Jul 14, 2022
39
10
Xiaomi Mi 9 SE
Xiaomi Mi Pad 5
I managed to hard brick my Pad 5 Pro 5G (enuma) recently. It's now back to normal, but with stock CN MIUI. I want to install Pixel Experience 12 but the latest stock fastboot ROM for my model is still an Android 11 equivalent (V13.0.6.0.RKZCNXM). Does anyone know if I can use an A11 vbmeta.img file to install an A12 GSI?

That said, I have tried installing PE12 before (which kept crashing) on my Pad so I must have used an A11 vbmeta file! Thank goodness it didn't brick my tablet.

There are (public beta) A12 *recovery* ROMs for enuma... has anyone used a payload dumper before successfully?
I don't know if vbmeta is related to a specific android version, but what I did is to flash the vbmeta linked here and had no problems.

I managed to extract a recovery rom using payload dumper go (you can find it on github, Google it) and patched the stock boot.img to gain root privileges through magisk.
 
  • Like
Reactions: UmiCat
fastboot.jpg
I don't know what I'm doing wrong.
 

xchamelionz

Member
Jul 14, 2022
39
10
Xiaomi Mi 9 SE
Xiaomi Mi Pad 5
Try to do a "wipe all" from recovery, then reboot to bootloader, then "fastboot -w", then steps from #349 and then do all the steps again starting from vbmeta.
If this doesn't work you might wanna check you're fastboot and adb version, cause it might be out of date.

I had this problem on my work laptop, then switched to my personal laptop and it worked. 90% fastboot issue.
 

kryzeK

Senior Member
Jul 17, 2012
1,216
827
Cachoeira Paulista
Could be interesting as A12 base stock ROM and then add GSI A12 on top of it:

New MIUI Public Beta Recovery update available!
Device: Xiaomi Pad 5 China (nabu)
Version: V13.0.0.1.45.DEV | 12.0
Release Date: 2022-07-08
Filesize: 4.0 GB
MD5:
Code:
Unknown
Download: Here

Link to the original post (and credits)
Post in thread '[MIUI Updates Tracker] Xiaomi Pad 5 (nabu)' https://forum.xda-developers.com/t/miui-updates-tracker-xiaomi-pad-5-nabu.4328591/post-87125007
Is possible to flash it as base without lost my current GSI?
I'm on LOS 19.1 GSI, with MIUI A11 as stock base ROM.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    my full ungoogled LeOS-19.1 (Android 12L) works perfect on Nabu.
    see https://leos.gsi.de or join https://t.me/LeOS_Support
  • 8
    To run an GSI on your Mi pad 5 :
    Unlock bootloader

    Download an arm64 AB gsi: https://forum.xda-developers.com/f/treble-enabled-device-development-a-ab-roms.7260/
    I used system-roar-arm64-ab-vndklite-vanilla.img by Phh
    Download vbmeta.img from google

    Reboot to fastboot
    Open an cmd:

    fastboot flash vbmeta vbmeta.img

    fastboot reboot fastboot

    fastboot flash system system-roar-arm64-ab-vndklite-vanilla.img

    fastboot reboot recovery

    Make an factory reset

    Reboot
    6
    I made a LSPosed module to fix the taskbar in PixelExperience. You can also hide the taskbar pill (optional).

    ...

    I have made the module into a Magisk module (implemented using Resource Overlay). LSPosed is not required anymore. Enjoy : )

    You can use the module to fix the taskbar height in PixelExperience. You can also use it to hide the taskbar pill in PE and other ROMs.

    Download: https://github.com/Coxxs/hide-tablet-taskbar/releases
    5
    I can report that I am on a non-vndklite version of PE(plus)11 GSI (PixelExperience_Plus_arm64-ab-11.0-20211011-UNOFFICIAL.img.xz) (not that I understand what vndk is). And it seems to be working surpringly very well!!... except for the pen, of course! The pen is recognised as 'Xiaomi Smart Pen' as an input device according to DevCheck Pro app (and I got the same info on this app with stock MIUI). The buttons on the pen work as forward/backward keys... but still no input function on the touch screen. But other than that, the GSI has been working without a crash for about a couple of hours. The best of all I've tried so far! Surely, too good to be true...

    Some tweaks were necessary: as I said before, I installed 2 Magisk modules for stuttering audio (GSI Audio Stutter Fix - Mi NOTE 10 Lite (toco).zip) & totally broken bluetooth audio (Note9Taudio.zip):
    But the 2nd module might not be necessary if you follow the Phh Treble Settings the person on the 2nd link is suggesting.

    I used Migrate to copy all my apps. Some google apps (gmail, g-map, g-drive) weren't copied, so I had to install them manually.. and they're working fine. Other google apps (incl google play services & google play store) were installed fine and have been functioning well so far. I didn't install Magisk Gapps etc separately.

    In case you're starting out, I've tried the following GSIs in the last few days, but none of them worked (I came from MIUI CN 12.5.8 for Pad 5 Pro 5G):
    PixelExperience_Plus_arm64-ab-vndklite-11.0-20211011-UNOFFICIAL.img.xz
    PixelExperience_arm64-ab-vndklite-12.0-20211121-UNOFFICIAL.img.xz
    PixelExperience_arm64-ab-12.0-20211121-UNOFFICIAL.img.xz
    https://github.com/phhusson/treble_.../system-roar-arm64-ab-vndklite-vanilla.img.xz

    Oh someone mentioned the refresh rate. I can't find how to set it on Settings on PE11 GSI, so probably it's not changeable? I've tried Display Checker app, and it looks like mine is at 60Hz. I don't play games so it's acceptable for me. But if anyone knows how to change it to 120Hz, it would be good to know!

    I want to thank the OP who first brought this to our attention. I'd never tried GSIs (always spoilt with good custom or stock roms). Fingers crossed for my current GSI!
    4
    These settings were already enabled.
    I now disabled it and unpaired the headset, then reboot.
    Enabling the settings reboot,then pair the headset still no working Bluetooth audio.
    In the selection of the audio device if I select the headset it won't change to the headset and if I try to increase the volume of the headset it will always jump back to zero.
    Do not enable "Use alternate audio policy" in Qualcomm features (just make sure, that would create that bug)
    Misc features -> "Disable audio effects" and "Force-disable a2dp offload" and i would not enable the bluetooth workaround mediathek (works for me without that setting)
    4
    Please do a review about this Gsi in YouTube