How To Guide Run an GSI on your Mi Pad 5

Search This thread

Coxxs

Member
Jun 10, 2022
14
12

rjcreations

Senior Member
Sep 25, 2015
212
28
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
Is this the ROM youre using https://forum.xda-developers.com/t/gsi-unofficial-12-pixel-experience.4354695/? And then followed the steps posted on this forum?
 
  • Like
Reactions: kvanlier and Coxxs

czreo10

Member
Jun 5, 2022
11
8
Hdr seems to work for me at the high brightness it doesnt seem dim on the phh treble experimentation image. Anyone noticed the same thing?
 
  • Like
Reactions: kvanlier

rjcreations

Senior Member
Sep 25, 2015
212
28
Everytime i want to flash PE+ it says

Invalid sparse file format at header magic
Resizing 'system_b'
FAILED (remote: 'Not enough space to resize partition')

fastboot: error: Command failed

Any solution?

edit: Use the lite version
 

czreo10

Member
Jun 5, 2022
11
8
Everytime i want to flash PE+ it says

Invalid sparse file format at header magic
Resizing 'system_b'
FAILED (remote: 'Not enough space to resize partition')

fastboot: error: Command failed

Any solution?

edit: Use the lite version
Maybe run vbmeta again and reboot to fastboot after this again and try to flash.
 
Everytime i want to flash PE+ it says

Invalid sparse file format at header magic
Resizing 'system_b'
FAILED (remote: 'Not enough space to resize partition')

fastboot: error: Command failed

Any solution?

edit: Use the lite version
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.
 

mikefnz

Senior Member
Jan 30, 2008
737
211
Christchurch
OnePlus 7T
Xiaomi Mi Pad 5
I did, still looped on mi logo
I would try a full reset using the default recovery, then follow the normal instructions. The problem may be caused by swapping slots, and if you make sure that you start from as clean a system as possible.
Others with more expertise might have better advice.
Worst case scenario you would have to use the Miflash tool to go back.
 
  • Like
Reactions: krvrian

krvrian

Member
Mar 20, 2019
11
0
I would try a full reset using the default recovery, then follow the normal instructions. The problem may be caused by swapping slots, and if you make sure that you start from as clean a system as possible.
Others with more expertise might have better advice.
Worst case scenario you would have to use the Miflash tool to go back.
for now i am back to miui 13 since i need my device to remote all my works, will try it again after it finished, thanks for the help (y)
 

BiG_FooT

Senior Member
Nov 17, 2012
504
214
Rotterdam area

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    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.
    Thank you, this saved my ass.
    1
    Hi, do you know how to install gapps?
    Try this:

    It already has Google Apps included.
    1
    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.
    1
    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.
  • 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
    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!
    5
    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
    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